# Installing the Standby CommServe Host on Linux

Install the Commvault software packages on the standby CommServe host. You can also setup more than one standby CommServe hosts, if necessary.

## Before You Begin

- Install the production CommServe host.

- Verify that the prerequisites needed to setup the environment are available before setting up the CommServe LiveSync feature. For more information, see Planning for the CommServe LiveSync Setup in a Linux Environment.

- Verify and ensure that Two-Factor Authentication is either disabled, or use an account without Two-Factor Authentication to install the standby CommServe host.

  Standby CommServe installation will fail if Two-Factor Authentication is enabled at the CommCell level with Time-based One-Time Password. Instance002 will install successfully, but instance001 will fail as it will try to use the same credentials which is only valid for 1 time. For more information, see the following topics:

  - Disabling Two-Factor Authentication

  - Excluding domain users from Two-Factor Authentication

## Procedure

1. Log on to the standby CommServe host as root.

2. Download the Commvault software installation packages from the Commvault Store.

3. Navigate to the folder, or mount point, containing the software installation packages and run the following command.

       ./cvpkgadd

4. The OEM Selection screen appears.

   Select Commvault (or the appropriate OEM) and then click Next.

5. The Welcome to Commvault Installer screen appears.

   Click Next.

6. The Install Task screen appears.

   Select Install packages on this machine and then click Next.

7. The Install Option screen appears.

   Select Advanced Selection and then click Next.

8. The Interface Selection screen may appear, when multiple interfaces (NICs) are available in the server.

   Select the interface to perform the installation and then click Next.

9. The Package Selection screen appears.

   1. Select the CommServe package and then click the Next button on the right-side of the dialog box.

   2. Select the CommServe Failover package.

      Note

      The CommServe Failover package automatically installs the SQL Server agent and the CommServe Failover packages in a separate instance. (No additional user intervention is needed.)

   3. OPTIONAL: Select any additional packages that you may want to install on the CommServe server.

   4. Click Next.

10. The Failover Install Option screen appears.

    Select This is a standby node and then click Next.

11. The Install Directory screen appears.

    Verify the installation directory (or specify a new directory) and then click Next.

    This Installation Directory is for the SQL client, as the SQL client is installed first on the standby CommServe host.

    Note

    If you choose another directory, make sure that you have `root` privileges and read access to 'Others' on that directory. The /opt directory has 755 (-rwxr-xr-x) permissions by default.

12. The Log Directory screen appears.

    Verify the log directory (or specify a new directory) and then click Next.

13. The Unix Group Assignments screen appears.

    Select one of the following options:

    - Select Yes to assign full access permissions to both the group and other users, and then click Next. (Proceed to the next step.)

    - Select No to setup separate permissions for group users and other users, and then click Next.

      The Permission Details screen appears.

      Select the necessary permissions for group users and other users, and then click Next.

14. The Client Host Information screen appears.

    Verify the hostname for the standby CommServe host, and then click Next.

15. The Client Information screen appears.

    Verify the client name for the SQL client in the standby CommServe host, and then click Next.

    This is the standalone SQL agent installed in Instance002 which will be used for restoring the SQL database that was backed up from the production CommServe host.

    Tip

    Choose a meaningful hostname to clearly differentiate this SQL client in the user interfaces like Command Center / CommCell Console.

16. The Summary screen appears.

    Verify the summary, and then click Next.

    The software copies the binaries and installs the packages for the SQL client (Instance002) and the progress will be displayed. This process may take a few minutes.

17. The Server Information screen appears.

    Type the hostname of the production CommServe server host, and then click Next.

18. The Configure HTTP Proxy screen appears.

    Select one of the following options:

    - Select No if there are no HTTP proxy server to connect to the CommServe server, and then click Next. (Proceed to the next step.)

    - Select Yes, if the SQL client must connect to the CommServe server through a HTTP server, and then click Next.

      The Setting HTTP Proxy Configuration screen appears.

      Enter the following information and then click Next.

      - Type the hostname or the IP address for the HTTP proxy server.

      - Type the port number that must be used to communicate with the proxy server.

19. The Server Authentication screen appears.

    Type the Username and Password for the CommCell, or the AuthCode, if available. Click Next.

    This is the Username and Password associated with the admin account that was added in the Commvault ID screen displayed while installing the production Commserve host.

20. The Installation Status screen appears.

    Click Finish to complete the SQL client (or Instance002) installation.

    Complete the following steps to setup the CommServe server (or Instance001).

21. The Welcome to Commvault Installer screen appears.

    Click Next.

22. The Interface Selection screen may appear, when multiple interfaces (NICs) are available in the server.

    Select the interface to perform the installation and then click Next.

23. The Install Directory screen appears.

    Verify the installation directory (or specify a new directory) and then click Next.

    Note

    If you choose another directory, make sure that you have `root` privileges and read access to 'Others' on that directory. The /opt directory has 755 (-rwxr-xr-x) permissions by default.

24. The Log Directory screen appears.

    Verify the log directory (or specify a new directory) and then click Next.

25. The Unix Group Assignments screen appears.

    Select one of the following options:

    - Select Yes to assign full access permissions to both the group and other users, and then click Next. (Proceed to the next step.)

    - Select No to setup separate permissions for group users and other users, and then click Next.

      The Permission Details screen appears.

      Select the necessary permissions for group users and other users, and then click Next.

26. The Client Host Information screen appears.

    Verify the hostname for the standby CommServe host, and then click Next.

27. The Client Information screen appears.

    Verify the client name for the standby CommServe server client in the standby CommServe host, and then click Next.

    This is the standby CommServe host installed in Instance001.

    Tip

    Choose a meaningful hostname to clearly differentiate this standby Commserve client in the user interfaces like Command Center / CommCell Console.

    The software copies the binaries and installs the packages for the CommServe server on Instance001 and the progress will be displayed. This process may take a few minutes.

28. The Commvault Database Setup Recommended Settings page appears.

    Review the recommended locations.

    For new Linux installations, Commvault stores installation binaries and application data in separate default locations.

    - Installation binaries remain in `/opt/commvault`.

    - Application data defaults to `/var/opt/commvault/<Instance>`, including the data directory, web cache, CommServe database, and disaster recovery directory.

    This default directory layout applies only to new Linux installations. Existing installations that are upgraded retain their current directory layout.

    Accept the default locations, or clear one or more options to specify custom locations for configurable directories, and then click Next.

    Note

    If you specify a different directory, make sure that the directory is owned by `root` and grants read access to Others. The /opt directory has `755 (-rwxr-xr-x)` permissions by default.

    The software installs the database. This process may take several minutes..

29. The Installation Status screen appears.

    Click Finish.

## Result

All the services will be installed. Services on Instance001 will not be started. All the services in Instance002 will be started. You can view the services as follows:

    commvault -list

Click here to view a sample output

## What to Do Next

Enable the CommServe LiveSync feature which facilitates CommServe Recovery Using CommServe LiveSync. For more information on enabling the LiveSync operation, see Enabling CommServe LiveSync.

## Additional Notes

Any additional packages installed on the primary CommServe host, which includes other Commvault packages, or any third-party components, must be manually installed in the standby CommServe host. Also once the LiveSync operation is enabled, the LiveSync process will synchronize the information stored in the CommServe database from the production to the standby CommServe. For example, passwords and Additional Settings stored in the database. Any additional entities, such as third-party packages, scripts, registry keys, certificates, IIS settings, configuration files, etc. must be manually applied before or after failover as needed.

×

Loading...