This article shows how to use ddpconnchk tool to test the ddboost backup speed from Greenplum to the Data Domain. The ddpconnchk script can not be running in parallel and can only test the connectivity and backup speed for each segment server sequentially. Once you have the result for each segment server you can compare it in order to find any differences in the transfer speed to help identify any issues with the server interface.
Note: Please use it when you experience the slow backups.
- Download the ddpconnchk script from the attachment
- Unzip downloaded file and chose the proper package for your Linux environment (for example Tools_188.8.131.52-348730_Tools_linux_64.gz for a DCA)
- Upload the proper gz file to the master segment mdw:/tmp
- Unpack the package
[gpadmin@mdw /]$ cd /tmp
[gpadmin@mdw tmp]$ tar -zxvf Tools_184.108.40.206-348730_Tools_linux_64.gz
- Use the following script to send a file to all segments and execute it (it will take a while to finish):
gpssh -f /home/gpadmin/hostfile "scp -rp mdw:/tmp/ddpconnchk /tmp/";
l=$(printf '%30s\n' | tr ' ' -); while read HOST ; do echo "$l[ $HOST ]$l"; ssh $HOST "/tmp/ddpconnchk -s $DDIP -u $DDUSER -p $DDPASS -l GPDB -T writeimage -i 1g -n $STREAMS" < /dev/null; done < /home/gpadmin/hostfile;
ddpconnchk tool is not designed to run on all segment servers at the same time. To verify the network saturation issue, please create NFS export on Data Domain and use scp to create stream for every segment server.