Migrate Cisco Prime Infrastructure 3.10 data to Cisco DNA Center

This chapter provides helpful information on the compatibility matrix, migrating data and important points related to migrating Cicso Prime Infrastructure 3.10 to Cicso DNA Center.

Migrating Data from Cisco Prime Infrastructure 3.10 to Cisco Digital Network Architecture Center

Follow this procedure to access the Cisco Prime Infrastructure to Cisco DNA Center migration by logging in to Cisco Prime Infrastructure:

Procedure


Step 1

Click Cisco DNA Center coexistence in the Mega Menu page.

You can also launch Cisco DNA Center coexistence from the Getting Started page. Choose Settings > Getting Started > Cisco DNA Center coexistence, and then click Launch Cisco DNA Center coexistence to open Prime Infrastructure - Cisco DNA Center Coexistence page.

Step 2

Click Add Cisco DNA Center Server.

Step 3

Enter the following Cisco DNA Center server details:

  1. Server IP Address or Hostname.

  2. Username

  3. Password

  4. Confirm Password

Note

 

You can integrate only one Cisco DNA Center server at a time.

Step 4

Click Save, to check server reachability.

Step 5

Click Next to go to Sync Settings.

Step 6

In the Sync Settings window:

  1. You can check for the Supported/Available Limits of the Cisco DNA Center server for the Site Groups/Site Maps and Devices. Supported/Available Limits of Cisco DNA Center will vary based on the Cisco DNA Center server core(s) count.

    The Supported/Available limits are specified in the below table:

    Table 1. Supported/Available Limits

    DNAC Core

    Site Groups/Site Maps

    Devices

    Templates

    44-Core

    500

    1000

    1000

    56-Core

    1000

    4000

    1000

    112-Core

    2000

    5000

    1000

  2. Select the Enables automatic synchronization of data integrated with Cisco DNA Center check box to synchronize already migrated data set for the groups and devices from Prime Infrastructure to Cisco DNA Center automatically post modification.

  3. Select the Include newly added data during dynamic synchronization checkbox to move newly created groups and newly added devices during dynamic synchronization if any, from Prime Infrastructure to Cisco DNA Center automatically post addition.

    Note

     

    Dynamic Synchronization does not support add, update or delete operations for the already migrated data and will not synchronize the data automatically for the following components:

    • Maps

    • CLI Templates

    • ISE Server

    Maps, CLI templates, and ISE server migration is achieved only by Force Sync.

    • This check box is enabled only if you select the Enables automatic synchronization of data integrated with Cisco DNA Center check box.

    • During force synchronization, if the Enables automatic synchronization of data integrated with Cisco DNA Center check box is enabled, any modifications that are made through force synchronization to the Location Group and Devices entities are dynamically synced in Cisco DNA Center.

    • If the Enables automatic synchronization of data integrated with Cisco DNA Center check box is selected, CMX is dynamically assigned to Cisco DNA Center floor groups, when Cisco Prime Infrastructure imports maps to CMX. (Pre Req.: CMX dynamic sync works only on already migrated floor groups and CMX should exist in Cisco DNA Center server for CMX dynamic sync.)

  4. If you select the Enable CMX settings check box, CMX will be pushed with floor groups. If you do not select the Enable CMX settings check box, CMX data will not be pushed to the Cisco DNA Center server.

  5. If you select the Enable ISE settings check box, ISE server details will be pushed. If you do not select the Enable ISE settings check box, ISE data will not be pushed to the Cisco DNA Center server.

  6. Select the Migrate User Defined CLI Templates check box to migrate the user defined CLI and/or Composite Templates to Cisco DNA Center.

Step 7

Click Next to go to the Select Groups page.

Step 8

In the Select Groups window:

