Note:
The
-node
option identifies the node where the cloning activity is carried out.
The node value does not assign the default startup node for the virtual
machine. You can set the startup assignment with the command
oakcli
configure vm
.
Example 12-16 Example of Creating a Virtual Machine Clone from a Virtual
Machine Template
This example creates a virtual machine named
myol6u_test
from the virtual machine
template named
myol6u_15gb1
, which is located in a shared repository named
repo2
on
Node 0
:
oakcli clone vm myol6u_test -vmtemplate myol6u_15gb1 -repo repo2 -node 0
Creating a Snap Clone from a Template With OAKCLI
Use the
oakcli clone vm
command to create a snap clone of a virtual machine
template on Oracle Database Appliance Virtualized Platforms.
Use the
-vmtemplate name
option to provide the name of the virtual machine template
that you want to clone, where
name
is the name of the template. Use the
-snap
option
to designate that you want to create a snap clone.
Example 12-17 Example of Creating a Snap Clone From a Virtual Machine
Template
This example creates a snap clone named
myol15u_snap
from the virtual machine
template named
myol5u
:
oakcli clone vm myol15u_snap -vmtemplate myol5u -snap
Creating a Snap Clone of an Existing Virtual Machine With OAKCLI
Use the
oakcli clone vm
command to create a snap clone of an existing virtual
machine on Oracle Database Appliance Virtualized Platforms.
Use the
-vm name
option to provide the name of the virtual machine that you want to
clone, where
name
is the name of the virtual machine. Use the
-snap
option to
designate that you want to create a snap clone.
Example 12-18 Example of Creating a Snap Clone From an Existing Virtual
Machine
This example creates a snap clone named
myol15u_test1
from a virtual machine
named
myol15u_test
:
oakcli clone vm myol15u_test1 -vm myol15u_test1 -snap
Chapter 12
How to Create Clones and Snap Clones of a Template
12-22
Содержание Database Appliance X6-2-HA
Страница 15: ...Index xv...