Manual Chapter :
Upgrading DCDs in a
DCD Cluster
Applies To:
Show VersionsBIG-IQ Centralized Management
- 7.0.0
Upgrading DCDs in a
DCD Cluster
Check the health of
devices in a DCD cluster
You
can view the health and status of the devices in your data collection device (DCD)
cluster using the BIG-IQ Data Collection Device Settings screen. Use the information
here, both before and after an upgrade to verify that the devices in your DCD cluster
are configured as you expect it to be.
- At the top of the screen, clickSystem, then, on the left, clickBIG-IQ DATA COLLECTIONand then selectBIG-IQ Data Collection Cluster.The BIG-IQ Data Collection Cluster screen opens. On this screen, you can either view summary status for the data collection device cluster or access the screens that you can use to configure the DCD cluster.
- Under Summary, you can view information detailing how much data is stored, as well as how the data is stored.
- Under Configuration, you can access the screens that control DCD cluster performance.
- Click theSettingsbutton.The Settings screen opens to display the current state of the DCD cluster defined for this BIG-IQ device.
- Inspect the DCD cluster details listed in the Summary area.Sub-screenWhat details are provided here?StatusLook here for information about the current status of the cluster.NodesLook here for information about the current state of the cluster nodes.IndexesLook here for information about the current state of the cluster indexes.ShardsLook here for information about the current state of the cluster shards.Cluster SettingsLook here for information about the DCD cluster configured for this device.External Storage & SnapshotsLook here for summary information about the external storage location used to keep the backup snapshots you create for the DCD cluster configured for this device.Logging Data CollectionLook here for summary information about the event and alert log indices that have been configured for this DCD.Statistics Data CollectionLook here for details about the statistics data stored on this DCD.This information provides a fairly detailed overview that describes the DCD cluster you have created to store data. After you complete an upgrade, you can check the health to verify that the cluster restored successfully.
What should I know about estimating disk space requirements devices in a DCD cluster?
When estimating how much disk space you'll need for the devices in your data collection device cluster, consider these things:
- Number of BIG-IP devices you're managing
- Alert rate and size
- Data retention policy
Although you can expand the alert partition for devices in a DCD cluster, be aware that if you exceed 50% of the available disk space (which is not the same as raw disk space), you will not be able to upgrade the devices in the DCD cluster. After deployment, BIG-IQ uses a certain amount of the disk space for the system software and is unavailable for storing data.
Determining available disk space for devices in a DCD cluster
If you are planning to upgrade devices in a deployed DCD cluster, you can determine the amount of available disk space.
- Use SSH to log in to your DCD asroot.
- Check the disk space available by running thevgdisplaycommand:For example:vgdisplay --- Volume group --- VG Name vg-db-sda System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 179 VG Access read/write VG Status resizable MAX LV 0 Cur LV 16 Open LV 7 Max PV 0 Cur PV 1 Act PV 1 VG Size 498.50 GiB PE Size 4.00 MiB Total PE 127617 Alloc PE / Size 27936 / 109.12 GiB Free PE / Size 99681 / 389.38 GiBIn this example, the total disk space (VG Size) is 498.50 GB.
- Find out how the disk space is allocated across your partitions by running thelvscommand.For example:
There are four entries to note in this response:[root@vBIGIQ-LN1:Active:Standalone] config # lvs LV VG Attr LSize … dat.log.1 vg-db-vda -wi-ao--- 7.00g dat.maint.1 vg-db-vda -wi-a---- 300.00m dat.share.1 vg-db-vda -wi-ao--- 28.00g dat.swapvol.1 vg-db-vda -wi-ao--- 1.00g set.1._config vg-db-vda -wi-a---- 3.17g set.1._usr vg-db-vda -wi-a---- 3.29g set.1._var vg-db-vda -wi-a---- 10.00g set.1.root vg-db-vda -wi-a---- 440.00m set.2._config vg-db-vda -wi-ao--- 3.17g set.2._usr vg-db-vda -wi-ao--- 3.29g set.2._var vg-db-vda -wi-ao--- 10.00g set.2.root vg-db-vda -wi-ao--- 440.00m- dat.log.1(highlighted in yellow) displays the size of the/var/logpartition that is used to store the collected log data.
- dat.share.1(highlighted in aqua) displays the size of the/sharedpartition that is used for ISOs and backups on the BIG-IQ system.
- set.1._var(highlighted in green) displays the size of the/varpartition for HD1.1 that is used for the initial software installation.
- set.2._var(also highlighted in green) displays the size of the/varpartition for HD1.2 that is used for the upgrade installation. Note that these two partitions on the active and upgrade volumes must be the same size (as in this example).
- If you determine that you need additional disk space, increase the disk space (for both volumes) to the size you need.For instructions detailing how to increase disk space, along with additional detail about disk space for BIG-IQ virtual machines, refer toF5 BIG-IQ Centralized Management Disk Space Managementonsupport.f5.com.
Prepare BIG-IQ 5.2 or 5.3 to upgrade DCD cluster
This procedure makes the BIG-IQ system temporarily unavailable, and unable to manage BIG-IP devices until the upgrade is complete. BIG-IP devices can continue to manage traffic during this time. This process can take up to an hour.
The upgrade preparation process readies your devices in your data collection device cluster for the upgrade process. You can opt to back up your data or discard it.
- At the top of the primary BIG-IQ system's screen, clickSystem.
- On the left, click.
- In the list of images, select the check box next to the image you want to install, and click theInstallbutton at the top of the screen.
- From theTarget Volumelist, select the volume you want to install the image on.If theTarget Volumelist is empty, the machine you are upgrading does not have a second volume available for you to install the upgrade. You must create one to proceed.
- If you selected a target volume, complete the remaining steps to finish the upgrade.
- If you do not have a second volume, use the following steps to create one:
- Use SSH to log in to the machine you want to upgrade. You must log in asrootto perform this procedure.
- Create the new volume using the command/usr/libexec/bigpipe software desired <volume name> add, for example:/usr/libexec/bigpipe software desired HD1.3 add.
- After the command runs, repeat this step; however, this time theTarget Volumelist will not be empty.
- Click theInstallbutton.A dialog box opens to give you the option of saving or discarding your data.
- Decide whether to save your data or discard it.
- To back up the data on your data collection device, selectYes, snapshot first and proceed with deactivating services (Recommended)and then clickContinue.
- To discard the data on your data collection device, selectNo, proceed directly to deactivating servicesand then clickContinue.
If you are backing up your data, the system creates a snapshot on an external storage location, and then deactivates the services on your BIG-IQ system. Depending on the amount of accumulated data, this step takes some time. If you do not save your data, the system begins deactivating services immediately. - If you chose to back up your data, but have not yet defined an external storage location, a dialog box opens so you can configure it.
- In theUser nameandPasswordfields, type the user name and password for the user account configured on the external storage device.
- For theDomain, type in the domain name for the user account configured on the external storage device.
- For theStorage Path, type the path to the external storage location.You can specify the device using the IP address or the host name. Additionally, you need to specify the path to the folder on the external storage device. For example://<storage machine ip-address>/<storage-file-path>Remember, the folder you specify must have full read, write, and execute permissions.
- To test the settings just specified, clickTest.A message displays to tell you whether the test completes successfully. If it does not, correct the settings and permissions until it completes successfully.
- When the external storage is specified successfully, clickSave.
- Wait while BIG-IQ creates a snapshot.Depending on the amount of data you have, this could take up to an hour. During this time, it is important that you not interrupt the installation process by restarting services or the server.If this is the first time you have created a snapshot, this step takes significantly more time. If you have been creating regular backups, the snapshot step completes relatively quickly.When the process completes, a message displays to tell you that the snapshot and deactivation have finished.
- ClickCloseto close the de-activating services message.
- If you used a self IP address to discover your data collection device(s), you need to stop the database service before proceeding.If you use the management IP address to discover the DCDs in your cluster, you can skip this step.
- Use SSH to log in to the DCD as root.
- Use thebigstart stop elasticsearchcommand to stop the elasticsearch service. Typebigstart stop elasticsearch, and pressEnter.
You must perform this task for each DCD in the cluster.
Although the upgrade preparation process is now complete, you can not yet upgrade the BIG-IQ system. You must upgrade the devices in the DCD cluster before you can upgrade the BIG-IQ.
How do I upgrade DCDs
in a DCD cluster from version 5.2 or 5.3?
After you prepare the devices in your data collection device (DCD) cluster,
you perform the following tasks for every device in your DCD cluster.
- Upload the latest version of the BIG-IQ software image to the device.
- Upgrade the device to the latest version.
- Confirm that the device is back in service.
Upload the BIG-IQ software image to a device in your DCD cluster
Before you can upload the software image to a device in your data collection device (DCD) cluster, you must have first downloaded it from the F5 Downloads site.
You upload the latest version of the BIG-IQ software image to make it available to upgrade a device in your DCD cluster.
To make sure the software image successfully uploads, don't log out of DCD or close the browser window until the software image name appears in the Available Images list.
- At the top of the screen, clickSystem.
- On the left, expand, then clickAvailable Images.The Available Images screen lists the software image files that are available for install on this BIG-IQ.
- Click theUpload Imagebutton.
- Click theChoose Filebutton and go to the location to which you downloaded the image, and click theOpenbutton to upload it to BIG-IQ.
- Click theUploadbutton.The screen refreshes to display the progress of the upload.
When the image is done uploading, it shows in the Available Images list.
Upgrade each device
in your DCD cluster from version 5.2 or 5.3
If the machine you are upgrading does not have two volumes, you must create one using the command line interface. The following steps provide options for either case.
The upgrade process installs the new version of the software on one
device in your DCD cluster. You must repeat this process for each device in the DCD cluster.
- At the top of the screen, clickSystem.
- On the left, expand, then clickAvailable Images.The Available Images screen lists the software image files that are available for installation.
- Select the check box for the image you want to install and clickInstall.
- From theTarget Volumelist, select the volume you want to install the image on.If the Target Volume list is empty, the machine you are upgrading does not have a second volume available for you to install the upgrade. You must create one to proceed.
- If you selected a target volume, complete the remaining steps to finish the upgrade.
- If you do not have a second volume, use the following procedure to install the upgrade for this machine:
- Use SSH to log in to the machine you want to upgrade. You must log in asrootto perform this procedure.
- Navigate to the folder where you install software using the command:cd /shared/images
- Install the upgrade to a new volume using one of the following commands:
- If you are upgrading a virtual machine:tmsh install sys software image <full name of the iso file> volume hd1.2 create-volume reboot
- If you are upgrading a BIG-IQ 7000 series platform:tmsh install sys software image <full name of the iso file> volume md1.2 create-volume reboot
- While the system installs the upgrade to the new volume, you can check on the status of the upgrade using the command:tmsh show sys software status.
- When the upgrade finishes installing, the machine reboots. Proceed to the next to the last (login) step in this task.
- To prompt the data collection device to reboot into the new software installation volume, select theReboot into Target Volumecheck box.
- Click theInstallbutton at the bottom of the screen.
- Click theContinuebutton.
- Wait while the data collection device loads the new software and reboots.Depending on your configuration and the number of devices you are managing, this could take up to 15 minutes. During this time, it is important that you not interrupt the installation process by restarting services or the server.
- Log back in to the data collection device to confirm that the upgrade succeeded.
- If needed, extend the/varpartition.The default size of the/varfile system in a newly installed or upgraded node is 30 GB. This amount of available storage might not be enough to store your data. If you previously extended your disk space, you'll need to do it again after you upgrade. For information about how to do that, refer to: K16103: Extending disk space on BIG-IQ Virtual Edition And remember, upgrading a node requires at least two volumes, so be sure you can extend the/varfile system on both volumes to the same size, or upgrades might fail.
Remember to complete this process for each device in your DCD
cluster.