Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-14-2008, 07:58 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 21

Rep: Reputation: 16
Question STONITH to shutdown a vmware node on ESX 2.5


I try to find some information for my cluster test system.

I have a cluster of 2 node on a VMware ESX 2.5 server.

The two node are configurated with heartbeat.

If one node fail, the other node take the cluster IP address and mount the shared file system (a VMDK file on the ESX server)

I want to be sure the 2 node won't mount the shared disk at the same time. So I want VMware to shutdown the malfunctioning node.

I found that STONITH is supposed to be able to do that with "external/vmware" plugin, but don't find any information on it. don't know how it works and what the script has to look like.

If someone could help me,


Old 11-16-2008, 05:25 AM   #2
Registered: May 2001
Posts: 29,358
Blog Entries: 55

Rep: Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545
AFAIK the script that is included in Stonith is, and the params are explained at The most talk about your issue will be on the where you can also find the or search through them through say;;list=linuxha. This may look like a RT(F)M kind of answer but at least it has more specific pointers than the usual "go google for it" ones.
Old 11-16-2008, 11:54 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 21

Original Poster
Rep: Reputation: 16
Thanks for the reply. Before I had poisted this question, I had already searched google, linux-ha website, and linux-ha mailling list without success.

I know I need to add something like: "stonith external/vmware /etc/ha.d/vmware.cfg" in my config file.

But I don't know what to put in the "vmware.cfg" file. They tell to put "parm1-value parm2-value ..."

How do I set the IP or hostname of the vmware ESX host, the user/password for the SSH, and the command to execute to shutdown the virtual machine.



heartbeat, stonith, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12 on VMware ESX 3.02 caustic386 Slackware 10 07-25-2008 09:39 AM
VMware ESX Server Echo Kilo Linux - Server 10 02-09-2008 08:22 PM
VMware esx 3 HELP jstuhlmiller Linux - Newbie 1 09-25-2007 08:02 AM
SlackWare 12 VM on VMware ESX 3.0.2 host petcherd Slackware - Installation 2 08-25-2007 01:54 PM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 08:23 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration