11-22-2010
Quote:
Originally Posted by
samsungsamsung
Hi. We have a HACMP two node (Active passive cluster).
Recently the primary node went to shutdown state and all the resource groups moved to the secondary node.
People say that this has happened because of the /var filesystem was 100% utilized in the primary node. Is this true?
Short answer: Yes.
Long answer: sth. in the OS failed and therefore the cluster followed. It is the AIX server that cannot live with /var getting 100% full. Ironically this failure might have been caused by the HA software logging to many information in the /var filesystem. Works as designed...
Quote:
Originally Posted by
samsungsamsung
Will it switch over to the secondary node, if the /var filesystem was 100% utilized in the primary node ?
If the server malfunctions the cluster is expected to failover. Nothing wrong here.
If you did not guess by now how to work around this classic error here is my tip for you: an HACMP admin never installs HACMP/PowerHA on an AIX server without creating a separate filesystem (e.g. /var/hacmp/) for the cluster logs first.
Last edited by shockneck; 11-22-2010 at 01:20 PM..
Reason: spelling, removed redundant information
This User Gave Thanks to shockneck For This Post:
10 More Discussions You Might Find Interesting
1. AIX
Hello
I am a noobie to HACMP
I have 2 55A servers and a 7031 disk subsystem
For HACMP to work, do I need to have the hdisks on both servers to match the same drives??
The hdisks on each box are currently different:
hdisk0 and hdisk1 are the internal disks and hdisk2-5 are on the D24 on... (1 Reply)
Discussion started by: mhenryj
1 Replies
2. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
3. AIX
Hi,
Can we use network for heartbeat, I mean can we use different network card for heartbeat. (6 Replies)
Discussion started by: vjm
6 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
5. AIX
hi
can anyone explain the concepts of HACMP and configuration (step by step) (2 Replies)
Discussion started by: udtyuvaraj
2 Replies
6. AIX
hi,
when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies
7. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
8. AIX
Does anyone has idea about, what is the ibm standard HACMP trip interval?
We have 20 second.
lssrc -ls topsvcs
Subsystem Group PID Status
topsvcs topsvcs 1843200 active
Network Name Indx Defd Mbrs St Adapter ID Group ID
HB Interval =... (7 Replies)
Discussion started by: allwin
7 Replies
9. AIX
Hi.
We have a two node HA cluster.
We got a request to change one of the VG name?
Is there an option to do this online ? If it requires downtime can someone please explain me the steps for doing it ?
Let me know if you need any outputs from the servers (1 Reply)
Discussion started by: newtoaixos
1 Replies
10. AIX
Hi,
I have question about HA. I have 2 node cluster (node A and node B). I have configured network and disk HB. If my network is up and i remove both the fc cables from node A will my cluster failover to node B? I have checked and its not working, if i want my cluster to failover in this... (5 Replies)
Discussion started by: powerAIX
5 Replies
LEARN ABOUT CENTOS
crm_attribute
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_attribute command -n attribute [options]
DESCRIPTION
crm_attribute - Manage node's attributes and cluster options.
Allows node attributes and cluster options to be queried, modified and deleted.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-q, --quiet
Print only the value on stdout
-n, --name=value
Name of the attribute/option to operate on
Commands:
-G, --query
Query the current value of the attribute/option
-v, --update=value
Update the value of the attribute/option
-D, --delete
Delete the attribute/option
Additional Options:
-N, --node=value
Set an attribute for the named node (instead of a cluster option). See also: -l
-t, --type=value
Which part of the configuration to update/delete/query the option in. Valid values: crm_config, rsc_defaults, op_defaults, tickets
-l, --lifetime=value
Lifetime of the node attribute. Valid values: reboot, forever
-z, --utilization
Set an utilization attribute for the node.
-s, --set-name=value
(Advanced) The attribute set in which to place the value
-i, --id=value
(Advanced) The ID used to identify the attribute
-d, --default=value
(Advanced) The default value to display if none is found in the configuration
EXAMPLES
Add a new attribute called 'location' with the value of 'office' for host 'myhost':
# crm_attribute --node myhost --name location --update office
Query the value of the 'location' node attribute for host myhost:
# crm_attribute --node myhost --name location --query
Change the value of the 'location' node attribute for host myhost:
# crm_attribute --node myhost --name location --update backoffice
Delete the 'location' node attribute for the host myhost:
# crm_attribute --node myhost --name location --delete
Query the value of the cluster-delay cluster option:
# crm_attribute --type crm_config --name cluster-delay --query
Query the value of the cluster-delay cluster option. Only print the value:
# crm_attribute --type crm_config --name cluster-delay --query --quiet
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)