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

OceanStor BCManager 6.5.0 eReplication User 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).
Exporting System Debug Logs

Exporting System Debug Logs

This operation exports system debug logs, hardware configuration data, and system running parameters. You can adjust the severity of logs to be collected if you need detailed system debug logs to locate faults.

Context

The log severity indicates the importance of logs. Debug logs are classified into four severities: error, warning, info, and debug.

Procedure

  • When the eReplication Server service is started
    1. On the menu bar, select Settings.
    2. In the navigation tree, choose Log Management > System Debug Log.
    3. Optional: The default severity of logs to be collected is Info. You can adjust the severity of logs to be collected if you need detailed system debug logs to locate faults.
      1. In the System Debug Log area, set the severity of debug logs to be collected.

        After the log severity is changed, the system will export debug logs of the selected severity and above.

        NOTE:
        After eReplication is restarted, you need to set the severity of debug logs again.
      2. Click OK.
    4. Export system debug logs.
      1. In the Export System Debug Logs area, click Export.
      2. In the dialog box that is displayed, click Save. Select a path to save the file to be exported and click Save.
  • When the eReplication Server service is not started
    1. Use PuTTY to log in to the standby management server of the eReplication Server.
      • In template-based installation mode: Log in as user DRManager, and run the su root command to switch to user root.
      • In software package-based installation mode: Log in as user root.
      NOTE:
      The default password of user DRManager is Huawei@CLOUD8. In template-based installation mode, the default password of user root is Huawei@CLOUD8!.
    2. Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.
      NOTE:

      After the preceding command is executed, the system remains running even when no operation is performed, which results in security risks. For security purposes, run the exit command to exit the system after you finish performing operations.

    3. Run the cd /usr/sbin/ command to go to directory /usr/sbin/.
    4. Run the sh DataCollect command to collect logs.
    5. Run the cd /tmp/ command to go to directory /tmp/.
    6. Copy file DataCollect.zip to a local directory.
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 18429

Downloads: 76

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