Follow Us on Twitter

Reset an Oracle VM Server

by Laurens van der Starre on May 9, 2012 · 9 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)

{ 9 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


Black Magic Removal April 27, 2018 at 12:38 pm

He has given a lot of information inside this blog.thanks


Office 365 Support June 18, 2018 at 9:24 am

I just want to say I am newbie to weblog and really loved this website. Almost certainly I’m want to bookmark your blog post . You actually come with remarkable writings. Appreciate it for sharing your website.

Office 365 Support


escorts in delhi June 26, 2019 at 8:50 am

Much obliged for your sublime posting! I absolutely appreciated understanding it, you are an incredible creator.


Juhi Sharma January 8, 2020 at 8:27 am

Escorts in Gurgaon


Leave a Comment


Previous post:

Next post:

About Whitehorses
Company profile

Whitehorses website

Home page

Follow us
Blog post RSS
Comment RSS