Pivotal Knowledge Base

Follow

How to utilize DDBoost with Multiple GPDB Clusters

Goal

It is possible to configure DDBoost connections to the same Data Domain Server from multiple GPDB Clusters with 2 caveats:

  • All the GPDB Clusters must utilize the same Storage Unit.

A feature request is open to allow multiple storage units, which may be implemented in a future release. Currently, DDBoost is hard coded to utilize a single named storage unit.

  • Each GPDB Cluster must use it’s own Backup Directory

This restriction prevents the clusters from writing / overwriting backups in the same directory.

Note: Failure To set a unique backup directory for each cluster may result in Data Loss and unrecoverable backups.

Solution

To configure multiple clusters.

1. Confirm DDBoost Access is configured for each GPDB Cluster

Where x.x.x.x and y.y.y.y are the IP subnets for the configured clusters.

ssh <ddboost user>@<DataDomain Server>
Last login: Wed May  7 15:55:02 CDT 2014 from x.x.x.x on pts/0
Last login: Thu Jun 18 12:42:16 2015 from mdw

Welcome to Data Domain OS 5.4.1.1-411752
----------------------------------------
ddboostuser@DATADOMAIN# ddboost access show
DD Boost access allowed from the following clients:
* [all clients]
x.x.x.x/24
y.y.y.y/24

2. Create the Saved Configuration on Each Cluster Providing a Unique Backup Directory

gpcrondump --ddboost-host <DataDomain Server> --ddboost-user <DDboost User> --ddboost-backupdir <Unique Backup Directory>
20150618:12:44:34:129024 gpcrondump:mdw:gpadmin-[INFO]:-Starting gpcrondump with args: --ddboost-host <DataDomain Server> --ddboost-user <DDboost User> --ddboost-backupdir <Unique Backup Directory>
Password: <changeme>
20150618:12:44:43:129024 gpcrondump:mdw:gpadmin-[INFO]:-Found existing local Data Domain configuration:
20150618:12:44:43:129024 gpcrondump:mdw:gpadmin-[INFO]:- Hostname: <DataDomain Server>
20150618:12:44:43:129024 gpcrondump:mdw:gpadmin-[INFO]:- Default Backup Directory: <Unique Backup Directory>
Do you want to replace this configuration? Yy|Nn (default=N):
> Y
[sdw1.gphd.local] 20150618:12:44:55|ddboost-[DEBUG]:-Libraries were loaded successfully
[sdw1.gphd.local] 20150618:12:44:55|ddboost-[INFO]:-creating LB on /home/gpadmin/DDBOOST_CONFIG
20150618:12:44:55:129024 gpcrondump:mdw:gpadmin-[INFO]:-config delivered successfully, host: sdw1.gphd.local
...

One the password is verified the configuration should be updated and replicated to all the segments.

Comments

Powered by Zendesk