This should be an easy one guys: I am trying to enable a scripted installation for an ESX 3.0.x host, but I can not figure out the proper way to comment or uncomment the lines as is suggested on page 94 of the server configuration guide. I have tried a semicolong for the uncomment and removing the < from the front and the > from the back of where the lines are supposed to be uncommented, but I feel that I am not doing everything right. Here is the section that needs commenting/uncommenting, what do I do to get it into script-ready state? I have restated the mgmt-vmware service as suggested in the manual, but I am still getting a page that says that my server is not ready for scripted install. Help!
<!-- ===== scripted install handler ===== -->
<!-- Note: Please comment the line below, if enabling Scripted Install Functionality. -->
<action path="/scriptedInstall" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/jsp/scriptedInstall/disabled.jsp" />
<!-- Note: Scripted Install access is disabled by default. Please uncomment the lines below to enable the same. -->
<!--
<action path="/scriptedInstall" type="com.vmware.webcenter.scripted.ProcessAction">
<forward name="scriptedInstall.form1" path="/WEB-INF/jsp/scriptedInstall/form1.jsp" />
<forward name="scriptedInstall.form2" path="/WEB-INF/jsp/scriptedInstall/form2.jsp" />
<forward name="scriptedInstall.form3" path="/WEB-INF/jsp/scriptedInstall/form3.jsp" />
<forward name="scriptedInstall.form4" path="/WEB-INF/jsp/scriptedInstall/form4.jsp" />
<forward name="scriptedInstall.form5" path="/WEB-INF/jsp/scriptedInstall/form5.jsp" />
<forward name="scriptedInstall.form6" path="/WEB-INF/jsp/scriptedInstall/form6.jsp" />
<forward name="scriptedInstall.form7" path="/WEB-INF/jsp/scriptedInstall/form7.jsp" />
</action>
-->
Should look something like this. Basically to comment out a line (or block) add
Should look something like this. Basically to comment out a line (or block) add
Is it any different for ESX 3.5? I can't get this thing to come up no matter what I do..
only take out these 2 lines.
<!--
-->
So this is what I have now and it's still telling me that the scripted installation is disabled. I've restarted mgmt-vmware a few times now. Very frustrating. Note that this is ESX 3.5 if it makes any difference.
<!-- ===== scripted install handler ===== -->
<!-- Note: Please comment the line below, if enabling Scripted Install Functionality. -->
<!-- action path="/scriptedInstall" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/jsp/scriptedInstall/disabled.jsp" -->
<!-- Note: Scripted Install access is disabled by default. Please uncomment the lines below to enable the same. -->
<action path="/scriptedInstall" type="com.vmware.webcenter.scripted.ProcessAction">
<forward name="scriptedInstall.form1" path="/WEB-INF/jsp/scriptedInstall/form1.jsp" />
<forward name="scriptedInstall.form2" path="/WEB-INF/jsp/scriptedInstall/form2.jsp" />
<forward name="scriptedInstall.form3" path="/WEB-INF/jsp/scriptedInstall/form3.jsp" />
<forward name="scriptedInstall.form4" path="/WEB-INF/jsp/scriptedInstall/form4.jsp" />
<forward name="scriptedInstall.form5" path="/WEB-INF/jsp/scriptedInstall/form5.jsp" />
<forward name="scriptedInstall.form6" path="/WEB-INF/jsp/scriptedInstall/form6.jsp" />
<forward name="scriptedInstall.form7" path="/WEB-INF/jsp/scriptedInstall/form7.jsp" />
</action>
Are you using nano or vi editor? Any other edits will have unwanted
characters on the file, which won't work.
Santhi
AgHhH!!!!!!!! OK ,since mgmt-vmware service is one that I restart most frequently, I was for some reason restartintg it and not vmware-webAccess! Once I restarted the correct service it worked! Thanks for the info!
How about for ESX 4.0 ?
Thank you,
Express