Sponsored Content
Operating Systems Linux Red Hat PaceMaker Cluster Fence Device Post 302981475 by Padow1 on Tuesday 13th of September 2016 03:16:15 PM
Old 09-13-2016
You need to use whichever fence device is appropriate, not look for easiest. By your question, I'm guessing that you may not understand what the fence device is. Pacemaker needs to be able to force reboot nodes to prevent a situation where a node or nodes lose contact with one another and multiple hosts attempt to start the same services. Your fence device can be an HP ILO, a Dell DRAC, and Cisco UCS Manager, VMWare vsphere, rhevm, etc. It needs to be something that can force control the power of your system from outside of the system itself.

In your case, you should probably use fence_vmware_soap, which is provided by the fence-agents-vmware-soap.x86_64 package.
This User Gave Thanks to Padow1 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

electric fence

hi, i have downloaded electric fence from website,but i dnt know to install it in my system,plz tel me the procedure to install new packages into my system. (2 Replies)
Discussion started by: m.mujahid
2 Replies

2. UNIX for Dummies Questions & Answers

Fence status - beginners problems!!

Hi, I'd like to try and capture a fence status from Maestro and move it to another file, but each time I try it fails. For example, when using Maestro (conman) I enter: status I then get the fence status showing as 0 I then create a .dat file: touch statustest.dat If I... (0 Replies)
Discussion started by: tjhorwood
0 Replies

3. Solaris

Solaris cluster scdidadm Inquiry on device failed.

Solaris 10, Solaris Cluser 3.2, two node cluster, all software installed succefully, all nodes join to the cluster And on snod2 didn't recognize disks as a did devices and I can't make a quorum device. snod1#/usr/cluster/bin/cluster status === Cluster Nodes === --- Node Status --- Node... (2 Replies)
Discussion started by: Uran
2 Replies

4. Solaris

Increasing Raw device Sun Cluster 3.0

Hi All , I would like to know the procedure for increasing shared volume space in sun cluster . Currently the configuration is like these . Main stripe oradb1/d91 2 1 /dev/did/rdsk/d35s0 1 /dev/did/rdsk/d36s0 =Total 49 Gb oradb1/d94 -p oradb1/d91 -o 88080480 -b 14680064 ==Total 7 GB... (4 Replies)
Discussion started by: sahil_shine
4 Replies

5. Red Hat

Oracle ha from rgmanager to pacemaker

Hi, I've got one question about oracle rgmanager resource agent and ocf script. Rgmanager oracledb.sh script has an options called "vhost" which set the "ORACLE_HOSTNAME" value when you have different different cards on the same machine and different oracle instances. In ocf: heartbeat:... (0 Replies)
Discussion started by: lantuin
0 Replies

6. Red Hat

RHEL 7 PaceMaker Fence Agent Options

my options are getting very limited very fast on what agent to use with my 2 Node RHEL 7 VM Cluster. fence_vmware_soap "plug id"? I have a ESX resource cluster of 7 blades being managed by a Vsphere 6.0 server. I found the blade that the Cluster VM(s) is housed on. WTF is the plug id... (3 Replies)
Discussion started by: mrmurdock
3 Replies

7. AIX

IBM Power Linux Cluster Fence device on Power8 Platform

wasn't quite sure which forum to post in. What typical fence device to configure for a Power Linux PaceMaker Cluster running on the Power8 Platform (S822 Model of hardware), or what should be ordered with the S822 for use as a Fence Device? (5 Replies)
Discussion started by: mrmurdock
5 Replies

8. Solaris

Solaris Cluster Device Problem

I build up two node cluster (node1, node2) in virtualbox. For these two nodes I add 5 shared disk. (Also each node have own OS disk). 1 shared disk for vtoc 2 shared disk for NFS resource group 2 shared disk for WEB resource group When I finished my work; two nodes was ok and shared disk... (4 Replies)
Discussion started by: sonofsunra
4 Replies

9. Red Hat

[HA] Red Hat 7, pacemaker and start/stop scripts

Hi there, I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster? Cheers, c (1 Reply)
Discussion started by: cyjan
1 Replies

10. Shell Programming and Scripting

Bash script to add multiple resources to NFS pacemaker cluster

All, I'm looking for some guidance on how to accomplish automating the addition of exports to an HA Pacemaker NFS cluster. I would like to do it in bash for logistics reasons. The resource creation command looks like this: pcs resource create nfs-b2b-hg-media-10.1 exportfs... (6 Replies)
Discussion started by: hburnswell
6 Replies
FENCE_NODE(8)							      cluster							     FENCE_NODE(8)

NAME
fence_node - a utility to run fence agents SYNOPSIS
fence_node [OPTIONS] nodename DESCRIPTION
This utility runs a fence agent against nodename. The agent and args are taken from the running cluster configuration based on clus- ter.conf(5). fence_node is a wrapper around the libfence functions: fence_node() and unfence_node(). These libfence functions use libccs to read the node fencing configuration, which means that corosync (with cman and ccs) must be running to use fence_node(8). The fenced(8) daemon is the main user of libfence:fence_node(), and the configuration details for that function are given in the fenced(8) man page. Fencing vs. Unfencing The main use for unfencing is with storage/SAN (non-power) agents. When using power-based fencing agents, the fencing action itself is supposed to turn a node back on after first turning the power off (this happens automatically with a "reboot" action, and needs to be configured explicitly as "off" + "on" otherwise.) When using storage-based fencing agents, the fencing action is not allowed to re-enable a node after disabling it. Re-enabling a fenced node is only safe once the node has been rebooted. A natural way to re-enable a fenced node's access to storage, is for that node to re- enable the access itself during its startup process. The cman init script calls fence_node -U (nodename defaults to local nodename when unfencing). Unfencing a node without an <unfence> configuration (see below) is a no-op. The basic differences between fencing and unfencing: Fencing 1. libfence: fence_node(), command line: fence_node nodename 2. Turns off or disables a node. 3. Agents run with the default action of "off", "disable" or "reboot". 4. Performed by a cluster node against another node that fails (by the fenced daemon). Unfencing 1. libfence: unfence_node(), command line: fence_node -U nodename 2. Turns on or enables a node. 3. Agents run with the explicit action of "on" or "enable". 4. Performed by a cluster node "against" itself during startup (by the cman init script). OPTIONS
-U Unfence the node, default local node name. -v Show fence agent results, -vv to also show agent args. -h Print a help message describing available options, then exit. -V Print program version information, then exit. FILES
The Unfencing/unfence_node() configuration is very similar to the Fencing/fence_node() configuration shown in fenced(8). Unfencing is only performed for a node with an <unfence> section: <clusternode name="node1" nodeid="1"> <fence> </fence> <unfence> </unfence> </clusternode> The <unfence> section does not contain <method> sections like the <fence> section does. It contains <device> references directly, which mirror the corresponding device sections for <fence>, with the notable addition of the explicit action of "on" or "enable". The same <fencedevice> is referenced by both fence and unfence <device> lines, and the same per-node args should be repeated. <clusternode name="node1" nodeid="1"> <fence> <method name="1"> <device name="myswitch" foo="x"/> </method> </fence> <unfence> <device name="myswitch" foo="x" action="on"/> </unfence> </clusternode> SEE ALSO
fenced(8) cluster 2009-12-21 FENCE_NODE(8)
All times are GMT -4. The time now is 03:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy