Install GPCC Client on Newly Initialized Host in an Existing Cluster
search cancel

Install GPCC Client on Newly Initialized Host in an Existing Cluster

book

Article ID: 295198

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Scenario: One host went completely down and needed to be replaced. GPCC is running on all other hosts, but needs to be installed/copied into the new one.

Resolution

-Tar the GPCC directory from a good host (inside /usr/local):
tar -czvf gpcc.tar.gz ./greenplum-cc-<version>

-Copy the tar.gz to the replaced host:
scp ./gpcc.tar.gz host:/usr/local
(Permissions may prohibit this copy directly to /usr/local.  If so, copy to another directory and move it go /usr/local as root)

-Extract the tar.gz in /usr/local
tar -xzvf gpcc.tar.gz

-Create the two needed symlinks (may need to be root.  Ensure permissions are 777) 
ln -s ./greenplum-cc-<version> greenplum-cc
ln -s ./greenplum-cc-<version> greenplum-cc-web

chmod 777 greenplum-cc
chmod 777 greenplum-cc-web

##Please change owner of gpcc binary directories to gpadmin if it is not.