NVIDIA UFM Enterprise Appliance Software User Manual v1.9.1
NVIDIA UFM Enterprise Appliance Software User Manual v1.9.1

Appendix - Migrating UFM-SDN Appliance Data to UFM Enterprise Appliance

This procedure is based on the UFM data backup/restore mechanism and will be performed via CLI commands.

  • Minimum UFM Enterprise Appliance version: 1.9.0

  • Minimum UFM tools plugin version: 1.0.0-6

Follow the instructions to backup UFM data on UFM-SDN Appliance:

  1. [On Master] Backup the UFM data to a ZIP file. Run:

    Copy
    Copied!
                

    ufm data backup ufm2-backup-<site name>.zip

  2. [On Master] Upload the UFM Data (ZIP file) to a remote server

    Copy
    Copied!
                

    ufm data upload ufm2-backup-<site name>.zip scp://username:password@hostname/path

The following actions need to be performed prior to UFM data restoration,

  1. Connect the appliances to the fabric and set initial network configuration (e.g., IP addresses, default gateway, hostname, DNS, NTP, etc…) via a serial console or a remote console.

  2. Configure the appliances to run in HA (High-Availability) mode.

  3. Load any UFM plugin Docker image that was deployed on the UFM-SDN Appliance cluster. The UFM plugins’ configuration will be restored as part of the UFM data restore.

    1. [On Master and Standby] Fetch the image from a remote server

      Copy
      Copied!
                  

      image fetch scp://username:password@hostname/path/to/image 

    1. [On Master and Standby] Load the Docker image

      Copy
      Copied!
                  

      docker load <ufm plugin image>

  1. [On Master] Fetch the UFM Data backup (ZIP file) from the remote server:

    Copy
    Copied!
                

    ufm data fetch scp://username:password@hostname/path/to/ufm2-backup-<site name>.zip 

  2. [On Mater] Restore the UFM Data from the ZIP file:

    Copy
    Copied!
                

    ufm data restore ufm2-backup-<site name>.zip [with-upgrade] 

    Note

    Note: The command argument “with-upgrade” is needed if the UFM version on UFM Enterprise Appliance is newer than the one on UFM-SDN Appliance. As a result, the UFM data is upgraded.

Once UFM data migration is completed successfully, some settings need to be modified via the NVP tool, to align with the UFM Enterprise Appliance. Stop the UFM-SDN Appliance and start the UFM Enterprise Appliance.

  1. Load the Tools (NVP) plugin Docker image which is needed for post-restore configuration changes. Once it was loaded, add it to UFM

    1. [On Master and Standby] Fetch the image from a remote server

      Copy
      Copied!
                  

      image fetch scp://username:password@hostname/path/to/image 

    2. [On Master and Standby] Load the Docker image:

      Copy
      Copied!
                  

      docker load ufm-plugin-tools_<version>-docker.img.gz 

    3. [On Master] Add the Tools plugin to UFM:

      Copy
      Copied!
                  

      ufm plugin tools add tag <version> 

    4. [On master] Disable the Tools plugin (since it is not a daemon):

      Copy
      Copied!
                  

      no ufm plugin tools enable 

  2. [On UFM Enterprise Appliance Master] Set the “fabric_interface” to ib0 (bond0 in UFM-SDN Appliance)

    Copy
    Copied!
                

    nvp set gv.cfg Server.fabric_interface ib0 

  3. [On UFM Enterprise Appliance Master] Set the “mgmt_interface” and “ufma_interfaces” to eno8303 (it was eth0 in UFM-SDN Appliance)

    Copy
    Copied!
                

    nvp set gv.cfg Server.mgmt_interface eno8303  nvp set gv.cfg Server.ufma_interfaces eno8303 

  4. [On UFM Enterprise Appliance Master] If “multi_port_sm” is set to “HA Enabled”, set the “additional_fabric_interfaces” to ib1 (not set in UFM-SDN Appliance since it used a bonded interface)

    Copy
    Copied!
                

    show ufm multi-port-sm  nvp set gv.cfg Server.additional_fabric_interfaces ib1 

  5. [On UFM Enterprise Appliance Master] If Management Interface Monitoring is enabled and the required interval is different from the default of 10 seconds, set the management interface monitoring interval accordingly:

    Copy
    Copied!
                

    nvp set UFMHealthConfiguration.xml "./TestsSchedule/Test[@Name='CheckMgmtInterface']/Frequency/Value" <interval> 

  6. [On UFM Enterprise Appliance Master] Verify that the InfiniBand interfaces on the appliances are up and connected to the same InfiniBand fabric:

    Copy
    Copied!
                

    ib ibstat  ib sminfo 

  7. [On UFM Enterprise Appliance Master] Apply the configuration changes:

    Copy
    Copied!
                

    nvp apply force no-restart 

    Note

    Note: The “no-restart” option applies the changes without restarting UFM, which is not needed since UFM is not running on the UFM Enterprise Appliance.

  8. [On UFM Enterprise Appliance Master] Set the UFM Enterprise Appliance HA nodes:

    Copy
    Copied!
                

    ufm ha-nodes <master hostname> <standby hostname> 

  9. [On UFM-SDN Appliance Master] Stop UFM:

    Copy
    Copied!
                

    no ufm start 

  10. [On UFM Enterprise Appliance Master] Start UFM:

    Copy
    Copied!
                

    ufm start 

  11. [On UFM Enterprise Appliance Master] Verify that UFM is up and running:

    Copy
    Copied!
                

    show ufm status 

  12. [On UFM Enterprise Appliance Master] If Client Certificate Authentication is enabled, replace the association of the SAN with “ufmsysadmin” user to “admin” user and remove the “ufmsysadmin” user via UFM REST API:

    Copy
    Copied!
                

    no ufm web-client associate-user <SAN>  ufm web-client associate-user <SAN> admin

    From the shell:

    Copy
    Copied!
                

    curl -X DELETE https://<hostname>/ufmRest/app/users/ufmsysadmin 

  13. [On UFM Enterprise Appliance Master and Standby] collect a system dump and upload it to a remote server:

    Copy
    Copied!
                

    debug generate dump  file debug-dump upload latest scp://username:password@hostname/path 

© Copyright 2024, NVIDIA. Last updated on Sep 5, 2024.