The SoS tool takes periodic backups of the Cloud Foundation racks in your environment. After you insert the imaged management switch in the physical rack, you can restore the backup configuration on the switch.

Prerequisites

Retrieve the following files.

  • Backup file of the failed management switch's configuration. This file is named cumulus-192.168.100.1.tgz.

  • The hms.tar.gz backup file of the rack on which the management switch is to be replaced.

For the location of these file within the SoS tool's output, see Back Up Component Configurations Using the SoS Tool.

Procedure

  1. Disconnect the management switch you are replacing and remove it from the rack.
  2. Install the replacement management switch into the rack and wire it according to the same wiring connections the previous one had.
  3. Use PuTTY to log into the management switch IP address 192.168.100.1 with username cumulus and password CumulusLinux! .
  4. Add the following line to the end of the /etc/dhcp/dhcpd.config file:

    ping-check false;

    If this line already exists in the file, leave it as is.

  5. Use WinSCP to copy the hms.tar.gz and cumulus-192.168.100.1.tgz files to the /home/cumulus directory of the new management switch.
  6. Use PuTTY to log into the management switch IP 192.168.100.1 with username cumulus and password CumulusLinux! .
  7. Type the following command.

    sudo su

  8. Restore the backup configuration to the new switch.
    1. Change to the root directory.

      cd /

    2. Unpack the contents of the hms.tar.gz file.

      tar zxvf /home/cumulus/hms.tar.gz

    3. Unpack the contents of the cumulus-192.168.100.1.tgz file.

      tar zxvf /home/cumulus/cumulus-192.168.100.1.tgz

  9. Change the password of the new management switch to the current password for your Cloud Foundation environment's management switches, as obtained from the ./vrm-cli.sh lookup-password command.
  10. Reboot the new management switch.
  11. The Physical Resources > Rack Detailspage on the Dashboard displays a message Error loading rack details. Follow these steps to resolve this error.
    1. Collect the following information.
      Table 1.

      Information Required

      Procedure

      SDDC Manager (VRM) VM IP address

      Log in to vSphere Web Client and note down the 192.168.x.x address for the SDDC Manager (VRM) VM

      PSC IP address

      Log in to vSphere Web Client and note down the PSC1 VM IP address

      Single Sign On and management switch passwords

      See Look Up Account Credentials Using the Lookup-Password Command.

    2. Using the root account, SSH to the SDDC Manager (VRM) VM IP address 192.168.x.x.
    3. Run the following script with Python 2.7. #/opt/vmware/bin/python2.7 /opt/vmware/evosddc-support/fru-mgmtsw.py

      Wait for the script to complete.

  12. Reboot the management switch and the SDDC Manager (VRM) VM.