Changing Master and Slave Servers IP Addresses
If the master server IP address changes for some reason, you have to additionally configure slave servers registered with it:
On each slave server, open the
/var/opt/pva/agent/etc/vzagent.conffile, locate the<ns1:address>and<host>elements and change the old master server IP address to the new one. For example:1 2 3 4 5 6 7<node> <...> <host>10.30.10.101</host> <...> <ns1:address>10.30.10.101</ns1:address> <...> </node>Restart the
va-agentservice to apply changes:1# systemctl restart va-agent
If the IP address of a slave server changes for some reason and you want to keep its VA settings, you have to additionally configure the master server:
On the master server, open the
/var/opt/pva/mn/etc/vzagent.conffile, locate the corresponding<ns1:address>and<host>elements with the old slave server IP address and change it to the new IP address. For example:1 2 3 4 5 6 7<node> <...> <host>10.30.10.102</host> <...> <ns1:address>10.30.10.102</ns1:address> <...> </node>Restart the
va-mnservice to apply changes:1# systemctl restart va-mn
Alternatively, you can unregister the slave server from Virtuozzo Automator and re-register it with the new IP address, but in this case VA settings for this server will be lost.