Cisco Crosswork 4.0 to 4.1 Upgrade Workflow
This section provides the high-level workflow for upgrading Cisco Crosswork from release 4.0 to release 4.1. This includes upgrading Cisco Crosswork cluster, Cisco Crosswork Data Gateway and Crosswork Applications to Release 4.1, within a single maintenance window.
Each stage in this upgrade workflow must be executed in sequence, and is explained in detail in later sections of this chapter. The stages are:
-
Install the Cisco Crosswork 4.1 Cluster
Note
While the cluster installation is in progress, you must upgrade NSO to version 5.5.2.12. The process to upgrade NSO is not covered in this document. For more information, see the documentation for Cisco NSO 5.5.2.12. Additionally, if you are planning to use Cisco Optimization Engine individually or as part of the Cisco Network Controller solution, upgrade your SR-PCE to the supported version as mentioned in the Crosswork Network Controller Release Notes.
-
Migrate the Cisco Crosswork 4.0 backup to Cisco Crosswork 4.1
The time taken for the entire upgrade window can vary based on size of your deployment profile and the performance characteristics of your hardware.
Warning |
Migration of Cisco Crosswork from 4.0 to 4.1 has the following limitations:
|
Crosswork applications can be independently updated from the Cisco Crosswork UI in case of minor updates or patch releases. For more information, see Update a Crosswork Application (standalone activity).
Shut Down Cisco Crosswork Data Gateway 2.0 VMs
This is the first stage of the upgrade workflow.
Note |
When Crosswork Data Gateway VMs are shut down, the data will not be forwarded to data destinations. Check with the application providers to determine if any steps are needed to avoid alarms or other problems. |
Before you begin
Take screenshots of the all the tabs in the Data Gateway Management page to keep a record of the list of Crosswork Data Gateways, Attached Device Count in the Cisco Crosswork 4.0 UI. In the Pools tab, for each pool listed here, take a screenshot to make a note of the active, spare, and unassigned VM in the pool. This information is useful during Upgrade to Cisco Crosswork Data Gateway 3.0.
Procedure
Step 1 |
Check and confirm that all the VMs are healthy and running in your cluster. |
Step 2 |
Shut down the Cisco Crosswork Data Gateway 2.0 VMs. |
Create Backup and Shut Down Cisco Crosswork 4.0
This is the second stage of the upgrade workflow. Creating a backup is a prerequisite when upgrading your Cisco Crosswork to a new software version.
Note |
We recommend that you create a backup only during a scheduled upgrade window. Users should not attempt to access Cisco Crosswork while the backup operation is running. |
Before you begin
Follow these guidelines whenever you create a backup:
-
Cisco Crosswork will back up the configuration of the system to an external server using SCP. Before you begin you need to have the following configuration in place and information about the SCP server available:
-
The hostname or IP address and the port number of a secure SCP server.
-
A preconfigured path on the SCP server where the backup will be stored.
-
User credentials with file read and write permissions to the directory.
-
The SCP server storage requirements will vary slightly but you must have at least 25 GB of storage.
-
-
Ensure that you have configured a destination SCP server to store the backup files. This configuration is a one-time activity.
-
Both the Cisco Crosswork cluster and the SCP server must be in the same IP environment. For example: If Cisco Crosswork is communicating over IPv6, so must the backup server.
-
Keep a record of the list of Crosswork applications you have installed in the current version of Cisco Crosswork, as you can only install those applications after migrating to the new version of Cisco Crosswork.
-
If you have onboarded a custom MIB package in Cisco Crosswork 4.0, download a copy of the package to your system. You will need to upload the package after you complete migrating to Cisco Crosswork 4.1. See Post-upgrade Checklist for more infomation.
-
If you have modified Cisco Crosswork 4.0 to include third-party device types, you must download the third-party device configuration file, and re-apply it to Cisco Crosswork 4.1. The device configuration file is located on the cluster node (at /mnt/cw_glusterfs/bricks/brick3/sys-oids.yaml) and on the pod (at /mnt/backup/sys-oids.yaml).
-
If Cisco Crosswork Optimization Engine has feature packs (Local Congestion Mitigation (LCM), Bandwidth Optimization (BWOpt), and Bandwidth on Demand (BWoD)) that are enabled, you must disable them before proceeding. You must also, if available, export the current list of interfaces managed by LCM or BWOpt (Traffic Engineering > Local Congestion Mitigation or Bandwidth Optimization > Link Management > Export icon). Follow the steps documented in "Upgrade Crosswork Optimization Engine Feature Packs" in the latest Cisco Crosswork Optimization Engine Release Notes.
Procedure
Step 1 |
Check and confirm that all the VMs are healthy and running in your cluster. |
Step 2 |
Configure an SCP backup server:
|
Step 3 |
Create a backup: |
Step 4 |
After a successful backup, shut down the Cisco Crosswork cluster by powering down the VMs hosting each node (start with the Hybrid VMs):
|
Step 5 |
Move Cisco NSO into read-only mode to avoid any unintended updates to Cisco NSO during the upgrade.
|
Install the Cisco Crosswork 4.1 Cluster
This is the third stage of the upgrade workflow. After the successful backup of Cisco Crosswork 4.0, proceed to install Cisco Crosswork 4.1 cluster.
Note |
The number of nodes installed in Cisco Crosswork 4.1 must be equal or more than the number of nodes in Cisco Crosswork 4.0. |
Before you begin
-
Make sure that your environment meets all the requirements specified under Cisco Crosswork Infrastructure Requirements.
Procedure
Step 1 |
Install Cisco Crosswork 4.1 cluster using any of the installation methods described in Install the Crosswork Cluster.
|
||
Step 2 |
After the installation is completed, log into the Cisco Crosswork UI and check if all the nodes are up and running in the cluster.
|
Install Cisco Crosswork 4.1 Applications
This is the fourth stage of the upgrade workflow. After the successful installation of Cisco Crosswork 4.1 cluster, proceed to install Cisco Crosswork 4.1 applications.
Note |
You can only install 4.1 versions of the Cisco Crosswork applications that were backed up during Create Backup and Shut Down Cisco Crosswork 4.0. |
Procedure
Step 1 |
Install Cisco Crosswork 4.1 applications using the steps described in Install Crosswork Applications. |
Step 2 |
After the applications are successfully installed, check the health of the Cisco Crosswork 4.1 cluster.
|
Migrate the Cisco Crosswork 4.0 backup to Cisco Crosswork 4.1
This is the fifth stage of the upgrade workflow. After the successfully installing Cisco Crosswork 4.1 applications, proceed to migrate the backup of Cisco Crosswork 4.0 on Cisco Crosswork 4.1 cluster.
Before you begin
Before you begin, ensure that you have:
-
The hostname or IP address and the port number of a secure SCP server.
-
The name and path of the backup file created in Create Backup and Shut Down Cisco Crosswork 4.0.
-
User credentials with file read and write permissions to the directory.
Procedure
Step 1 |
Configure an SCP backup server: |
Step 2 |
Migrate the Cisco Crosswork 4.0 backup on the Cisco Crosswork 4.1 cluster: |
Step 3 |
After the data migration is successfully completed, check the health of the Cisco Crosswork 4.1 cluster.
|
Upgrade to Cisco Crosswork Data Gateway 3.0
This is the final stage of the Crosswork 4.0 to Crosswork 4.1 upgrade workflow. Before you proceed, ensure that you have completed all the steps from the previous stages in the upgrade workflow.
Note |
This procedure is required only for a Cisco Crosswork Data Gateway Base VM upgrade. Upgrade of other components, such as collectors, is performed by Cisco Crosswork. |
Cisco Crosswork Data Gateway functions as a passive device in the network. The Crosswork Data Gateway upgrade process consists of shutting down the Crosswork Data Gateway 2.0 VMs and replacing this with the Crosswork Data Gateway 3.0 VMs.
Pools and device mapping information are migrated to the 3.0 VMs by running the Migration Utility API:
https://<VIP>:30603/crosswork/inventory/v1/dg/vdg/migrate
The Migration Utilty API in DLM is an accumulative API. You can safely run it multiple times.
Procedure
Step 1 |
Install new Cisco Crosswork Data Gateway 3.0 VMs with the same number and the same information (management interface importantly) as the Crosswork Data Gateway 2.0 VMs. Follow the steps in the Install Cisco Crosswork Data Gateway. |
||
Step 2 |
Ensure that the new Cisco Crosswork Data Gateway VMs have enrolled with Cisco Crosswork and have the Administration state Up and Operational state as Not Ready. See Cisco Crosswork Data Gateway Authentication and Enrollment. |
||
Step 3 |
Move Cisco NSO out of maintenance or read-only mode. For more information, see Related Documentation for 5.5.2.9.
|
||
Step 4 |
(Optional) If you have onboarded a custom MIB package in Cisco Crosswork 4.0, upload the custom MIB package that you had downloaded (as instructed in Create Backup and Shut Down Cisco Crosswork 4.0). For information on how to do this, see Section: Add a Custom Software Package in the Cisco Crosswork Infrastructure 4.1 Applications and Administration Guide. After uploading the custom MIB package, do the following checks:
|
||
Step 5 |
Fetch the JWT token to run the Migration Utility API.
|
||
Step 6 |
Create Crosswork Data Gateway pools by executing the Migration utility API. https://<VIP>:30603/crosswork/inventory/v1/dg/vdg/migrate
|
||
Step 7 |
Verify that all Crosswork Data Gateway Pools have been created. |
||
Step 8 |
Attach devices to Crosswork Data Gateways 3.0 using Migration Utility API Map the devices from Crosswork Data Gateways 2.0 to the newly created Crosswork Data Gateways 3.0 in Cisco Crosswork 4.1 by running the Migration Utility API (as explained earlier in Step 5). Running the Migration Utility API this time validates the Crosswork Data Gateways and attaches all devices to the corresponding Crosswork Data Gateways from Cisco Crosswork 4.0. |
||
Step 9 |
Verify that devices are attached to the Crosswork Data Gateways 3.0 in the Cisco Crosswork 4.1 UI. |
Troubleshoot Crosswork Data Gateway Upgrade Issues
The following table lists common problems that might be experienced when upgrading the Crosswork Data Gateway, and provides approaches to identifying the source of the problem and solving it.
Issue | Symptom | Recommended Action |
---|---|---|
1. Forgot to enroll one or more Crosswork Data Gateway 3.0 VMs. |
One of the Crosswork Data Gateway pools has not been created. |
Enroll the missing Crosswork Data Gateways and repeat the data migration steps in (Step 5 onwards) in the section Upgrade to Cisco Crosswork Data Gateway 3.0. |
2. Some of the Crosswork Data Gateway VMs were in Error or Degraded state when executing the migration procedure |
One of the Crosswork Data Gateway pools has not been created. |
Wait for the Crosswork Data Gateway VMs to have the state as Up or Not Ready state. Take action if necessary to get the VM to Not Ready state. Repeat the Crosswork Data Gateway data migration steps as described (Step 5 onwards) in the section Upgrade to Cisco Crosswork Data Gateway 3.0. |
3. Crosswork Data Gateway pool has been created with the correct VMs, but a different VM is selected as active from the one that was active in the Cisco Crosswork 4.0 deployment. |
A different VM is selected as active in the Crosswork Data Gateway pool. |
|
4. Crosswork Data Gateway does not have any devices attached to it even after running the VDG migration utility multiple times. |
No devices are attached to the Crosswork Data Gateway. |
|
Post-upgrade Checklist
After the upgrade to Cisco Crosswork 4.1 is completed, check the health of the new cluster. If your cluster is healthy, perform the following activities:
-
Navigate to Administration > Collection Jobs in Cisco Crosswork 4.1 UI and delete the duplicate system jobs.
-
Verify that the collection jobs are running on the Crosswork Data Gateway 3.0 VMs in the Administration > Collection Jobs page. At this point, you can delete the 2.0 VMs.
-
Verify the restored AAA data by logging in using default credentials, and configure custom user roles (Read-Write/Read) in Cisco Crosswork 4.1.
-
(Optional) Based on your network requirements, download the relevant map files from cisco.com and re-upload them to Cisco Crosswork 4.1.
-
(Optional) If any NSO device onboarding policy was set in Cisco Crosswork 4.0, you must update the policy with new Network Element Drivers (NED) on the NSO.
-
(Optional) Re-apply any third-party device configurations (used in Cisco Crosswork 4.0) to Cisco Crosswork 4.1.
-
If you are using Crosswork Optimization Engine, perform the following actions:
-
Upgrade the software versions in your devices as per the supported Cisco IOS XE/XR versions documented in the Cisco Crosswork Optimization Engine Release Notes.
-
Verify feature packs (Local Congestion Mitigation (LCM), Bandwidth Optimization (BWOpt), and Bandwidth on Demand (BWoD)) using the instructions in "Upgrade Crosswork Optimization Engine Feature Packs" in the latest Cisco Crosswork Optimization Engine Release Notes.
-
If you encounter errors in any of the above activities, please contact the Cisco Customer Experience team.