Question
What can I quickly check when I have problem with Virtuozzo Automator Management container or VA Agent on the Virtuozzo Hybrid Server node?
Answer
Management Node 7.x
Virtual Automator Management status: systemctl status va-mn.service
VA restart: systemctl restart va-mn.service
VA (Control Center) status: systemctl status va-cc.service
VA (Control Center) restart: systemctl restart va-cc.service
Management Node 6.x
Virtual Automation (VA) status: pvamn status
VA restart: pvamn restart
VA (Control Center) status: pvacc status
VA (Control Center) restart: pvacc restart
Management Node files and folders (both 7.x and 6.x)
Special config file outlining main paths: /opt/pva/mn/bin/pva.conf
[log_folder] - Location of log files, default: /var/log/pva
[etc_folder] - Location of config files, default: /var/opt/pva/mn/etc
To change the log level, find the [etc_folder] location in pva.conf, in this directory find vzagent.conf and change <log_level>parameter.
# grep log_level /var/opt/pva/mn/etc/vzagent.conf
<log_level>3</log_level>
Once the log level is changed, restart va-mn.service. Possible values:
3 – INFO level
4 – DEBUG level
6 – DEBUG level with XML messages
NOTE: Do not forget to decrease the log level back to the original value once you have finished troubleshooting. Having a log level higher than 2 may cause rapid growth of log files, possibly filling up all free space on the disk and leading to data corruption and downtime
Installation logs: /var/log/pva/setup/
VA Agent 7.x
VA status: systemctl status va-agent.service
VA restart: systemctl restart va-agent.service
VA Agent 6.x
VA status: pvaagent status
VA restart: pvaagent restart
VA (Power Panel) status: pvapp status
VA (Power Panel) restart: pvapp restart
VA Agent files and folders (both 7.x and 6.x)
Special config file: /opt/pva/agent/bin/pva.conf
[log_folder] - Location of log files, default: /var/log/pva
[etc_folder] - Location of config files, default: /var/opt/pva/agent/etc or /vz/pva/agent/etc
To change the log level, find the [etc_folder] location in pva.conf, in this directory find vzagent.conf (by default it is /var/opt/pva/agent/etc/vzagent.conf or /vz/pva/agent/etc/vzagent.conf), and change <log_level> parameter. Once the log level is changed, restart the va-agent.service. Possible values:
3 – INFO level
4 – DEBUG level
6 – DEBUG level with XML messages
NOTE: Do not forget to decrease the log level back to the original value once you have finished troubleshooting. Having a log level higher than 2 may cause rapid growth of log files, possibly filling up all free space on the disk and leading to data corruption and downtime.
Installation logs: /var/log/pva/setup/