{"id":5739,"date":"2018-09-13T23:50:46","date_gmt":"2018-09-13T21:50:46","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=5739"},"modified":"2018-12-12T12:03:59","modified_gmt":"2018-12-12T11:03:59","slug":"vmware-setup-html5-client-for-vsphere-6-0-with-vcenter-on-windows","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/vmware-setup-html5-client-for-vsphere-6-0-with-vcenter-on-windows\/","title":{"rendered":"VMware: Setup HTML5 Client for vSphere 6.0 with vCenter on Windows"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_5739 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_5739')){$('.twoclick_social_bookmarks_post_5739').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"VMware%3A%20Setup%20HTML5%20Client%20for%20vSphere%206.0%20with%20vCenter%20on%20Windows\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Athese%20are%20there%20the%20steps%20to%20setup%20the%20new%20HTML5%20Client%20within%20an%20vSphere%206%20environment.%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/vmware-setup-html5-client-for-vsphere-6-0-with-vcenter-on-windows\\\/\",\"post_id\":5739,\"post_title_referrer_track\":\"VMware%3A+Setup+HTML5+Client+for+vSphere+6.0+with+vCenter+on+Windows\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>these are there the steps to setup the new HTML5 Client within an vSphere 6 environment.<br \/>\n<!--https:\/\/labs.vmware.com\/flings\/vsphere-html5-web-client#instructions--><br \/>\n<!--more--><\/p>\n<p>Download the latest version fling appliance h5ngcVA-3.41.0.0-9687895_OVF10.ova and server-configure.bat and deploy the appliance to your vSphere environment. Adjust IP (OVF Import) and MAC address.<\/p>\n<p>Copy server-configure.bat to your Windows vCenter Server.<\/p>\n<p>If you do not use the default installation pathes (in this example D:\\Programs) edit <strong>server-configure.bat<\/strong> and adjust KEYTOOL, VECS_CLI, VMAFD_CLI and CLIENT_DIR (default of CLIENT_DIR works for me) environment variables<br \/>\n<code><br \/>\nREM Path to javas' keytool<br \/>\nSET KEYTOOL=D:\\Programs\\VMware\\vCenter Server\\jre\\bin\\keytool.exe<br \/>\nREM Path to vecs binary<br \/>\nSET VECS_CLI=D:\\Programs\\VMware\\vCenter Server\\vmafdd\\vecs-cli.exe<br \/>\nREM Path to vmafd binary<br \/>\nSET VMAFD_CLI=D:\\Programs\\VMware\\vCenter Server\\vmafdd\\vmafd-cli.exe<br \/>\n...<br \/>\necho Creating ds.properties file...<br \/>\nSET CLIENT_DIR=%PROGRAMDATA%\\VMware\\vCenterServer\\cfg\\vsphere-client<br \/>\n<\/code><\/p>\n<p>Open a cmd shell with administrator permissions and run <strong>server-configure.bat<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\install&gt; server-configure.bat\r\nGenerating store.jks file...\r\nGenerating webclient.properties file...\r\nError 2: Possible errors:\r\nLDAP error: Protocol error\r\nWin Error: The system cannot find the file specified.\r\nUsing the get-machine-id as get-ldu is returning an error for this vcenter.\r\nError 100001: An unknown option was present on the command line.\r\nUsing the default reverseproxyport=443 since no custom port found.\r\nCreating ds.properties file...\r\n        1 file(s) copied.\r\nDone.\r\n<\/pre>\n<p>If you are on vCenter 6.0 U2 and onwards the error <strong>The system cannot find the file specified.<\/strong> can be ignored.<\/p>\n<p>Check if the generated files has sizes &gt; 0 bytes<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\install&gt;dir\r\n Volume in drive D is vSPhere\r\n\r\n Directory of D:\\install\\\r\n\r\n13.09.2018  18:49    &lt;DIR&gt;          .\r\n13.09.2018  18:49    &lt;DIR&gt;          ..\r\n02.05.2017  12:01               143 ds.properties\r\n13.09.2018  18:48             8.018 server-configure.bat\r\n13.09.2018  18:49             9.746 store.jks\r\n13.09.2018  18:49               114 uuid.vbs\r\n13.09.2018  18:49             1.389 webclient.properties\r\n<\/pre>\n<p>Ensure that an IP Pool, for the network the HTML5 Client Appliance should belongs to, exists and is properly configured (DNS Servers, DNS Suffix, DNS Searchpath&#8230;) . Otherwise the start of the Appliance fails with <strong>Cannot initialize property &#8220;vami.gateway.vSphere_- Web_Client_Appliance&#8217;.Network &#8216;Network 1&#8217; has no associated network protocol profile.&#8221;<\/strong><\/p>\n<p>Power on the Appliance. Login as root (default password demova) at vSphere console and start the ssh daemon temporary.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@html5 ~ # systemctl start sshd\r\n<\/pre>\n<p>For security reasons change the root password.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@html5 ~ # passwd\r\n<\/pre>\n<p>Then Login as root via ssh and create the following folders<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@html5 ~ # mkdir -p \/etc\/vmware\/vsphere-client\/config \r\nroot@html5 ~ # mkdir -p \/etc\/vmware\/vsphere-client\/vsphere-client\/\r\n<\/pre>\n<p>Go back to your Windows vCenter and copy the already generated files to the HTML5 Client Appliance. I use putty&#8217;s pscp command.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; cd install\r\nD:\\install&gt; pscp store.jks root@IPOfYourAppliance:\/etc\/vmware\/vsphere-client\/\r\nD:\\install&gt; pscp ds.properties root@IPOfYourAppliance:\/etc\/vmware\/vsphere-client\/config\/\r\nD:\\install&gt; pscp webclient.properties root@IPOfYourAppliance:\/etc\/vmware\/vsphere-client\/vsphere-client\/\r\n<\/pre>\n<p>Start the HTML5 Client daemon at the appliance<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@html5 ~ # \/etc\/init.d\/vsphere-client start\r\nStarting vSphere Client Web Server\r\nvSphere Client Web Server successfully started in 156 seconds\r\n<\/pre>\n<p>Open a browser <strong>https:\/\/IPOfYourAppliance:9443<\/strong><\/p>\n<p>This redirects you to the Webclient Login Page. After logged on successfully you get redirected to the HTML5 Frontend.<\/p>\n<p>To Upgrade an exiting installation download the installer <a href=\"https:\/\/download3.vmware.com\/software\/vmw-tools\/vsphere_html_client\/installer-3.42.0.bsx\" rel=\"noopener\" target=\"_blank\">bsx file<\/a> and copy the file to the appliance<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; pscp installer-3.42.0.bsx root@html5:\r\n<\/pre>\n<p>Make a snapshot of your  HTML5 Applicane and login <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@html5 \/# cd ~\r\nroot@html5 ~ # chmod +x installer-3.42.0.bsx\r\nroot@html5 ~ # \/etc\/init.d\/vsphere-client stop\r\nroot@html5 ~ # .\/installer-3.42.0.bsx\r\nroot@html5 ~ # \/etc\/init.d\/vsphere-client start\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, these are there the steps to setup the new HTML5 Client within an vSphere 6 environment.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[111,1236,119,1039,1190,1245,1237,14,110],"class_list":["post-5739","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-appliance","tag-html5-client","tag-install","tag-setup","tag-update","tag-upgrade","tag-vcenter-6","tag-vmware-2","tag-vsphere"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=5739"}],"version-history":[{"count":29,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5739\/revisions"}],"predecessor-version":[{"id":6136,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5739\/revisions\/6136"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=5739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=5739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=5739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}