Sponsored Content
Operating Systems AIX hacmp 5.3 primary and standby? Post 302209578 by shockneck on Friday 27th of June 2008 11:19:19 AM
Old 06-27-2008
Quote:
Originally Posted by itik
[...]How do I determine if a hacmp 5.3 server is a primary or a standby?[...]
You might need to get the definitions right. In case you have a two node cluster theses nodes will be sortet alphanumerically by their names. The one that comes first is your cluster's primary node, the other is the secondary.
To find out whether HACMP is active on a node lssrc -ls clstrmgrES is most reliable. However, if you want to find out about where a resource group should become active if it has a choice you need to look into the RG's properties. clshowres might be useful: the ordering of the nodes for a RG might differ. If you then want to find out if your RGs are online at the moment and whether that node on which the RG is active is the assumed (right...) node clRGinfo (with/without -p depending on HA 5.x version) might display valuable information.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

hdparm standby

Hi! I have a harddrive that I use in school. I allso wanna use it at home... It's built into a 5.25" rack, and is non-hotswap. My rack has a power key wich I can use to unpower the device. My question is, does the drive take damage if I just umount and run hdparm -y <dev> on it? 1.... (2 Replies)
Discussion started by: Esaia
2 Replies

2. Shell Programming and Scripting

shell script not connecting to primary from standby site

Hi All, I am using below shell script using SQL*Plus to query the MAX(SEQUENCE#) from both databases V$LOG_HISTORY view.If the STANDBY appears to be falling behind by - 2, then alert mail should be sent... How could I achieve it with improving the below script. #!/usr/bin/ksh ... (0 Replies)
Discussion started by: a1_win
0 Replies

3. Shell Programming and Scripting

shell script for primary and standby DB archive log check

Hi All, OS:AIX 5.3 64 bits I would like the below script to send alert mail with the message - "Standby logs falling behind Primary" to xyz@yahoo.com Script ===== #!/usr/bin/ksh #----------------------------------------------------------------------------- # Use SQL*Plus to query... (1 Reply)
Discussion started by: a1_win
1 Replies

4. AIX

Monitor goes into standby

On a IBM AIX 4.3.3 OS monitor goes into standby after a certain period of time. Where should i look to disable monitor power management ? (7 Replies)
Discussion started by: A_L_E_X
7 Replies

5. Solaris

ifconfig primary & standby purpose

I have two ethernet interfaces nge0 and nge1. An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface. My question here is, 1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen? 2. If the answer for the... (4 Replies)
Discussion started by: nthiruvenkatam
4 Replies

6. Solaris

IPMP active-standby configuration

Hi All, Need your help to explaining why when i configure 2 interface IPMP active-standby appear, INACTIVE and DEPRECATED parameter, detail screen shoot as below : root@machine01 # ifconfig -a e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7 inet... (6 Replies)
Discussion started by: Wong_Cilacap
6 Replies

7. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

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

8. AIX

Servers state STANDBY in HMC v7

We have 2 p520 aix6.0 installed server. Both the server in cluster. and managed by HMC v7 both servers have rebooted due to power outage. Now both server state is STANDBY in HMC. I am unable to login or ping to that servers. Please help (5 Replies)
Discussion started by: reyazan
5 Replies

9. AIX

SEA to standby

hello, what will happen if i try to move sea of my 1 vio server to standby( using chdev command), when sea of other vio server is already in standby mode? (1 Reply)
Discussion started by: amvineeth
1 Replies
cmhaltnode(1m)															    cmhaltnode(1m)

NAME
cmhaltnode - halt a node in a high availability cluster SYNOPSIS
cmhaltnode [-f] [-v] [-t] [node_name...] DESCRIPTION
cmhaltnode causes a node to halt its cluster daemon and remove itself from the existing cluster. To halt cluster on the node, a user must either be superuser(UID=0), or have an access policy of FULL_ADMIN allowed in the cluster configu- ration file. See access policy in cmquerycl. When cmhaltnode is run on a node, the cluster daemon is halted and, optionally, all packages that were running on that node are moved to other nodes if possible. If node_name is not specified, the cluster daemon running on the local node will be halted and removed from the existing cluster. If you issue this command while a cluster is still in the process of forming, the command will fail with the message "Unable to connect to daemon." If this happens, wait for the cluster to form successfully, then issue the command again. Options cmhaltnode supports the following options: -f Force the node to halt even if there are packages or group members running on it. The group members on the node will be terminated. The halt scripts for all packages running on the node will be run; based on priority or dependency relation- ships, this may affect packages on other nodes. In other words, packages on other nodes may either start or halt based on this package halting. If the package configuration and current cluster membership permit, and if the package halt script succeeds, the packages will be started on other nodes. Without this option, if packages are running on the given node, the command will fail. If a package fails to halt, the node halt will also fail. -v Verbose output will be displayed. -t Test only. Provide an assessment of the package placement without affecting the current state of the nodes or packages. This option validates the node's eligibility with respect to the package dependencies as well as the external dependencies such as EMS resources, package subnets, and storage before predicting any package placement decisions. If there is a pack- age in maintenance mode running on the nodes being halted, the package will always be halted and not failover to another node; the report will not display an assessment for that package. node_name... The name of the node(s) to halt. RETURN VALUE
cmhaltnode returns the following value: 0 Successful completion. 1 Command failed. EXAMPLES
Halt the cluster daemon on two other nodes: cmhaltnode node2 node3 AUTHOR
cmhaltnode was developed by HP. SEE ALSO
cmquerycl(1m), cmhaltcl(1m), cmruncl(1m), cmrunnode(1m), cmviewcl(1m), cmeval(1m). Requires Optional Serviceguard Software cmhaltnode(1m)
All times are GMT -4. The time now is 07:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy