Pivotal Knowledge Base

Follow

Backing up to DD Boost Error: "The System Hostname Key is missing from the Lockbox"

Environment

 Product  Version
 Pivotal Greenplum   All versions
 OS  RHEL 6.x

Symptom

When attempting to backup the database to a Data Domain Boost (DD Boost) server, the backup fails with the error message, "The system hostname key is missing from the lockbox." The complete error log is shown below:

[root@mdw ~]# /bin/su - gpadmin  -c "/usr/local/greenplum-db/bin/gpcrondump -x testdb --ddboost -z -a" > /home/gpadmin/gpAdminLogs/log_cron.out 2>&1
[root@mdw ~]# cat /home/gpadmin/gpAdminLogs/log_cron.out
20140507:12:44:06:072120 gpcrondump:mdw:gpadmin-[INFO]:-Starting gpcrondump with args: -x testdb --ddboost -z -a
20140507:12:44:06:072120 gpcrondump:mdw:gpadmin-[INFO]:-Bypassing disk space checks due to DDBoost parameters
20140507:12:44:06:072120 gpcrondump:mdw:gpadmin-[INFO]:-DDBoost command /usr/local/greenplum-db/./bin/gpddboost --show-config returned error: cmd had rc=255 completed=True halted=False
  stdout=''
  stderr='20140507:12:44:06|ddboost-[DEBUG]:-Libraries were loaded successfully
20140507:12:44:06|ddboost-[INFO]:-opening LB on /home/gpadmin/DDBOOST_CONFIG
20140507:12:44:06|ddboost-[ERROR]:-The system hostname key is missing from the lockbox.
20140507:12:44:06|ddboost-[ERROR]:-Parsing DDBoost login credentials failed
'
20140507:12:44:06:072120 gpcrondump:mdw:gpadmin-[CRITICAL]:-gpcrondump failed. (Reason='DD Boost: Unknown Error') exiting...

Cause

This is caused by some changes on the hosts after the initial DD Boost configuration has been created.

The changes can include server replacement, new hostname, and so on.

Resolution

Since the DD Boost configuration is now pointing to the old hostname, you will need to reconfigure it.

Note: A gpdbrestore could also fail with error messages similar to the gpcrondump errors. The below steps can also be applied when the gpdbrestore fails for the same thing.

Follow the steps listed below to resolve this issue:

1. Remove the old existing configuration:

gpcrondump --ddboost-config-remove

2. Reconfigure it again using the following command:

gpcrondump --ddboost-host <DDboost-hostname> --ddboost-user <DDboost-username>  --ddboost-backupdir <DDboost-directory>

Comments

Powered by Zendesk