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 
1
 useradd -m convirt  -s /bin/bash
 passwd convirt
   
2  
 Login as convirt user
 su -l convirt
 if your company uses proxy
 export http_proxy="http://company-proxy-server:80" 
 Download
 wget --http-user=user_name_from_email \
      --http-passwd=password_from_email \
      http://www.convirture.com/download/link/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
    convirt-enterprise-install/install/cms/common/functions 
    convirt-enterprise/install/cms/common/functions 
  Change the line 
    $SUDO easy_install virtualenv 
  To
    $SUDO easy_install virtualenv==1.11.6
   NOTE  Two equal-to signs before the version number.

 
3
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 http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
Install Dependencies
./convirt-enterprise-install/install/cms/scripts/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 http://www.convirture.com/downloads/xen-client/xen-client.tar.gz
  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
   innodb_buffer_pool_size=1G
   innodb_additional_mem_pool_size=20M
   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
4  
  Setup TurboGears and ConVirt 
  ./convirt-enterprise-install/install/cms/scripts/setup_tg2
  ./convirt-enterprise-install/install/cms/scripts/setup_convirt
  Update
  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
  deactivate 
  cd
  ./convirt-enterprise-install/install/cms/scripts/setup_convirt
  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
   
     
 

댓글