Expand the Usage Details section to view a summary of the site and device count details such as Recommended, Selected for Migration, and Available.

  1. If you want to move an entire group hierarchy to Cisco DNA Center, check the Replicate Parent Hierarchy check box and select the location groups from the Prime Infrastructure Location Groups pane.

    By default, when you select Site Groups, the buildings, floors, and associated maps are also selected.

    Click Select DNAC Parent below the Prime Infrastructure Location Groups pane to open the Cisco DNA Center Site Groups window.

    Marked for Deletion label appears when you unselect an already migrated group.

    Select Global from the Cisco DNA Center Site Groups pane under which you want to move the PI groups and click OK. The selected groups will be added in the Group Movement Log pane with the label as Marked for Migration.

  2. If you want to move only a building or a floor to Cisco DNA Center under a different campus or area, click Select DNAC Parent below the Prime Infrastructure Location Groups pane to open the Cisco DNA Center Site Groups window.

    Select a campus or an area from Cisco DNA Center Site Groups under which you need to move the building and select a building from Cisco DNA Center Site Groups under which you need to move the floor and click OK. The selected groups will be added in the Group Movement Log pane with the label as Marked for Migration.

If you click the Close or Cancel buttons in the Cisco DNA Center Site Groups window, the window closes without selecting any groups for migration and the Group Movement Log pane is not updated with the selected groups.

After you move the groups from Prime Infrastructure to Cisco DNA Center, Marked for Migration label appears on the moved groups.

Already migrated groups from Prime Infrastructure to Cisco DNA Center appear with the label as Migrated in the Prime Infrastructure Location Groups pane as well as the Group Movement Log pane.

The count of selected groups for migration appears as Selected for Migration under Sites. The count of selected devices for migration appears as Selected for Migration under Devices in Usage details.

Available groups count in Cisco DNA Center appears in the Available section under Sites and available devices count in Cisco DNA Center appears in the Available section under Devices in Usage details.

The Prime Infrastructure Location Groups pane lists all the Cisco Prime Infrastructure groups irrespective of any virtual domain.

Note

 

Cisco Prime Infrastructure does not migrate devices assigned in a "Campus" to the Cisco DNA Center, when the co-existence tool is used.

As a workaround, you can assign your devices to a "Building" or "Floor" type location group before using the co-existence tool.

Note

 

Devices assigned in the Location groups with 'Default' Group type are not migrated to Cisco DNA Center.

To create sites directly in Cisco DNA Center so that you can move your sites from Prime Infrastructure to Cisco DNA Center, click DNAC Site Builder.

In the DNAC Site Builder window, if you select the Area radio button, enter the following information:

  • Site Name: Site name that you can create in Cisco DNA Center.

  • Parent Site: Cisco DNA Center parent under which you can create the site.

In the DNAC Site Builder window, if you select the Building radio button to create a building in the Cisco DNA Center Area, enter the following information:

  • Site Name: Building name that you can create in Cisco DNA Center.

  • Parent Site: Cisco DNA Center parent under which you can create the building.

  • Civic Location: Enter the civic location details under which you want to create the building.

  • GPS (Latitude/Longitude): These co-ordinates are auto-populated.

Click Add to create a site or building in Cisco DNA Center.

Step 9

Click Next.

Step 10

In the ISE & CMX Credentials window:

  1. Click the ISE tab to view the ISE server details that are present in Prime Infrastructure such as:

    • Server Status

    • Server IP

    • Port

    • Server Name

    • Username

    • Shared Secret: You must ensure that this shared secret field is not empty.

    • Timeout: This value must not exceed 20.

    • Retries

    If no ISE server is present in Prime Infrastructure, a No data available message appears.

  2. Click the CMX tab to can view the list of associated CMX servers for selected groups with the following details:

    • Credential Status

    • Server IP address

    • Device Name

    • Username

    • Password

    • SSH Username

    • SSH Password

    You must update the SSH Username and SSH Password, if it is not available for the respective CMX.

    If the associated CMX is not found, then click Next

    Note

     

    When the Cisco Prime Infrastructure – Cisco DNA Center migration tool is active and auto sync is enabled, then CMX will be dynamically pushed to Cisco DNA Center floor groups. Cisco DNA Center will there by track the location data for assigned groups.

Step 11

If you check the Migrate User Defined CLI Templates check box in the Sync Settings page, then a new page Select CLI Templates appears after the CMX page.

Step 12

