ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

installer fails at mapping hostnames in --hosts

book

Article ID: 238483

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

completed the cleanup process yesterday for duplicates created by vna and dr validate ran perfectly. When I ran the installer I get the following error about hostname. 

Mapping hostnames in --hosts (-s) to addresses...
        hostname                       => 10.32.20.20
Error: A cluster exists but does not match the provided --hosts
        10.32.20.20 in --hosts but not in cluster.
        127.0.0.1 in cluster but not in --hosts.
Hint: omit --hosts for existing clusters. To change a cluster use --add-hosts or --remove-hosts.
Installation FAILED with errors.

Installation stopped before any changes were made.
install_vertica script failed with exit code 1 ..........................[FAIL]
===============================================================================
Script finished - ./dr_install.sh
===============================================================================
[[email protected] IMDataRepository_vertica10]# hostname

Cause

Admintools.conf had [Cluster]
hosts = 127.0.0.1

But nodes = v_drdata_node0001

Environment

Release : 21.2

Component : PM Data Storage

Resolution

changed to nodes = 127.0.0.1

Upgrade then completed successfully

Additional Information

do a re-ip of the catalog IP.

create file /tmp/reip.txt
Contents:
127.0.0.1 10.32.20.20

bring down the DB.
then run: 
admintools -t re_ip -f /tmp/reip.txt
answer yes when prompted to make the change.

then start the DB.