搜索
您的当前位置:首页正文

FC光交扩容配置

来源:欧得旅游网

客户现场原有VMware平台扩容两台服务器,新增的两台服务器需要连接原有集群的共享存储,下面是光交侧的配置,让新增的两台服务器可以识别到原有的共享存储
现有环境:两台光交,单台服务器通过HBA卡分别连接到两台光交,光交再连接到存储控制器A,控制器B端,下面是光交扩容的调试配置:
先查看原有配置:

swd77:admin> cfgshow
Defined configuration:
 cfg:   cfg_vmware
                hostA; hostB; hostC; hostD
 zone:  hostA   DL388A_FC1; storage1040_A1; storage1040_B1
 zone:  hostB   DL388B_FC1; storage1040_A1; storage1040_B1
 zone:  hostC   DL388C_FC1; storage1040_A1; storage1040_B1
 zone:  hostD   DL388D_FC1; storage1040_A1; storage1040_B1

 alias: DL388A_FC1
                68:01:43:80:21:e0:52:78
 alias: DL388B_FC1
                68:01:43:80:21:e0:51:c0
 alias: DL388C_FC1
                68:01:43:80:21:e0:51:c4
 alias: DL388D_FC1
                68:01:43:80:12:09:1a:8e
 alias: storage1040_A1
                20:70:00:c0:ff:1e:57:0a
 alias: storage1040_B1
                24:70:00:c0:ff:1e:57:0a

Effective configuration:
 cfg:   cfg_vmware
 zone:  hostA   68:01:43:80:21:e0:52:78
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostB   68:01:43:80:21:e0:51:c0
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostC   68:01:43:80:21:e0:51:c4
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostD   68:01:43:80:12:09:1a:8e
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a

查看新增的两台服务器HBA端口的wwpn号

swd77:admin> switchshow
switchName:     swd77
switchType:     71.2
switchState:    Online   
switchMode:     Native
switchRole:     Principal
switchDomain:   1
switchId:       fffc01
switchWwn:      56:00:c4:f5:7c:a4:78:a8
zoning:         ON (cfg_vmware)
switchBeacon:   OFF
HIF Mode:       OFF

Index Port Address Media Speed       State   Proto
==================================================
   0   0   010000   id    N8       Online      FC  F-Port  20:70:00:c0:ff:1e:57:0a 
   1   1   010100   id    N8       Online      FC  F-Port  24:70:00:c0:ff:1e:57:0a 
   2   2   010200   id    N8       Online      FC  F-Port  68:01:43:80:21:e0:52:78 
   3   3   010300   id    N8       Online      FC  F-Port  68:01:43:80:21:e0:51:c0 
   4   4   010400   id    N8       Online      FC  F-Port  68:01:43:80:21:e0:51:c4 
   5   5   010500   id    N8       Online      FC  F-Port  68:01:43:80:12:09:1a:8e 
   6   6   010600   id    N8       Online      FC  F-Port  56:00:00:56:9b:35:20:14 
   7   7   010700   id    N8       Online      FC  F-Port  56:00:00:56:9b:35:1f:fc 
   8   8   010800   id    N8       No_Light    FC  (No POD License) Disabled
   9   9   010900   --    N8       No_Module   FC  (No POD License) Disabled
  10  10   010a00   --    N8       No_Module   FC  (No POD License) Disabled
  11  11   010b00   --    N8       No_Module   FC  (No POD License) Disabled
  12  12   010c00   --    N8       No_Module   FC  (No POD License) Disabled
  13  13   010d00   --    N8       No_Module   FC  (No POD License) Disabled
  14  14   010e00   --    N8       No_Module   FC  (No POD License) Disabled
  15  15   010f00   --    N8       No_Module   FC  (No POD License) Disabled
  16  16   011000   --    N8       No_Module   FC  (No POD License) Disabled
  17  17   011100   --    N8       No_Module   FC  (No POD License) Disabled
  18  18   011200   --    N8       No_Module   FC  (No POD License) Disabled
  19  19   011300   --    N8       No_Module   FC  (No POD License) Disabled
  20  20   011400   --    N8       No_Module   FC  (No POD License) Disabled
  21  21   011500   --    N8       No_Module   FC  (No POD License) Disabled
  22  22   011600   --    N8       No_Module   FC  (No POD License) Disabled
  23  23   011700   --    N8       No_Module   FC  (No POD License) Disabled

