Unable to Connect to CommServe Server Behind a Firewall During Setup

Symptoms

Connection to CommServe server fails when when testing connectivity between the HyperScale nodes and CommServe server behind a firewall using the cvping command. For more information, see Connecting To a CommServe Behind a Firewall During Setup.

Resolution

  1. Login to a node and register the individual node with the CommServe server as follows:

    1. Navigate to the following folder:

      /opt/commvault/MediaAgent
    2. Run the following script:

      # ./registertocs.py

      When prompted, provide the following information:

      • CommServe Hostname: Type the fully qualified host name for the CommServe computer.

      • CommServe Client Name (optional): Type the CommServe client name, if it is different from the CommServe host name.

      • CommServe User Name and CommServe Password: Type the credentials to access this CommServe

      Alternatively, you can also run the script directly with the options as follows:

      ./registertocs.py -n <MediaAgent Hostname> -c <CommServe Hostname> -u <CommServe Login Name> -p <CommServe Login Password>

  2. Set the setting to ignore the validation for CommServe server and registration during CommServe server setup as follows:

    1. Edit the following file using Vi or any other similar editor:

      /etc/CommVaultRegistry/Galaxy/Instance001/HyperScale/.cvmanager.cfg
    2. Add the following entries:

      [Step_Control:ValidatePreInstall]
      validate_cs_setup=SKIP 
      [Step_Control:Install]
      self.register_with_cs=SKIP
    3. Save the file.

  3. Repeat these steps on the other nodes in the storage pool.

Additional Information

Examples

  • Register node(s) with CommServe:

    # ./registertocs.py -n MediaAgent1 -c commserve.domain.com -u admin -p mypassword
  • Register remote nodes(s) with CommServe:

    # ./registertocs.py -n MediaAgent1 -c commserve.domain.com -u admin -p mypassword -r MediaAgent1.com:MediaAgent1.com
  • Providing client name and client hostname to register with:

    # ./registertocs.py -cn ma1 -n MediaAgent1.domain.com -c commserve.domain.com -u admin -p mypassword

Note

If an exclamation character is used in the password, make sure to enclose the password in single quotes. For example, 'mypassword!4'.

Usage

registertocs.py [-h] [-cn <Node Client Name>] [-n <Node Host Name>]
                [-c <CommServe Hostname>] [-u <CommServe Login Name>]
                [-p <CommServe Login Password>] [-r <ma1:ma2>] [-f]
                [-csn <CommServe Client Name>]
                [-a CommServe authCode registration method; does not require credentials.]
                [-v]

Optional Arguments

  -h, --help            show this help message and exit
  -cn <Node Client Name>, --clientname <Node Client Name>
  -n <Node Host Name>, --hostname <Node Host Name>
                        Required in non-GUI mode.
  -c <CommServe Hostname>, --commserver <CommServe Hostname>
                        Required in non-GUI mode.
  -u <CommServe Login Name>, --uname <CommServe Login Name>
                        Required in non-GUI mode.
  -p < >, --passwd <CommServe Login Password>
                        Required in non-GUI mode.
  -r <ma1:ma2>, --remotema <ma1:ma2>
  -f, --firewall        Disable firewall.
  -csn <CommServe Client Name>, --csname <CommServe Client Name>
  -a CommServe authCode registration method; does not require credentials., --authCode CommServe authCode registration method; does not require credentials.
  -v, --validate        Only attempt to validate the credentials, do no

Loading...