Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring OPS Clusters with MC/LockManager: > Chapter 7 Cluster and Package Maintenance

Starting and Stopping the Cluster

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

During normal operation, the cluster functions continuously without intervention. When it becomes necessary to stop the entire cluster for such operations as replacing hardware or physically moving the nodes, you can manually halt the cluster and restart it at a later time. Stopping the cluster in this way has the effect of running the OPS halt scripts on each node to halt the operation of OPS and OPS applications as the cluster shuts down. Restarting the cluster has the effect of running the OPS start script on each node (if it is configured) to bring up Oracle Parallel Server and its applications.

Using SAM to Stop the Cluster

  1. Run SAM, and choose the High Availability options.

  2. Choose Cluster Administration, and select "Shut Down Cluster."

  3. Respond Yes to the verification prompt.

Using HP-UX Commands to Stop the Cluster

To stop the entire cluster:

  1. If you are running packages on your cluster, halt them.

    # cmhaltpkg pkg1 
  2. Shutdown the OPS database.

  3. If there are volume groups used by packages that have mounted file systems, unmount them.

    # umount /mnt1 
  4. Deactivate each cluster-bound volume group.

    # vgchange -a n /dev/vg_ops 
  5. Use the cmhaltcl command from any one node to stop the entire cluster. cmhaltcl causes all nodes in a configured cluster to stop their MC/LockManager daemons.

    This command will halt all Oracle instances and stop all the MC/LockManager daemons on all currently running systems. If you only want to shut down a subset of nodes, the cmhaltnode command should be used instead.

Using SAM to Start the Cluster

  1. Run SAM, and choose the High Availability options.

  2. Choose Cluster Administration, and select "Start Cluster."

  3. Select "Start Cluster on All Nodes."

  4. Respond Yes to the verification prompt.

Using HP-UX Commands to Start the Cluster

Use the cmruncl command from any node to start the entire cluster. cmruncl causes all nodes in a configured cluster or all nodes specified to start their MC/LockManager daemons and form a new cluster. The command also runs OPS start scripts (if they are configured) to start up Oracle instances on each node.

NOTE: This command should only be run when the cluster is not active on any of the configured nodes. If a cluster is already running on a subset of the nodes, the cmrunnode command should be used to start the remaining nodes and force them to join the existing cluster.

If a node name is not specified in the cmruncl command line, the MC/LockManager daemons will be started on all the nodes in the cluster. All nodes in the cluster must be booted and available to run MC/LockManager.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1999 Hewlett-Packard Development Company, L.P.