This article shows how to check that all necessary services are running prior to starting the Nonstop Software Upgrade (NSSU).
All the respective services must be running prior to starting NSSU on QFabric, otherwise the upgrade can fail. The NSSU enables you to upgrade a QFabric system with minimal packet loss and maximum uptime. This feature introduces several high availability improvements to the QFabric system software upgrade process. When performing a nonstop upgrade, follow this sequence:
root@router0 ~]# /opt/dcf/scripts/fabric_upgrade_sanity_check.pl Checking if director-device upgrade is currently in progress. Checking VM status. Checking for communication between director devices. Checking for aggregator ID mismatches on bond0/bond1. Checking links. Checking inventory status of ICs/FCs. Building inventory information for P6744-C/RE0. Building inventory information for P6749-C/RE0. Building inventory information for FC-0. Building inventory information for FC-1. Checking version for FC-0. Checking version for FC-1. Checking version for P6744-C/RE0. Checking version for P6749-C/RE0. Checking password for FC-0. Checking password for FC-1. Checking password for P6744-C/RE0. Checking password for P6749-C/RE0. ---------------------------------------- The system appears to be ready for upgrade. Warnings: Aggregator ID mismatch in bond1: 4 / 6 Aggregator ID mismatch in bond1: 4 / 6 Link not detected on eth3 Link not detected on eth7
root@Qfabric-router> show fabric administration inventory director-group status Director Group Status Fri Oct 26 05:32:35 CEST 2012 Member Status Role Mgmt Address CPU Free Memory VMs Up Time ------ ------ -------- --------------- --- ----------- --- ------------- dg0 online master 10.209.73.123 23% 19545728k 4 32:43 mins dg1 online backup 10.209.73.124 9% 21493160k 3 32:51 mins Member Device Id/Alias Status Role ------ ---------------- ------- --------- dg0 0281052012000031 online master Master Services --------------- Database Server online Load Balancer Director online QFabric Partition Address online Director Group Managed Services ------------------------------- Shared File System online Network File System online Virtual Machine Server online Load Balancer/DHCP online Hard Drive Status ---------------- Volume ID:04AFE3427A00B004 optimal Physical ID:0 online Physical ID:1 online SCSI ID:1 100% SCSI ID:0 100% Size Used Avail Used% Mounted on ---- ---- ----- ----- ---------- 423G 13G 389G 4% / 99M 20M 75M 21% /boot 93G 12G 82G 13% /pbdata Director Group Processes ------------------------ Director Group Manager online Partition Manager online Software Mirroring online Shared File System master online Secure Shell Process online Network File System online DHCP Server master online primary FTP Server online Syslog online Distributed Management online SNMP Trap Forwarder online SNMP Process online Platform Management online Interface Link Status --------------------- Management Interface up Control Plane Bridge up Control Plane LAG up CP Link [0/2] down CP Link [0/1] up CP Link [0/0] up CP Link [1/2] down CP Link [1/1] up CP Link [1/0] up Crossover LAG up CP Link [0/3] up CP Link [1/3] up Member Device Id/Alias Status Role ------ ---------------- ------- --------- dg1 0281052012000027 online backup Director Group Managed Services ------------------------------- Shared File System online Network File System online Virtual Machine Server online Load Balancer/DHCP online Hard Drive Status ---------------- Volume ID:0045CF9047BE5C52 optimal Physical ID:0 online Physical ID:1 online SCSI ID:1 100% SCSI ID:0 100% Size Used Avail Used% Mounted on ---- ---- ----- ----- ---------- 423G 13G 389G 4% / 99M 20M 75M 21% /boot 93G 12G 82G 13% /pbdata Director Group Processes ------------------------ Director Group Manager online Partition Manager online Software Mirroring online Shared File System master online Secure Shell Process online Network File System online DHCP Server master online backup FTP Server online Syslog online Distributed Management online SNMP Trap Forwarder online SNMP Process online Platform Management online Interface Link Status --------------------- Management Interface up Control Plane Bridge up Control Plane LAG up CP Link [0/2] down CP Link [0/1] up CP Link [0/0] up CP Link [1/2] down CP Link [1/1] up CP Link [1/0] up Crossover LAG up CP Link [0/3] up CP Link [1/3] up
root@Qfabric-router> show fabric administration inventory Item Identifier Connection Configuration Node group NW-NG-0 Connected Configured Node-4 P5293-C Connected Node-5 P5507-C Connected RSNG-1 Connected Configured Node-3 P4799-C Connected Interconnect device IC-P6744-C Connected Configured P6744-C/RE0 Connected IC-P6749-C Connected Configured P6749-C/RE0 Connected Fabric manager FM-0 Connected Configured Fabric control FC-0 Connected Configured FC-1 Connected Configured Diagnostic routing engine DRE-0 Connected Configured
[root@router0 ~]# clustat Cluster Status for sfc_pb_cluster @ Tue Oct 23 23:30:42 2012 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ dg0 1 Online, Local, RG-Master dg1 2 Online, RG-Worker Service Name Owner (Last) State ------- ---- ----- ------ ----- dcfservice:dcf_svc dg0 started service:pbccif_svc0 dg0 started service:pbccif_svc1 dg1 started service:pbgfs_svc0 dg0 started service:pbgfs_svc1 dg1 started service:pblb_dhcp_svc0 dg0 started service:pblb_dhcp_svc1 dg1 started service:pbnfs_svc0 dg0 started service:pbnfs_svc1 dg1 started
[root@router0 ~]# lsvm NODE ACTIVE TAG UUID dg1 1 _DCF_default___NW-INE-0_RE0_ e008ea46-f87d-11e1-929f-00e081cbcbfc dg1 1 _DCF_default___RR-INE-1_RE0_ f48cc334-f87d-11e1-abbe-00e081cbcbfc dg1 1 _TAG_DCF_ROOT_RE1_ 650be992-f87d-11e1-9698-00e081cbcbfc dg0 1 _DCF_default___RR-INE-0_RE0_ eae52de4-f87d-11e1-a767-00e081cbcbfc dg0 1 _DCF_default___NW-INE-0_RE1_ e64c0776-f87d-11e1-b3a4-00e081cbcbfc dg0 1 _TAG_DCF_ROOT_RE0_ 63ea2ac4-f87d-11e1-a230-00e081cbcbfc dg0 1 _TAG_DRE_ 786355ac-f87d-11e1-80d6-00e081cbcbfc
user@qfabric> request system software nonstop-upgrade director-group jinstall-qfabric-12.2X50-D20.4.rpm
user@qfabric> request system software nonstop-upgrade fabric jinstall-qfabric-12.2X50-D20.4.rpm
user@qfabric> request system software nonstop-upgrade node-group nodegroup1 jinstall-qfabric-12.2X50-D20.4.rpm
user@qfabric> request system software nonstop-upgrade node-group [nodegroup1 nodegroup2 nodegroup3] jinstall-qfabric-12.2X50-D20.4.rpm
2021-03-24: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives.