Resource Group Monitoring


 
Thread Tools Search this Thread
Operating Systems AIX Resource Group Monitoring
# 1  
Old 09-28-2010
Resource Group Monitoring

Hi,

I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification.

Can some one help me in creating a scrript. I have more than one RG online. (Max 4 Resource Groups in cluster; Out of which 2 or 3 Resource Groups would be in Primary node and the remaining in secondary node)
# 2  
Old 09-28-2010
Have a look at the "clstat" program. It can be run continuously or as a snapshot and should tell you everything you want to know.

I hope this helps.

bakunin
# 3  
Old 09-28-2010
Quote:
Originally Posted by srnagu
Hi,

I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification. [...]
With current PowerHA versions you probably do not write scripts to monitor a resource as in many cases the cluster can do this for you already. You may read up in the cluster docs how custom and default monitoring works.

However, to just send a notification on RG move you may simply add a line or two to your start/stop script sending you an email. Sth. like
Code:
print "Clusteroperation on $(/usr/es/sbin/cluster/utilities/get_local_nodename)" | mail -s "Check Cluster" you@yourdomain

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Sysmirror 7.1.3 Resource Group NFS mounts

Hello all, I'm working to fix a two-node SysMirror cluster that uses NFS mounts from a NetApp appliance as the data repository. Currently all the NFS mounts/unmounts are called from the application controller scripts, and since file collection isn't currently working, (One fight at at time... (3 Replies)
Discussion started by: ZekesGarage
3 Replies

2. Infrastructure Monitoring

Recording / Monitoring Shell Script Resource Usage.

I need to record min and max resources for RAM, & CPU for each command's execution in a shell script. Maybe going in details I would also be interested to capture plots with resource usage i.e.start to end of individual command with respect to time in a shell script. Please share ideas. (0 Replies)
Discussion started by: vaibhavvsk
0 Replies

3. AIX

Power HA 6.1 Bring Resource group online issue

Hi all, I have the following in hacmp.out for bringing Resource group online. Volume groups themselves are Enhanced-Capable and on each node I can varyon and mount filesystems. +main1_rg_01:cl_activate_vgs STATUS=0 +main1_rg_01:cl_activate_vgs typeset -li STATUS +main1_rg_01:cl_activate_vgs... (2 Replies)
Discussion started by: OdilPVC
2 Replies

4. AIX

Adding existing VG to powerHA Resource group

Hello. I am Running AIX 6.1 and PowerHA 6.1 I have an active/active cluster (Prod/Dev) cluster. Each side will failover to the other. I have on my prod side an active volume group with a file system. The VG is imported on both nodes and active (varried on, file system mounted) on the prod... (3 Replies)
Discussion started by: mhenryj
3 Replies

5. AIX

How to install system resource monitoring utilities?

Hello Experts, Topas, nmon, vmon & top monitoring tool not working. We use above AIX utilities to identify cpu and memory usage. I can execute the topas but on execution I receive "SpmiCreateStatSet can't create StatSet" message & no output. I use AIX 5.3, TL3. Please assist to restore... (4 Replies)
Discussion started by: sumit30
4 Replies

6. AIX

Adding a Volume Group to an HACMP Resource Group?

Hi, I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over) Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies

7. Red Hat

HELP - Resource/Performance Monitoring Script - Red Hat Enterprise Linux Server

Hi all, ------------------------- Linux OS Version/Release: ------------------------- Red Hat Enterprise Linux Server release 5.5 (Tikanga) Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I have a server that hosts 30+ Oracle... (1 Reply)
Discussion started by: newbie_01
1 Replies

8. AIX

HACMP resource group State not STABLE

Hi, Not sure if this is the correct forum to post this on but maybe a mod could move it if not. When trying to move a HACMP resource group between lpars on AIX I receive the following. State not STABLE/RP_RUNNING or ibcasts Join for node 2 rejected, Clearing in join protocol flag... (11 Replies)
Discussion started by: elmesy
11 Replies

9. Solaris

Solaris + VCS , move a resource to another group

Hi, I am running Solaris 10 + VCS 5 in one of our environment. Recently one of my colleague configured all resources in a single service group.( ie, one service group which has all resources) ,Usually we create seperate service groups for Hardware & for application. For eg: SYS_HW_GRP, will... (0 Replies)
Discussion started by: mpics66
0 Replies

10. High Performance Computing

sun Cluster resource group cant failover

I have rcently setup a 4 node cluster running sun cluster 3.2 and I have installed 4 zones on each node. when installing the zones I had to install the zone on all nodes the on the last node do a zlogin -C <zonename> this worked ok. theni I tried to siwitch the zone to node a thei work... (14 Replies)
Discussion started by: lesliek
14 Replies
Login or Register to Ask a Question