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

每逢提起我大华为除了手机和交换机路由器之外总有一种莫名的感觉,不管怎么说,走过几年市场的抨击和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.

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

时间: 2024-08-02 12:22:30

华为OceanStore V3,V5统一存储命令行的相关文章

Linux 程序设计学习笔记----命令行参数处理

转载请注明出处.http://blog.csdn.net/suool/article/details/38089001 问题引入----命令行参数及解析 在使用linux时,与windows最大的不同应该就是经常使用命令行来解决大多数问题.比如下面这样的: 而显然我们知道C语言程序的入口是mian函数,即是从main函数开始执行,而main函数的原型是: int main( int argc, char *argv[] ); int main( int argc, char **argv );

go语言 从命令行获取参数解析

go语言内置的flag包实现了命令行参数的解析,flag包使得开发命令行工具更为简单. os.Args 如果你只是简单的想要获取命令行参数,可以像下面的示例代码一样使用os.Args来获取命令行参数 package main import "fmt" import "os" func main(){ if len(os.Args)>0 { for index , value := range os.Args { fmt.Println(index, value

mongodb命令行的使用-让你的数据存储更高效

mongodb简介 mongodb 是目前在IT行业非常流行的一种非关系型数据库(NoSql),其灵活的数据存储方式备受当前IT从业人员的青睐.特点:高性能.易部署.易使用,存储数据非常方便.本文将介绍mongodb的命令行的使用方法,让mongodb的操作更加高效. mongodb特点:高性能.易部署.易使用,存储数据非常方便. 功能特性: 面向集合存储,易存储对象类型的数据 模式自由 支持动态查询 支持完全索引,包含内部对象 支持查询 支持复制和故障恢复 使用高效的二进制数据存储,包括大型对

华为交换机的命令行

华为交换机的命令行 <Huawei>用户视图 [Hawei]系统视图 1.<Huawei>system-view 将用户视图转化为系统视图2.[Hawei]interface + 接口类型 + 接口型号 将系统视图转化为接口视图 3.[Hawei] + ospf 将系统视图转化为协议视图 4.[Hawei] + sysname + 名字 配置主机名字 5.<Hawei>display version 显示VRP版本6.<Hawei>display curre

21.5-21.8 memcached命令行、导出与导入、PHP连接memcached、存储会话

21.5 memcached命令行 创建数据 yum install -y telnet 利用telnet命令连接memcached数据库 telnet 127.0.0.1 11211 #写入数据 set key2 0 30 2 12 STORED 这个是错误的示范,因为0 30 已经存在 set key 0 30 3 12 CLIENT_ERROR bad data chunk ERROR 检测存储状态 #利用get key值查看 get key END get key2 END #因为定义了

华为eNSP中交换机命令行简单介绍

华为eNSP简单介绍1.华为交换机的命令行用户视图 <huawei> 系统视图 [huawei] <Huawei>system-view //从用户视图进入系统视图 接口视图 [Huawei]interface Ethernet 0/0/1[Huawei-Ethernet0/0/1]协议视图2.视图间的转换quit 返回上一视图return/Ctrl+Z返回用户视图3.配置交换机名称<Huawei>system-view[Huawei]sysname dqq[dqq]4

华为-命令行基础(一)

====================命令行基础===================== 设置时钟:<AR1>clock timezone BJ add 08:00:00<AR1>clock datetime 17:36 2016-10-22<AR1>display clock 2016-10-22 17:36:20SaturdayTime Zone(8) : UTC+08:00<AR1>clock timezone BJ add 08:00:00 &l

华为命令行基础

不能算是原创,只能说是自己整理的!! 命令行基础 基本配置 sysname     配置设备名称 sysname RTA 配置系统时钟 clock timezone  设置所在时区 clock datetime  设置当前时间和日期 clock daylight-saving-time  设置采用夏时制 clock timezone BJ add 08:00:00 clock datetime 10:20:90 2013-04-11 display clock 配置标题消息 header log

APUE第7章进程环境 命令行参数 环境表 存储布局

7.4命令行参数