Search This Blog

Monday, June 21, 2010

How to add a new repository to Oracle Virtual Server.

Mounting NFS Share as repository.
To make sure which repository is currently exist in the server .
run
#/opt/ovs-agent-latest/utils/repos.py -l
typically for the first run it won't list anything.

Create a share on storage then add the share as repository.
#/opt/ovs-agent-latest/utils/repos.py -n 10.180.36.110:/export/LAB

You should get something like this.
#/opt/ovs-agent-latest/utils/repos.py -l
c9a30a22-f0c5-435f-8f31-376e95f54107 => 10.180.36.110:/export/LAB

To make the repository as root .
run
#/opt/ovs-agent-latest/utils/repos.py -r 86bacbb6-99a4-48e6-b2f9-89598943e16e
[ * ] c9a30a22-f0c5-435f-8f31-376e95f54107 => 10.180.36.110:/export/LAB

(here [ * ] indicates its a root )

For more detailed information on different options available with repos.py
run
#/opt/ovs-agent-latest/utils/repos.py

Mounting Local shares as repositories.

#/opt/ovs-agent-2.3/utils/repos.py -n /dev/sda5
#/opt/ovs-agent-2.3/utils/repos.py -n /dev/sdb1
#/opt/ovs-agent-2.3/utils/repos.py -n /dev/sdc1
List the repositories.
#/opt/ovs-agent-2.3/utils/repos.py -l
Make one as root repository.
#/opt/ovs-agent-2.3/utils/repos.py -r a7d5463b-288f-4c14-b28a-5e999c987a29
More on this coming soon.

No comments:

Post a Comment