# Replacing Commvault Grid Nodes in a SaaS Environment

You can replace a Commvault Grid node when the node becomes completely unusable due to hardware issues. You can also replace the node if you accidentally reinitialized the node during a refresh operation. When you replace the node, all the drives are reformatted and the data drives are reconstructed using the other nodes in the storage pool. The replace operation also restores and rebuilds the drives that contain the Deduplication Database (DDB) and Index Cache.

## Before You Begin

- Enable root access, if root access is disabled in the storage pool. For more information, see Enabling or Disabling Root Access.

- Verify that your environment meets the requirements that are mentioned in the Existing Node Requirements section in Prerequisites for Adding Nodes to an Existing Commvault Grid Storage Pool.

- The Managed Service Provider (MSP) administrator or the tenant administrator performing the installation must obtain the authorization code.

  For instructions on activating the authorization code, see User Administration and Security.

## Procedure

1. Login to the Windows based computer.

2. Download the latest HyperScale Appliance ISO <Version_Number> (for example, 11.36 HyperScale ISO 3.2408) from Commvault Store.

3. Access the node using the KVM management console in your environment.

4. Map the downloaded ISO image as a virtual media from the KVM Management console.

   Click here to view a sample image.

5. Reboot the node using the virtual media as follows.

   1. Login to the node as root. (Press <Alt> + <Ctrl> + <F2> if the login prompt is not displayed.)

   2. Type `reboot`.

   3. During the boot sequence press <F12> when the following message is displayed. (This message will be displayed briefly for a few moments only during the boot sequence.)

          Press F2 to enter Setup or <F12> to enter Boot Menu.

   4. Select the virtual media as the boot device and press <Enter>.

      The Commvault HyperScale Install will be started.

6. If you are using a node that has an existing HyperScale configuration, the HyperScale Configuration Detected screen is displayed.

   If you are using a new node, this screen will not appear.

   Choose Next.

7. The Preserve Data screen is displayed.

   Select the Reinitialize Drives option and then click Next.

   The installation process will be started. This process will take some time to complete.

   The following message is displayed when the installation is complete.

8. Reboot the node.

9. After the reboot, login using the following default credentials:

   Login: root

   Password: cvadmin

   (Press <Alt> + <Ctrl> + <F2> if the login prompt is not displayed.)

10. Configure the Hyperscale network using the `hsxsetup` command on the replaced node. Make sure to exit after the network configuration is complete.

11. Run the following commands on one of the existing cluster nodes other than the reimaged node:

        cd /opt/commvault/MediaAgent64/task_manager
        ./cvmanager.py -t Replace_Node

    The following message appears:

        :    Initializing HyperScale Task Manager.
        :    Commvault HyperScale Task Manager Initialized.
        :    No incomplete task data found for: Replace_Node
        Root password of existing cluster:
        [Re-Enter to Confirm] - Root password of existing Cluster:

12. Enter the root password which was added during the initial Hyperscale node configuration. (This root password would be the same root password used in the other nodes.)

    The following message appears:

        Are you registering with SaaS (y/n):

13. Enter y.

    The following messages appear:

        Enter the SaaS backup gateway for registration:
        Enter the SaaS backup gateway port for registration [443]:

    Enter the fully qualified host name and port of the existing backup gateway that you are connecting to.

14. The following messages appear:

        Enter the auth code for registration:

    Enter the auth code.

15. The following message appears:

        Hostname of the node to replace:

    Enter the hostname of the node that you want to replace. The replace process is initiated and the messages appear about the progress of the replace process.

16. Verify the status of the replaced node in the storage pool as follows:

    1. The Commvault Grid page appears.

    2. Verify the Status column for the MediaAgent that you have replaced.

       The status appears as Media agent under Maintenance when the replace operation is in progress.

       After the node is replaced the Status column for the MediaAgent will appear as Online.

    3. Verify that the node is replaced by clicking the node.

       The <node> page is displayed. Check the following details:

       - Server Information area

       - Disk Status under the Disks area

17. Enable ransomware on the replaced node as described in Enabling Ransomware Protection for a HyperScale MediaAgent.

## What to Do Next

- Install the operating system updates on the replaced node to synchronize the operating system with the other nodes in the cluster.

  After you install the OS updates, verify that you have the latest maintenance release, OS and CVFS updates on the node.

- Disable root access, if root access was originally disabled in the storage pool. For more information, see Enabling or Disabling Root Access.

×

Loading...