http://www.webcfg.com Forum Index
Author Message

<  WebCFG FAQ and HOWTO  ~  HOWTO integrate WebCFG in VMware ESX 3.x

danny70437
Posted: Wed Jun 27, 2007 10:06 pm Reply with quote
Joined: 25 Jun 2007 Posts: 14
If you want to use the free/basic license of WebCFG for managing software like
    - vmbk backup
    - vi3backup
    - crontab
    - restarting services
on a VMware ESX 3.x server, you have to install WebCFG locally on the ESX server.

Question: Howto integrate WebCFG in VMware ESX 3.x using the default http port

Answer: For installing WebCFG on an VMware ESX server,
you have to do the following steps

    1. Download the current WebCFG application (WebCFG-x.y.war) from http://www.webcfg.com. You will find this file either in the WebCFG-Bundle or the WebCFG update download. You can copy the file via sftp to the VMware ESX-Server or download it directly via wget to the ESX-Server

    2. Unzip and deploy the WebCFG-x.y.war application in the tomcat directory
    unzip -d /usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/WebCFG WebCFG-x.y.war
    This directory may be vary to your installation relating to the tomcat-version
    (e.g. VMware ESX 3.0.0 build-27701, you will find the directory under /usr/lib/vmware/webAccess/tomcat/jakarta-tomcat-5.5.9)


    3. Backup the proxy-configuration file
    cp -av /etc/vmware/hostd/config.xml /etc/vmware/hostd/config.xml.`date +%Y%m%d`

    4. Modify and restart the proxy-service for using the new WebCFG application.
    nano /etc/vmware/hostd/config.xml

    Insert a new XML-element redirect after the other redirect elements a new continous id. Repeat this step also with the server elememt after the existing server elememts. There is an example - CAUTION: The id's can differ ! Please be careful changing this file.
    Code:
               # config.proxysvc.http.proxyDatabase:
               # using next id (here id=3)
                   <redirect id="3"> /WebCFG </redirect>

               # config.proxysvc.https.
               # using next id (here id=4)
                    <server id="4">
                      <namespace> /WebCFG </namespace>
                      <host> localhost </host>
                      <port> 8080 </port>
                    </server>

    Restart management service
    service mgmt-vmware restart
    /etc/init.d/vmware-webAccess restart

    5. Check your installation using a Browser connecting to URL http: //<ip>/WebCFG. Also the vi3client should work as well as before changing the file.
    View user's profile Send private message

    Display posts from previous:  

    All times are GMT + 1 Hour
    Page 1 of 1
    Post new topic

    Jump to:  

    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum