02-27-2008
Redhat Cluster Fencing failed
Hello;
I have 2 node Redhat Cluster (RHEL4 U4 and Cluster Suite) I'm using mc_data fiber channel switch for fencing
when I want to fence manually using
fence_mcdata -a x.x.x. -l xxx -p xxxx -n 5 -o disable
following messages appears
fencing node "test1"
agent "fence_mcdata" reports: failed: unexpected port state
How can I resolve this issue ?
Thanks
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Red Hat
Hi Friends,
I am trying to configure redhat high availability cluster on rhel5 32bit.
As i am not having the RHN subscription, I have to intsall all the cluster suite manually. I am not aware what all are the rpms needs to be installed. Please let me know about the rpms needs to be installed.... (3 Replies)
Discussion started by: arumon
3 Replies
3. Red Hat
hi all ,
I'm trying for the Red-hat cluster setup with the ' Enable shared storage support'. But hang up with a error that
"Packages of set "Clustered Storage" are not present in any available repository". I made this setup by installing the rpm manually..I ve attached the rpm list and error... (0 Replies)
Discussion started by: sriniv666
0 Replies
4. Red Hat
Hello everyone,
I'm setting up a cluster with 2 nodes using Red Hat enterprise 6.2 x86_64, 1 luci and 1 ricci for education purpose.
Ricci is installed and already running and luci is installed and running but at the time of add and create the cluster through the web gui it give me a error... (1 Reply)
Discussion started by: typeav
1 Replies
5. Red Hat
Hello,
can someone please suggest me in configuring the mysql db on redhat cluster, I have few questions.
1. where do I have to configure heart beat links, and is there any file in the redhat cluster that we update it to use these ipaddress and these interface on the node.
2. I am configuring... (0 Replies)
Discussion started by: bobby320
0 Replies
6. Red Hat
Hello Experts,
Please help me with the exact steps on configuring two node cluster on RHEL 6.2,
I failed to configure the simplest cluster by below steps,
1- install RHEL 6.2 64-bit on both nodes
2- add to hosts file of each server ( 1 IP in local NW and another in IP private NW).
x.x.x.x ... (1 Reply)
Discussion started by: karmellove
1 Replies
7. Red Hat
HI,
Can you guys help me to install redhat cluster on VMware Workstation.
How to download cluster suite and how to configure on Workstation. (1 Reply)
Discussion started by: karthik9358
1 Replies
8. Red Hat
:b::b:Hello Expert,
I have a query regarding redhat cluster configuration file (/etc/cluster/cluster.conf).
Is there any process to change the location of the configuration file of the cluster. Is there any step in ricci process..
If yes then please explain me how the cluster node will... (0 Replies)
Discussion started by: Pradipta Kumar
0 Replies
9. Red Hat
Hi All;
I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like:
# clustat
Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015
Member Status: Quorate
Member Name ID Status
------ ---- ... (0 Replies)
Discussion started by: Meacham12
0 Replies
10. Red Hat
Hi All;
I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like:
# clustat
Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015
Member Status: Quorate
Member Name ID Status
------ ---- ... (1 Reply)
Discussion started by: Meacham12
1 Replies
LEARN ABOUT CENTOS
fence_node
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)