When you initially configure a BIG-IP system, you can elect to store the system's configuration information in a user configuration set (UCS) archive. A UCS archive is a compressed file that contains all the configuration files that are typically required to restore a configuration on a system. These files are useful in recovering information vital to the traffic management functions of a BIG-IP system. A UCS archive consists of:
On a BIG-IP system, you can create UCS archives using the BIG-IP Configuration utility or from the command line. On the Enterprise Manager system, you can configure Enterprise Manager to create UCS archives on regularly scheduled intervals with the option of storing any archive indefinitely.
You must store these archives in a secure location because UCS archives contain critical system files, user account information, passwords, and SSL private keys used by SSL proxies configured on a BIG-IP system.
Enterprise Manager provides a secure location for multiple configurations. When you use Enterprise Manager to manage your device configurations, you can automatically back up device configurations at intervals you control to ensure that you have a working configuration to use if you need to restore the system.
Enterprise Manager is initially set to store up to 10 rotating device archives and 10 saved, or pinned, archives per device in its database. If you want to change these default values, see Changing the device archive options, on page 3-11 .
In addition to managing device configuration archives for a BIG-IP system, Enterprise Manager can manage UCS archives for itself or other Enterprise Manager systems.
An Enterprise Manager UCS archive contains all of the same information that a BIG-IP system UCS archive does, but it also contains additional information about managed devices in an Enterprise Manager system, including:
Enterprise Manager UCS archives contain all the essential managed device information stored in the Enterprise Manager database. However, they do not archive imported information such as software or hotfix images and managed device UCS archives.
You have two main options for creating a UCS archive of an Enterprise Manager configuration: basic and advanced. A basic UCS archive for an Enterprise Manager system contains device configuration information, as noted in the previous section. An advanced UCS archive includes the basic information and all of the data that you imported to the Enterprise Manager system, such as software images and managed device configuration archives.
To create a basic UCS archive, you can add an Enterprise Manager device to a rotating archive schedule (in the same way that you do for any managed device) and store basic UCS archives on an Enterprise Manager system. See Managing rotating archives for more information on working with rotating archive schedules.
To create an advanced configuration archive of an Enterprise Manager system, you must use the em-backup script. This script backs up all the Enterprise Manager UCS information and additional data such as the software repository and managed device UCS archives.
Because this may involve a large amount of data, ensure that you have adequate disk space available on the Enterprise Manager system and that you move the archive file to a remote system when it completes.
To perform a full backup, you must have root access to the command line. Before you run the em-backup script, ensure that no tasks are running on the Enterprise Manager system.
The em-backup script begins the process of archiving all configuration and imported data stored on the Enterprise Manager system.
If you need to restore a configuration to an Enterprise Manager system, you have basic and advanced options. A basic restoration can re-establish all Enterprise Manager configuration information regarding managed devices, including certificate information, device groups, and custom alerts. An advanced restoration includes all of the basic data in addition to imported data such as software images and managed device UCS archives.
You can perform a basic restoration from the Device Archive Properties screen. See Restoring device archives for information on restoring UCS archives from an Enterprise Manager system.
If you want to perform an advanced restoration, you can use the em-restore script. If you want to use the em-restore script, you must have an advanced device configuration file created using the em-backup script. If you use the em-restore script, this restores all configuration settings and all of the data you imported into Enterprise Manager such as software images and UCS archives of managed devices.
To perform a full restoration, you must have root access to the command line. Before you run the em-restore script, ensure that you have a valid advanced UCS archive created by the em-backup script.
The em-restore script begins the process of restoring all configuration and imported data stored on the Enterprise Manager system.
Enterprise Manager can create and store UCS archives for managed devices on demand, or at regularly scheduled intervals using rotating archives. Rotating archives are UCS archives created at a regular interval according to a schedule that you set in Enterprise Manager.
The advantage of scheduling rotating archives is that you can set Enterprise Manager to create archives on a regular interval so that after Enterprise Manager recognizes that a managed device's configuration has changed, it schedules the creation of a UCS archive during the current rotating archive schedule. This way, you can have a recent backup configuration for a managed device, which provides added stability in case a configuration change results in a need for a system restore. For example, if you set up a daily rotating archive schedule, Enterprise Manager creates a UCS archive on each day that the managed device configuration changes. This ensures that you do not unnecessarily save any duplicate configuration archives, and that you always have one or more archives of recent configurations with which to restore. In a rotating archive schedule, Enterprise Manager saves multiple archives and cycles out old archives as it creates new ones.
After Enterprise Manager adds devices to the device list, you can set up a default rotating archive schedule for all managed devices. If you need to set up a custom schedule for any devices, you can do that individually for each device.
After you set up a default rotating archive schedule, then whenever a device configuration changes during the interval you specify, Enterprise Manager creates an archive of the device's configuration and adds it to the Rotating Archives table on the Device Archives screen.
If you need to specify a different rotating archive schedule for a device, or need to apply a rotating archive schedule to one device, you can create a schedule for individual devices
When you check the status of rotating archives on the Rotating Archive Schedule screen, this device's schedule appears as Custom.
When you create a default rotating archive schedule, all managed devices subscribe to this schedule unless you create a custom schedule for a device, or unless you disable rotating archives for a device.
Once you set up a rotating archive schedule or create pinned archive, you can modify the descriptions of archives, or delete archives if you need to. You can perform these actions from a device archives or archive properties screen.
When you set up a rotating archive schedule, Enterprise Manager saves multiple archives, and cycles out old archives as it creates new ones. Although this ensures that you maintain a useful list of the most recent UCS archives for each of your managed devices, you may want to save certain archives.
Using Enterprise Manager, you can save pinned archives almost indefinitely. A pinned archive is a UCS archive (that you create or move from the rotating archive list) that is saved in the Enterprise Manager database until you remove it.
This feature is useful if you want to save device configurations after important changes such as before or after a software upgrade or hotfix installation. This ensures that you can restore a saved configuration from any specific point in time.
You can create a new UCS archive from a device's Rotating Archive Schedule screen.
You can save a UCS archive from a device's Rotating Archive Schedule screen.
You can use Enterprise Manager to restore a UCS archive on any managed device. In the event of a system restore, you can save time by not logging on to an individual device console to restore a device archive, and use Enterprise Manager instead.