Unofficial - F5 Certification Exam Prep Material > Symposium 2025 Cert:101 TMOS Fundamentals Source | Edit on
Lab 6: Device Service Clusters (DSC)¶
This lab is designed to help you understand Device and Traffic Groups, as well as the process of building an Active-Standby HA pair. While there is a wizard, we will configuring this manually.
Base Networking and HA VLAN¶
You will be creating a high availability cluster using the second BIG-IP (bigip2) in your lab , so let’s prep our current BIG-IP and we will be creating a high availability VLAN.
- On bigip01.f5demo.com archive your configuration in case you need to revert.
- Go to System > Archives and create a new archive.
- You will be using your third interface (1.3) for Network Failover and
ConfigSync. This requires certain ports to be open on the Self IP;
TCP port 4353 for ConfigSync and TCP port 1026 for Network Failover
and TCP port 6699 for the Master Control Program.
- Build a new untagged VLAN ha_vlan on interface 1.3
- Add a self-IP address to the VLAN, 10.1.30.245 net mask
255.255.255.0.
- Under Port Lockdown, select Allow Default, to open
ports required for HA communications.
- Optionally you could select: Allow Custom and add TCP ports 4353,1026 and 6699
- Under Port Lockdown, select Allow Default, to open
ports required for HA communications.
- Go to https://10.1.1.246 which is bigip02.f5demo.com and
login with the credentials admin/f5UDFrocks!.
- bigip02 has already been licensed and provisioned. You will need to set up the base networking.
Interface | Untagged VLAN | Self IP | Netmask |
---|---|---|---|
1.1 | client_vlan | 10.1.10.246 | 255.255.255.0 |
1.2 | server_vlan | 10.1.20.246 | 255.255.255.0 |
1.3 | ha_vlan | 10.1.30.246 | 255.255.255.0 |
- On the ha_vlan ip configure set Port Lockdown to Allow Default
- Build the default gateway destination 0.0.0.0, mask 0.0.0.0, gateway ip address 10.1.10.1
- What is the status your BIG-IPs? Check the upper left-hand corner next to the F5 ball.
Configure HA¶
- On each BIG-IP, prior to building the Device Trust it is recommended renewing the BIG-IP self-signed certificate with valid information and re-generating the local Device Trust certificate.
Under System > Device Certificate > Device Certificate select the Renew… button
- Common Name: <the Hostname of the BIG-IP in the upper left corner>
- Country: United States (or your country of preference)
- Lifetime: 3650
- Lifetime is important, if your cert expires your HA setup will fail.
- Select Finished. Your browser will ask to exchange certs with the BIG-IP again.
Under Device Management > Device Trust > Local Domain select Reset Device Trust…
i. In the Certificate Signing Authority select Generate New Self-Signed Authority and hit Update.
ii. On each BIG-IP configure the device object failover parameters the BIG-IP will send to other BIG-IPs that want to be a part of a sync-only or sync-failover group.
Click Device Management > Device and select the local BIG-IP. It will have the self suffix.
- Under Device Connectivity on the top bar select:
- ConfigSync
- Use the Self IP address of the HA VLAN for your Local Address.
- Hit Update
- Network Failover
- In the Failover Unicast Configuration section select the Add button
- Use the Self IP address the HA VLAN for your Address
- Leave the Port at the default setting of 1026
- Note: Multicast is for Viprion chasses only.
- Select Finished
- Mirroring
- Primary Local Mirror Address: use the Self IP address of the HA VLAN for your
- Secondary Local Mirror Address: None
- Select Update
- Under Device Connectivity on the top bar select:
- On bigip01.f5demo.com build the Device Trust.
- Under Device Management > Device Trust > Device Trust Members and
select Add to add other BIG-IP(s) you will trust.
- Device IP Address: <management IP address of the BIG-IP
to add>
- You could use any Self IP if the out-of-band management interface is not configured.
- Enter the Administrator Username and Password of the BIG-IP you are trusting.
- Select Retrieve Device Information
- The certificate information and name from the other BIG-IP should appear
- Select Device Certificate Matches
- Select Add Device.
- On each BIG-IP check the other BIG-IP in the Peer Authorities list. Is all the information there?
- Device IP Address: <management IP address of the BIG-IP
to add>
- Under Device Management > Device Trust > Device Trust Members and
select Add to add other BIG-IP(s) you will trust.
- If some information is missing delete the trust and try again.
What are the statuses of your BIG-IPs now?
- They should be In Sync. But wait! We haven’t even created a device group! But remember the Device Trust creates a Sync-Only group for the certificates under the covers (device-trust-group) and that should be in sync.
- Click on In Sync in the upper right corner or Device Management > Overview to see the device_trust_group.
On bigip01.f5demo.com create a new Sync-Failover device group
- Under Device Management > Device Groups create a new device
group.
- Name: my-device-group
- Group Type: Sync-Failover
- Add the members of the group to the Includes box and select Finished.
- Check Device Groups on each BIG-IP.
- Did you have to create the Device Group on the other BIG-IP?
- Is the full configuration synchronized yet? (No! Only the Device Group is sync’d)
- What is your sync status?
- It should be Awaiting Initial Sync
- Click on the sync status or go to Device Management > Overview (or click on Awaiting Initial Sync) of the BIG-IP with the good/current configuration.
- Click the device with the configuration you want to synchronize. Sync Options should appear.
- Push the selected device configuration to the group. It
could take up to 30 seconds for synchronization to complete.
- What are the statuses of your BIG-IPs? Do you have an active-standby pair?
- Are the configurations the same?
- Under Device Management > Device Groups create a new device
group.
Now that you have created your HA environment. HA selections will show up for SNAT addressed (not tied to your base network), persistence profiles and connection mirroring on virtual servers.
- Go to your Active BIG-IP.
- Go to your persistence profile my-src-persistence and check the Mirror Persistence box.
- Go to your www_vs virtual server and set the Default Persistence Profile to my-src-persistence.
- Synchronize your changes. Did the changes sync?
- On each BIG-IP go to Module Statistics > Local Traffic and
bring up the persistence record statistics.
- Go to the home page of you www_vs web service (http://10.1.10.100). Refresh a few times.
- Check the persistence records on each of your BIG-IPs, you should see the records are mirrored on each device.
Go to Device Management > Traffic Groups. As you can see the default traffic group “traffic-group-1” already exists.
- Select traffic-group-1, check out the page information and then select Force to Standby.
- What are the statuses of your BIG-IPs? Go to your web page. What is the client IP?
- Go to your self-IP addresses. What traffic group are they in? What does it mean?
- Archive your work.