•
Increasing the Size of a Shared Repository
Use the
oakcli configure repo
command to increase the size of a shared
repository on Oracle Database Appliance Virtualized Platforms.
Creating a Shared Repository
Use the
oakcli create repo
command to create a shared repository on Oracle
Database Appliance Virtualized Platforms.
When you run the
oakcli create repo
command, you identify the repository name
using the option
repo
, you identify the disk group that you want to use for its storage
(DATA or RECO) using the option
-dg
, and you identify the size of the repository in
gigabytes or megabytes (the default size unit is gigabytes) using the
-size
option.
Other Oracle Appliance Manager shared repository commands, including commands
to show and to stop (dismount) existing repositories, are similar to those used for
nonshared repositories. Unlike the default repositories, which are permanent, you can
delete a shared repository that has no active (mounted) virtual machines.
Example of Creating a Shared Repository
The following command creates a shared repository named
repo1
in the ASM DATA
disk group (
data
) with 30 gigabytes of available storage:
oakcli create repo repo1 -dg data -size 30
Showing the Status of Shared Repositories
Use the
oakcli show repo
command to display information about virtual machine
repositories on Oracle Database Appliance Virtualized Platforms.
To see all repositories, omit the repository name and node number. To see a specific
shared repository, include the repository name and node number.
Example 12-1 Example of Showing the Status of All Shared Repositories
To show the status of all shared repositories, use the
oakcli show repo
command:
oakcli show repo
NAME TYPE NODENUM FREE SPACE STATE
---- ---- ------- --------- -----
odarepo1 local 0 N/A N/A
odarepo2 local 1 N/A N/A
repo1 shared 0 68.25% ONLINE
repo1 shared 1 68.25% ONLINE
repo2 shared 0 N/A OFFLINE
repo2 shared 1 89.83% ONLINE
Example 12-2 Example of Showing the Status of a Selected Shared Repository
To display information for a particular node in a shared repository, specify the
repository name and node number as part of the command syntax. In the following
example, information is displayed for Node 1 in the
repo1
shared repository:
oakcli show repo repo1 -node 1
Resource: repo1_1
AutoStart : restore
Chapter 12
How to Create and Manage Shared Repositories
12-10
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...