To create a virtual machine snapshot from a template:
oakcli clone vm <vm_name> -vmtemplate src_vmtempl_name -snap [-
driverdomain]
Parameters
Parameter
Description
-vm
vm_name
Identifies the name given to the new cloned virtual machine.
-vmtemplate
template_name
Identifies the name of the template containing the virtual
machine that you want to clone.
-repo
repo_name
Identifies the name of the repository that contains the template
being cloned.
-node
0 | 1
Identifies the Oracle Database Appliance node that contains the
shared repository from which the virtual machine is to be cloned.
-vm
src_name
Identifies the name of the virtual machine that is to be cloned.
-snap
(Optional) Creates a snapshot of the source virtual machine or
virtual machine template.
-driverdomain
(Optional) Creates the virtual machine with the driver domain
option.
The driver domain option improves performance by enabling
guest virtual machines to use
ODA_BASE
instead of
Dom0
to
access virtual disks. Newly created virtual disks are mounted
directly from
ODA_BASE
to a guest virtual machine.
-force
(Optional) When cloning a source virtual machine, the
-force
option enables you to make a change from the source virtual
machine. For example, if the source file does not use a driver
domain, you can use
-force
-driverdomain
to create a clone
virtual machine that does use the driver domain.
-h
(Optional) Displays help for using the command.
Usage Notes
•
The
-node
parameter must be used when you clone from a shared repository. The
-node
parameter is invalid for non-shared repositories.
•
The virtual disk and
vm.cfg
files are stored in the following directories:
–
Dom0
:
/Repositories/vm_repo_name/.ACFS/snaps/vm_name/
VirtualMachines/vm_name
–
ODA_BASE
:
/app/sharedrepo/vm_repo_name/.ACFS/snaps/vm_name/
VirtualMachines/vm_name
•
Live migration of driver domain virtual machines is not supported.
•
The driver domain option is supported with the following guest operating systems:
–
Oracle Linux with the latest Unbreakable Enterprise Kernel 2 (UEK2),
Unbreakable Enterprise Kernel 3 (UEK3), or Unbreakable Enterprise Kernel
Release 4 (UEK R4).
–
Microsoft Windows with Oracle VM Windows PV Driver 3.4.1. Oracle VM
Windows PV Driver 3.4.1 release is available for download on My Oracle
Support as patch number 23346086.
Chapter 14
oakcli Virtual Machine Commands
14-67
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...