Chapter 1 What's New in the Oracle VM Manager Command Line Interface (CLI)?
This section lists the syntax changes in the Oracle VM Manager Command Line Interface (CLI) from previous releases. Included in this section are any changes or deletions to existing commands and options, as well as new commands or options. This section may be useful when migrating your CLI scripts from previous releases of the CLI.
1.1 CLI Changes in Release 3.4
This section lists the changes and new features to the CLI in Release 3.4.
1.1.1 CLI Modifications
This section lists the modifications made to existing CLI commands.
Object Type |
Description |
---|---|
N/A |
You can set some command options to be empty strings. You may want to do this to clear Oracle VM Server roles, network roles, clear NTP servers, or clear an object's description. No syntax changes have been made in commands, but the logic behind string options has changed. Where these changes are appropriate, they are noted in the commands in Appendix A, CLI Command Reference. For example, to clear Oracle VM Server roles you would use: edit Server name=MyServer roles="" |
N/A |
You can mask attribute values on screen, as they are
entered, by appending an asterisk
( OVM> sendVmMessage Vm name=MyVM key=com.oracle.linux.root-password message*= |
AccessGroup |
The
edit AccessGroup
command now includes a |
Assembly |
The Assembly object, and the commands related to the Assembly object, have been deprecated. From this release, you should instead use the new VirtualAppliance object and associated commands. The commands related to the Assembly object are honored by the CLI, but there will be no future improvements to those commands. The following commands have been deprecated:
|
ServerPool |
The |
Vm |
The |
1.1.2 CLI New Features
This section lists the new commands introduced in Release 3.4.
Object Type |
Description |
---|---|
N/A |
A new setArchiveConfig command configures how Oracle VM Manager manages archived statistics. |
N/A |
A new getArchiveConfig command shows the configuration for managing archived statistics. |
N/A |
A new showclisession command lists the CLI session options set using the set command. |
N/A |
The
set
command now includes an
|
Event |
The getEventListByQuery command lists events for objects using a query to narrow results. |
Event |
The getTriageEventSeverityList command lists the highest severity event for one or more objects. |
Manager |
A new getManagerTime command displays the Oracle VM Manager time. |
Manager |
There are two new commands to list and set Oracle VM Manager automated database backup configuration parameters. The new commands are:
|
StorageArray |
The edit StorageArray command now has a
|
ServerPool,
Vm |
The
|
Statistic |
The getStatListByQuery command lists statistic for objects using a query to narrow results. |
Statistic, Server, Vm |
There are four new commands to list statistics for an Oracle VM Server or virtual machine. The new commands are:
|
VirtualAppliance |
A new VirtualAppliance object has been added. This should be used instead of the Assembly object, which has been deprecated in this release. The new commands related to the VirtualAppliance object are:
|
Vm |
The
create Vm
and
edit Vm
commands have a new |
Vm |
The
create Vm
and
edit Vm
commands have a new
|
Vm |
The migrateWithLocalStorage Vm command migrates a virtual machine to an Oracle VM Server in the same server pool, including moving the local storage to a storage repository. |
1.1.3 CLI Object Attribute Changes
This section lists the changes to the attributes of CLI objects
in Release 3.4. The attribute changes affect the output of the
show command, and the options available with
create object
and
edit object
commands.
Object |
Attributes Added |
Attributes Removed |
Attributes Modified |
---|---|---|---|
PhysicalDisk |
|
N/A |
N/A |
Repository |
|
N/A |
N/A |
ServerAbility |
|
N/A |
N/A |
ServerPool |
BALANCE_SERVER
|
N/A | N/A |
StorageArray |
|
N/A | N/A |
VirtualApplianceVirtualDisk, which replaces the deprecated AssemblyVirtualDisk object. |
N/A |
N/A |
Display names of attributes have changed:
From
From |
VirtualDisk |
|
N/A |
N/A |
Vm |
|
N/A |
N/A |