![](/images/new-backgrounds/1263523/26352345x1.webp)
Oracle VM Agent Utilities
3.7.3 Remotely Stopping a Guest with the Oracle VM Agent API
You can use the do_rpc.py utility to remotely stop a guest on an Oracle VM Server from another computer with Oracle VM Server installed. The following command remotely stops a guest on an Oracle VM Server:
#
Where username and password refer to the Oracle VM Agent login credentials, hostname refers to the host name of the computer on which Oracle VM Agent is installed, and guest refers to the name of the guest. If the guest stops without error, the following is displayed:
stop_vm ['/OVS/running_pool/guest'] =>success
3.8 Oracle VM Agent Utilities
A number of utility scripts are included with Oracle VM Agent, and you can use these to monitor and manage guests. The utility scripts discussed in this section enable you to perform actions such as:
■
■
Monitoring a Guest with the Oracle VM Agent
Deleting a Guest with the Oracle VM Agent
3.8.1 Monitoring a Guest with the Oracle VM Agent
You can use the db_kfv.py utility to monitor a guest. To check the status of a guest, enter:
The status of the guest is displayed. For example, if the guest is not running, the following is displayed:
/OVS/running_pool/guest status(now)=>DOWN
3.8.2 Deleting a Guest with the Oracle VM Agent
You can use the db_del.py utility to delete a guest. To delete a guest, enter:
For example, to delete a guest named myguest, enter:
The entries in /OVS/running_pool/myguest are removed and the guest deleted.
Oracle VM Agent