After migrating the Ranger Admin role instance to a new host, migrate the Ranger KMS db role instance.
Only if Ranger KMS has a backend database for key storage, should you migrate the
Ranger KMS db role instance.
-
Add a new Ranger KMS db role instance on another node.
-
Start the new Ranger KMS db role instance.
-
Stop the initial Ranger KMS db instance.
-
Delete the initial Ranger KMS db instance.
-
Restart the cluster.
-
Login to Ranger Admin UI using keyadmin credentials.
-
Update the cm_kms service to use the kms url that refers to the new hostname.