Article ID: 112499, created on Oct 11, 2011, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Linux

Table of Contents:

Virtuozzo containers for Linux FAQ

Virtuozzo containers for Linux FAQ

How do I update Virtuozzo containers?

To check for available updates:

# vzup2date -s -m batch list

To install these updates:

# vzup2date -s -m batch install

For the interactive wizard, run:

# vzup2date

How do I install new/update existing EZ templates?

Launch the update wizard and select the required OS and Application EZ templates:

# vzup2date -z

Where are template settings stored?

Main configuration file for global settings: /etc/vztt/vztt.conf

URL mapping file: /etc/vztt/url.map

OS template-specific settings are stored under this directory: /vz/template/${OS}/${RELEASEVER}/${ARCH}/config/os/default/

For CentOS 6, 64-bit, settings are stored here: /vz/template/centos/6/x86_64/config/os/default/

Application template-specific settings are stored under this directory: /vz/template/${OS}/${RELEASEVER}/${ARCH}/config/${TEMPLATE_NAME}/default/

For Plesk 11.5, the EZ template is found here: /vz/template/centos/6/x86_64/config/app/plesk11.5/default/

Which tool manages bridged networks?

To see available bridged networks:

# vznetcfg net list

To see Hardware Node's interfaces configuration:

# vznetcfg if list

To create a new bridged network:

# vznetcfg net new ${NETWORK_NAME}

To add a host interface to a bridged network:

# vznetcfg net addif ${NETWORK_NAME} ${IFACE}

To add a container to a bridged network:

# vzctl set ${CTID} --save --netif_add eth0
# vzctl set ${CTID} --save --ifname eth0 --ipadd ${IPADDR}/${NETMASK} --network ${NETWORK_NAME}
# vzctl set ${CTID} --save --ifname eth0 --gw ${GATEWAY} --nameserver ${NAMESERVER}

Which log files are available on the Virtuozzo containers server?

Container start, stop, migration, creation, deletion, and configuration changes are logged in the main vzctl.log: /var/log/vzctl.log

Template-related operations and package installation via vzpkg are logged in the vztt.log: /var/log/vztt.log

Virtuozzo containers and template update operations are logged in the vzup2date.log: /var/log/vzup2date.log

XML API, SOAP API, backup, and other VA Agent-related operations are logged in the vzagent.log: /var/log/pva/agent/YYYY.MM.DD-vzagent.log

Virtuozzo containers kernel messages and services messages are in the dmesg and messages logs: /var/log/dmesg

/var/log/messages

How do I manage the Power Panel service?

To start, stop, or restart, use the pvapp tool:

# pvapp restart

To troubleshoot Power Panel-related issues, check these logs:

/var/log/httpd/error_log

/var/log/pva/pp/agent.log

/var/log/pva/pp/cpcon.log

/var/log/pva/agent/YYYY.MM.DD-vzagent.log

How do I manage the VA Agent service?

To start, stop, or restart, use the pvaagent tool:

# pvaagent restart

To troubleshoot VA Agent-related issues, check these logs:

/var/log/pva/agent/YYYY.MM.DD-vzagent.log

What is the Service Container needed for?

Service Container or a container with ID 1 is needed for offline management functions, which are performed by the VA Power Panel service.

Service Container on a server managed by VA Agent may have 1 - 4 processes responsible for Power Panel request wrapping.

How do I manage the Virtuozzo containers service?

To start, stop, or restart the service, use the vz script:

# service vz restart

Containers will be restarted during this procedure.

What is the difference between vzbackup and vzabackup?

vzbackup and vzrestore use tar as a back-end for creating or restoring backups by default, and do not require VA Agent to be running.

vzabackup and vzarestore use Acronis as a back-end for backup creation and restoration, and are controlled via VA Agent.

How can I check the processes list for a particular container?

It is possible to do this with the vzps tool:

# vzps auxwwff -E ${CTID}

How do I create, enlist, and restore backups stored on a remote Virtuozzo containers node?

To create a backup for a container and place the backup on a remote storage, run the vzabackup command:

# vzabackup --storage root:'${PASSWORD}'@${REMOTE_SERVER_HOSTNAME} -F localhost -e ${CTID}

To enlist a container backup available on remote storage, use the vzarestore command:

# vzarestore --list --full -e ${CTID} --storage root:'${PASSWORD}'@${REMOTE_SERVER_HOSTNAME}

To restore a backup of a container using remote backup storage, use the vzarestore command:

# vzarestore -B -e ${BACKUP_ID} --storage root:'${PASSWORD}'@${REMOTE_SERVER_HOSTNAME}

For more information check man vzarestore

How can I migrate a container and prevent the source container from being deleted?

Use the vzmigrate command with appropriate options to keep source and destination containers:

# vzmigrate --keep-dst --remove-area no --online root@${DESTINATION_NODE} ${CTID}

For more information check man vzmigrate

How do I synchronize the EZ template area manually?

Use the rsync command to synchronize the template area between two servers:

# rsync -auv --rsh="ssh" root@${SOURCE_NODE}:/vz/template/ root@${DESTINATION_NODE}:/vz/template

How can I check the Virtuozzo containers version?

To check the version of an RPM Virtuozzo-release:

# rpm -q virtuozzo-release

How can I check the exact VA Agent version?

To check the version of an RPM PVA-release:

# rpm -q pva-release

Information about Virtual Automation builds, releases, and supported virtualization products can be found here.

How do I check whether the node is registered in VA Management Node?

Use the vzagroup tool:

# vzagroup list

A node is not registered in VA Management Node if the output contains this line:

host is a slave in vzgroup, which master node address is local

If a node is a member of the VA group, the output will show the IP address of the VA Management Node it is registered in:

host is a slave in vzgroup, which master node address is ${PVA_MN_IP_ADDRESS}

How can I locate a VA Agent configuration file?

All VA Agent configuration files are located in etc_folder defined in pva.conf.

Check /opt/pva/agent/bin/pva.conf and find the etc_folder section:

etc_folder
/var/opt/pva/agent/etc

It means that the main configuration file vzagent.conf is located in /var/opt/pva/agent/etc.

Where can I change the VA Agent timeouts and limits?

Locate the vzagent.conf file and adjust the required limits and timeouts there.

To learn about backup management in VA, check the following KB article:

  • KB #113790 Backup in Virtuozzo containers, Virtuozzo hypervisor and Virtuozzo

Search Words

pvcfl faq

Parallels Virtuozzo Containers for Linux FAQ

FAQ

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb

Email subscription for changes to this article
Save as PDF