Article ID: 111609, created on Jul 7, 2011, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Linux 4.6
  • Virtual Automation 4.6

Prerequisites

This article describes how to register a Virtuozzo Containers for Linux 4.6 node in OBAS 4.0 and older versions using compatibility mode.

NOTE: If you are running OBAS 4.1 or a newer version, do not use compatibility mode for node registration.

For instructions on registering Virtuozzo Containers for Linux 4.7, please refer to this article:

113254: How to register a Virtuozzo Containers for Linux 4.7 node in OBAS using compat mode

NOTE: WACP works only with compatibility mode. The libraries provided here can be used with Virtual Automation Agent 6.0.

For x86_64 nodes:

Follow these steps to register Virtuozzo Containers for Linux 4.6, 64 bit, in OBAS:

  1. Make sure the VA Agent with Power Panel component is already installed:

    ~# rpm -qa 'pva-pp*'
    

    If it is not listed, you should install it using the pva-setup command.

  2. Make sure the VA Agent version 4.6-1722 is installed (this is the latest version that supports VC 4.6):

    ~# rpm -qa 'pva-release*'
    

    If you have an older version, you should upgrade it first to VA 4.6-1722.

  3. Create a vzagent0 user with administrative privileges and create a directory for the user:

    ~# adduser -u 0 -o -g 0 -G 1,2,3,4,6,10 -M vzagent0
    ~# mkdir /home/vzagent0
    
  4. Change the default shell and password for this user:

    ~# chsh -s /opt/pva/agent/bin/vzlcon vzagent0
    ~# passwd vzagent0
    
  5. Download and unzip the compat plugin for VA:

    ~# wget wget http://download.pa.parallels.com/pva/4.6.2/hotfixes/VZAOpCompat_x64.zip
    ~# unzip VZAOpCompat_x64.zip -d /opt/pva/agent/plugins/
    
  6. Install compat control:

    ~# yum install perl-CGI
    ~# rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/analog-5.32-1.5.swsoft.x86_64.rpm
    ~# rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/vzagent-compat-lib-4.0.0-79.swsoft.x86_64.rpm
    ~# rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/vzagent-compat-opcontrol-4.0.0-79.swsoft.x86_64.rpm
    ~# rm -rf /vz/root/1/var/vzagent/tmp
    ~# mkdir -p /vz/root/1/var/vzagent
    ~# ln -s /var/opt/pva/agent/tmp /vz/root/1/var/vzagent/tmp
    ~# vzagent_compat_ctl start
    
  7. Restart VA:

    # pvaagent restart
    
  8. Add compat control to startup:

    # ln -s /usr/sbin/vzagent_compat_ctl /etc/init.d/vzagent_compat_ctl
    # chkconfig --add vzagent_compat_ctl
    # chkconfig vzagent_compat_ctl on
    
  9. Add SSH1 protocol support by changing the /etc/ssh/sshd_config option to Protocol 2,1:

    # vim /etc/ssh/sshd_config
    # service sshd restart
    
  10. Register Hardware Node in OBAS:

    • Go to OBAS PCC > Service Director > Virtuozzo Manager > Nodes > New Node (or choose existing one).
    • Put the HW Node IP address in the IP address field.
    • Enter "vzagent0" in the login field
    • Enter password from p. 4

For i386 nodes:

Follow these steps to register Virtuozzo Containers for Linux 4.6, 32 bit, in OBAS:

  1. Make sure the VA Agent with Power Panel component is already installed. Make sure the version is not older than 4.6-1722:

    # rpm -qa 'pva-pp*'
    

    If it is not listed, you should install it using the pva-setup command.

  2. Make sure the PVA Agent version 4.6-1722 installed (this is the latest version that supports PVC 4.6):

    # rpm -qa 'pva-release*'
    

    If you have an older version, you should upgrade it first to VA 4.6-1722.

  3. Create a vzagent0 user with administrative privileges and create a directory for the user:

    # adduser -u 0 -o -g 0 -G 1,2,3,4,6,10 -M vzagent0
    # mkdir /home/vzagent0
    
  4. Change the default shell and password for this user:

    # chsh -s /opt/pva/agent/bin/vzlcon vzagent0
    # passwd vzagent0
    
  5. Download and unzip compat plugin for VA:

    # wget http://download.pa.parallels.com/pva/4.6.2/hotfixes/VZAOpCompat-i386.zip
    # unzip VZAOpCompat_i386.zip -d /opt/pva/agent/plugins/
    
  6. Install compat control:

    # yum install perl-CGI
    # rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/analog-5.32-1.5.swsoft.i386.rpm
    # rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/vzagent-compat-lib-4.0.0-79.swsoft.i386.rpm
    # rpm -i --force http://download.pa.parallels.com/pva/4.6.2/hotfixes/compat/vzagent-compat-opcontrol-4.0.0-79.swsoft.i386.rpm
    # rm -rf /vz/root/1/var/vzagent/tmp
    # mkdir -p /vz/root/1/var/vzagent
    # ln -s /var/opt/pva/agent/tmp /vz/root/1/var/vzagent/tmp
    # vzagent_compat_ctl start
    
  7. Restart VA:

    # pvaagent restart
    
  8. Add compat control to startup:

    # ln -s /usr/sbin/vzagent_compat_ctl /etc/init.d/vzagent_compat_ctl
    # chkconfig --add vzagent_compat_ctl
    # chkconfig vzagent_compat_ctl on
    
  9. Add SSH1 protocol support by changing the /etc/ssh/sshd_config option to Protocol 2,1:

    # vim /etc/ssh/sshd_config
    # service sshd restart
    
  10. Register Hardware Node in OBAS:

    • Go to OBAS PCC > Service Director > Virtuozzo Manager > Nodes > New Node (or choose existing one).
    • Put the HW Node IP address in the IP address field.
    • Put "vzagent0" in the login field
    • Enter password from p. 4

Search Words

WACP

compat mode

register Parallels Virtuozzo Containers

register PVC 4.6

400e18f6ede9f8be5575a475d2d6b0a6 d02f9caf3e11b191a38179103495106f 319940068c5fa20655215d590b7be29b e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 caea8340e2d186a540518d08602aa065 36627b12981f68a16405a79233409a5e d16a8794b3bdb3f66571d469e71906a9

Email subscription for changes to this article
Save as PDF