可以看到,新增的两台服务器的HBA端口wwpn号为
主机1:wwpn:56:00:00:56:9b:35:20:14
主机2:wwpn:56:00:00:56:9b:35:1f:fc
开始为新增的两台主机创建别名

swd77:admin> alicreate “DL388E_FC1”,“56:00:00:56:9b:35:20:14”
swd77:admin> alicreate  “DL388F_FC1”,“56:00:00:56:9b:35:1f:fc”

创建zone并将主机E和存储的控制器A和B添加在一个zone里面

swd77:admin> zonecreate "hostE","DL388E_FC1"
swd77:admin> zoneadd "hostE","storage1040_A1"
swd77:admin> zoneadd "hostE","storage1040_B1"

创建zone并将主机F和存储的控制器A和B添加在一个zone里面
swd77:admin> zonecreate “hostF”, “DL388F_FC1”
swd77:admin> zoneadd “hostF”,“storage1040_A1”
swd77:admin> zoneadd “hostF”,“storage1040_B1”
将新创建的zone添加到已有的cfg里面去

swd77:admin> cfgadd "cfg_vmware","hostE"
swd77:admin> cfgadd "cfg_vmware","hostF"

enable一下cfg

swd77:admin> cfgenable "cfg_vmware"
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected. If the update includes changes 
to one or more traffic isolation zones, the update may result in  
localized disruption to traffic on ports associated with
the traffic isolation zone changes.
Do you want to enable 'cfg1' configuration  (yes, y, no, n): [no] y
zone config "cfg_vmware" is in effect
Updating flash ...

最后再保存一下cfg配置

swd77:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
If the update includes changes to one or more traffic isolation
zones, you must issue the 'cfgenable' command for the changes
to take effect.
Do you want to save the Defined zoning configuration only?  (yes, y, no, n): [no] y
Nothing changed: nothing to save, returning ...

查看一下cfg配置是否生效

swd77:admin> cfgshow
Defined configuration:
 cfg:   cfg_vmware
                hostA; hostB; hostC; hostD; hostE; hostF
 zone:  hostA   DL388A_FC1; storage1040_A1; storage1040_B1
 zone:  hostB   DL388B_FC1; storage1040_A1; storage1040_B1
 zone:  hostC   DL388C_FC1; storage1040_A1; storage1040_B1
 zone:  hostD   DL388D_FC1; storage1040_A1; storage1040_B1
 zone:  hostE   DL388E_FC1; storage1040_A1; storage1040_B1
 zone:  hostF   DL388F_FC1; storage1040_A1; storage1040_B1
 alias: DL388A_FC1
                68:01:43:80:21:e0:52:78
 alias: DL388B_FC1
                68:01:43:80:21:e0:51:c0
 alias: DL388C_FC1
                68:01:43:80:21:e0:51:c4
 alias: DL388D_FC1
                68:01:43:80:12:09:1a:8e
 alias: DL388E_FC1
                56:00:00:56:9b:35:20:14
 alias: DL388F_FC1
                56:00:00:56:9b:35:1f:fc
 alias: storage1040_A1
                20:70:00:c0:ff:1e:57:0a
 alias: storage1040_B1
                24:70:00:c0:ff:1e:57:0a

Effective configuration:
 cfg:   cfg_vmware
 zone:  hostA   68:01:43:80:21:e0:52:78
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostB   68:01:43:80:21:e0:51:c0
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostC   68:01:43:80:21:e0:51:c4
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostD   68:01:43:80:12:09:1a:8e
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostE   56:00:00:56:9b:35:20:14
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a
 zone:  hostF   56:00:00:56:9b:35:1f:fc
                20:70:00:c0:ff:1e:57:0a
                24:70:00:c0:ff:1e:57:0a

查看已经生效,至此第一台光交扩容已经配置完成,第二台依照第一台的配置方法来操作即可。

因篇幅问题不能全部显示,请点此查看更多更全内容

Top