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

FusionCloud 6.3.1.1 Troubleshooting 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).
Stopping a Database

Stopping a Database

This section describes how to stop a database.

Prerequisites

A database instance exists.

Context

  • If master and slave databases are deployed, stop databases on the slave database node and then databases on the master database node.
  • The following procedure uses the MySQL database instance ossdbsvr-103-2 as an example to describe how to stop a database.

Precautions

You must delete the flag file before running commands for stopping a database. Otherwise, the database will be automatically started.

Procedure

  1. Use PuTTY to log in to the node where the master database instance resides using the IP address of that node.

    NOTE:

    You can log in to the ManageOne deployment plane and choose Deployment > Database > RDBMS to view the IP address of the node where the master database instance resides.

    Default account: sopuser; default password: D4I$awOD7k

  2. Run the following command to switch to the ossadm user:

    su - ossadm

    The default password is ZJE%JLq5qx.

  3. Run the following commands to delete the flag file:

    cd /opt/oss/manager/var/agent/

    rm -rf /opt/oss/manager/var/agent/manager_dcprocess.flag

    NOTE:

    The flag file TenantName_dcprocess.flag is saved in the opt/oss/manager/var/agent/ directory. In the preceding command, TenantName is manager. You can determine the tenant name corresponding to the database instance by following the instructions provided in Obtaining Database Information.

  4. Run the following commands to stop the MySQL database:

    cd /opt/oss/manager/agent/container/mysql/bin/

    ./stop_mysql.sh /opt/mysql/data/ossdbsvr-103-2

    NOTE:

    This command can only be used to stop the database instance on this node.

  5. Run the following commands to stop the Redis database:

    cd /opt/oss/manager/agent/container/redis/bin

    ./stop_redis.sh /opt/redis/data/FMServicedbsvr-1386-0@1387-0

    NOTE:

    This command can only be used to stop the database instance on this node.

Translation
Download
Updated: 2019-06-10

Document ID: EDOC1100063248

Views: 22793

Downloads: 37

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