Use > JMX Reference > Hardening Methods > How to Export and Import Credential and Range Information in Encrypted Format

How to Export and Import Credential and Range Information in Encrypted Format

You can export and import credentials and network range information in encrypted format in order to copy the credentials information from one UCMDB Server to another. For example, you might perform this operation during recovery following a system crash or during upgrade.

  • When exporting credentials information, you must enter a password (of your choosing). The information is encrypted with this password.
  • When importing credentials information, you must use the same password that was defined when the DSD file was exported.

Note The exported credentials document also contains ranges information that is defined on the system from which the document was exported. During the import of the credentials document, ranges information is imported as well.

To export credentials information from the UCMDB Server:

  1. On the UCMDB Server, 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.
  2. Click UCMDB:service=DiscoveryManager to open the JMX MBEAN View page.
  3. Locate the exportCredentialsAndRangesInformation operation. Do the following:

    • Enter your customer ID (the default is 1).

    • Enter a name for the exported file.

    • Enter your password.

    • Set isEncrypted=True if you want the exported file to be encrypted with the provided password, or isEncrypted=False if you want the exported file to not be encrypted (in which case passwords and other sensitive information are not exported).

  4. Click Invoke to export.

    When the export process completes successfully, the file is saved to the following location: C:\UCMDB\UCMDBServer\conf\discovery\<customer_dir>.

To import credentials information from the UCMDB Server:

  1. On the UCMDB Server, 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.

  2. Click UCMDB:service=DiscoveryManager to open the JMX MBEAN View page.
  3. Locate the importCredentialsAndRangesInformation operation.

  4. Enter your customer ID (the default is 1).
  5. Enter the name of the file to import. This file must be located in C:\UCMDB\UCMDBServer\conf\discovery\<customer_dir>.
  6. Enter the password. This must be the same password that was used when the file was exported.
  7. Click Invoke to import the credentials.