WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Disabling or enabling a high availability manager

A unique HAManagerService configuration object exists for every core group member. The enable attribute in this configuration object determines if the high availability manager is enabled or disabled for the corresponding process. When the enable attribute is set to true, the high availability manager is enabled. When the enable attribute is set to false, the high availability manager is disabled. By default, the high availability manager is enabled. If the setting for the enable attribute is changed, the corresponding process must be restarted before the change goes into effect. You must use the wsadmin tool to disable or enable a high availability manager.

Before you begin

Why and when to perform this task

You might want to disable a high availability manager if you are trying to reduce the amount of resources, such as CPU and memory, that WebSphere Application Server uses and have determined that the high availability manager is not required on some or all of the processes in a core group.

You might need to enable a high availability manager that you previously disabled because you are installing applications on core group members that must be highly available.

You must use the wsadmin tool to disable a high availability manager or to enable a high availability manager that you previously disabled.

Steps for this task

  1. Start the wsadmin tool. See Starting the wsadmin scripting client for more information on how to start this tool.
  2. Start the deployment manager for the cell that contains the high availability manger that you are disabling or enabling. The deployment manager for this cell must be running for the sample script to work.
  3. Use the wsadmin tool to issue the following command to start the script:
    -lang jython -f script_file_name node_name process_name 

    For example, to start the sample script for the WASDOCLNodePH02 node and the ClusterMember2 process, issue the following command:

    -lang jython -f disableHamOnProcess.pty WASDOCLNodePH02 ClusterMember2 
  4. Restart all processes with changed setting for the enable attribute.

Result

The processes start with the high availability manager in the appropriate state.



Related tasks
Setting up a high availability environment

Related reference
When to use a high availability manager

Task topic    

Terms of Use | Feedback

Last updated: Dec 11, 2005 4:07:15 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/trun_ha_ham_enable.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)