2.1 Starting and Stopping the CLI

The CLI is automatically started when you first install Oracle VM Manager. You can also stop and start it separately to Oracle VM Manager as required. To use the CLI, the Oracle VM Manager service should first be started. See Starting and Stopping Oracle VM Manager for information on starting and stopping Oracle VM Manager.

When the CLI is installed (as part of Oracle VM Manager), it is set to automatically start when the operating system starts. If you want to disable this, enter:

# chkconfig ovmcli off

To manually start or stop the CLI, and to verify its status, log in as the root user, and use the syntax:

/sbin/service ovmcli [start|stop|status|restart]

For example, to start the CLI:

# /sbin/service ovmcli start

To stop the CLI:

# /sbin/service ovmcli stop

To restart the CLI:

# /sbin/service ovmcli restart

To check the status of the CLI:

# /sbin/service ovmcli status

The status option returns whether the CLI service is running or stopped.

If the Oracle VM Manager host computer runs a full graphical desktop environment, you can also use the Services dialog to start and stop the CLI. From the Applications menu, select System Settings > Server Settings > Services. Or by running the following command in a terminal to display the Services dialog:

# /usr/bin/system-config-services

In the Service Configuration dialog, select ovmcli to check the status, and start or stop it.