Recovering KMS by restoring only the KMS data file
You can restore the backed-up copy of the KMS data file kms/db/KMS_DATA by regenerating the KMS_HMKF and KMS_KPKF files with pass phrases. So, if you have written down pass phrases for the host master key and key protection key, you can run a command to regenerate those files. The system prompts you for the pass phrase and if the pass phrase you now enter matches the pass phrase originally entered, you will be able to reset the files.
To recover KMS by restoring only the KMS data file
- Run the nbkms - resetkpk command.
- Run the nbkms - resethmk command.
- Startup the nbkms service.