大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全家桶1年46,售后保障稳定
场景:
1、两台服务器 ESXi1,ESXi2
2、两台SAN交换机 FC1,FC2
3、4台SAN存储:store1 and 2,store3 and 4:其中1和2,3和4分别做了级联,12和34之间做了双活。
网络拓扑如图
FC交换机1
–创建zone
zonecreate “Stor1_A_H2_GSJ_ESXI1_P0″,”1,8;2,12” :做端口绑定,将交换机上的1,8-1,11和2,12做zone1,8-1,11分别与4台存储的H2 FC端口连接,2,12与服务器上的P0端口连接。
zonecreate “Stor2_A_H2_GSJ_ESXI1_P0″,”1,9;2,12”
zonecreate “Stor3_A_H2_GSJ_ESXI1_P0″,”1,10;2,12”
zonecreate “Stor4_A_H2_GSJ_ESXI1_P0″,”1,11;2,12”
–将zone加入到配置文件
cfgadd “zone_configure”,”Stor1_A_H2_GSJ_ESXI1_P0″
cfgadd “zone_configure”,”Stor2_A_H2_GSJ_ESXI1_P0″
cfgadd “zone_configure”,”Stor3_A_H2_GSJ_ESXI1_P0″
cfgadd “zone_configure”,”Stor4_A_H2_GSJ_ESXI1_P0″
zonecreate “Stor1_A_H2_GSJ_ESXI2_P0″,”1,8;2,13”
zonecreate “Stor2_A_H2_GSJ_ESXI2_P0″,”1,9;2,13”
zonecreate “Stor3_A_H2_GSJ_ESXI2_P0″,”1,10;2,13”
zonecreate “Stor4_A_H2_GSJ_ESXI2_P0″,”1,11;2,13”
cfgadd “zone_configure”,”Stor1_A_H2_GSJ_ESXI2_P0″
cfgadd “zone_configure”,”Stor2_A_H2_GSJ_ESXI2_P0″
cfgadd “zone_configure”,”Stor3_A_H2_GSJ_ESXI2_P0″
cfgadd “zone_configure”,”Stor4_A_H2_GSJ_ESXI2_P0″
保存配置文件
cfgsave
使配置文件生效
cfgenable zone_configure
FC交换机2
zonecreate “Stor1_B_H2_GSJ_ESXI1_P1″,”1,8;2,12”
zonecreate “Stor2_B_H2_GSJ_ESXI1_P1″,”1,9;2,12”
zonecreate “Stor3_B_H2_GSJ_ESXI1_P1″,”1,10;2,12”
zonecreate “Stor4_B_H2_GSJ_ESXI1_P1″,”1,11;2,12”
cfgadd “zone_configure”,”Stor1_B_H2_GSJ_ESXI1_P1″
cfgadd “zone_configure”,”Stor2_B_H2_GSJ_ESXI1_P1″
cfgadd “zone_configure”,”Stor3_B_H2_GSJ_ESXI1_P1″
cfgadd “zone_configure”,”Stor4_B_H2_GSJ_ESXI1_P1″
zonecreate “Stor1_B_H2_GSJ_ESXI2_P1″,”1,8;2,13”
zonecreate “Stor2_B_H2_GSJ_ESXI2_P1″,”1,9;2,13”
zonecreate “Stor3_B_H2_GSJ_ESXI2_P1″,”1,10;2,13”
zonecreate “Stor4_B_H2_GSJ_ESXI2_P1″,”1,11;2,13”
cfgadd “zone_configure”,”Stor1_B_H2_GSJ_ESXI2_P1″
cfgadd “zone_configure”,”Stor2_B_H2_GSJ_ESXI2_P1″
cfgadd “zone_configure”,”Stor3_B_H2_GSJ_ESXI2_P1″
cfgadd “zone_configure”,”Stor4_B_H2_GSJ_ESXI2_P1″
cfgsave
cfgenable zone_configure
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/206684.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...