|Oracle® VM Server User's Guide
Part Number E10898-04
Oracle VM Manager communicates with Oracle VM Agent to create and manage guests on an Oracle VM Server. Oracle VM Agent is installed and configured during the installation of Oracle VM Server. You do not need to install Oracle VM Agent separately. Oracle VM Agent is installed into:
This Chapter discusses the configuration and control of Oracle VM Agent. It contains:
See Appendix D, "Oracle VM Agent Architecture" for more detailed information.
The ovs-agent command-line tool enables you to configure and control Oracle VM Agent. The following sections discuss using the ovs-agent command-line tool. See "ovs-agent" in Appendix A, "Command-Line Tools" for more details on the ovs-agent command-line tool options.
You can change the default configuration with the Oracle VM Agent configuration script, ovs-agent. To configure Oracle VM Agent:
root, run the Oracle VM Agent configuration script:
# service ovs-agent configure
You are prompted to enter the IP addresses that are allowed to access to the computer.
;network access control by ip -- ;rules := if addr.match(allow) and not addr.match(deny): return True ;pattern items delimited by comma and could be ;10.1.1.1 #single ip ;10.1.1.* #range ;10.1.1.1/24 #range ;default to allow all, deny none allow=* allow=
* (asterisk) to allow all IP addresses access to the computer. Alternatively, enter a list of IP addresses for computers for which you want to allow access, while restricting all others. The default is to allow all computers to access the computer (
*). For example, to allow all computers in the domain example.com, enter
You are prompted to enter the IP addresses that are denied access to the computer.
now allow=*.example.com deny= deny=
Leave this field empty (does not deny any IP addresses), or enter
* to deny all IP addresses access to the computer. Alternatively, enter a list of IP addresses for which you want to deny access to the computer, while allowing all others. The default is to deny no computers access to the computer.
You are prompted whether you want to change the Oracle VM Agent password.
now deny= would you like to modify password to communicate with agent?[y/N]
y to change the Oracle VM Agent password, or
N to continue without changing the password. Press Enter.
Restart Oracle VM Agent for the configuration changes to take effect.
# service ovs-agent restart
Oracle VM Agent is started automatically when the computer starts. To manually start Oracle VM Agent, enter
# service ovs-agent start
Oracle VM Agent is started.
Alternatively, if Oracle VM Agent is already running, you can stop and restart it with the command
# service ovs-agent restart
Oracle VM Agent is stopped, and restarted.
To stop Oracle VM Agent, enter
# service ovs-agent stop
Oracle VM Agent is stopped.
Note:When Oracle VM Agent is stopped, Oracle VM Manager cannot manage the Oracle VM Server or the guests running on it.
If you shut down or restart the Oracle VM Agent on an HA-enabled Oracle VM Server on which guests are running you are prompted to:
Migrate or Power Off the guest(s) using Oracle VM Manager. When the guests have been migrated or Powered Off, the Oracle VM Agent shuts down.
Shut down the guest(s) and shut down Oracle VM Agent.
Cancel the shutdown operation.