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

Advanced O&M Command Reference

OceanStor 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
om_show_omm_info.sh

om_show_omm_info.sh

Function

The om_show_omm_info.sh command is used to show the information about the OMM module.

Format

om_show_omm_info.sh { -a | -h | -i | -q | -l [username] | -u [username] | -c [nodeID] | -e | -d | -f | -b | -g | -s [number] | -m [isEnable] | -n | -o [rule] | -p [ruleId] | -r | -w [nodeID] | -t | -k [reason] | -x [linkID]}

Parameters

Parameter

Description

Value

-a

Obtains all user information.

-

-c [nodeID]

If "nodeID" parameter is configured, the current internal event of the specified controller is queried. If this parameter is not configured, the current internal event of the current controller is queried.

The value is in the format of "XA","XB","XC","XD", where the "X" is an integer ranging from 0 to 3, for example: "0A","1C".

-h

Obtains the help information.

-

-i

Queries the internal event of a storage system.

-

-l username

Forces a user offline.

To obtain the value, run "om_show_omm_info.sh -a". Spaces contained in the user name are expressed by \\s and \ is expressed by \\\\.

-q

Obtains the online user info.

-

-u username

Unlocks a user.

To obtain the value, run "om_show_omm_info.sh -a". Spaces contained in the user name are expressed by \\s and \ is expressed by \\\\.

-f

Historical alarm of a storage system.

-

-b

Queries current alarms of the current controller in minisystem mode.

-

-d

Queries historical fault codes of a storage system.

-

-e

Queries current fault codes of the current controller in minisystem mode.

-

-g

Queries the number of IP addresses parsed based on a domain name.

-

-s number

Changes the number of IP addresses parsed based on a domain name.

The value is an integer between 2 and 5.

-m [isEnable]

Enables or disables the IP address access restriction.

The value can be "1" or "0", where:

  • "1": enables the IP address access restriction. Only application servers in the IP address whitelist can access the storage system.
  • "0": disables the IP address access restriction. All application servers can access the storage system.

-n

Queries whether the IP address restriction is enabled.

-

-o [rule]

Adds an IP address to the whitelist.

The value can either be an IP address or an IP address segment. For an IP address segment, the value must be expressed in the following format: Starting IP address-Ending IP address. For example:

  • An IP address: 192.168.3.5.
  • An IP address segment: 192.168.3.5-192.168.3.32.

-p [ruleId]

Deletes an IP address from the whitelist.

To obtain the value, run the "om_show_omm_info.sh -r" command to query "ruleId" of the IP address.

-r

Queries the IP address whitelist.

-

-w nodeID

Parameter "nodeID" means forcibly generating measurement data on the specified controller.

The value is in the format of "XA","XB","XC","XD", where the "X" is an integer ranging from 0 to 3, for example: "0A","1C".

-t

Queries system forbidden status.

-

-k reason

Parameter "reason" means a prohibited event that needs to be released.

To obtain the value, run "om_show_omm_info.sh -t".

-x [linkID]

Checks whether a specified external key management link is normal.

The value can be "0", "1", or "2", where:

  • "0": The check is completed.
  • "1": checks link 1.
  • "2": checks link 2.

Modes

Minisystem mode

Usage Guidelines

User maintenance port. Use this port under the guidance of technical support engineers.

