Follow these steps to download and install the software:
Login to the Greenplum Database coordinator host as the gpadmin
user.
Download the latest VMware Greenplum gpcopy
software distribution from VMware Tanzu Network.
Navigate to the location of the downloaded file, and uncompress the contents. For example:
$ cd ~/Downloads
$ tar xzvf gpcopy-2.5.0.tar.gz
The software distribution provides two files: gpcopy
and gpcopy_helper
.
Copy both of the uncompressed files to the $GPHOME/bin directory on the Greenplum coordinator host. For example:
$ cp gpcopy $GPHOME/bin
$ cp gpcopy_helper $GPHOME/bin
Set read and execute permissions on the copied files for the gpadmin
user on the coordinator host. For example:
$ chmod 755 $GPHOME/bin/gpcopy
$ chmod 755 $GPHOME/bin/gpcopy_helper
For Greenplum segment hosts:
Copy only the gpcopy_helper
file to the $GPHOME/bin directory on each segment host. For example:
$ gpscp -h sdw1 -h sdw2 gpcopy_helper =:/usr/local/greenplum-db-6.22.0/bin
Set read and execute permissions on the gpcopy_helper
file for the gpadmin
user. For example:
$ gpssh -h sdw1 -h sdw2 -e 'chmod 755 /usr/local/greenplum-db-6.22.0/bin/gpcopy_helper'