No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionInsight HD 6.5.0 Administrator Guide 02

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Updating a Key for a Cluster

Updating a Key for a Cluster

Scenario

When a cluster is installed, an encryption key is generated automatically by the system so that the security information in the cluster (such as all database user passwords and key file access passwords) can be stored in encryption mode. After the cluster is installed, if the original key is accidentally disclosed or a new key is required, you can perform the following operations to manually update the key.

Impact on the System

  • After a cluster key is updated, a new key is generated randomly in the cluster. This key is used to encrypt and decrypt the newly stored data. The old key is not deleted, and it is used to decrypt old encrypted data. After security information is modified, for example, a database user password is changed, the new password is encrypted using the new key.
  • When a key is updated for a cluster, the cluster must be stopped and cannot be accessed.

Prerequisites

  • You have obtained the IP addresses of the active and standby management nodes. For details, see Logging In to the Management Node.
  • You have stopped the upper-layer service applications that depend on the FusionInsight cluster.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Homepage > Stop, and enter the password of the current login administrator for authentication.

    In the displayed window, click OK. Operation succeeded is displayed. Click Finish. The cluster is stopped.

  3. Use PuTTY to log in to the active management node as user omm with the IP address of the active management node.
  4. Run the following command to prevent you from being forcibly logged out when a timeout occurs:

    TMOUT=0

  5. Run the following command to switch the directory:

    cd ${BIGDATA_HOME}/om-server/om/tools

  6. Run the following command to update the cluster key:

    sh updateRootKey.sh

    Enter y as prompted.

    The root key update is a critical operation. 
    Do you want to continue?(y/n):     

    If the following information is displayed, the key is updated successfully.

    Step 4-1: The key save path is obtained successfully. 
    ... 
    Step 4-4: The root key is sent successfully.     

  7. On FusionInsight Manager, choose Homepage > Start.

    In the confirmation dialog box, click OK to start the cluster. Operation succeeded is displayed. Click Finish. The cluster is started.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6050

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next