In the Select CLI Templates window:

  1. Non-Migrated templates list all the applicable user defined CLI and, or , or both Composite templates for the device types in the selected groups for migration to Cisco DNA Center.

  2. Migrated templates list all the migrated templates available in Cisco DNA Center. You can either update or delete these templates.

    Note

     

    By default all the rows are selected. Selected templates from the list are updated and the deselected templates are deleted from Cisco DNA Center.

Step 13

Click Next.

Step 14

In the Summary window:

  1. You can view the overall summary of selected location groups, devices, associated maps, user-defined templates, CMX sesrvers, and ISE servers before migrating to the Cisco DNA Center.

  2. You can also view the groups, devices, maps, ISE, and CMX that are added, updated and deleted under each respective tab.

  3. Click the CLI templates tab to view the selected CLI templates listed here. Based on the device selection in the groups you can Add/Update or Delete the CLI/Composite user defined Templates in Cisco DNA Center.

  4. In the Sync Settings tab, you can view the summary of the sync status.

Step 15

Click Force Sync to push data to the Cisco DNA Center server after the first migration.

A confirmation message appears DNAC data will be overwritten by PI data by the Force Sync. Click Yes to proceed or No to stop Force Sync.

A success message appears after the successful completion of the Force Sync operation.


What to do next

  1. If you want to revert the site hierarchy in Cisco DNA Center, uncheck the migrated groups in the Prime Data Migration tool and click Force Sync. This step deletes the migrated groups in Cisco DNA Center.

    If you want to revert the device assignment (devices will be unassigned from Cisco DNA Center sites and assigned to migrated groups if the same devices are present both in Cisco Prime Infrastructure groups and Cisco DNA Center sites), perform the following steps:

    • Uncheck the migrated groups in the Prime Data Migration tool and click Force Sync. This step deletes the migrated groups and devices in Cisco DNA Center.

    • Add and assign or provision the devices in Cisco DNA Center in the required sites.

    The pre-migration site hierarchy appears in Cisco DNA Center.

    To migrate your Cisco Prime Infrastructure data again, unassign the devices in Cisco Prime Infrastructure for the required groups and migrate the data.

  2. Prime Infrastructure provides Multi-DNAC support. This feature allows you to migrate to multiple DNAC clusters (one DNAC server at a time) and retain the migration data for each DNAC server. For more information, see Multi-DNAC Support.

  3. Refer the important notes about Cisco Prime Infrastructure - Cisco DNA Center migration at Important Notes.

  4. Refer the open bugs specific to the Cisco Prime Infrastructure - Cisco DNA Center migration in Prime Infrastructure 3.10 at Open Caveats.

Multi-DNAC Support

In earlier releases, you can only integrate one Cisco DNA Center server with one Cisco Prime Infrastructure server.

Multi-DNAC support allows you to migrate to multiple Cisco DNA Center clusters (one Cisco DNA Center server at a time) and retain the migration data for each Cisco DNA Center server.

You can take backup of the migration data of a Cisco DNA Center server. These backup files are available at /opt/CSCOlumos/multiDNAC and contain information about migrated groups, site locations, templates, ISE server, and CMX server. You can restore the archive files anytime.

In Prime Infrastructure, you must use a script for the multi-DNAC support. To invoke the script, go to /opt/CSCOlumos/bin and execute the command: . run_command.sh multi-dnac.

The script provides the following options:

  1. List available DNAC archives: Displays the list of archives available.

  2. Backup the current paired DNAC server: Cisco DNA Center server that is in the migration tool and its details are backed up.

  3. Backup current paired DNAC server and load DNAC archive: Current Cisco DNA Center server and its details are backed up and you are prompted to load any other available archive by entering the IP address.

  4. Delete DNAC archives: Enter the IP address of the DNAC archive to delete its backup details.

  5. Quit

The stored Cisco DNA Center archives are available with the Cisco DNA Center server’s IP address as the prefix. The command allows one archive per Cisco DNA Center server and you can backup the data any number of times. The latest configuration overwrites with the existing archive. The maximum number of archives depends on the disk storage and there are no restrictions on the limit.


Note


The backup files do not restore any sync settings. You can perform a backup only if force sync was done in the migration tool.