Stopping VCS

You can stop VCS using one of the following approaches:

To stop VCS

  1. To stop VCS using the installvcs program, perform the following steps on any node in the cluster:

    • Log in as root user.

    • Run the following command:

      # /opt/VRTS/install/installvcs -stop
  2. To stop VCS manually, run the following commands on each node in the cluster:

    • Log in as root user.

    • Take the VCS service groups offline and verify that the groups are offline.

      # hagrp -offline service_group -sys system
      # hagrp -state service_group
    • Stop the VCS engine.

      # hastop -local

      See Stopping the VCS engine and related processes.

    • Verify that the VCS engine port h is closed.

      # gabconfig -a
    • Stop I/O fencing if you have configured it. Stop GAB and then LLT.

      I/O fencing

      # /etc/init.d/vxfen stop

      GAB

      # /etc/init.d/gab stop

      LLT

      # /etc/init.d/llt stop