Example

  • Query the historical internal event of the storage system.
    Storage: minisystem>  om_show_omm_info.sh -i 
    admin:/diagnose>alarm gethisinnerevent 
    csn                 id                                  param 
    1576                 0xF00C9014B           2015-4-10/11:17:00, oops reset,0,1 
    admin:/diagnose>quit 
    Storage: minisystem>
  • Query the current internal event of the current controller in minisystem mode.
    Storage: minisystem> om_show_omm_info.sh -c 
    admin:/diagnose>alarm getcurinnerevent 
    id           detail 
    0xF00C9014B Occurrence time 2015-10-6/2:11:58 of and details update logic on the internal event that occurs on controller 0 in engine 0 are recorded. 
    admin:/diagnose>quit
  • Query the current internal event of a specified controller in minisystem mode.
    Storage: minisystem> om_show_omm_info.sh -c 0B 
    admin:/diagnose>alarm getcurinnerevent 
    id           detail 
    0xF00C9014B Occurrence time 2015-10-6/2:11:58 of and details update logic on the internal event that occurs on controller 0 in engine 0 are recorded. 
    admin:/diagnose>quit
  • Query information about online users.
    Storage: minisystem> om_show_omm_info.sh -q 
    admin:/diagnose>aa showonlineuser 
    User Name     Address Info       Login Time 
    admin         10.10.10.11        Mon Nov 23 08:00:01 2012 
    admin         10.10.10.15        Mon Nov 23 09:10:01 2012 
    admin:/diagnose>quit
  • Query information about all the users.
    Storage: minisystem> om_show_omm_info.sh -a 
    admin:/diagnose>aa showalluser 
    User Information 
    User Name  Level       Status  Last Login Time          Lock State  Remaining Lock Time (s) 
    admin      Super_admin Online  Tue Jan  1 00:04:26 2008 Unlocked --  
    mm_user Admin       Online  Tue Jan  1 00:00:31 2008 Unlocked --  
    test001 Admin       Offline Fri Dec  4 06:16:54 2015 Locked      234  
    test002 Guest       Offline Thu Jan  1 00:00:00 1970 Locked      288  
    test003 Admin       Offline Fri Dec  4 02:58:40 2015 Unlocked --  
    TEST       Admin       Offline Thu Jan  1 00:00:00 1970 Locked      Infinite  
    admin:/diagnose>quit
  • Query the historical alarms of a storage system.
    Storage: minisystem> om_show_omm_info.sh -f 
    admin:/diagnose>alarm gethisalarm 
    id           occurred on          detail 
    0xF0EA0005 2015-12-28 14:47:26  The optical transceiver rate and the port rate of the FC port (Controller Enclosure CTE0, SmartIO interface module B7, port number P0, port rate 16Gbit/s, optical transceiver rate 10Gbit/s) do not match. As a result, the port is unavailable. 
    admin:/diagnose>quit 
    Storage: minisystem>
  • Query the current alarms of the current controller in minisystem mode.
    Storage: minisystem> om_show_omm_info.sh -b 
    admin:/diagnose>alarm getcuralarm 
    id           occurred on          detail 
    0xF0EA0005 2015-12-28 14:47:26  The optical transceiver rate and the port rate of the FC port (Controller Enclosure CTE0, SmartIO interface module B7, port number P0, port rate 16Gbit/s, optical transceiver rate 10Gbit/s) do not match. As a result, the port is unavailable. 
    admin:/diagnose>quit 
    Storage: minisystem>
  • Query historical fault codes of a storage system.
    Storage: minisystem> om_show_omm_info.sh -d 
    admin:/diagnose>alarm gethisdiagcode 
    id           occurred on          detail 
    0xF0000601   2015-12-29 10:54:29  In module 48 on node 0, diagnose point 0 diagnoses failure of requesting for resources. The cause is failed to request for ID. 
    admin:/diagnose>quit 
    Storage: minisystem>
  • Query the current fault code of the current controller in minisystem mode.
    Storage: minisystem> om_show_omm_info.sh -e 
    admin:/diagnose>alarm getcurdiagcode 
    id           occurred on          detail 
    0xF0000601 2015-12-29 10:54:29  In module 48 on node 0, diagnose point 0 diagnoses failure of requesting for resources. The cause is failed to request for ID. 
    admin:/diagnose>quit 
    Storage: minisystem> 
  • Query the number of IP addresses parsed based on a domain name.
    Storage: minisystem> om_show_omm_info.sh -g 
    admin:/diagnose>scm get_ip_num 
    The number of IP addresses parsed from a domain name: 5. 
    admin:/diagnose>quit
  • Change the number of IP addresses parsed based on a domain name.
    Storage: minisystem> om_show_omm_info.sh -s 5 
    Success to modify the number of IP addresses parsed from a domain name. 
    Storage: minisystem> 
  • Forcibly generate measurement data.
    Storage: minisystem> om_show_omm_info.sh -w 0C 
    admin:/diagnose>sa forcelaset 0C 
    Succeed in forcibly generating measurement data. 
    admin:/diagnose>quit 
  • Query system forbidden status.
    Storage: minisystem> om_show_omm_info.sh -t 
    ibc_os_hs:/diagnose>mmt showforbidinfo 
    Cur Forbid is forbidflag(1), forbidreason(1077949021). 
    ibc_os_hs:/diagnose>quit
  • Set system forbidden status.
    Storage: minisystem> om_show_omm_info.sh -k 1077949021 
    [SUCCESS] Set forbid msg success. 
    Storage: minisystem>
  • Check whether external key management link 1 is normal.
    Storage: minisystem> om_show_omm_info.sh -x 1 
    Get link(1) status(0). 
    Storage: minisystem> 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

User Name

User name.

Level

User level.

Status

User status.

Last Login Time

Last login time of the user.

Lock State

User lock status.

Remaining Lock Time

Remaining lock time of the user.

Address Info

User login address.

Login Time

User login time.

csn

Serial number of an internal event.

id

ID of an internal event.

param

Internal event parameters.

detail

Event details.

occurred on

Occurrence time.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 636512

Downloads: 707

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