Manual Chapter :
Restore a system to a previous configuration
Applies To:
Show Versions
F5OS-C
- 1.6.0, 1.5.1, 1.5.0
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.
- Connect to the system using a management console or console server.The default baud rate and serial port configuration is 19200/8-N-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.
- Change to config mode.configThe CLI prompt changes to include(config).
- Reset the system to its default configuration.system database config reset-default-config trueThis command deletes all configuration on the system controller including IP addresses, passwords, all partition configuration, and tenant images.
- Commit the configuration changes.commit
- Reboot the system controllers if they do not reboot automatically:
- Change to config mode.configThe CLI prompt changes to include(config).
- 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.
- 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.
- Change to config mode.configThe CLI prompt changes to include(config).
- 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
- When prompted, enter the password for the remote root account.
- Load the configuration backup onto the system controller.system database config-restore name <filename>.xmlIn 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.
- 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.
- 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.
- Change to config mode.configThe CLI prompt changes to include(config).
- 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
- When prompted, enter the password for the remote root account.
- Load the chassis partition backup onto the chassis partition.system database config-restore name <filename>.xmlIn 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.
- 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.
- ForBIG-IPtenants
- 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" inBIG-IP System: Essentialsat K000130285: F5 Product Manuals Index .
- ForBIG-IP Nexttenants
- For information aboutBIG-IP Nexttenant configuration restore, see theF5Beta portal.