Creating A Shared Repository; Showing The Status Of Shared Repositories - Oracle X6-2-HA Deployment And User's Manual

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

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
To show the status of all shared repositories, use the oakcli show repo command:
oakcli show repo
NAME
----
odarepo1
odarepo2
repo1
repo1
repo2
repo2
Example 12-2
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
Example of Showing the Status of All Shared Repositories
TYPE
----
local
local
shared
shared
shared
shared
Example of Showing the Status of a Selected Shared Repository
AutoStart
:
restore
How to Create and Manage Shared Repositories
NODENUM FREE SPACE
STATE
------- ---------
-----
0
N/A
N/A
1
N/A
N/A
0
68.25%
ONLINE
1
68.25%
ONLINE
0
N/A
OFFLINE
1
89.83%
ONLINE
Chapter 12
12-10

Advertisement

Table of Contents
loading

Table of Contents