Use the SoS tool to create backup files of the ESXi and physical switch configurations in your Cloud Foundation system. This Python tool resides in the SDDC Manager Controller VM in your system.

Prerequisites

When running the backup command to create the backup files for all racks in the system in a single command run, you must have the root account credentials for the SDDC Manager Controller VM. When you retrieve these backup files, you can run the tool in the same SDDC Manager Controller VM, logging in using the root account credentials for that VM. See Credentials for Logging in to the SDDC Manager Controller VM.

Procedure

  1. Using SSH, log in as root to the SDDC Manager Controller VM.
  2. Change to the /opt/vmware/sddc-support directory.
  3. Type the command to collect the configurations and save the backup files to the /var/tmp directory.
    ./sos --backup

    The tool displays Welcome to SoS(Supportability and Serviceability) utility!, and messages about the tool's progress, for example:

    rack-1-vrm-1:/opt/vmware/sddc-support # ./sos --backup
    Welcome to SoS(Supportability and Serviceability) utility!
    Backup: /var/tmp/backup-2016-11-08-15-01-48-3650
    Log file: /var/tmp/backup-2016-11-08-15-01-48-3650/sos.log
    Progress : 0%

Results

The tool collects the ESXi and switch configurations and writes the output to the /var/tmp directory in the SDDC Manager Controller VM. Inside that directory, the tool writes the output into a directory whose name reflects the timestamp when the SoS tool initiated the process.

/var/tmp backup-timestamp sos.log
		rack-1 esx configBundle-hostname.domain.tgz
		#One per host switch 
		ToR-or-inter-rack-switch-ip-address-manufacturername-running-config.gz
		#File named according to the switch's IP address and manufacturer
		cumulus-192.168.100.1.tgz #Management switch configuration file

The ESXi and switch backup files are included in the image-level backups of the SDDC Manager Controller VM. When needed (for example in event of a failure), you can retrieve the backups from the SDDC Manager Controller VM. If that VM itself is not accessible, for example, in case of multiple TOR switch failures, you can also retrieve the ESXi and switch backup files from one of the SDDC Manager Controller VM backups.

What to do next

For details about working with backing up and restoring switches, see Replacing and Restoring Switches.