Follow Us on Twitter

Reset an Oracle VM Server

by Laurens van der Starre on May 9, 2012 · 7 comments

It can happen that a Oracle VM Server somehow doesn’t want to leave a server pool. I encountered this when I removed a clustered server pool (by, of course, first de-assigning the server nodes assigned to it, and then removing the server pool). It so happened to be that two servers in that server pool were down during the change because of the distributed power management policy. By the time these servers came online, the server pool wasn’t there, the NFS share wasn’t either, and both servers were in a non-existent server pool which I couldn’t remove or alter.

In such a situation you’d want to reset an Oracle VM Server. What helped me were these excellent steps posted on the Oracle Forums by user “627349”, these work like a charm:

#Stop ovs-agent
service ovs-agent stop

#Delete /etc/ovs-agent/db on the server(s)
rm /etc/ovs-agent/db

#Empty the /etc/ocfs2/cluster.conf
/dev/null> /etc/ocfs2/cluster.conf

#Start the ovs-agent
service ovs-agent start

I always reboot the Oracle VM Server afterwards, just to be sure. The Oracle VM Server will then be an unassigned server in Oracle VM Manager, so you can assign it again to some server pool.

Reset an Oracle VM Server, 4.8 out of 5 based on 8 ratings
VN:F [1.9.22_1171]
Rating: 4.8/5 (8 votes cast)

{ 7 comments… read them below or add one }

ridhoyp September 7, 2015 at 9:26 am

Thanks for the Tutorial, so much help!


umesh January 28, 2016 at 7:33 pm

thanks for the steps…worked like a charm even after 4 yrs…


santosh loke April 4, 2017 at 3:55 pm

still works! thanks!


Serge Couture October 18, 2017 at 8:05 pm

It worked fine with me with Version: 20130605_524 but I had to delete the /etc/ocfs2/cluster.conf and not only zapping the file.
It was seen in the diags info of the failed job as of this:

“Status: org.apache.xmlrpc.XmlRpcException: exceptions.Exception:/etc/ocfs2/cluster.conf already exists”


Serge Couture October 18, 2017 at 9:25 pm

also, as “/etc/ovs-agent/db” is a directory, I had to a
rm -rf /etc/ovs-agent/db


Cloud Migration February 21, 2018 at 10:41 am

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.

Cloud Migration


delhi escorts February 28, 2018 at 7:11 am

Excellent stuff from you man it was just too awesome. I adore what you have writing here. you still managing to keep it smart. Thank you.


Leave a Comment


Previous post:

Next post:

About Whitehorses
Company profile

Whitehorses website

Home page

Follow us
Blog post RSS
Comment RSS