Failure to Register the MediaAgents With the CommServe During Installation

Symptoms

The HyperScale installation fails during registertocs phase, either using the 1GigE management network or basic installation.

Error similar to the following can be found in /var/log/hyperscale.log:

hyperscale - ERROR - /opt/commvault/MediaAgent64/cvsetuphelper.py:1436:register_with_cs() - Registration with CommServe failed
m=255.255.240.0 cs_cidr=20 ip=100.10.10.22
Cluster fencing could not be configured due to the following error. Please configure manually to make CommServe VM highly available.
Failed to validate irmc address for hcatest3mgmt.commvault.com

Resolution

  1. Login to the MediaAgent and 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 with the options in the command line as follows:

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

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...