ESX Scripted Installer is Disabled

Description:
 ESX Server Scripted Installer is disabled

Following an installation of ESX Server 3.0.x you must manually enable the ESX Server Scripted Installer functionality from the ESX servers console. If you do not, you will not be able to use the Web Access component to create installation scripts.

The ESX Server Scripted Installer can be found via your internet browser by going to the address https://<host_ip_address>. You will be presented with the screen shown below.

ESX Web Interface
Click to Enlarge Thumbnail

When you click the Log In To Script Installer link, you are presented with the following error 

Error Message
Click to Enlarge Thumbnail

To fix this problem you will need to login as ‘root’ to the console of your ESX host and edit a file. By default the scripted installer applet is disabled - to enable it follow the process below:

 1. Log in to the console using your root account

 2. Using VI or NANO open the following file /usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml

 3. We need to comment out and un-comment some lines. Luckily they are in the same section. You need to find the scripted install handler section.

 4. I have marked in red the line of code we need to comment out and the section to un-comment in blue, in the picture below.

To comment out the line, we use the <!– to start the comment and close the comment using –>

/usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml
Click to Enlarge Thumbnail

5. In the screenshot below you can see the changes we have made to the section. Save the changes and exit the editor.

/usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml
Click to Enlarge Thumbnail

6. To have our changes take effect the configuration file needs to be re-read by the web server so we will need to restart the webAccess service.

Enter service vmware-webAccess restart to restart the webAccess service

Once restarted we should see two [ OK ] messages as confirmation that everything restarted ok.

Service Restart
Click to Enlarge Thumbnail

7. If we now navigate to the https://<host_ip_address> address and click the Log In To Script Installer link, you will now be able to access the web applet correctly as per the image below.

Scripted Web Installer
Click to Enlarge Thumbnail

The above method is also documented in the VMware Installation guide, which can be found at http://www.vmware.com/pdf/vi3_installation_guide.pdf

, ,

© 2010 http://www.vmwarenews.de Creative Commons License
http://www.vmwarenews.de steht unter einer Creative Commons Namensnennung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz
Suffusion WordPress theme by Sayontan Sinha