Chapter 1 Introduction to the Oracle VM Command Line Interface (CLI)

Table of Contents

1.1 Connecting to the Oracle VM CLI
1.2 SSH Host Keys
1.3 Key-Based Authentication
1.4 Using the Oracle VM CLI and Getting Help
1.5 Passing in a CLI Command at the Command Line
1.6 Using Expect Scripts
1.6.1 Expect Script Prerequisites
1.6.2 Writing Expect Scripts
1.7 Sample Scripts
1.8 Integrating the CLI into Your Applications
1.9 Configuring the Oracle VM CLI
1.9.1 SSH Port
1.9.2 Timeout
1.9.3 Case Sensitivity
1.9.4 Public Key Authentication Expiry
1.9.5 Lock Exceptions
1.10 CLI Logs

The Oracle VM Command Line Interface (CLI) provides a command line interface to communicate with Oracle VM Manager. You can use the CLI to perform the same functions as Oracle VM Manager, such as managing all your server pools and guest virtual machines. The CLI commands can be scripted to enable flexibility to help you deploy and manage your Oracle VM environment.

The CLI is installed when you install Oracle VM Manager, so you must have a working copy of Oracle VM Manager to use the CLI. The CLI automatically starts and stops when you start or stop Oracle VM Manager. When you make changes to the Oracle VM environment using the CLI, these changes are reflected in real time in the Oracle VM Manager user interface.

The CLI does not replace the Oracle VM Utilities. The Oracle VM Utilities are complementary to the CLI. For information on the Oracle VM Utilities, see the Oracle VM Utilities Guide.