When a cluster is installed, an encryption key is generated automatically to store the security information in the cluster (such as all database user passwords and key file access passwords) in encryption mode. After the cluster is successfully installed, you are advised to periodically update the encryption key based on the following procedure.
The upper-layer applications depending on the cluster are stopped.
In the displayed dialog box, select I have read the information and understand the impact. Click OK. Wait until the system displays a message indicating that the operation is successful. Click Finish. The cluster is stopped successfully.
sudo su - omm
TMOUT=0
cd ${BIGDATA_HOME}/om-0.0.1/tools
sh updateRootKey.sh
Enter y as prompted.
The root key update is a critical operation. Do you want to continue?(y/n):
The key is updated successfully if the following information is displayed:
... Step 4-1: The key save path is obtained successfully. ... Step 4-4: The root key is sent successfully.
In the displayed dialog box, click OK. After Operation successful is displayed, click Finish. The cluster is started.