码迷,mamicode.com
首页 > 其他好文 > 详细

华为OceanStore V3,V5统一存储命令行

时间:2019-03-22 22:52:02      阅读:420      评论:0      收藏:0      [点我收藏+]

标签:wap   har   rod   object   ica   metro   warning   group   may   

每逢提起我大华为除了手机和交换机路由器之外总有一种莫名的感觉,不管怎么说,走过几年市场的抨击和just so so的路,大华为也算挺过来了,最先企业IT里最先起步的华为存储也是饱经了风霜(最起码在我们这没少崴脚...)。好了,言归正传,来看一下大华为企业存储里的OceanStore 命令行吧,其实V3及以后,存储系统都统一了,和ios一样,除了配置不同,操作系统都一样,所以也和某友商一样可以跨中高端平台做远程复制和其他数据传输类的操作(类的,注意是类的,但有的行有的不行,还得给我大华为点时间,就像我党。。。)

            华为内部还是很推崇图形界面的。。。不过命令行确实挺烂,最起码无法批量下命令,下几行就全是乱码输入,不知道是命令缓存池小还是怎么回事。

ssh进入到华为的命令行为如下显示内容:

Authorized users only. All activities may be monitored and reported.
Last login: Fri Mar 22 19:02:49 2019 from 172.16.39.2

WARNING: You have accessed the system.
You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited.

System Name : KL02B0601_OCS01
Health Status : Normal
Running Status : Normal
Total Capacity : 912.460TB
SN : 2102351QGRXXXXXXXXXX
Location : ASDFFGF
Product Model : 18500 V5
Product Version : V500R007C10
Time : 2019-03-22/21:25:30 UTC+08:00
Patch Version : SPH006
admin:/>

以下为tab出来的命令,大部分的管理员配置命令都在这里发起:

admin:/> <tab产物>
add change clear create delete exit
export help import poweroff poweron reboot
remove restore scan show swap test
upgrade

一般配置就几个命令打头
show
create
add
change

像delete,remove还是尽量少用。

admin:/>help <help产物>
^
alarm alarm_mask alarm_object
alarm_object_mask antivirus antivirus_scan
antivirus_server assistant_cooling_unit audit
audit_strategy bbu bond_port
bond_port_count bst cache_partition
call_home certificate cli
clone common_config configuration_data
consistency_group controller crl
db devicemanager diagnose_code
disk disk_domain dns_server
dns_zone domain enclosure
event event_config event_restore
exit expansion_module failover_group
fan file file_extension_filter
file_system fs_clone fs_security
fs_snapshot ftds homedir
host host_auto_scan host_group
hyper_metro_consistency_group hyper_metro_domain hyper_metro_pair
hyper_metro_vstore_pair hypervault hypervault_copy
hypervault_job hypervault_policy ib_initiator
ib_port icmp identity_mapping
initiator interface_module iostat
iscsi isns key_service
kmc kms ldap
license license_active logfile
logical_port lun lun_cache
lun_copy lun_destroy_data lun_format_process
lun_group lun_migration lun_migration_split
lun_takeover mapping_view mirror_copy
mirror_domain mirror_lun mm_user
notification ntp_server on_access_scan
performance persistent_mirror port

?介绍了ssh界面的一些操作键说明
admin:/> <?产物>
ERROR REPORTING
The ^ (a caret) indicates a syntax error occurred in the preceding command
statement. The location of a caret in the command statement indicates the
location of the syntax error.

CONTEXT SENSITIVE HELP
[?] - Display context sensitive help. This is either a list of possible
command completions with summaries, or the full syntax of the
current command. A subsequent repeat of this key, when a command
has been resolved, will display a detailed reference.

[CTRL+A] - Display available list of the object that can be used as valid
parameter. It is supported in limited context and the tips will be
promoted after the TAB or space key is pressed.

AUTO-COMPLETION
The following keys both perform auto-completion for the current command line.
If the command prefix is not unique then the bell will ring and a subsequent
repeat of the key will display possible completions.

[Tab] - Auto-complete and display possible inputs.

[Space] - Auto-complete.

MOVEMENT KEYS
[Up] - Move to the previous command line held in history.
[Down] - Move to the next command line held in history.
[Left] - Move the insertion point left one character.
[Right] - Move the insertion point right one character.
[CTRL+Left] - Move the insertion point left one word.
[CTRL+Right] - Move the insertion point right one word.
[CTRL+S] - Move the insertion point to the start of the command line
[CTRL+E] - Move the insertion point to the end of the command line.

DELETION KEYS
[CTRL+C] - Delete the whole line.
[CTRL+D] - Delete the character selected by the cursor.
[CTRL+K] - Delete all the characters to the right of the cursor, including the character selected by the cursor.
[Backspace] - Delete the character to the left of the cursor.

PAGING KEYS
[Enter] - Move to the next line.
[Space] - Move to the next page.
[G] - Move to the last page.

ESCAPE SEQUENCES
Some characters cannot be inputed literally. They should be represented with escape sequences,
which are character sequences beginning with a backslash ("\‘). The following table lists all the
escape sequences:

\ A literal backslash, `\‘.

\s A space.

\q A question-mark, ‘?‘.

| A vertical-line, ‘|‘.

当然除了管理员模式还有工程师模式和开发模式,部分命令比如ping命令要进入到开发者模式里才有,这里就不多说了

admin:/>change user_mode current_mode user_mode=
<user_mode=?> View that you want to enter. Possible values are developer and engineer: 1:"developer": indicates the
developer view. 2:"engineer": indicates the engineer view.

华为OceanStore V3,V5统一存储命令行

标签:wap   har   rod   object   ica   metro   warning   group   may   

原文地址:https://blog.51cto.com/beijingbcf/2367580

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!