HP Virtual Connect Migration Guide

Technical white paper | Virtual Connect Migration Techniques
15
...
...
...
# FC ports for the HP VC FlexFabric 10Gb/24-Port modules are specified with a leading 'X'.
# But when adding the fabric the port numbers are specified without the leadin 'X'.
# See the note on the VCMCLI help text for 'add fabric'.
add fabric SAN-A Type=FabricAttach Bay=1 Ports=1,2 Speed=Auto LinkDist=Auto
# FC ports for the HP VC FlexFabric 10Gb/24-Port modules are specified with a leading 'X'.
# But when adding the fabric the port numbers are specified without the leadin 'X'.
# See the note on the VCMCLI help text for 'add fabric'.
add fabric SAN-B Type=FabricAttach Bay=2 Ports=1,2 Speed=Auto LinkDist=Manual
The FlexFabric-20/40 F8 modules have uplink ports X1-X8, and Q1-Q4. For purposes of this document we will not address
the use of the QSFP+ ports (Q1-Q4). The 20/40 F8 X1-X8 ports have similar capabilities to X1-X8 on the original FlexFabric
module. Please note that X5-X6 and X7-X8 on the 20/40 F8 are “paired” ports, and must be used for the same function i.e.
Ethernet or FC. The ports from the FlexFabric module must be remapped to valid, connected uplink ports on the 20/40 F8
modules.
After modification, the uplink port section of the script could look like the following:
add uplinkset UplinkSet_A ConnectionMode=Auto
add uplinkport enc0:1:X1 UplinkSet=UplinkSet_A Speed=Auto
add uplinkport enc0:1:X2 UplinkSet=UplinkSet_A Speed=Auto
add uplinkset UplinkSet_B ConnectionMode=Auto
add uplinkport enc0:2:X1 UplinkSet=UplinkSet_B Speed=Auto
add uplinkport enc0:2:X2 UplinkSet=UplinkSet_B Speed=Auto
...
...
...
# FC ports for the HP VC FlexFabric 10Gb/24-Port modules are specified with a leading 'X'.
# But when adding the fabric the port numbers are specified without the leadin 'X'.
# See the note on the VCMCLI help text for 'add fabric'.
add fabric SAN-A Type=FabricAttach Bay=1 Ports=5,6 Speed=Auto LinkDist=Auto
# FC ports for the HP VC FlexFabric 10Gb/24-Port modules are specified with a leading 'X'.
# But when adding the fabric the port numbers are specified without the leadin 'X'.
# See the note on the VCMCLI help text for 'add fabric'.
add fabric SAN-B Type=FabricAttach Bay=2 Ports=5,6 Speed=Auto LinkDist=Manual
The actual port numbers will depend on where the physical LAN connections will be attached after the new VC modules are
installed. In this case, we move both SAN connections to the paired ports X5-X6.
Move ASSIGN PROFILE Commands to a Separate Script File
For each assigned profile within a domain, there will be an ASSIGN PROFILE line in the script. All of the ASSIGN PROFILE script
lines should be removed from the script file and placed into a separate script file which we will use later, i.e SCRIPT3. Based
on our example in Appendix B, this is how our SCRIPT3 file would look:
assign profile Profile_enc0_01 enc0:1
assign profile Profile_enc0_02 enc0:2
assign profile Profile_enc0_15 enc0:9
assign profile Profile_enc0_05 enc0:5
assign profile Profile_enc0_06 enc0:6
assign profile Profile_enc0_13 enc0:13
assign profile Profile_enc0_14 enc0:14
Modifying the Script to Migrate Existing Server Profiles
The SHOW CONFIG script output from VC 4.20 contains all the server identifiers needed to recreate your profiles . Shown
below are all the commands used to create one profile – so you can see the process to do this.
add profile Profile_enc0_15 -NoDefaultEnetConn -NoDefaultFcConn -NoDefaultFcoeConn -quiet NAG=Default
HideUnusedFlexNICs=true SNType=Pool-Specified SerialNumber=VCX0000802
add enet-connection Profile_enc0_15 Network=Network_255a PXE=UseBIOS AddressType=Pool-Specified
EthernetMac=00-17-A4-77-20-1E iSCSIMac=00-17-A4-77-20-1F
add enet-connection Profile_enc0_15 Network=Network_255b PXE=UseBIOS AddressType=Pool-Specified
EthernetMac=00-17-A4-77-20-20 iSCSIMac=00-17-A4-77-20-21
add enet-connection Profile_enc0_15 Network=Network_101a PXE=UseBIOS AddressType=Pool-Specified
EthernetMac=00-17-A4-77-20-22 iSCSIMac=00-17-A4-77-20-23
add enet-connection Profile_enc0_15 Network=Network_101a PXE=UseBIOS AddressType=Pool-Specified
EthernetMac=00-17-A4-77-20-24 iSCSIMac=00-17-A4-77-20-25