Use > Data Flow Management > Universal Discovery > Zone-based Discovery > How to Migrate Management Zones

How to Migrate Management Zones

This topic describes how to migrate Management Zones from one instance to another.

If the Management Zone tree contains customized folders, you need to migrate all these folders before migrating Management Zones. See How to Migrate Management Zone Folders.

Note:This feature is available with UCMDB version 10.30 and later.

Migrate Management Zones

  1. Prerequisites: Make sure the source and target instances are in the same domain and use the same credentials.

    Otherwise, use the exportCredentialsAndRangesInformation and importCredentialsAndRangesInformation JMX methods to set domain and credentials on the source and target instances. For detailed instructions, see How to Export and Import Credential and Range Information in Encrypted Format.

  2. Log in to the UCMDB JMX console of the source instance. (Launch the Web browser and enter the following address: https://localhost:8443/jmx-console. You may have to log in with a user name and password.)

  3. Export the selected Management Zone from the source instance.

    1. In the UCMDB JMX Quick Search box, enter getManagementZone, and then click the result that appears below the search box.
    2. Enter your Customer ID. (Default: 1)

    3. Enter the name of the Management Zone that you want to migrate, and then click Invoke.

    4. On the returned result page, select and copy all the XML code in the Resource XML text box for later use.

      Note The path ID in the XML code indicates the ID of the parent folder that the Management Zone belongs to. The folder ID is calculated based on the folder name and path. If the folder keeps the name and path during the migration, the ID should be the same between the source instance and the target instance.

  4. Log in to the UCMDB JMX console of the target instance. (Launch the Web browser and enter the following address: https://localhost:8443/jmx-console. You may have to log in with a user name and password.)
  5. Import the Management Zone to the target instance.

    1. In the UCMDB JMX Quick Search box, enter addManagementZone, and then click the result that appears below the search box.
    2. Enter your Customer ID. (Default: 1)

    3. Paste the XML code you copied earlier into the Value field of Management Zone XML.

    4. Click Invoke.
  6. Repeat step 3 and step 5 until you export and import all the Management Zones.