Manual Chapter : Restore a system to a previous configuration

Applies To:

Show Versions Show Versions

F5OS-C

  • 1.6.0, 1.5.1, 1.5.0
Manual Chapter

Restore a system to a previous configuration

Reset system controller configuration to factory defaults from the CLI

Be sure that you have a backup of the existing configuration of the system controller before you go back to the defaults. You also have to have disabled appliance mode, if it is enabled.
Resetting the configuration to factory defaults from the system controller CLI might be useful if you are testing, performing an RMA, or for any other reason want to restore the system to its initial factory default settings.
Be sure you do this using a console connection because resetting the system to the default values removes the management network.
This procedure clears all existing configuration and regenerates the default configuration.
  1. Connect to the system using a management console or console server.
    The default baud rate and serial port configuration is 19200/8-N-1.
  2. Log in to the command line interface (CLI) of the system controller using an account with admin access.
    When you log in to the system, you are in user (operational) mode.
  3. Change to config mode.
    config
    The CLI prompt changes to include
    (config)
    .
  4. Reset the system to its default configuration.
    system database config reset-default-config true
    This command deletes all configuration on the system controller including IP addresses, passwords, all partition configuration, and tenant images.
  5. Commit the configuration changes.
    commit
  6. Reboot the system controllers if they do not reboot automatically:
    1. Change to config mode.
      config
      The CLI prompt changes to include
      (config)
      .
    2. Reboot a system controller.
      system reboot controllers controller {
      active
      |
      standby
      }
    The specified system controller reboots.
The system controller now has the default configuration. You need to perform initial configuration and can run the Setup wizard for a guided experience of setting management IP addresses, DNS, and other required settings. For more information on initial configuration, see
VELOS Systems: Getting Started
at techdocs.f5.com.

Restore a system controller configuration from the CLI

If you want to restore a previously-saved system controller configuration, you can log in to the system controller where you want to load the configuration backup file and restore the saved configuration from the system controller CLI.
  1. Log in to the command line interface (CLI) of the system controller using an account with admin access.
    When you log in to the system, you are in user (operational) mode.
  2. Change to config mode.
    config
    The CLI prompt changes to include
    (config)
    .
  3. Import the configuration backup onto the destination system from the external system.
    file import local-file configs/<
    file-name
    >.xml remote-file /<file-path>/<
    filename
    >.xml remote-host <
    ip-address
    > username root
  4. When prompted, enter the password for the remote root account.
  5. Load the configuration backup onto the system controller.
    system database config-restore name <
    filename
    >.xml
    In this example you restore from a backup file named backup1.xml:
    syscon-1-active(config)# system database config-restore name backup1.xml response Succeeded.
    If the restore operation fails, the system automatically uses the previous configuration.
  6. Commit the configuration changes.
    commit
After you restore the system controller configuration, reboot all of the blades.

Restore a chassis partition configuration from the CLI

If you want to restore a previously-saved chassis partition configuration, you can log in to the chassis partition where you want to load the configuration backup file.
  1. Log in to the command line interface (CLI) of the chassis partition using an account with admin access.
    When you log in to the system, you are in user (operational) mode.
  2. Change to config mode.
    config
    The CLI prompt changes to include
    (config)
    .
  3. Import the configuration backup from the external system.
    file import local-file configs/<
    file-name
    >.xml remote-file /<file-path>/<
    filename
    >.xml remote-host <
    ip-address
    > username root
  4. When prompted, enter the password for the remote root account.
  5. Load the chassis partition backup onto the chassis partition.
    system database config-restore name <
    filename
    >.xml
    In this example you restore from a backup file named partition-backup1.xml:
    default-1(config)# system database config-restore name partition-backup1.xml response Succeeded.
    If the restore operation fails, the system automatically uses the previous configuration.
  6. Commit the configuration changes.
    commit

Restore tenant configuration

To restore the configuration for your tenants, log in to each tenant and restore the configuration using the method recommended for that tenant. You must upload the required tenant images to start the tenant after a restore on another system. The tenant will not start without the proper image on the system.
For
BIG-IP
tenants
Restore an archive (or UCS file) from an external location. For more information, see the section titled "Restore data from an archive using the Configuration utility" in
BIG-IP System: Essentials
at K000130285: F5 Product Manuals Index .
For
BIG-IP Next
tenants
For information about
BIG-IP Next
tenant configuration restore, see the
F5
Beta portal.