•
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.
•
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.
Creating a Virtual Disk for Use in a Shared Repository
Use the command oakcli create vdisk to create a virtual disk within a shared
repository on Oracle Database Appliance Virtualized Platforms.
The command oakcli create vdisk defines the size of the virtual disk, the shared
repository in which that disk is created, defines the unique name for that disk within
that shared repository, and defines if the disk is used for one virtual machine, or can
be shared by multiple virtual machines.
The name of the vdisk you create is defined by the command oakcli create vdisk
name, where name is the name of the vdisk you create. Identify the repository in which
you create the vdisk by using the -repo reponame option, where reponame identifies
the repository where you want to create the vdisk. Use the option -size sizeG to
specify the vdisk size (in gigabytes), where sizeG is the size (in gigabytes) that you
want to add to the configured size. If you want to configure the vdisk as a shared disk,
then use the option -type shared to designate the vdisk as a shared disk.
Example 12-7
This example creates a virtual disk named sdisk1 in the repo2 shared repository that
is 1 gigabyte in size, and that virtual machines can share:
oakcli create vdisk sdisk1 -repo repo2 -size 1G -type shared
Viewing Information About Virtual Disks
Use the command oakcli show vdisk to view information about virtual disks on
Oracle Database Appliance Virtualized Platforms.
You can use oakcli show vdisk by itself to see information about all of your
configured virtual disks. To see information about an individual virtual disk, enter the
command oakcli show vdisk diskname -repo reponame, where diskname is the
name of the disk that you want to check, and reponame is the name of the shared
repository where the virtual disk is located.
Example 12-8
This example displays information about all virtual disks configured on an Oracle
Database Appliance:
# oakcli show vdisk
NAME
----
myvdisk
newv
Example of Creating a Shared Virtual Disk
Example of Displaying the Information for All Vdisks
SIZE
----
10G
1G
How to Manage Virtual Disks in Shared Repositories
TYPE
REPOSITORY
----
----------
local
vdiskrepo
local
vdiskrepo
Chapter 12
12-13
Need help?
Do you have a question about the X6-2-HA and is the answer not in the manual?
Questions and answers