一、配置流程
1. 创建VSAN,将端口加入VSAN
2. 创建ZONE,将端口加入ZONE
3. 创建zoneset,将ZONE加入zoneset,并启用zoneset
4. 启用所有端口
二、创建VSAN
#conf t
(config)#vsan database
(config-vsan-db)# vsan 10 name VSAN0010
(config-vsan-db)# vsan 10 interface fc 1/1 – 10
(config-vsan-db)# exit
#show vsan 10 membership
三、创建ZONE
#config t
(config)#zone name ESXI-20-50 vsan 10
(config)#member interface fc1/5
(config)#member interface fc1/5
或
(config)#member pwwn 10:00:00:10:9b:d2:26:62
(config)#member pwwn 50:06:01:6a:49:e0:7b:0c
查看pwwn
(config)#show fcs database
(config)#show flogi database
(config)#zone commit vsan 10
四、配置ZONESET
#config t
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)#member ESXI-20-50
(config-zoneset)#zoneset activate name jxsxzonset vsan 10
(config)#zone commit vsan 10
五、删除vsan、zone、zoneset
删除zone
#config t
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)#no zone name ESXI-20-50 vsan 10
(config)#zoneset activate name jxsxzonset vsan 10
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)# no member ESXI-20-50
(config-zoneset)# zone commit vsan 10
(config)# sh run zone
删除vsan
#conf t
(config)#vsan database
(config-vsan-db)# vsan 1 name VSAN0001
(config-vsan-db)# vsan 1 interface fc 1/1 – 10
(config-vsan-db)# no vsan 10
Do you want to continue? (y/n) y
(config-vsan-db)# show vsan
vsan 1 information
name:VSAN0001 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:down
(config-vsan-db)# exit