CSM 1.3 includes full support for the Bifurcated CAN feature, specifically deployment of user traffic on the high speed network (CHN). Other switch related changes for the release are minimal.
Note As of CSM 1.3 CANU generates edge router (Arista) configurations, but only those required for CSM.
Switch configuration upgrades for CSM 1.3 should be completed by a networking subject matter expert. While addition of ACLs is a relatively safe process, the migration of user traffic from the management network CAN to the high speed network CHN is sequence dependent and not without risk. Strict attention to the cut-over sequence will minimize downtime to UAN NCNs.
At the end of the CSM 1.3 upgrade process or at the end of the process to migrate from CAN to CHN.
Unlike most upgrades, the CSM 1.3 management network switch configuration changes come at the end of the system upgrade, not at the beginning. This allows the continued operations of services during upgrade. Additionally, UAN can be operated normally and any reboot or rebuild operations can be scheduled between between administrators and UAN users.
--custom-config
flag.
ncn-m001#
) Download the latest CANU RPM with the release RPM URLncn-m001#
) Upgrade CANU with rpm -Uvh <release RPM URL>
(ncn-m001#
) Use CANU to backup the switch running configurations.
Enter the switch administrative password when prompted.
mkdir switch-configs-csm-1.3
cd switch-configs-csm-1.3
canu backup network --folder running
(ncn-m001#
) Pull SLS data from the system.
cray sls dumpstate list --format json | jq -S . > sls_input_file.json
(ncn-m001#
) Use CANU to generate new switch configurations. Shown below is an example using the preferred CCJ/Paddle file.
canu generate network config --csm 1.3 --architecture <full|tds|v1> --ccj <system-ccj.json> --custom-config <system-custom-config.yaml> --folder generated --sls-file sls_input_file.json
full
architecture is defined as Aruba switches with leaf switches connected to spines - no NCNs on spines.tds
architecture is defined as Aruba switches with NCNs connected directly to the spine switches.v1
architecture is defined as any system with Mellanox and Dell switches.For each switch in the system, determine the configuration differences.
(ncn-m001#
) Use CANU to see the differences between the 1.2 and 1.3 switch configurations.
canu validate switch config --running ./running/<switch.cfg> --generated ./generated/<switch.cfg> --vendor <aruba|mellanox|dell> --remediation
(ncn-m001#
) Only during 1.2 to 1.3 upgrades.
canu test --csm 1.2
(ncn-m001#
) During CAN to CHN migration.
canu test --csm 1.3
All tests should pass or have a known and explainable reason for failing.
For each switch in the system, apply the configuration changes in two stages:
prefix-list
and route-maps
.Important In addition to complete spine
, leaf
and leaf-bmc
configurations, CANU now generates Arista edge router configurations required for CSM. These configurations must be applied as well if CHN is used.
(ncn-m001#
) Set the switch configuration version string to be placed in <CONFIG VERSION STRING>
.
echo "CSM_1_3_$(canu --version | tr -d ',' | cut -f 1,3 -d ' ' | tr ' .' '_' | tr '[:lower:]' '[:upper:]')"
(switch#
) Save the configuration. Replace <CONFIG VERSION STRING>
with the value shown in the previous step.
write memory
copy running-config checkpoint <CONFIG VERSION STRING>
(ncn-m001#
) Use CANU to test the network.
canu test --csm 1.3
All tests should pass or have a known and explainable reason for failing.