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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Auto Script in HACMP 1

Status
Not open for further replies.

samirm

Technical User
May 12, 2003
80
US
Hi,

I have two AIX servers and running under HACMP.
The momet I do smitty clstart in one node, it start the cluster service and after successful run, it runs some application which is basically a shell script, and it is defined under HACMP setting. I tried all the way, biut couldn't locate it.

How can I find that out and in which place it is written ?
I want to stop that process which is running automatic. Any idea ?

Thanks..

Sam
 
you need to do the following:

smitty hacmp --> Extended configuration --> Extended Resource Configuration --> HACMP Extended Resource Configuration --> Configure HACMP Application --> Configure HACMP Application Server --> Change/Show An Application Server --> and remove the start and stop script fields!

Regards,
Khalid
 
Khalid:

Good post! Is this the standard way of finding scripts for all HA configurations?
 
another method without modifying cluster configuration:

1) check what application server scripts are configured running:

/usr/sbin/cluster/utilities/cllsserv

2) for each script ksh's shebang/first line add '-n' parameter (for example "#!/bin/ksh -n")

-n Reads commands and checks them for syntax errors, but does not execute them.
This flag is ignored for interactive shells.

so the scripts commands will not be executed.
 
yes mag007, this is the way you can find the start and stop scripts for each resource group's application server!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top