LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2021, 08:17 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
Fencing devices when using fence_vmware_soap


Hi,

I am trying to setup a 6 node Redhat HA cluster for Resilient storage and I am confused of the number of fencing devices and the type. My environment is as below

Using VMware VMs with vCenter
Number of nodes 6
OS Redhat 7.9

I am stuck at creating fencing devices.

1. Do I need to create a fencing device for each node or do I need to share one fencing device across all 6 nodes.
2. What method would be the best for resilient storage (GFS2)

Thank you and Kind Regards
 
Old 10-23-2021, 07:16 AM   #2
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi All

It seems you can just create one fence device with semicolon separated list of "pacemaker_nodename:node-vm as below

# pcs stonith create vmfence01 fence_vmware_soap pcmk_host_map="<pacemaker_nodename1:node1-vm;pacemaker_nodename2:node2-vm>" ipaddr=<ESXi/vCenter IP address> ssl_insecure=1 login=<Vcenter/vSpher login> passwd=<vCenter/vSpher password> delay=10

You can get the node-vm name by using below command

# fence_vmware_soap -a <ESXi/vCenter IP address> -l <Vcenter/vSpher login> -p <vCenter/vSpher password> --ssl-insecure -o list | egrep '(node2-vm|node*-vm)'

Correct me if I am wrong or there is any additional things that I need to do like creating second stonith device as below and assign a constrain to each to avoid the chance of cluster trying to start both services on the same node

# pcs stonith create vmfence fence_vmware_soap pcmk_host_map="<pacemaker_nodename1:node1-vm;pacemaker_nodename2:node2-vm>" ipaddr=<ESXi/vCenter IP address> ssl_insecure=1 login=<Vcenter/vSpher login> passwd=<vCenter/vSpher password> delay=10

Thank you and Kind Regards
 
  


Reply

Tags
cluster, fencing, redhat, resilient storage


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
Cluster Fencing??? your_shadow03 Linux - Server 3 10-10-2008 11:48 AM
GFS ISCSI fencing ionic_slim Linux - Server 0 07-04-2008 11:16 PM
fencing error sachin1361 Linux - Enterprise 0 09-09-2007 10:10 AM
How to configure fencing in RHEL cluster ? aix_tiger Linux - Enterprise 1 06-11-2007 02:59 AM
iLO fencing with Cluster Suite depdiver Red Hat 1 02-09-2006 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 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
Open Source Consulting | Domain Registration