Back to top

CentOS/RHEL Install Steps

Here is summary of ConVirt Management Server (CMS) Installation. Have two shell windows open, one as root user and another as convirt user (once you create it in step 1.)

NOTE : Use bash shell.

StepAs root UserAs convirt User 
 useradd -m convirt  -s /bin/bash
 passwd convirt
 Login as convirt user
 su -l convirt
 if your company uses proxy
 export http_proxy="http://company-proxy-server:80" 
 wget --http-user=user_name_from_email \
      --http-passwd=password_from_email \

 Open the archives
 tar -xzf ./convirt-enterprise-install-3.4.5.tar.gz
 source convirt-enterprise-install/install/cms/scripts/install_config
 tar -xzf ./convirt-enterprise-3.4.5.tar.gz -C $CONVIRT_BASE
  IMPORTANT INSTALL RELATED PATCH/CHANGE  Due to change in some of the
     dependencies, we need to install specific version of virtualenv. To do so,
     please make the following change.
  In the following two files
  Change the line 
    $SUDO easy_install virtualenv 
    $SUDO easy_install virtualenv==1.11.6
   NOTE  Two equal-to signs before the version number.

if your company uses proxy
 export http_proxy="http://company-proxy-server:80" 
Setup ConVirt dependency repository
 For RHEL/CentOS 6, 
 yum install wget  
 cd /etc/yum.repos.d
 wget --no-cache
Install Dependencies
NOTE When prompted for mysql credentials for root, please enter "convirt"

If you plan to manage Xen servers / VMs, otherwise, skip it
  cd /tmp
  wget --no-cache
  cd /usr/lib64/python2.6/site-packages
  tar -xzf /tmp/xen-client.tar.gz

 Tweak MySQL
  In the mysql configuration file /etc/my.cnf under [mysqld] section,
  Please add the following two lines
   transaction-isolation = READ-COMMITTED
  Restart mysqld
    /etc/init.d/mysqld restart
 Open Firewall ports for CMS and for VNC port forwarding.
  iptables -I INPUT -p tcp --dport 8091 -j ACCEPT
  iptables -I INPUT -m state --state NEW -p tcp --dport 6900:6999 -j ACCEPT
  Setup TurboGears and ConVirt 
  Some users have reported to run in to error involving simplejson or SandboxViolation. To workaround
  cd ~/convirt-enterprise
  source ./tg2env/bin/activate
  easy_install -U simplejson
  Start it 
  cd ~/convirt-enterprise  
  ./convirt-ctl start
  Congratulations : CMS is installed. 
  Use Firefox browser to point to http://hostname:8091
  Login using admin/admin default credentials.
Next Step : Preparing Managed Servers
Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0