Manual Chapter :
Setting up F5 SSL
Orchestrator in a High Availability Environment
Applies To:
Show Versions
F5 SSL Orchestrator
- 14.1.4, 14.1.0
Setting up F5 SSL
Orchestrator in a High Availability Environment
Overview: Setting up F5
SSL Orchestrator in high availability
This section describes how to deploy F5 SSL Orchestrator™ high availability (HA).
SSL Orchestrator HA configuration and deployment ensures a decrease in downtime and eliminates
single points of failure. The deployment of SSL Orchestrator’s HA works with the BIG-IP® device groups support to sync the SSL
Orchestrator specific configuration items, and is transparent to the user.
The deployment occurs after completing a configuration change and
selecting Deploy. The deployment request is first routed to one of the devices in the HA
device group. This first device configures the device where the request is received. After
successful deployment on that device, the request is repeated on other BIG-IP devices.
With SSL Orchestrator installed onto a dedicated system with failover, it
automatically takes over in case of system failure. Data is synchronized between the two
systems, ensuring high availability and consistent protection.
When upgrading SSL
Orchestrator in HA, make sure to read all of the applicable notes and warnings regarding the
procedure. The HA upgrade process will break your current HA setup to prevent the other
device from performing an auto upgrade.
SSL Orchestrator high
availability deployment is supported for use only with SSL Orchestrator versions 2.1 and
later.
Assumptions and
dependencies
To ensure that your SSL Orchestrator HA deployment succeeds, it is
critical that you closely review and follow all assumptions and dependencies.
- HA Setup: BIG-IP HA (CMI) must be set to Active-Standby mode with network failover. See theBIG-IP Device Service Clustering: Administrationdocument for detailed information on Active-Standby HA mode.
- HA Setup: If the deployed device group is not properly synced or RPM packages are not properly syncing, make sure your HA self IP (for example,ha_self)Port Lockdownsetting is not set toAllow None. On the Main tab, click and click yourha_self. IfPort Lockdownis set toAllow Custom, check that the HA network port 443 is open on self IP.
- BIG-IP HA Devices: Only manual sync is supported.
- BIG-IP HA Devices: Devices in each BIG-IP HA pair must be the same model and run the same version of TMOS® (including any hotfixes). Except for the management interface, you must configure both devices to use the same arrangement of network interfaces, trunks, VLANs, self IPs (address and subnet mask), and routes. For example, if one BIG-IP device is connected to a specific VLAN/subnet using interface 1.1, the other BIG-IP device must also be connected to that VLAN/subnet using interface 1.1. If the BIG-IP device configurations do not match, this implementation will not deploy correctly, and HA failover will not work.
- User Experience: Deployment must be initiated from the active HA BIG-IP device.
- User Experience: If the environment is changed from non-HA to HA, or from HA to non-HA, the application must be redeployed.
- User Experience: You can refresh the SSL Interception Rules screen () for each peer device in order to see all modified changes.
Task summary for deploying in a high
availability environment
To ensure that your F5 SSL Orchestrator™ high availability (HA)
deployment succeeds, it is critical that you closely follow each deployment step, as well as the
assumptions and dependencies, for both devices in the device group. In addition, you should
adhere to all prerequisites. If the systems in the device group are not configured consistently,
the deployment synchronization process might suffer errors or fail.
Use the following tasks to ensure your HA deployment succeeds:
- Installing and Upgrading F5 SSL Orchestrator
- Configuring the network for high availability
- Configuring the ConfigSync and Failover IP address
- Adding a device to the local trust domain
- Creating a Sync-Failover device group
- Synchronizing the device group
- Setting up a basic configuration for deployment
Prerequisites
Before configuring the network for high availability, make sure these prerequisites are in
place:
- The information used to configure your devices is identical on both devices. Without identical information on both devices, the HA deployment process can suffer from errors or fail.
- The latest version of BIG-IP SSL Orchestrator is successfully installed on the first device (the Active device). See the sectionInstalling and Upgrading F5 SSL Orchestratorto ensure that this prerequisite has been properly completed.
- Successfully set up an HA ConfigSync device group prior to starting the configuration. See the sectionConfiguring the network for high availabilityand its subsections to ensure that this prerequisite has been properly completed. For additional information, refer to theBIG-IP Device Service Clustering: Administrationdocument, sectionManaging Configuration Synchronization.
- SSL Orchestrator is installed with the appropriate license information using the SSL Orchestrator Setup Utility (or the CLI) and made sure your device setup information is identical on both devices:
- While using the SSL Orchestrator Setup Utility, you have noted the details used for NTP and DNS setup and made sure they will be identical on both devices. To verify duplication, on the Main tab, click and selectNTPorDNS.
- Ensure that any certificates used in the configuration are copied to all devices.
- Ensure that information is identical on all devices. This information should include any of the following that are needed:
- Client network
- External network
- Decrypt zone network
- Decrypt zone control network
- Networks providing access to ICAP devices and Receive-only devices
- Ensure that the log publishers are configured and named the same.
- Ensure that all systems use the same interfaces for any services. (If interface 1.1 is used to send traffic to an inline Layer 2 device on system A, then interface 1.1 must also be used on systems B, C, and D.)
Do not attempt to duplicate the configuration by saving and restoring a user configuration set (UCS) file from one machine to the other, or any other cloning approach. There are several IDs that must be unique that will also be duplicated, causing additional problems.For more detailed information on using the SSL Orchestrator setup utility, see theUsing the SSL Orchestrator setup utilitysection.
Installing and
upgrading F5 BIG-IP SSL Orchestrator
Create a backup of your current configuration to ensure your settings are not lost
if the update fails.
Having the latest version of F5
BIG-IP® SSL Orchestrator™ establishes the version that later appears
on your other BIG-IP® HA peer device. After
downloading the latest version of the SSL Orchestrator from downloads.F5.com, return to your SSL Orchestrator deployment settings.
To install the latest version, refer to
Installing the new BIG-IP 14.1.0 ISO image
section
in this guide or follow the steps shown below. - Go to https://downloads.f5.com and clickDownloads. The Downloads Overview screen opens.
- ClickFind a Download. The Select a Product Line screen opens.
- In theF5 Product Familycolumn, find the Security section.
- In theProduct Linecolumn, clickSSL Orchestrator. The Select a Product Version and Container for SSL Orchestrator screen opens.
- Select14.1.0from the list of BIG-IP version numbers and then click SSL Orchestrator. The Software Terms and Conditions screen opens.
- ClickI Accept. The Select a Download screen appears.
- Click the appropriate filename to download BIG-IP SSL Orchestrator.
- To install BIG-IP SSL Orchestrator, on the Main tab, click . The Images List screen opens.
- From theAvailable Imagessection, select the check box next the to BIG-IP 14.1.0 ISO image.
- ClickInstall. The Install Software Image popup screen opens.
- In theVolume set namelist, type a Boot Location name or number.
- ClickInstall. The Images List screen opens.If necessary, click the browser Refresh button if the BIG-IP version 14.1.0 image does not appear in the Installed Images list.
- The BIG-IP installation is complete once theInstall Statuscolumn for version 14.1.0 indicatescomplete.
See
the section
Installing and Configuring the System for F5 SSL
Orchestrator
in this guide for more additional detailed installation
instructions that may be required after completing this set of installation tasks.Make sure to install SSL Orchestrator on the active system
only. That system will copy it to the other systems in the ConfigSync
group.
Later, after a successful SSL Orchestrator HA
deployment, you should verify that the same version appears on the BIG-IP HA peer
device.
Configuring the network for high
availability
You can specify the settings for VLAN HA and self IP addresses on the active device
to configure your network for high availability. If needed, you can configure all
devices involved in the high availability group for HA.
This network connects the various
devices and must be a common Layer-2 network between all devices.
- On the Main tab, click .The VLAN List screen opens.
- ClickCreate.A New VLAN screen opens where you can configure your new VLAN.
- In theNamefield, type the name (for example,ha_vlan).
- For theInterfacessetting:
- From theInterfacelist, select an interface number.
- From theTagginglist, selectTaggedfor traffic for that interface to be tagged with a VLAN ID.
- ClickAdd.The interface you selected appears in theInterfaceslist as a tagged service.
- ClickFinished.Next to the F5 logo, your device status appears showingONLINE (ACTIVE)andStandalonewith green indicators showing their status as up and running.
- On the Main tab, click .The Self IP List screen opens.
- ClickCreate.A New Self IP screen opens where you can configure your new self IP.
- In theNamefield, type the self IP name (for example,ha_self).
- In theIP Addressfield, type the IP address for the device.
- In theNetmaskfield, type the netmask for the device.
- From theVLAN/Tunnellist, select the VLAN name (ha_vlan).
- ClickFinished.
Configuring ConfigSync and failover IP
addresses
Before creating the device group, you should configure the configuration
synchronization (ConfigSync) and Failover IP addresses for each BIG-IP® system in the device group. The ConfigSync address is the IP
address that the system uses when synchronizing configuration with peer devices, and
the failover address is the IP address that the system uses for network
failover.
- On the Main tab, click .The Devices List screen opens.
- Click your device in the device list.The properties screen for the device opens.
- ClickConfigSync.The screen shows the ConfigSync Configuration area, with the local address of the device.
- From theLocal Addresslist, select the VLAN address (ha_vlan).
- ClickUpdate.
- ClickFailover Network, and then clickAdd.The New Failover Unicast Address screen opens.
- In theAddressfield, make sure that the VLAN address (ha_vlan) is present.
- ClickRepeat.
- After the screen refreshes, from theAddresslist, select the Management Address.Connection Mirroring is not supported.
- ClickFinished.The Failover Unicast Configuration area lists both the VLAN HA (ha_vlan) and Management Address devices.
Adding a device to local trust
domain
Any BIG-IP® devices that you intend to add to a device group
must first be members of the same local trust domain. When a BIG-IP device joins the
local trust domain, it establishes a trust relationship with peer BIG-IP devices
that are members of the same trust domain. For example, if you are creating a device
group with two members, you must log in to one of the devices and join the other
device to that system's local trust domain. The devices can then exchange their
device properties and device connectivity information.
- On the Main tab, click .The Device Trust screen opens.
- On the menu bar, clickDevice Trust Membersto view peer and subordinate device settings.The Device Trust Members screen opens.
- ClickAdd.The Device Trust screen opens, showing Retrieve Device Credentials (Step 1 of 3).
- From theDevice Typelist, selectPeer.
- In theDevice IP Addressfield, type the IP address of your device.
- ClickRetrieve Device Information.The screen shows Verify Device Certificates (Step 2 of 3).
- ClickDevice Certificate Matches.The screen shows Add Device (Step 3 of 3).
- In theNamefield, type the name of the device you are adding.
- ClickAdd Device.At the upper right, next to the F5 logo, the status of your device should showONLINE (ACTIVE)andConnected, with a green indicator next to them showing its active and connected status.
Creating a sync-failover device
group
For an HA configuration, you need to establish failover capability between two or
more BIG-IP® devices. Then, if an active device in a
sync-failover device group becomes unavailable, the configuration objects fail over
to another member of the device group, and traffic processing is unaffected. You
perform this task on any one of the authority devices within the local trust
domain.
- On the Main tab, click .The Device Group List screen opens.
- ClickCreate.The New Device Group screen opens.
- In the General Properties area, name your new device group and select the group type.
- In theNamefield, type the name of your device group.
- From theGroup Typelist, selectSync-Failover.
- For theConfigurationsetting, retain theBasicconfiguration type, and then select members and define the sync type.
- In theMemberssetting, select available devices from theAvailablelist and add them to theIncludeslist.
- From theSync Typelist, selectManual with Incremental Sync.You must do a manual sync. If you selectAutomatic with Incremental Sync, your HA deployment will fail.
- ClickFinished.
The Device Groups list screen opens,
listing your new device group. The ConfigSync Status column will indicate
waiting
Initial Sync
.Synchronizing the device group
For an HA configuration, you need to synchronize the BIG-IP®
configuration data from the local device to the devices in the device group. This
synchronization ensures that devices in the device group operate properly. When
synchronizing self IP addresses, the BIG-IP system synchronizes floating self IP
addresses only.
- Next to the F5 logo, clickAwaiting Initial Sync.On the Main tab, you can also click .The Device Management Overview screen opens, showing your Device Groups.
- In the Sync Issues area, selecthato expand the Devices and Sync Options areas of the screen.
- In the Devices area, select the device showingChanges Pending.
- In the Sync Options area, selectPush the selected device configuration to the group.
- ClickSync.
You have now completed your F5 SSL Orchestrator™ HA deployment.
Next, set up a basic configuration for deployment on your active device.
Setting up a basic configuration for
deployment
You must create identical information
on each device before deploying the configuration.
You can now setup a basic
configuration for deployment on your active device.
- On the Main tab, click .The Deployment Settings screen opens.
- Refer to theConfiguring deployment settingssection for complete instructions.After you deploy your configuration on the active device, the system automatically synchronizes the configuration with all of the other devices in the device group. Since some errors may not be apparent, it is critical that you thoroughly test and diagnose the success or failure of the deployment. Refer toTask summary for diagnosing and fixing high availability deploymentfor steps to test and verify your HA deployment.
Task summary for diagnosing and fixing high
availability deployment
For methods to help diagnose, verify, and fix a failed HA deployment, use the
following tasks:
- Verifying deployment and viewing logs
- Verifying the RPM file version on both devices
- Configuring deployment settings and redeploying
- Reviewing error logs and performing recovery steps
Verifying deployment and viewing
logs
You can verify your deployment by
verifying that the required virtuals, profiles, and BIG-IP®
LTM and network objects have been created, checking that the RPM
files are in sync, and reviewing logs for failures, for example.
Because the initial device in the HA
device group repeats the configuration requests and propagates the configuration to
other BIG-IP devices, make sure you verify the initial configured device first,
followed by each device in the HA device group. If the initial device deployment
configuration fails, all other device configuration deployments will not
successfully be configured.
- Verify that all expected and required virtuals, profiles, and BIG-IP LTM and network objects (route-domains, VLANs, self IPs) have been created on each device in the HA device group.These will be items beginning with the name given to the application (for example, if the application was named SSLO, verify that all of the items named | Summary SSL Orchestrator 14.1.0 | 9 SSLO_* are the same on all devices).
- Ensure that all RPM file versions are identical.
- Verify your deployment with, or without, services.
- Review the following logs for failures:
- /var/log/restnoded/restnoded.log
- /var/log/restjavad.0.log
Verifying the RPM file version on both
devices
After a successful F5 SSL Orchestrator™ HA deployment, verify that the latest version
of the SSL Orchestrator zip file is installed on both devices.
- On the Main tab, click .The Updates screen opens.
- Check the RPM versions in theVersionfield.
If the versions are not identical, you must install an updated RPM file and verify
that both devices are identically configured.
Configuring deployment
settings and redeploying
If your configured deployment continues to fail, you can remove
and reconfigure all deployment settings.
- Remove all configurations present on all devices.
- For all devices, individually configure each section in the F5 SSL Orchestrator™ deployment settings and selectFinished. Verify that all new objects are properly synced and deployed.If synchronization or deployment issues persist after deploying after each section, attempt to deploy after updating each item (instead of after each section) in the SSL Orchestrator deployment settings and verify that all new objects are properly synced and deployed.See theConfiguring deployment settingssection for more detailed information.
Reviewing error logs and performing
recovery steps
You can review log messages to help you debug system activity and
perform recovery steps. Refer to the
Configuring logs
settings
section of this document for more information on generating logs
and setting the level of logging you want the system to perform.- Verify that all BIG-IP® LTMand network objects are present on each of the devices in the HA device group.
- If the configuration deployment fails on each device, review the logs:
- /var/log/restnoded/restnoded.log
- /var/log/restjavad.0.log
- Use the following REST GET command to determine the state of the deployed device block in the REST storage:
- curl -s -k -u admin:adminhttps://localhost/mgmt/shared/iapp/blocks| json-format
- Since failure scenarios can vary, after reviewing the logs, attempt the following recovery steps:
- Redeploy SSL Orchestrator.If this succeeds, you have recovered from the failure situation.
- Undeploy SSL Orchestrator.By undeploying, a cleanup of MCP objects on each of the devices occurs while also cleaning up required data properties within the block stored in REST storage. If this succeeds, attempt to redeploy again.
- If redeploy or undeploy fails, do the following:
- From command line (back door),run > touch /var/config/rest/iapps/enable.
- Refresh the SSL Orchestrator menu UI.
- Select the deployed application from the list and delete the application.
- Redeploy and undeploy again.
- Once done, remove the filerm -f /var/config/rest/iapps/enable.
- If these recovery steps do not work, you may need to clean up the REST storage.
For more detailed information on
setting up HA, see the
BIG-IP Device Service Clustering: Administration
document.