Linux serverNETWORK ADMINISTRATIONSredhat

Redhat Pacemaker Cluster In RHEL7.2- Configuration Vmware SOAP Fencing-Part 2

This Video is to demonstrate step by step procedure of configuring Redhat pacemaker cluster Fencing device. Explained in details about stonith devices and how to use them.

Please watch other videos about Suse cluster HAE in below given links.
https://www.youtube.com/edit?o=U&video_id=DpVvpSVoIP0
https://www.youtube.com/edit?o=U&video_id=lfSdUNrNDHI
https://www.youtube.com/edit?o=U&video_id=Ls7usriWcGM
https://www.youtube.com/edit?o=U&video_id=SPTBvin0R7w
https://www.youtube.com/edit?o=U&video_id=RSnS0T7DVmo
https://www.youtube.com/edit?o=U&video_id=wXhZHcw885U
https://www.youtube.com/edit?o=U&video_id=wXhZHcw885U
https://www.youtube.com/edit?o=U&video_id=EmatRUshjuY
https://www.youtube.com/edit?o=U&video_id=11b_sY1Xtxg
https://www.youtube.com/edit?o=U&video_id=CYTNwQZ43RQ

source

by Tune To Linux

redhat openstack

29 thoughts on “Redhat Pacemaker Cluster In RHEL7.2- Configuration Vmware SOAP Fencing-Part 2

  • also the constraint should be run on opposite nodes ? for example in this video vmfence constrain created it should run only in node2 ? why we don't recommend to create constraint for node1 ?

  • if fencing device went down how both nodes will be react ??

  • sir please tell me i have 3 machines now how do i run command fence vmware soap ssl insecure this command which ip i have to provide if no vsphere

  • Sir if fencing services stopped then what's the process to start it?

  • Can u share Part-3 on this topic. I am unable to see Part-3 on how to create and add a resource group

  • Hi

    When i run the below command, the host ip, do i need to use my vsphere client ip or is it the esx host ip? Also do i need to allow any port from my source ip to the esx or vsphere client ip

    `fence_vmware_soap -z –ssl-insecure -l '<host-username>' -p '<host-passwd>' -a <host-IP> -o list

  • Hi. Can I use fence_vmware_soap for VMware workstation also or sbd ? Thanks

  • i am having two virtual machine on two different machine ,created through KVM . i am trying to make a cluster of two nodes. which fence device should be used.plz guide

  • I have seen setup with onlly one fence being created…….which one is the correct setup…..some guidance please…

  • I added the fence, after that the nice rebooted. But, later both the stonith devices status is showing as stopped. How to make it normal again..??

  • i am not able to understand why you use esxi host ip in fencing . if i will use two vm in cluster then will i have to take my esxi host ip in fencing devices. and other when we use physical device then which ip we will use "fencing device means what" is it like storage device in fencing ?? please clear my doubt.

  • Hi,
    I have followed the same steps which you did but getting "error: unable to fence" while running the command #pcs stonith fence nodename. What will be th issue?

  • I have two vps,virtual server (not on VMware) . Which fencing device should I use?

  • We have configured fencing in a vmware node but the fencing resource is not starting , showing the status stop. But while checking logs it's clearly mentioning like no such devices like that. But I am able to list stonish UUID as per your video. If you could help me

  • Hi I lke this video. Can you share the steps in doc or pdf format to itconsultant550@gmail.com

  • I did tried to configure stonith

    pcs stonith create vmfence1 fence_vmware_soap pcmk_host_map="node1:Redhat7.5-Node1" ipaddr=192.168.10.10 ssl_insecure=1 login='root' passwd='####' action=reboot delay=10 –force
    I tried the above command but it gave me below warning message
    "Warning: stonith option 'action' is deprecated and should not be used, use pcmk_off_action, pcmk_reboot_action instead"

    Also my fence is failed when I checked at the status
    #crm_mon -r1
    Failed Actions:
    * vmfence1_start_0 on node1 'unknown error' (1): call=41, status=Timed Out, exitreason='',
    last-rc-change='Wed Oct 3 17:16:57 2018', queued=0ms, exec=20174ms

    Can you please help me to fix it
    * vmfence1_start_0 on node1 'unknown error' (1): call=41, status=Timed Out, exitreason='',
    last-rc-change='Wed Oct 3 17:16:57 2018', queued=0ms, exec=20174ms

    Pacemaker Version => pacemaker-1.1.18-11.el7.x86_64
    RHEL = 7.5

  • when i run the commnad pcs stonith fence node1 the output says no route to host. FYI resources are running fine as per your video but fencing did not occur. i am using RHEL 5 for fence devices and RHEL 7 for pcs cluster

  • Hi, Hope you doing well, can you suggest in this scenario what are the two nodes you are using for fencing. i mean what OS you are using, please also tell the lightweight OS which could run with minimum RAM and disk space

  • Nice video.
    Could you please share the installation steps which you have written.
    My email id is. aich.abhijit@live.in

  • Hi, Nice video…i am using oracle virtual box, so pls let me know what fence device to take in stonith list..

  • Why we had to do a manual resource cleanup, How can we avoid it ?

  • After runnung constraint commands, the fence resources are not able to switch on to location..plz help

  • Hello Sir,

    I have installed VMware Workstation 10 & on top of that I have installed ESXi 5.5 & under that I have created 2 RHEL-7.3 VM's

    I have configured fencing in same way, but it didn't worked for me. Please see below Logs of my Cluster;

    # pcs config

    Stonith Devices:
    Resource: vmfence1 (class=stonith type=fence_vmware_soap)
    Attributes: pcmk_host_map=node1 ipaddr=192.168.0.10 ssl_insecure=1 login=root passwd=redhat@123 action=reboot delay=10
    Operations: monitor interval=60s (vmfence1-monitor-interval-60s)
    Resource: vmfence2 (class=stonith type=fence_vmware_soap)
    Attributes: pcmk_host_map=node2 ipaddr=192.168.0.10 ssl_insecure=1 login=root passwd=redhat@123 action=reboot delay=10
    Operations: monitor interval=60s (vmfence2-monitor-interval-60s)
    Fencing Levels:

    [root@node1 ~]# fence_vmware_soap -z –ssl-insecure -l 'root' -p 'redhat@123' -a 192.168.0.10 -o list
    /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
    InsecureRequestWarning)
    node1,564d053b-219a-56cd-d924-3e35667966f7
    node2,564d3b74-d56f-6cf8-4fd1-74182d955da1

    [root@node1 ~]# pcs stonith fence node2
    Error: unable to fence 'node2'
    Command failed: No such device

  • Physical system in the sense — I have created a VM and its a passthrough. so this which type of fence device I need to create.

  • Hi,
    If I am using a physical system at that time which stonith /fence device I need to create?

Comments are closed.