Modifying a Virtual Machine Template Configuration
Use the oakcli modify vmtemplate command to modify a virtual machine template.
After you import a virtual machine template to a storage repository, examine the
template configuration parameters with the oakcli show vmtemplate command. If you
need to reconfigure the template for specific requirements, then use the oakcli
configure vmtemplate command. This is useful if you plan to deploy multiple virtual
machines with the same characteristics from a single template. If you will be deploying
only one virtual machine or many virtual machines but with different characteristics,
then set required values in the virtual machines with the oakcli configure vm
command after you deploy the template.
When you are satisfied with the configuration of your virtual machine template, use the
oakcli modify command to assign a new network to the virtual machine template.
Example
Replace the network assigned to the gc_11g virtual machine template with the net1
network:
oakcli modify vmtemplate gc_11g -addnetwork net1
Removing a Virtual Machine Template
Use the oakcli delete vmtemplate command to remove a virtual machine template.
If you no longer need a template that you previously stored, then you can remove the
template from the repository.
Example
Remove the virtual machine template named myol6u_15gb3 from Oracle Database
Appliance Virtualized Platform:
oakcli delete vmtemplate my0l6u_15gb3
s/odarepo1/Templates/otml_sample1_o
darepo1/u01.img,xvdb,w|
Domain
:
XEN_PVM
Keyboard
:
en-us
MaxMemory
:
2048
MaxVcpu
:
2
Memory
:
2048
Mouse
:
OS_DEFAULT
Name
:
sample1_odarepo1
Networks
:
|bridge=priv1||bridge=net1||bridge=
net2|
NodeNum
:
0
OS
:
OL_5
ProcessorCap
:
100
RepoName
:
odarepo1
Vcpu
:
2
How to Manage Virtual Machine Templates
Chapter 12
12-20
Need help?
Do you have a question about the X6-2-HA and is the answer not in the manual?