Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HACMP events 1

Status
Not open for further replies.

MoreFeo

Technical User
Nov 29, 2002
547
ES
Hi, I've been asked to write a document with most usual HACMP events, their description, etc... I'm going thru some redbooks, but I haven't found a complete list. Is there a place where I can find this documentation, a kind of HACMP infocenter?

Thanks
 
MoreFeo,

I have this document that you are looking for but its too lengthy to post over here (65 pages).

I created this list long time ago using a script described in HACMP course that i attended.

I will try to look it for you.

Regards,
Khalid
 
This is an example of what i have:

Code:
#########################################################################
#									#
#	Name:		acquire_aconn_service				#
#									#
#	Description:	This script is called after a  service		#
#			interface is acquired.  swap_aconn_protocols    # 
#			is called for each for each standby interface   #
#			found in the network.                           #
#									#
#	Called by:	acquire_service_addr				#
#									#
#	Calls to:	swap_aconn_protocols				#
#									#
#	Arguments:	service_interface network			#
#									#
#			service_interface - the new available interface #
#			network - the network name the interface is on  #
#									#
#	Returns:	0	success					#
#			1	failure					#
#			2	bad argument				#
#									#
#########################################################################

# @(#)65  1.52  src/43haes/usr/sbin/cluster/events/acquire_service_addr.sh, hacmp.events, 51haes_r530, r5300528b 3/16/05 19:29:41
#########################################################################
#                                                                       #
#       Name:           acquire_service_addr                            #
#									#
#	Description:	This script is called when the local node       #
#			joins the cluster or a remote node leaves	#
#			the cluster.					#
#			First, the script checks the configured boot	#
#			adapter, then does a boot -> service swap.	#
#			If in rotating configurations, it		#
#			figures out the un-used shared service	        #
#			address from environment variables (which    	#
#			were set by cluster manager), then does a 	#
#			boot -> shared_service swap.			#
#			Finally, it runs 'telinit a' .			#
#									#
#	Called by:      node_up_local, node_down_remote			#
#									#
#	Calls to:	cl_swap_IP_address, acquire_aconn_service,	#
#                       cl_release_sna_dlc, cl_acquire_sna_dlc          #
#									#
#       Arguments:      service_address [service_address]               #
#                                                                       #
#       Returns:        0       success                                 #
#                       1       failure                                 #
#			2	bad argument				#
#			3	failed to turn on NIS			#
#                                                                       #
#########################################################################

Is that what you want?

Regards,
Khalid
 
It seems it's exactly what I'm looking for.
Is there a way to upload it, or send it to me?

Thanks.
 
Yeah i can send it to you if you want! but I would rather let you know how i produced this better so that you can do it in the future!

Regards,
Khalid
 
I just looked over my course manuals but no luck! i will give it a try tomorrow in my HACMP Admin 2 and will let you know.

Otherwise, i would just send you the file!

Regards,
Khalid
 
Found it :)

Code:
for f in `ls /usr/es/sbin/cluster/events | grep -v "[a-z]*.rp"`
do
cat /usr/es/sbin/cluster/events/$f | grep -p -i "desc"
done >> ./events.txt

You will have all the events along with their description in the events.txt file!

Good Luck.

Regards,
Khalid
 
Thanks, and have a star. I will try the script as soon as possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top