15-Nov-2023 06:57
I am trying to create a template for GSLB deployments with AS3 but have an issue creating the Servers in the tenant partion.
This is the code I am using for the server:
"testServer1": {
"class": "GSLB_Server",
"serverType": "generic-host",
"dataCenter": {"bigip": "/Common/DC1"},
"devices": [
{
"address": "1.2.3.4"
}
],
"monitors": [],
"virtualServers": [
{
"address": "1.2.3.4",
"port": 443,
"name": "virtualAddress1",
"monitors": [
{
"use": "Monitor_Test"
}
]
}
]
},
So I have specified the server type as "generic-host" but I am getting this error:
17-Nov-2023 03:50
Please refer here , here i can see generic hst for GSLB_Server Class,
https://github.com/F5Networks/f5-appsvcs-extension/issues/475
17-Nov-2023 04:01
Not sure what I should see on this github post, I know a generic-host type exist, but I want to know why I cannot create this is a Tenant partition. The error states that typ "gtm_server" needs to be in Common which I understand but I am not trying to create a gtm_server type,
GTM object (/<tenant>/testServer1 of type: gtm_server) can only be created in /Common."
But in the mean time found this Article:
https://my.f5.com/manage/s/article/K01990709
Certain GSLB objects cannot be created or modified in non-default administrative partitions. You must create and modify the following objects from the /Common partition:
So it looks like you can only create Servers in the Common partition, even if they are specific to one Tenant only. Is this by design?
Does somebody also know what to do with Tenant specific monitors for the virtualservers, do these also need to be in the Common partition because the servers are also in Common?
17-Nov-2023 04:08
Tenant specific monitors for the virtualservers can reside in that particular partition, but they will not be visible in other partitions, for re-use of pbkjects you can put in /Common partition ellse tenant specifi put in a particular partition.
17-Nov-2023 04:21
Do you have an example on how to use a Tenant specific monitor on a virtualserver in the Common partition?
I have tried this in multiple format but cannot get it to work.
17-Nov-2023 04:32 - edited 17-Nov-2023 05:22
For example when I add this monitor in the Tenant space: