# Rebooting All the Nodes in a Commvault Grid Cluster

You can reboot all the nodes simultaneously in a Commvault Grid cluster.

Caution

To maintain data integrity and to prevent data loss, it is important to follow the proper shut down and startup procedures outlined in this page, while stopping or starting the cluster.

- If a single node needs to be shutdown for maintenance, follow the steps outlined in Stopping and Starting a Node.
- If more than one node needs to be shutdown, make sure to shutdown the entire cluster as described in Stopping and Starting the Cluster.
- Improper shutdown of multiple nodes individually can lead to data integrity issues resulting in data loss and restore failures.

## Procedure

1. Stop or suspend all running jobs associated with the MediaAgents in the cluster . For more information, see Controlling Jobs.
2. Set the MediaAgents on maintenance mode. For more information, see Setting the MediaAgent on Maintenance Mode.

3. Stop the Commvault services and unmount the Commvault File System (CVFS) vdisk on all the nodes in the cluster:

4. Using an SSH client program, like PuTTy on Windows, login to one of the nodes using the `root` credentials.

5. Stop the services using the following command:

       commvault stop

   Repeat the step on the other nodes in the cluster.

6. Start the hv_deploy mode using the following commands:

   Note

   On nodes with HyperScale 2.x installations, before you stop the nodes, switch to the admin user using the command, `# su - admin`.

       $ export HV_PUBKEY=1
       $ hv_deploy

7. Display the cluster name and note down the name.

       $ show_all_clusters

   This will display the cluster name, as shown in the following sample output:

       Cluster name: **HV13102021054000** - owner: unowned - version: v-4.5.0.0.2.3597.00320e0ba9:06aca75bc4db06170a13ef14cbfe8446

8. Login to the cluster.

       $ login_to_cluster $[cluster name]

   For example:

       $ login_to_cluster **HV13102021054000**

   When prompted, type the `root` password.

9. Stop the cluster.

       $ stop_cluster

   7. Exit the hv_deploy mode.

       $ exit

10. Exit the admin user mode.

        $ exit

11. Reboot each node in the cluster using the following steps:

    1. Using an SSH client program, like PuTTy on Windows, log on to the node using the root credentials.

    2. Reboot the node using the following command:

           reboot

    After reboot, the required Commvault services and Commvault File System (CVFS) services are started automatically on the node.

12. Disable the maintenance mode for the MediaAgent to bring it online. For more information, see Setting the MediaAgent on Maintenance Mode.

## Related Topic

Handling Improper Shutdowns of HyperScale Nodes or Clusters

×

Loading...