Oracle X6-2-HA Deployment And User's Manual page 414

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

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
oakcli Virtual Machine Template Commands
Chapter 14
14-79

Advertisement

Table of Contents
loading

Table of Contents