Hi, As I can see from your mail that you are using RHEL 5 AP, you can use this distro to create VM using xen. RHEL 5 AP comes with bundles cluster software and xen fencing agent.
regards 2008/2/20 Panigrahi, Santosh Kumar <[EMAIL PROTECTED]>: > Hi, > > > > I am facing some issues on trying to fence a node using "fence_vmware" > Perl script. This script is attached in this mail. > > > > I have a single standalone physical machine installed with VMware ESX 3.5. > On top of this I have created 2 VMs with guest OS as Rhel5.1 AP. In both > the VMs I have installed VMware Perl APIs. I have kept "fence_vmware" script > at /sbin directory on both the VMs. My cluster.conf file is also attached > in this mail. I have not configured any service becoz I want only to test > VMware fencing agent here. > > > > Through conga on trying to fence a node, I am getting following errors in > my /var/log/messages. > > > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: > Global symbol "$RELEASE_VERSION" requires explicit package name at > /sbin/fence_vmware line 102. Global symbol "$BUILD_DATE" requires explicit > package name at /sbin/fence_vmware line 102. Global symbol > "$REDHAT_COPYRIGHT" requires explicit package name at > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: > /sbin/fence_vmware line 103. Global symbol "$REDHAT_COPYRIGHT" requires > explicit package name at /sbin/fence_vmware line 103. Global symbol > "$opt_ZZv" requires explicit package name at /sbin/fence_vmware line 267. > Global symbol "$pwd_script_out" requires > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: > explicit package name at /sbin/fence_vmware line 300. Global symbol > "$pwd_script_out" requires explicit package name at /sbin/fence_vmware line > 301. Global symbol "$pwd_script_out" requires explicit package name at > /sbin/fence_vmware line 302. Global symb > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: ol > "$pwd_script_out" requires explicit package name at /sbin/fence_vmware line > 303. Global symbol "$pwd_script_out" requires explicit package name at > /sbin/fence_vmware line 322. Global symbol "$pwd_script_out" requires > explicit package name at /sbin/fenc > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: > e_vmware line 323. Global symbol "$pwd_script_out" requires explicit package > name at /sbin/fence_vmware line 324. Global symbol "$pwd_script_out" > requires explicit package name at /sbin/fence_vmware line 325. Bareword > "version" not allowed while "strict s > > Feb 18 21:12:24 p2pv6 fence_node[5723]: agent "fence_vmware" reports: ubs" > in use at /sbin/fence_vmware line 291. *Execution of /sbin/fence_vmware > aborted due to compilation errors*. > > *Feb 18 21:12:24 p2pv6 fence_node[5723]: Fence of "p2pv5.tr.unisys.com" > was unsuccessful* > > > > My initial guess is this fencing agent script can only be run with old > VMware Perl APIs. Please correct me. Is there any way to run this script in > my current environment? > > > > If anyone is having a working script for VMware ESX 3.5 server, please > pass it. > > > > Thanks, > > Santosh > > > ------------------------------ > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *MARY, Mathieu > *Sent:* Thursday, February 14, 2008 6:39 PM > > *To:* linux clustering > *Subject:* RE: [Linux-cluster] help reqd. - VMware ESX 3.5 fencing > > > > VC is the virtual center server, i understood from your mail that you're > using virtual infrastructure, but you question points out the fact that you > maybe are using standalone ESX server ? > > in our configuration we use an ESX farm of 4 servers managed by the VC > server where we connect with the VI client > > > > > > <fencedevice name="your_fence_method" agent="fence_vi3" > ipaddr="yourserver_ip" port="your_vm_name" login="xxx" passwd="yyyyy"/> > > > > though I don't know if it works on standalone server, maybe you would have > ton install the VMI perlmodules described inside the script to you ESX > 3.5server > > > ------------------------------ > > *De :* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *De la part de* Panigrahi, Santosh Kumar > *Envoyé :* jeudi 14 février 2008 13:50 > *À :* linux clustering > *Objet :* RE: [Linux-cluster] help reqd. - VMware ESX 3.5 fencing > > > > Thanks Marry for the script. I will test and let you know. By the way > what's this VC server? Is it the system where I am running my VI client? > > Can you please elaborate little more on this configuration like where I > will keep this script, what will I mention in my cluster.conf file and > etc. > > > > Thanks, > > Santosh > ------------------------------ > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *MARY, Mathieu > *Sent:* Thursday, February 14, 2008 5:59 PM > *To:* linux clustering > *Subject:* RE: [Linux-cluster] help reqd. - VMware ESX 3.5 fencing > > > > hello, > > > > i'm using this script for VI 3 and ESX3.02 i guess it would work for you > too, cannot remember where I found it though J > > note that you have to send the restart request to your VC server and not > to the ESX server > > > ------------------------------ > > *De :* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *De la part de* Panigrahi, Santosh Kumar > *Envoyé :* jeudi 14 février 2008 12:37 > *À :* linux-cluster@redhat.com > *Objet :* [Linux-cluster] help reqd. - VMware ESX 3.5 fencing > > > > Hi, > > > > Does anybody have configured fencing in VMware ESX 3.5 environment? I > appreciate any help. > > > > I have got some info from > http://www.tournament.org.il/run/index.php?/archives/140-VMware-Fencing-in-RedHat-Cluster-5-RHCS5.html. > > This script given here is for VMware server. Any idea whether it will work > for ESX 3.5 server or not? > > > > My system configurations are as follows. > > > > Host machine : Unisys ES7000-one with host OS as VMware ESX 3.5 > > Guest Machines: Guest OS as Rhel5.1 AP > > > > I am connecting to host machine using VMware VI 3.0. > > > > Thanks, > > Santosh > > > > > > -- > Linux-cluster mailing list > Linux-cluster@redhat.com > https://www.redhat.com/mailman/listinfo/linux-cluster >
-- Linux-cluster mailing list Linux-cluster@redhat.com https://www.redhat.com/mailman/listinfo/linux-cluster