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

Huawei IN200 NIC User Guide 07

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).
Running the Log Collection Script

Running the Log Collection Script

Running the Log Collection Script in Linux

  1. Log in to server OS.

    For details, see Logging In to the iBMC WebUI.

  1. Run the following command to go to the directory where the driver package is decompressed, for example, /home.

    cd /home

  2. Run the following command to go to the directory where the hinic_log_collect.sh log collection script is stored:

    • For x86 platforms: cd /tools/linux/nic/collect_scripts
    • For ARM platforms: cd /tools/linux_arm/nic/collect_scripts

  3. Run the following command to collect all log files:

    bash hinic_log_collect.sh -a

    • All collected log files are stored as compressed packages in the /opt/hinic/ directory. The format of the package names is log_yyyy_mm_dd_hh_mm_ss.tar.gz. yyyy, mm, dd, hh, mm, and ss indicate the year, month, day, hour, minute, and second when the script is run. For example, if the package name is log_2019_07_31_07_11_02.tar.gz, the package is generated at 07:11:02 on July 31, 2019.
    • For details about the log files, see Table 8-1.

Running the Log Collection Script in VMware

  1. Log in to server OS.

    For details, see Logging In to the iBMC WebUI.

  1. Go to the /opt/huawei/ directory where the hinic_vmw_collect.py log collection script is stored.
  2. Run the following command to collect all log files:

    ./hinic_vmw_collect.py

    • All collected log files are stored as compressed packages in the /scratch/huawei/collect/ directory. The format of the package names is VMW_huawei_NIC_log_yyyymmdd_hhmmss.tgz. yyyymmdd_hhmmss indicates the year, month, day, hour, minute, and second when the log collection script is run. For example, if the package name is VMW_huawei_NIC_log_20190731_071113.tgz, the package is generated at 07:11:13 on July 31, 2019.
    • For details about the log files, see Table 8-2.

Running the Log Collection Script in Windows

  1. Log in to server OS.

    For details, see Logging In to the iBMC WebUI.

  1. Go to the C:\Program Files (x86)\hinicadm directory where the log collection script collect_log.ps1 is located.
  2. Open the Windows PowerShell, switch to the C:\Program Files (x86)\hinicadm directory, and run the collect_log.ps1 script.

    ./collect_log.ps1

    • All collected log files are stored as compressed packages in the C:\Program Files (x86)\hinicadm directory. The format of the package names is NicLog_yyyymmdd_hhmmss.zip. yyyymmdd_hhmmss indicates the year, month, day, hour, minute, and second when the log collection script is run. For example, if the package name is NicLog_20190731_071113.zip, the package is generated at 07:11:13 on July 31, 2019.
    • For details about the log files, see Table 8-3.

Translation
Download
Updated: 2019-11-19

Document ID: EDOC1100063073

Views: 9276

Downloads: 51

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