3 repository configuration file, 4 repository mount options, 5 adding a repository – Oracle Audio Technologies E10898-02 User Manual

Page 52: Repository configuration file, Repository mount options, Adding a repository

Advertising
background image

Repository Configuration File

7-2

Oracle VM Server User's Guide

/etc/ovs/repositories.options

You can add a repository using the

/usr/lib/ovs/ovs-makerepo

script, and

remove them using the

/usr/lib/ovs/ovs-offlinerepo -d

script.

Repositories are managed by Oracle VM Agent. To manually manage the repository
daemon, use following commands:

/etc/init.d/ovsrepositories [start|stop|status|restart|reload]

7.3 Repository Configuration File

A list of the Oracle VM Server repositories is in the file:

/etc/ovs/repositories

The format used in the repository file is:

uuid source

uuid

The UUID (Universally Unique Identifier) of the repository.

source

The block device or NFS path to the file system used as a repository.

7.4 Repository Mount Options

You can create an optional repository option file which contains mount options for
storage repositories. The repository option file must be named:

/etc/ovs/repositories.options

The format of this file is:

uuid options

uuid

The UUID of the repository and must match the UUID of the repository in the
/etc/ovs/repositories file.

options

The list of mount options, as they would appear if the volume were mounted with

mount -o opt1,opt2,opt3

. The mount options will be used exactly as listed in the

file until the end of the line.

7.5 Adding a Repository

You can add a file system or shared virtual disk as a repository using the

makerepo

script. This script identifies the file system or shared virtual disk as a repository and
updates the repository configuration to enable it. The script takes the parameters:

/usr/lib/ovs/ovs-makerepo source shared description

source

The block device or NFS path to the file system to be added.

shared

Sets whether the file system is to be shared as the cluster root (the heartbeat device),
shared as a non-cluster root, or not shared. In a High Availability (HA) enabled

Advertising