maniak-academy / f5-tf-bigip-nonprod

The following repo is used to automate builds configuration of bigip using terrraform cloud
1 stars 1 forks source link

Virtual Server issue prod_https #84

Open sebbycorp opened 1 month ago

sebbycorp commented 1 month ago

We are having an issue with the following virtual server 172.16.32.100 on port 443, it looks like the pool member is wrong can we please remove 172.16.1.100 and 172.16.1.101 and replace it with 172.16.1.125 172.16.1.126 on port 80

sebbycorp commented 1 month ago

Hi, this is SebAi let me help

To resolve the issue with your F5 pool members, you want to update the pool members' IP addresses from "172.16.1.100" and "172.16.1.101" to "172.16.1.125" and "172.16.1.126". Below is the AS3 patch you can apply to modify the members of your prod_https_pool.

Assigned Label: pool member issue

Patch Output for AS3:

{
   "class": "AS3",
   "action": "deploy",
   "persist": true,
   "declaration": {
     "class": "ADC",
     "schemaVersion": "3.0.0",
     "id": "123abc",
     "label": "Update Pool Members",
     "remark": "Update pool members for prod_https_pool",

     "Tenant_prod": {
       "class": "Tenant",

       "prod_https": {
         "class": "Application",

         "prod_https_pool": {
           "class": "Pool",
           "loadBalancingMode": "round-robin",
           "monitors": [
            "http"
           ],

           "members": [{
             "servicePort": 80,
             "shareNodes": true,
             "serverAddresses": [
               "172.16.1.125",
               "172.16.1.126"
             ]
           },
           {
             "servicePort": 8080,
             "shareNodes": true,
             "serverAddresses": [
               "172.16.1.102",
               "172.16.1.103"
             ]
           }
           ]
         }
       }
     }
   }
}

Changes:

You can apply this patch to your F5 configuration to fix the issue. Let me know if you need further assistance with the deployment!