Search

Language:  
Search for:

Available article translations:

How to set preferred IP address for PVA Agent communications

Article ID: 112904 
Created On: Nov 27, 2011
Last Review: Oct 30, 2012
Views:
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Operations Automation
  • Parallels Virtuozzo Containers for Linux
  • Parallels Virtuozzo Containers for Windows
  • Parallels Virtual Automation 4.5
  • Parallels Virtual Automation 4.6

Information

If a Hardware Node has several IP addresses, PVA uses the first one on the list for its communications.
This article describes how to configure PVA Agent to use a particular IP address for communications via XML API.

To make PVA Agent use a particular IP address for Backup, Restore or other types of PVA Agent internal traffic, follow the below steps.

Resolution

  1. Determine the IP address to be used as the primary PVA Agent IP address, e.g.,
    [hwnode@03:51:08][~]# ip a l
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
        link/ether 20:cf:30:1d:46:2e brd ff:ff:ff:ff:ff:ff
        inet 192.168.55.33/24 brd 192.168.55.255 scope global eth0
        inet 10.55.67.1/24 brd 10.55.67.255 scope global eth0:0
        inet6 fe80::22cf:30ff:fe1d:462e/64 scope link
           valid_lft forever preferred_lft forever
  2. Locate PVA Agent configuration file, e.g.,
    /var/opt/pva/agent/etc/vzagent.conf
  3. Replace primary_address section in vzagent.conf with the desired IP address, e.g., for Linux nodes:
    [hwnode@04:20:23][~]# sed '/<primary_address>/s~>.*.<\/~>192.168.55.33<\/~' -i /var/opt/pva/agent/etc/vzagent.conf | grep primary_address
  4. Restart PVA Agent:
    pvaagent restart
NOTE: The resulting section of "vzagent.conf" should look similar to this:
...............
<default_remote>
<default_timeout>360000</default_timeout>
<connect_timeout>20</connect_timeout>
<startup_timeout>10</startup_timeout>
<child_connect_timeout>20</child_connect_timeout>
<child_inactivity_timeout>300</child_inactivity_timeout>
</default_remote>
<primary_address>192.168.55.33</primary_address>
......................

NOTE: This example describes PVA Agent configuration on a Linux node, the solution applies to Windows nodes as well.

Additional information

For more information regarding PVA Agent troubleshooting on Windows and Linux, refer to this article:
6981: "PVA troubleshooting"



4542fc1e09dcc36ad9dbfd547b6b7b3c 64d8d09669cff87d685a09b84f40c490 909d99074e442b52ce54cc7b31cf065d 64cafed7cc15bceb3b240d8c2f92dce3 65f7ff3cc12be6ee9ee8e1c67edc7cc5 de15ebe36a547439f84e5981418f36c7 5f143f85fe3d1a0b3a49baf13a8380ca eb0ea3b827d18de2329b6477e24c1d59 2897d76d56d2010f4e3a28f864d69223 caea8340e2d186a540518d08602aa065

Was this article helpful?
No Yes
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Value-added Services for Hosters
- Parallels Partner Storefront