If you’ve
deployed a MetroCluster with the RCF 9.1, but then are requested to change it to
- a pre-ONTAP 9.1 config - RCF 1.4 (due to it being the corporate standard), it’s
not a difficult job. Here are the commands to do it (the RCFs 9.1 and 1.4 are
identical apart from the zoning configuration.) You can do this on a live
MetroCluster, just need to do one Fabric at a time (of course, since this would
be a new deployment, another option is to just load the RCF 1.4 config.)
Fabric 1
## DO THIS ON SITE A's
FAB1_SW1_D5 ##
cfgdisable
cfgclear
cfgsave
cfgshow # Should have no config
zoneshow # Should have no zones
cfgclear
cfgsave
cfgshow # Should have no config
zoneshow # Should have no zones
zonecreate
"QOSH1_MC1_FAB_1_FCVI","5,0;5,3;7,0;7,3"
zonecreate
"MC1_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC1","5,1;5,4;7,1;7,4;5,12"
zonecreate "MC1_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC1","5,2;5,5;7,2;7,5;5,13"
zonecreate
"MC1_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC1","5,1;5,4;7,1;7,4;7,12"
zonecreate
"MC1_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC1","5,2;5,5;7,2;7,5;7,13"
zonecreate
"MC1_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC1","5,1;5,4;7,1;7,4;5,16"
zonecreate
"MC1_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC1","5,2;5,5;7,2;7,5;5,17"
zonecreate
"MC1_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC1","5,1;5,4;7,1;7,4;7,16"
zonecreate
"MC1_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC1","5,2;5,5;7,2;7,5;7,17"
zonecreate
"QOSH2_MC2_FAB_1_FCVI","5,6;5,9;7,6;7,9"
zonecreate
"MC2_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC1","5,7;5,10;7,7;7,10;5,14"
zonecreate
"MC2_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC1","5,8;5,11;7,8;7,11;5,15"
zonecreate
"MC2_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC1","5,7;5,10;7,7;7,10;7,14"
zonecreate
"MC2_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC1","5,8;5,11;7,8;7,11;7,15"
zonecreate
"MC2_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC1","5,7;5,10;7,7;7,10;5,18"
zonecreate
"MC2_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC1","5,8;5,11;7,8;7,11;5,19"
zonecreate
"MC2_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC1","5,7;5,10;7,7;7,10;7,18"
zonecreate
"MC2_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC1","5,8;5,11;7,8;7,11;7,19"
cfgcreate
"CFG_FAB_1_RCF_1_4","QOSH1_MC1_FAB_1_FCVI"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC1_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","QOSH2_MC2_FAB_1_FCVI"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC1"
cfgadd "CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC1"
cfgadd
"CFG_FAB_1_RCF_1_4","MC2_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC1"
cfgshow
zoneshow
cfgshow
zoneshow
## RE-CABLE TO THE RCF_1_4
layout ##
cfgenable
"CFG_FAB_1_RCF_1_4"
Fabric 2
## DO THIS ON SITE B's
FAB2_SW2_D6 ##
cfgdisable
cfgclear
cfgsave
cfgshow # Should have no config
zoneshow # Should have no zones
cfgsave
cfgshow # Should have no config
zoneshow # Should have no zones
zonecreate
"QOSH1_MC1_FAB_2_FCVI","6,0;6,3;8,0;8,3"
zonecreate
"MC1_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC2","6,1;6,4;8,1;8,4;6,12"
zonecreate
"MC1_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC2","6,2;6,5;8,2;8,5;6,13"
zonecreate
"MC1_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC2","6,1;6,4;8,1;8,4;8,12"
zonecreate
"MC1_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC2","6,2;6,5;8,2;8,5;8,13"
zonecreate
"MC1_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC2","6,1;6,4;8,1;8,4;6,16"
zonecreate
"MC1_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC2","6,2;6,5;8,2;8,5;6,17"
zonecreate
"MC1_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC2","6,1;6,4;8,1;8,4;8,16"
zonecreate
"MC1_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC2","6,2;6,5;8,2;8,5;8,17"
zonecreate
"QOSH2_MC2_FAB_2_FCVI","6,6;6,9;8,6;8,9"
zonecreate
"MC2_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC2","6,7;6,10;8,7;8,10;6,14"
zonecreate
"MC2_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC2","6,8;6,11;8,8;8,11;6,15"
zonecreate
"MC2_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC2","6,7;6,10;8,7;8,10;8,14"
zonecreate
"MC2_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC2","6,8;6,11;8,8;8,11;8,15"
zonecreate
"MC2_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC2","6,7;6,10;8,7;8,10;6,18"
zonecreate
"MC2_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC2","6,8;6,11;8,8;8,11;6,19"
zonecreate
"MC2_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC2","6,7;6,10;8,7;8,10;8,18"
zonecreate
"MC2_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC2","6,8;6,11;8,8;8,11;8,19"
cfgcreate
"CFG_FAB_2_RCF_1_4","QOSH1_MC1_FAB_2_FCVI"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC2"
cfgadd "CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC1_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","QOSH2_MC2_FAB_2_FCVI"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_1_SITE_A_STK_GRP_1_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_2_SITE_A_STK_GRP_1_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_1_SITE_B_STK_GRP_2_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_2_SITE_B_STK_GRP_2_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_1_SITE_A_STK_GRP_3_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_2_SITE_A_STK_GRP_3_BOT_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_1_SITE_B_STK_GRP_4_TOP_FC2"
cfgadd
"CFG_FAB_2_RCF_1_4","MC2_INIT_GRP_2_SITE_B_STK_GRP_4_BOT_FC2"
cfgshow
zoneshow
cfgshow
zoneshow
cfgenable
"CFG_FAB_2_RCF_1_4"
Image: Zone Management Using the CLI from the
Comments
Post a Comment