![Oracle Database Appliance X6-2-HA Deployment And User'S Manual Download Page 414](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047414.webp)
include the name given in the
vmtemplate
vmtemplatename
clause followed by a
sequence number, such as
vmtemplatename1
,
vmtemplatename2
, and
vmtemplatename3
.
•
When importing into a shared repository, you must include the
-node
option with a
valid node number, 0 or 1. Using the
-node
option for imports into non-shared
repositories will cause the command to fail.
Examples
Here are examples of how to use the
oakcli import vmtemplate
command.
Example 14-53 Importing a Virtual Machine Template from Dom0
Import the required template (
OVM_OL5U7_X86_64_PVM_10GB.tgz
) from the
/OVS
directory in Dom0 into the
odarepo1
repository and name the template file
OL5U7
:
oakcli import vmtemplate OL5U7 -files /OVS/OVM_OL5U7_X86_64_PVM_10GB.tgz -
repo odarepo1
Example 14-54 Importing a Virtual Machine Template from a Remote Server
Import a template from a remote server using a URL to identify the server and the
template file:
oakcli import vmtemplate OL5U6 -files 'http://example.com/vm-template/
OEL-5/OVM_OL5U6_X86_64_PVM_10GB.tgz' -repo odarepo2
Example 14-55 Importing Virtual Machine Templates from an Assembly on a
Remote Server
Import the templates contained in the assembly file stored on a remote server at the
URL provided into the
odarepo1
repository:
oakcli import vmtemplate OL6U1 -assembly 'http://example.com/assemblies/
OEL6/OVM_OL6U1_x86_PVHVM.ova' -repo odarepo1
Example 14-56 Importing Virtual Machine Templates Into a Shared Repository
From an Assembly on a Remote Server
Import the templates contained in the assembly file stored on a remote server at the
URL provided into a shared repository named
repo4
on Node 1:
oakcli import vmtemplate OL6U1 -assembly 'http://example.com/assemblies/
OEL6/OVM_OL6U1_x86_PVHVM.ova' -repo repo4 -node 1
Chapter 14
oakcli Virtual Machine Template Commands
14-79
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...