search cancel

The dr_validate.sh script fails with host name error

book

Article ID: 228159

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

We are running the dr_validate.sh script to install or upgrade the DX NetOps Performance Management Data Repository Vertica database.

It returns an error about the host name.

[[email protected]<Host_Name> IMDataRepository_vertica10]# ./dr_validate.sh -p drinstall.properties
Log File: logs/install_log_validate_11-11-2021_10-04-11.log
***The local host name was expected, but not found in the list of hosts in the cluster.
    Expecting one of the following names to be present:
        <Host_Name> or <Host_Name>
    Provided list of host names:
        yourhostname1 yourhostname2 yourhostname3
This installer will now exit.
===============================================================================
Script finished - ./dr_validate.sh
===============================================================================

Environment

All supported DX NetOps Performance Management releases

Cause

The DbHostNames variable in the (default path) /opt/CA/IM_DataRepository<version>/drinstall.properties file is not set with the correct host name(s).

Resolution

Edit the DbHostNames variable in the (default path) /opt/CA/IM_DataRepository<version>/drinstall.properties file. Add the correct host names for the cluster node(s) being installed or upgraded.

After fixing the drinstall.properties file value run the dr_validate.sh again.