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).
help
Function
The help command is used to show the help information of all the commands that are available in minisystem mode.
Example
View the help information of commands that are available in minisystem mode.
Storage: minisystem> help Supported commands in minisystem mode: exit : quit help : show usage rebootsys [opt]: reboot system setupsystem : format and re-install system showversion : show versions showbootmode : show boot mode showdiskinfo : show disk info upgradesystem : upgrade system software showsysstatus : show system status showsystrace [FlowId] : show system trace exportmemdb : export memory db cleardb : clear db in all mediums begin resumebootmode: resume boot mode from rescue to normal sshtoremote : ssh to peer via bond0 with admin sshtoremoteExt [SlotId] : ssh to the controller specified by SlotId with admin iprulelist : list ip rules os_backup_info.sh [-f xxx.tar.bz2] [-a] [-F] | [-p] : collect logs -f: specify the saved log package name -a: backup all log files -F: backup log files without size limitation -p: check whether memory is sufficient or not os_change_bayconfig.sh [delete] | [change] | [set] | [sync]: change bay config for BMC sysforcepoweron [switch flag] : set force power on switch flag [0:open,1:close] os_write_bay_cfg.sh [-i BayID] [-c ControllerTotal] [-t BayType] [-n] [-l] [-s] [-d]|[-a] os_upgrade_hotpatch.sh [-m size] [-w install|roll|delete] [-p package name [mini] ] [-g package name] [-c] [-r] [-k] [-d] [-s [1|2] ] [-v all|local|peertolocal] [-h] : upgrade hotpatch interface os_change_tp.sh { -a | -d } -f func -t type -i alive -p param : change tracepoint config file changeibckey : replace ibc_os_hs's key files to the home directory of ibc_os_hs getremotefile ip src_file dst_dir : transfer file between controllers getremotedir ip src_dir dst_dir : transfer dir between controllers telnet IPv4|IPv6 port(1~65535) : The telnet command is used to check whether the client port is open. df -h : obtain the overall usage of disks showrootfsinfo : The showrootfsinfo command is used to query files in the cache and print the files into the messages file. showresetinfo : The showresetinfo command is used to query the reset cause and time recorded by nvram. showbayconfig : The showbayconfig command is used to show the bay information in memory and disks, including the enclosure ID, number of controllers and so on. tcp_tw_reuse_switch.sh [-h] [on|off]. The command is used to enable or disable the function of reusing the TIME_WAIT socket in the TCP connection. nasconn.sh : show or set nas max connection. usage: {nasconn.sh show} or {nasconn.sh set [value]} nas_ndmp_prefetch.sh : show or set ndmp readdirplus prefetch parameters. Usage: {nas_ndmp_prefetch.sh -s} or {nas_ndmp_prefetch.sh -r [reservebit]} or {nas_ndmp_prefetch.sh -n [queue num] -d [queue depth]} Arguments: -s show ndmp readdirplus prefetch queue number and queue depth -n set ndmp readdirplus prefetch queue number, need use with -d, the value must in [1,10] -d set ndmp readdirplus prefetch queue depth, need use with -n, the value must in [1,1000] -r set ndmp reservebit, the value must in [0,4294967295] Note: total count(depth HPC.log bin coffer_log coffer_perf dha export_import fault_disklog ftds iotrace log update update_disk num) of READDIRPLUS request in queue can not exceed 1000. eam.sh [-h] | [-a] : It is just EAM module's command. Enter eam.sh -a to obtain more information. setsysdirtydataflag.sh [-h] | [-a] | [-n bitmap] | [-i]: set node dirty data valid flag. -h, --help show help info. -a, --ALL set all nodes in group dirty data flag valid. -n, --nodes=bitmap set nodes of bitmap dirty data flag valid. -i, --ALL INVAILD set all nodes in group dirty data flag invalid. showsysdirtydataflag.sh : show dirty data valid flag sys_power_lost.sh [-h] | [-a] | [-n bitmap] : power lost the specified nodes. -h, --help show help info. -a, --ALL power lost all nodes. -n, --nodes=bitmap power lost nodes of bitmap. om_show_omm_info.sh [-h] | [-i] | [-c][nodeID] | [-f] | [-b] | [-d] | [-e] [-a] | [-q] | [-l][username] | [-u][username] | [-g] | [-s][number] | [-m] [isEnable] | [-n] | [-o] [rule] | [-p] [ruleId] | [-r] | [-w][nodeID] | [-t] | [-k] [reason] | [-x] [linkID] | [-y] [add|del]: show omm information. -h show help info -i query the inner event -c [nodeID] query current inner event, [nodeID] is optional, if input [nodeID] means query [nodeID]'s current inner event, otherwise query current controller's current inner event -f query history alarm -b query current alarm -d query history diagnose code -e query current diagnose code -l username logout a specified user -u username unlock a specified user -a query all user info -q query online user info -m isEnable Enables or disables the IP address access restriction [isEnable 0:disable, 1:enable] -n Queries whether the IP address restriction is enabled -o rule Adds an IP address to the whitelist -p ruleId Deletes an IP address from the whitelist -r Queries the IP address whitelist -t query forbid info -k reason clear forbid info -x linkID check server agent link status -j timeout set export log timeout -y [add|del] add/del devicemanger connect num -g show the number of IP addresses parsed from a domain name -s number modify the number of IP addresses parsed from a domain name -w nodeID forcibly generate measurement data sntp [timeout] [ip] display the time offset of the system clock relative to the server clock sys.sh [-h] | [-a] : It is just a system control command. Enter sys.sh -a to obtain more information. showioinfo.sh [-h] | [-t type] : show front io info. -h, --help show help info. -t, --type=type type=command: print all the front executing command to messages. settaskswitch.sh -a|-d -n name -s switch : set background task switch ccdb.sh [-h] | [-a] | [-c] : It is just a cluster configuration database command. Enter ccdb.sh -a to obtain more information. modifydbtableinfo.sh [r [tablename]| s |q [tablename] [tableid] |e [disklogicid] [dbsrc] |rb |i [filepath] |v] cmm.sh [-h] [-a] [-c command] : It's just cmm moudles's command about memory recover flag. Enter cmm.sh -a to obtain more information. upgrade_clearflag.sh [-e] | [-c] | [-h] : Delete all the upgrade files that were generated by upgrade action. -h, --help show help info. -c, --Clear Clear all the upgrade files that cannot be restored. -e, --Examine Examine the redundancy of front-end links. setpwronpausestage.sh [-h] | [-a] : It is a command to set system pause stage when power on. Enter setpwronpausestage.sh -a to obtain more information. logzonefreelogbylogid.sh f [logid] cgroup_manage.sh [-c xxx] [-g xxx] [-p xxx] show: query cgroup statistics. see detail with command "cgroup_manage.sh -H" cache.sh [-h] | [-a] : It is just a cache command. Enter cache.sh -a to obtain more information. xnet.sh -a command -c controller -p [pid] -l [linktype] -f [printflag]. Enter xnet.sh -d to obtain more information. upgrade_ultrapath_flag.sh [-c] | [-h] : To create a file after manually check there is no risk with host multipathing. If the file exists, the system will not check the multiple path of single chain risk. -h, --help show help info. -c, --check ultrapath is ok, then execute this shell code to create a flag file. space.sh [-h] | [-a] : It is just a space control command. Enter space.sh -a to obtain more information. logzone.sh [-h], show help info, [-q], show all query command. show_ipv4_tcp_config.sh : show the tcp configuration parameters of IPv4 tcp_recycle_switch.sh [-h] [on|off]. The command is used to enable or disable the function of rapidly recycling the TIME_WAIT socket in the TCP connection. bdm_diskbomlist.sh [-h] | [-a] : It is just a BDM command. Enter bdm_diskbomlist.sh -a to obtain more information. bdm_trigger_diagend.sh [-h] [-a] : It is just a BDM command. Enter bdm_trigger_diagend.sh -a to obtain more information. upgrade.sh [-h] | [-a] : It is just a upgrade command. Enter upgrade.sh -a to obtain more information. bdm_efuseswitch.sh [-h] [-a] [-q] [0:close|1:open] : It is just a BDM command. Enter bdm_efuseswitch.sh -a to obtain more information. dmi.sh [-h] | [-a] : It is just a dmi command. Enter dmi.sh -a to obtain more information. rst_svc_ctl.sh obj [-h] | [-d] | [-ar ip_addr] : manage apache white ip list. obj: host,options,nosniff -h, show help info. -a host, add ip_addr or host_name into apache white ip list. under nosniff subtype, add nosniff into the apache configuration. -r host, under host subtype, remove ip_addr or host_name from apache white ip list. under options subtype, restore the OPTIONS and POST option of the apache server. under nosniff subtype, removes nosniff from the apache configuration. -d, under host subtype, display current ip list. under options subtype , delete OPTIONS and POST option of the apache server. -c, clear host white list and disable this function. tcpdump.sh [-h] | [-a] | [-i ethx] [-w filename] [-c packetnumber] [src ipaddress] [and | or] [dst ipaddress] [and | or] [port portnumber] [-k]. Enter tcpdump.sh -a to obtain more information. perf.sh [-h] | [-t] | [-p] | [-c] : para: -t(time) -p(pid) -c(cordid), example: perf.sh, example: perf.sh -t 5 -p 123, example: perf.sh -t 5 -c 2, memstat.sh [-h] [-a] [-c command] : It's just the memstat moudles's command about memory info. Enter memstat.sh -a to obtain more information. hifc.sh -a command [param] Enter hifc.sh -d to obtain more information. bdm_show_sedauth.sh The command is used to show the authentication result of self-encrypting member disks in minisystem mode. erase_disk_data.sh [-h] | [-a] : Enter erase_disk_data.sh -a to obtain more information. bdm_interbiglog_collect.sh [-d SDID] [-r] [-h]: -d SDID, collects the internal logs of a disk based on the disk SDID.-r, clears the collected internal logs. -h, checks the usage of the script. modifymultivnodeswitch.sh [-h] | [-a] : It is just a system control command. Enter modifymultivnodeswitch.sh -a to obtain more information. cli_server_switch_cfg.sh [on|off|show] [-h]: on, Preloading command function using CLI_Server. off, Stops the preloading command function using CLI_Server. show, Queries whether the preloading command function using CLI_Server is enabled. -h, Shows help information. Other command supported: cat cd date disktool du free grep hwclock ifconfig iostat kill ls lsscsi mount ping mv ps rm top umount arp ip route netstat ifconfig ntpq traceroute traceroute6 Storage: minisystem>