LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-14-2008, 08:58 PM   #1
mr_sarge
LQ Newbie
 
Registered: Oct 2005
Location: Saint-Hyacinthe, Quebec, Canada
Distribution: Ubuntu server 8.04
Posts: 21

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


Hi,

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,

Thanks,

SaRgE
 
Old 11-16-2008, 06:25 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,679
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
AFAIK the script that is included in Stonith is http://hg.linux-ha.org/dev/file/tip/...xternal/vmware, and the params are explained at http://www.linux-ha.org/ExternalStonithPlugins. The most talk about your issue will be on the http://lists.linux-ha.org/mailman/listinfo/linux-ha where you can also find the http://lists.community.tummy.com/pipermail/linux-ha/ or search through them through say http://www.gossamer-threads.com/list...;;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, 12:54 PM   #3
mr_sarge
LQ Newbie
 
Registered: Oct 2005
Location: Saint-Hyacinthe, Quebec, Canada
Distribution: Ubuntu server 8.04
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 ha.cf 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.

Tanks
 
  


Reply

Tags
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 10:39 AM
VMware ESX Server Echo Kilo Linux - Server 10 02-09-2008 09:22 PM
VMware esx 3 HELP jstuhlmiller Linux - Newbie 1 09-25-2007 09:02 AM
SlackWare 12 VM on VMware ESX 3.0.2 host petcherd Slackware - Installation 2 08-25-2007 02:54 PM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 09:23 AM


All times are GMT -5. The time now is 08:17 PM.

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