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

Administrator Guide

OceanStor V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, 6800 V3, 18500 V3, and 18800 V3. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
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).
Using a Script File to Collect Logs (OceanStor 18000 Series)

Using a Script File to Collect Logs (OceanStor 18000 Series)

A script file can be used to collect system logs and Windows system logs in SVP.

Using a Script File to Collect System Logs

A script file can be used to collect system logs in SVP.

Prerequisites
  • CLI and DeviceManager cannot be used to collect storage system logs.
  • The storage system is working properly and can be connected using PuTTY.
Procedure
  1. On the desktop, double-click the export_device_log_manually.bat file.

    The system starts the script that is used to collect system logs.

  2. In Please enter the IP address of the storage array whose log files you want to obtain:, type the IP address of the storage system (for example 192.168.128.101), and press Enter.
  3. In login as:, type the user name for logging in to the storage system and press Enter.
  4. In password:, type the password for logging in to the storage system and press Enter.

    The script file automatically obtains system logs from the storage system. After system logs are collected, the following information is displayed:

    "export log finished!" 
    "======================" 
    export log to "D:\log\192.168.128.101\20141223173923"     

    The D:\log\192.168.128.101\20141223173923 is the location of the system logs.

  5. Press any key to exit the script.

Using a Script File to Collect Windows System Logs

A script file can be used to collect Windows system logs on the SVP. When the Windows operating system is working incorrectly or the management software deployed on the Windows operating system is working incorrectly, collect Windows system logs for troubleshooting.

Prerequisites
  • You can log in to the Windows operating system running on the SVP using the maintenance terminal.
  • Only administrators can execute the script.
Procedure
  1. On the desktop of the Windows operating system, double-click the WindowsInfoTool.bat file.

    The system starts the script that is used to collect system logs.

  2. The script file automatically obtains log files. The following is displayed after the collection is complete:

     
    Collect windows log successfully 
    ====================== 
    "export log to D:\SVP_Windows_log.rar" 
    ======================     

    The D:\SVP_Windows_log.rar is the location of the system logs.

  3. Press any key to exit the script.
Download
Updated: 2019-07-12

Document ID: EDOC1000138854

Views: 36236

Downloads: 2049

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