Setting up Oracle VM Server 2.2 with a NFS Repository
Oracle’s documentation on this is a not very well organized, and simply doesn’t work out of the box, at least with the 2.2 install CD that’s available for download. The main problem is that the version of ovs-agent that ships with Oracle VM 2.2 is broken, so following the instructions you’ll end up frustrated and wondering what you did wrong, i.e.:
[root@oraclevm8 /]# /opt/ovs-agent-2.3/utils/repos.py --init
Cluster not available.
To set up OracleVM 2.2 Server, with a NFS repository for VM’s:
- Download the ISO, and run through the install process
- Once it is up and you are logged in:
- Download and install the updated ovs-agent rpm from oracle here: http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-31.noarch.rpm
- wget http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-31.noarch.rpm
- rpm -Uvh ovs-agent-2.3-31.noarch.rpm
- Add your repository with the repos.py tool, make it the root repository, and initialize it:
# /opt/ovs-agent-2.3/utils/repos.py --new mynfsserver.company.com:/volumes/datavol/ovs
# /opt/ovs-agent-2.3/utils/repos.py -l
# /opt/ovs-agent-2.3/utils/repos.py -r 7c885f7e-7dfe-4108-bae4-4dc329e2f017
# /opt/ovs-agent-2.3/utils/repos.py -i
At this point, you are ready to go, and can continue setting things up (including your Oracle VM Manager VM).







