Got it

Method of Opening Windows Client to Access DBService Database

Latest reply: Dec 29, 2018 06:28:37 345 1 10 0 0

Hello, everyone!

The post will share with you the method of opening Windows clients to access DBservice database.

Method of Opening Windows Client to Access DBService Database

1. Log on to the main DBServer node, vi /srv/BigData/dbdata_service/data/pg_hba.conf, and open the configuration file

2. Add a line of configuration parameters at the end of the file: host all 0.0.0/0 sha256 (if SSL certificate is configured, add: host all 0.0.0/0 sha256)

3. Switch to OMM user and execute source /opt/huawei/Bigdata/dbservice/.dbservice_profile to import environment variables required by DBService.

4. Execute gs_ctl-D $GAUSSDATA restart and restart GaussDB.

The method of opening windows client to access OMS database:

1. Log on to the main OMS node, vi/srv/BigData/dbdata_om/data/pg_hba.conf, and open the configuration file.

2. Add a line of configuration parameters at the end of the file: host all 0.0.0/0 sha256 (if SSL certificate is configured, add: host all 0.0.0/0 sha256)

3. Switch to OMM user, execute gs_ctl-D $GAUSSDATA restart, restart gaussdb

Encryption Component Clear Password

In the OMS node, switch to the OMM user to execute

Scenario 1 uses the default key:

/opt/huawei/Bigdata/OMSV100R001 C00x8664/tools/encrypt/encrypt.sh--strSrc<plaintext password>--encType AES256

Scenario 2 uses the random key of the installation environment

/opt/huawei/Bigdata/OMSV100R001 C00x8664/tools/encrypt/encrypt.sh -- strSrc < plaintext password > -- encType AES256 -- keyFile ${AGENT_KEY_PATH}

That's all, thanks!

In the OMS node, switch to the OMM user to execute




Scenario 1 uses the default key:




/opt/huawei/Bigdata/OMSV100R001 C00x8664/tools/encrypt/encrypt.sh--strSrc<plaintext password>--encType AES256
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.