Parameter
Description
-server
node_number
(Optional) Oracle Database Appliancenode from which you want
to remove the virtual machine template. If this optional
parameter is not included, then the virtual machine template is
removed from both nodes.
-h
(Optional) Display help for using the command.
Example
Delete the
ovu22
virtual machine template from both nodes:
oakcli delete vmtemplate ovu22
oakcli import vmtemplate
Use the
oakcli import vmtemplate
command to import virtual machine templates.
Syntax
oakcli import vmtemplate vmtemplatename -files image_files | -assembly
assembly_file -repo repo_name [- node 0 | 1 ][-h]
Parameters
Parameter
Description
vmtemplatename
Name that you want to assign to the template
-files
Use the
-files
option when importing one or more files that
comprise a template.
image_files
image_files
is one of the following:
•
A single template file name
•
A comma-separated list of files that comprise a single
template
•
A URL enclosed in single quotation marks that links to a
template file
-assembly
Use the
-assembly
option when importing an assembly file.
assembly_file
An assembly file, or a URL enclosed in single quotation marks,
that links to an assembly file
repo_name
Name of the repository to store the template or templates that
you are importing
-node
When you are importing to a shared repository, use the
-node
option with a value of 0 or 1 to identify the node.
-h
(Optional) Display help for using the command.
Usage Notes
•
Include only one of the options,
-files
or
-assembly,
each time you run this
command. You cannot include both of these options in the same statement.
•
If the command imports more than one template from an assembly, then each
template will automatically be given a unique name. These template names will
Chapter 14
oakcli Virtual Machine Template Commands
14-78
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...