Server side
Agent software is included in the Virtuozzo Tools package which comes with Parallels Virtuozzo Containers. Virtuozzo Tools are installed on your server by default during Virtuozzo Containers installation. If Virtuozzo Tools are not installed on you server, run Virtuozzo Containers installation program again and select Virtuozzo Tools package to install.
When Agent is installed on your host server for the first time, you will need to know the password of your system administrator (such as root
on Linux or Administrator
on Windows) in order to log in to it from your client program. The system administrator is by default granted all access rights in Agent, which means that the user can execute any of the available Agent API calls and access any of the Virtuozzo Containers hosted by the Hardware Node. You can add more users with specific access rights later using Virtuozzo Tools or programmatically through Agent.
To verify that Agent is installed and running properly, do the following:
On Linux, log in to your Hardware Node and execute the following command:
# vzagent_ctl status
If Agent is running, the output should look similar to the following:
# vzagent (pid 31615 29644 25012 22861 8362 7073 7046 7036 7035 7029 7028 7026 7025 7023 7021 7019 7018 7017 7016 7013 7012 7011 7010 7009 7008 7007 7006 7004 7003 7002 7001 7000 6999 6998 6997 6996 6995 6994 6993 6992 6991 6990 6989 6988 6987 6986 6985 6984 6632) is running...
If Agent is stopped, the output will look like this:
# vzagent is stopped
If something is wrong with Agent, the output may contain additional messages describing the problem. In such a case, try restarting Agent using the following command:
# vzagent_ctl restart
To start or stop Agent, use the following commands respectively:
# vzagent_ctl start
# vzagent_ctl stop
On Windows, Agent runs as a Windows service. You can manipulate it by going to the Services console which is located in the Control Panel / Administrative Tools folder, and selecting the
VZAgent
service from the list.
Client side
Your will need Microsoft Visual Studio .NET and Microsoft .NET Framework installed on your development machine. No additional client software is required.