Attaching a Virtual Disk to a Virtual Machine
Use the oakcli modify vm command to attach a virtual disk to a virtual machine on
Oracle Database Appliance Virtualized Platforms.
The command oakcli modify vm name enables you to modify a virtual machine,
where name is the name of the virtual machine that you want to modify. To attach a
disk to a virtual machine, use the option -attachvdisk vdiskname, where vdiskname is
the name of the virtual disk that you want to attach to the virtual machine.
Example 12-11
This example attaches the virtual disk named sdisk1 to the virtual machine named
myol6u_test:
oakcli modify vm myo16u_test -attachvdisk sdisk1
Deleting a Virtual Disk
Use the oakcli delete vdisk command to remove a virtual disk from a shared
repository on Oracle Database Appliance Virtualized Platforms.
The command oakcli delete vdisk vdiskname removes a virtual disk, where
vdiskname is the name of the virtual disk that you want to remove. The option -repo
reponame indicates the shared repository on which the virtual disk is located, where
reponame is the name of the shared repository.
Example 12-12
This example removes a virtual disk named t2g from the shared repository named
repoprod1:
oakcli delete vdisk t2g -repo repoprod1
How to Manage Virtual Machine Templates
These topics describe how to use OAKCLI to import, configure, modify and check
virtual machine templates on Oracle Database Appliance Virtualized Platform.
•
About Managing Virtual Machine Templates
Import and configure virtual machine templates as the source for the virtual
machines deployed on Oracle Database Appliance Virtualized Platform.
•
Listing Virtual Machine Templates
Use the oakcli show vmtemplate command to display virtual machine
template details.
•
Importing Virtual Machine Templates
Use the oakcli import vmtemplate command to import virtual machine templates
and assemblies on Oracle Database Appliance Virtualized Platforms.
•
Configuring a Virtual Machine Template
Use the oakcli configure vmtemplate command to configure a virtual
machine template on Oracle Database Appliance Virtualized Platform.
Example of Attaching a Virtual Disk To a Virtual Machine
Example of Deleting a Virtual Disk from a Shared Repository
How to Manage Virtual Machine Templates
Chapter 12
12-15