Manual Chapter :
Restore the BIG-IQ and
DCD Cluster to Pre-upgrade State
Applies To:
Show VersionsBIG-IQ Centralized Management
- 6.0.1
Restore the BIG-IQ and
DCD Cluster to Pre-upgrade State
Add the secondary
BIG-IQ system to the primary BIG-IQ system
After you upgrade both F5 BIG-IQ
Centralized Management systems in a HA configuration, you can re-associate
the secondary system with the primary BIG-IQ
system.
Add the secondary BIG-IQ system to the primary
BIG-IQ system to re-establish the high availability pair.
- Log in to primary BIG-IQ system with your administrator user name and password.
- At the top of the screen, clickSystem.
- On the left, clickBIG-IQ HA.
- Click theAdd Secondarybutton.
- In theIP Addressfield, type the discovery address you specified on the BIG-IQ system during setup.This is the same IP address the peers in a high availability confirmation use to communicate.
- Type the administrativeUser nameandPasswordfor the system.
- Type theRoot Passwordfor the system.
- Click theAddbutton to add this device to this high availability configuration.
Even though you can log in to the secondary BIG-IQ
after the you re-establish the HA configuration, the system
continues some database re-indexing processes in the background. For
larger configurations, that can take up to an hour. If you perform
any searches on objects before it's done re-indexing, BIG-IQ might
not return the expected results.
After the HA configuration is re-established, you'll
be automatically logged out of the primary BIG-IQ system for a few
minutes while the secondary BIG-IQ system restarts.
After the secondary system restarts, you can log back
into the primary BIG-IQ system.
Complete post upgrade processing
After you upgrade the devices in your DCD cluster
and the BIG-IQ primary and secondary system, you need to complete the post-upgrade
processing.
Perform this task on the primary BIG-IQ
system.
- At the top of the screen, clickSystem, then, on the left, clickBIG-IQ DATA COLLECTIONand then selectBIG-IQ Data Collection Devices.The first time you access this screen after performing an upgrade, it triggers a dialog box that prompts you to start the post upgrade processing tasks.
- ClickContinue.The BIG-IQ system is returning the devices in your DCD cluster to their pre-upgrade state. This includes restoring the data snapshot. If you have a substantial amount of data, data snapshot restoration takes an extended amount of time.
Once your cluster is back online, rediscover your
devices and re-discover their services to complete the upgrade.
Upgrade the
statistics agent
If you collected statistics in the prior version, then when you finish
upgrading the primary BIG-IQ, you need to upgrade the statistics agent on each BIG-IP device
that had statistics enabled before the upgrade.
Perform this task
on the primary BIG-IQ that manages the DCD cluster.
- At the top of the screen, clickDevices.
- Select all of the BIG-IP devices managed by this DCD cluster by selecting the check box next toStatus.
- ClickMore, and then selectUpgrade Stats Agent.The Statistics Collection Agent Upgrade screen opens.
- ForModules/Services, select the check box next to the services that you collected statistics for in the previous version.
- ForFrequencyselect how often you want the DCD to collect statistics for these services.
- Click theContinuebutton.
- Wait while the stats collection agent for each BIG-IP device is upgraded.Depending on the number of devices in your cluster, this could take several minutes to complete.When the agent is upgraded on each BIG-IP device, the status icon turns to green.
Re-discover devices and re-import
services
After
you upgrade F5 BIG-IQ Centralized Management, you must rediscover your managed devices
and reimport their services for AFM, ASM, DNS, and LTM so you can start managing those
devices with the new features introduced in this release.
If you upgraded a BIG-IQ system that's running Network
Security or Web App Security services, you'll see evaluation differences for the
default logging profile objects imported from BIG-IP devices (global-network, log
all requests, log illegal requests, and local-dos). This is expected because BIG-IQ
version
6.0.1
imports information about default logging profiles that were not
present in version 6.0.0. After you complete the upgrade to version 6.0.1
and
re-import your Network Security or Web Application Security service, these
differences should no longer occur.
- At the top of the screen, clickDevices.
- Select the check box next to the devices for which you want to rediscover and reimport services.
- Click theMorebutton and selectRe-discover and Re-import.
- In theNamefield, type a name for this task.
- For theShared Object Conflict Resolution Policysetting, select an option for how you want to handle any differences found between the configuration on BIG-IQ and the BIG-IP device during the re-discover and re-import task.
- Use BIG-IQto use the configuration setting stored on BIG-IQ if any differences are found.
- Use BIG-IPto override the configuration settings stored on BIG-IQ with the settings from the BIG-IP device.
Some new features are introduced with each BIG-IQ release, so it's a good idea to use the BIG-IP device's configuration after you upgrade BIG-IQ. This ensures that you don't inadvertently overwrite a configuration that wasn't previously supported. BIG-IP devices are re-imported in the order listed, from top to bottom. You can use the arrow keys to change the processing order.When you selectUse BIG-IPto resolve conflicts, the BIG-IP device used to resolve those conflicts should appear last in the re-import list. If two or more BIG-IP devices contain the same object with different values, only the value in the last imported BIG-IP is used to resolve the conflict for all the BIG-IP devices. - If you want to save a snapshot of the BIG-IP device's configuration before importing these services, select the check box forCreate a snapshot of the current configuration before importing.
- Click theCreatebutton at the bottom of the screen.
Re-discover devices and re-import LTM,
ASM, AFM, and DNS services in bulk using a script
After you upgrade BIG-IQ Centralized Management, you can use a script to re-discover
devices and re-import the LTM, ASM, AFM, and DNS services in bulk. To run this script,
you must have root access to the BIG-IQ command line.
Before you run this script, make sure that you don't have any pending configuration
changes staged for your managed BIG-IP devices. This script prompts BIG-IQ to import
the configurations for all your BIG-IP devices. So, if you don't deploy staged
configuration changes before you run this script, you will lose them after you run
the script. If you need assistance, contact F5
Support.
You use this script to re-discover devices and
re-import LTM, ASM, AFM, and DNS services all at once, so that you can start managing
your devices with the new version of BIG-IQ software.
If you'd rather
re-discover devices and re-import their services individually through the user
interface, refer to
Re-discover devices and re-import
LTM, ASM, AFM, and DNS services from the user interface
.- Log in to thedownloads.f5.comsite, click theFind a Downloadbutton, and click BIG-IQCentralized Management.
- Click thev6.0.1link.
- Review the End User Software License agreement and click theI Acceptbutton to accept the terms.The Select a Download screen opens.
- Click thebulkDiscovery.zipfile name, and unzip it on your local system.
- Log in to the BIG-IQ system as the root user and upload the script.
- Enable executable permissions, by typing:chmod +x ./bulkDiscovery.plTo access help for this script, type./bulkDiscovery.pl -h
- Export the IP addresses for the BIG-IP devices in your network to a CSV file using thebulkDiscoveryscript.To run this script, type:./bulkDiscovery.pl -c masterDeviceList.csv -m -o
- Re-discover your BIG-IP devices and re-import their services, by using the associated command:This command prompts BIG-IQ to import all the configurations from the specified BIG-IP devices. It's important that you've already deployed any configuration changes you have staged for these devices, because they'll be overwritten on BIG-IQ after you run this script. If you'd rather re-discover devices and re-import services individually so you can address any potential configuration conflicts for each device, you can do that from the BIG-IQ system's user interface instead of using this script. For more information, refer to,Re-discover devices and re-import services from the user interface.
- For LTM, type./bulkDiscovery.pl -c myDeviceList.csv -l -mYou must re-discover devices running the LTM service before re-discovering devices running any other service.
- For ASM, type./bulkDiscovery.pl -c myDeviceList.csv -l -s -m
- For AFM, type./bulkDiscovery.pl -c myDeviceList.csv -l -f -m
- For DNS, type./bulkDiscovery.pl -c myDeviceList.csv -l -d -m
You can now start managing your BIG-IP devices using the latest version of BIG-IQ
Centralized Management.
Use a script to remove and recreate access
groups in bulk for devices running APM services
After you upgrade F5 BIG-IQ Centralized Management, you must remove and recreate the
access groups for devices running the APM service.
Before you run this script, make sure that you don't have any pending configuration
changes staged for your managed BIG-IP devices. This script prompts BIG-IQ to import
the configurations for all your BIG-IP devices. So, if you don't deploy staged
configuration changes before you run this script, you will lose them after you run
the script. If you need assistance, contact F5
Support.
You can use this script to remove and recreate the access groups for devices
running the APM service so you can start managing those devices with the new version of
BIG-IQ.
If you'd rather do this from the user interface, refer to,
Remove
and recreate access groups (with SWG data) from the user interface for devices
running APM services
or Reimport access groups (without SWG data)
from the user interface for devices running APM
services
.- Log in to the BIG-IQ system asadmin.
- At the top of the screen, selectConfiguration, then on the left side of the screen, click .
- In a separate file (such as a Notepad or Excel file), make a note of:
- Each access group and the IP addresses of the devices contained within each.
- The source device, from which you want to copy the configuration to all devices in the access group.You'll deploy the configuration from this source device to all of the devices in the access group.
- Select the check box next to each access group and click theRemovebutton.
- Log in to thedownloads.f5.comsite, click theFind a Downloadbutton, and click BIG-IQCentralized Management.
- Click thev6.0.1link.
- Review the End User Software License agreement and click theI Acceptbutton to accept the terms.The Select a Download screen opens.
- Click thebulkDiscovery.zipfile name, and unzip it on your local system.
- Log in to the BIG-IQ system as the root user and upload the script.
- Enable executable permissions, by typing:chmod +x ./bulkDiscovery.plTo access help for this script, type./bulkDiscovery.pl -h
- Export the IP addresses for the BIG-IP devices in your network to a CSV file using thebulkDiscoveryscript.To run this script, type:./bulkDiscovery.pl -c masterDeviceList.csv -m -o
- For each access group:
- Create a device list, by typingcp masterDeviceList.csv <access_group_name>_devices.csv
- Edit the file as follows:
- Remove any devices that don't belong to the access groups by comparing it to the list you made in step 3.
- Place the source BIG-IP device you identified in step 3, at the top of the<access_group_name>_devices.csvfile.
- Verify the credentials for each device (the script uses ADMIN/APWD by default).
- Save your changes to the file.
- Import devices in the access group by, typing:./bulkDiscovery.pl -c <access_group_name>_devices.csv -g <access_group_name> -l -p -o -v
- Log in to the BIG-IQ system as admin.
- At the top of the screen, selectConfiguration, then on the left side of the screen, click .
- Review the access groups to verify that all the groups properly imported.
You can now start managing your BIG-IP devices using the latest version of BIG-IQ
Centralized Management.
Re-import access groups (without SWG data)
from the user interface for devices running APM services
After you upgrade F5 BIG-IQ Centralized Management, you must re-import the access
groups running the APM service without SWG data.
You can use this procedure to reimport groups for
devices running APM services without F5 Secure Web Gateway configuration data so you can
start using the new features introduced in this release.
If you'd rather use a script to do this, refer to
Use a script to remove and recreate access groups in bulk
for devices running APM services
. If your APM configuration includes SWG
data, refer to Remove and recreate access groups (with
SWG data) from the user interface for devices running APM
services
.- At the top of the screen, selectConfiguration, then on the left side of the screen, click .
- Click the name of the access group.
- From the Device list, select the device from which to reimport the shared access policy configuration, and click theReimportbutton.This device will share the access policy configuration with all other devices in this access group.
- SelectShared Access Group and Device Specific configurationand click theReimportbutton at the bottom of the screen.
- If the differences window displays for the LTM service, selectUSE_BIGIPand click theResolvebutton.
- If the differences window displays for the APM service, click theAcceptbutton.
- For the remainder of the devices in this access group:
- Select the check box next to the device, and click theReimportbutton.
- SelectDevice specific configurationand click theReimportbutton at the bottom of the screen.
- If the differences window displays for the LTM service, selectUSE_BIGIPand click theResolvebutton.
- If the differences window displays for the APM service, click theAcceptbutton.
- Repeat steps 2-7 for the rest of the access groups.
You can now start managing your BIG-IP devices using the latest version of BIG-IQ
Centralized Management.
Remove and recreate access groups (with SWG data) from the user
interface for devices running APM services
After you upgrade F5 BIG-IQ Centralized
Management to the latest version, you must recreate the access groups running the APM
service.
You can use this procedure to remove and recreate
access groups for devices running APM services with F5 Secure Web Gateway configuration
data so that you can start using the new features introduced in this release.
If you'd rather use a script to do this, refer to
Use a script to remove and recreate access groups in bulk
for devices running APM services
. If your APM configuration doesn't
include SWG data, refer to Reimport access groups
(without SWG data) from the user interface for devices running APM
services
.- At the top of the screen, selectConfiguration, then on the left side of the screen, click .
- In a separate file (such as a Notepad or Excel file), make a note of:
- Each access group and the IP addresses of the devices contained within each.
- The source device, from which you want to copy the configuration to all devices in the access group.You'll deploy the configuration from this source device to all of the devices in the access group.
- Select the check box next to each access group and click theRemovebutton.
- Click theCreatebutton.
- Type a name for this access group in theNamefield.
- From theDevicelist, select the device from which to reimport the shared access policy configuration, and click theReimportbutton.This device will share the access policy configuration with all other devices in this access group.
- Click theCreatebutton at the bottom of the screen.
- If the differences window displays for the LTM service, selectUSE_BIGIPand click theResolvebutton.
- Click the name of the access group you added.
- Click theAdd Devicebutton.
- From theDevicelist, select a device to add to this access group.
- Click theAddbutton at the bottom of the screen.
- If the differences window displays for the LTM service, selectUSE_BIGIPand click theResolvebutton.
- If the differences window displays for the APM service, click theAcceptbutton.
- Repeat steps 10-14 for each device in each access group before creating the next access group.
You can now start managing your BIG-IP devices using the latest version of BIG-IQ
Centralized Management.