BigAdmin System Administration Portal
Community-Submitted Tech Tips
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

How to Stop Monitoring a Heavily Used Resource in a Sun Cluster 3.x Environment

Karan Grover, December 2007

This tech tip provides information about how to stop monitoring a heavily used resource in a Sun Cluster 3.x resource group when you see a high load on that particular resource. This scenario can be seen, for instance, when batch jobs are running and pushing database applications to the maximum extent, which causes the databases to "go numb" and the monitors to initiate a failover.

In order to stop the resource group from failing over to other nodes and causing a loss in connectivity, you can stop the monitoring on the resource for the duration of the high load by using the following procedure. If the high load occurs predictably at known times, you could even automate the process by using cron.

The commands to disable the monitoring for a resource in a particular resource group are as follows:

1. Run the following command to stop monitoring the resource:

scswitch -M -n -j <resource-name>

Note: You need solaris.cluster.resource.admin RBAC authorization to use the scswitch command with the -e or -n option. See the scswitch(1m) man page for more information.

For example, if the listener of a particular Oracle database instance is initiating a failover, you can stop the monitoring on the initiator resource as follows, where <oralisten-serv-res> is the name of the resource you are trying to disable:

scswitch -M -n -j <oralisten-serv-res>

Note: I tried this on Oracle 9.2.0.5.0, but it should work with Oracle 9i or any version of Oracle.

2. To re-enable monitoring on the resource after the load period is over, use the following command:

scswitch -M -e -j <resource-name>

This command initiates monitoring on the resource, so that in the future, a failover can be initiated when necessary.

The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.
 
 

Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin
  
 
BigAdmin Upgrade Hub