增加虚拟化主机连接共享存储资源案例

增加二台虚拟化主机加入到虚拟化集群,同时访问存储资源!

二台虚拟化主机连接到存储的zone配置###############################################################################
a交换机

alicreate "vmware07_fc1","21:00:00:xx:xx:xx:xx:01"
alicreate "vmware08_fc1","21:00:00:xx:xx:xx:xx:02"


zonecreate "vmware07_fc1_G200_2A","vmware07_fc1;G200_2A"
zonecreate "vmware07_fc1_G200_4A","vmware07_fc1;G200_4A"
zonecreate "vmware07_fc1_G200_6A","vmware07_fc1;G200_6A"
zonecreate "vmware07_fc1_G200_8A","vmware07_fc1;G200_8A"

zonecreate "vmware08_fc1_G200_2A","vmware08_fc1;G200_2A"
zonecreate "vmware08_fc1_G200_4A","vmware08_fc1;G200_4A"
zonecreate "vmware08_fc1_G200_6A","vmware08_fc1;G200_6A"
zonecreate "vmware08_fc1_G200_8A","vmware08_fc1;G200_8A"

cfgadd "cfg1","vmware07_fc1_G200_2A"
cfgadd "cfg1","vmware07_fc1_G200_4A"
cfgadd "cfg1","vmware07_fc1_G200_6A"
cfgadd "cfg1","vmware07_fc1_G200_8A"

cfgadd "cfg1","vmware08_fc1_G200_2A"
cfgadd "cfg1","vmware08_fc1_G200_4A"
cfgadd "cfg1","vmware08_fc1_G200_6A"
cfgadd "cfg1","vmware08_fc1_G200_8A"


cfgsave
cfgenable "cfg1"
###############################################################################
B交换机

alicreate "vmware07_fc2","21:00:00:xx:xx:xx:xx:03"
alicreate "vmware08_fc2","21:00:00:xx:xx:xx:xx:04"


zonecreate "vmware07_fc2_G200_1A","vmware07_fc2;G200_1A"
zonecreate "vmware07_fc2_G200_3A","vmware07_fc2;G200_3A"
zonecreate "vmware07_fc2_G200_5A","vmware07_fc2;G200_5A"
zonecreate "vmware07_fc2_G200_7A","vmware07_fc2;G200_7A"

zonecreate "vmware08_fc2_G200_1A","vmware08_fc2;G200_1A"
zonecreate "vmware08_fc2_G200_3A","vmware08_fc2;G200_3A"
zonecreate "vmware08_fc2_G200_5A","vmware08_fc2;G200_5A"
zonecreate "vmware08_fc2_G200_7A","vmware08_fc2;G200_7A"


cfgadd "cfg1","vmware07_fc2_G200_1A"
cfgadd "cfg1","vmware07_fc2_G200_3A"
cfgadd "cfg1","vmware07_fc2_G200_5A"
cfgadd "cfg1","vmware07_fc2_G200_7A"

cfgadd "cfg1","vmware08_fc2_G200_1A"
cfgadd "cfg1","vmware08_fc2_G200_3A"
cfgadd "cfg1","vmware08_fc2_G200_5A"
cfgadd "cfg1","vmware08_fc2_G200_7A"

cfgsave
cfgenable "cfg1"
###############################################################################
加入存储端的主机组的hostgroupraidcom add hba_wwn -port  CL1-A vmware -hba_wwn 210000xxxxxxxx01 -IH0
raidcom add hba_wwn -port  CL1-A vmware -hba_wwn 210000xxxxxxxx02 -IH0
raidcom add hba_wwn -port  CL1-A vmware -hba_wwn 210000xxxxxxxx03 -IH0
raidcom add hba_wwn -port  CL1-A vmware -hba_wwn 210000xxxxxxxx04 -IH0
raidcom add hba_wwn -port  CL2-A vmware -hba_wwn 210000xxxxxxxx01 -IH0
raidcom add hba_wwn -port  CL2-A vmware -hba_wwn 210000xxxxxxxx02 -IH0
raidcom add hba_wwn -port  CL2-A vmware -hba_wwn 210000xxxxxxxx03 -IH0
raidcom add hba_wwn -port  CL2-A vmware -hba_wwn 210000xxxxxxxx04 -IH0
raidcom add hba_wwn -port  CL3-A vmware -hba_wwn 210000xxxxxxxx01 -IH0
raidcom add hba_wwn -port  CL3-A vmware -hba_wwn 210000xxxxxxxx02 -IH0
raidcom add hba_wwn -port  CL3-A vmware -hba_wwn 210000xxxxxxxx03 -IH0
raidcom add hba_wwn -port  CL3-A vmware -hba_wwn 210000xxxxxxxx04 -IH0
raidcom add hba_wwn -port  CL4-A vmware -hba_wwn 210000xxxxxxxx01 -IH0
raidcom add hba_wwn -port  CL4-A vmware -hba_wwn 210000xxxxxxxx02 -IH0
raidcom add hba_wwn -port  CL4-A vmware -hba_wwn 210000xxxxxxxx03 -IH0
raidcom add hba_wwn -port  CL4-A vmware -hba_wwn 210000xxxxxxxx04 -IH0
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值