03-Apr-2023 15:06
Hi, I'm new to using AS3 for configuration.
I'm trying to do the following with my decloration:
"declaration": { "class": "ADC", "schemaVersion": "3.43.0", "id": "id", "label": "WebApp", "myPart": { "class": "Tenant", "Shared": { "class": "Application", "template":"shared", "myEnv_vs": { "class": "Service_HTTP", "virtualAddresses": ["10.1.2.2"], "virtualPort": 80, "pool": /-- Refer to app2_pool --/ } }, "APP1": { "class": "Application", "app1_pool": { "class": "Pool", "members": [ { "servicePort": 8080, "serverAddresses": [ "10.2.2.3" ] } ] } }, "APP2": { "class": "Application", "app2_pool": { "class": "Pool", "members": [ { "servicePort": 8080, "serverAddresses": [ "10.2.2.4" ] } ] } } } |
I've bolded the line that I have questions about. Is referring to the APP2 pool even possible from the Shared object?
I've tried several different means to achieve this and got errors stating:
"pool": "/myPart/APP2/app2_pool" --> Can only refer to things in /myPart/Shared/ or /Common/Shared/
"pool": "app2_pool" --> does not exist
"pool": "APP2/app2_pool" --> does not exist
Am I barking up the wrong tree? Does this make sense?
Solved! Go to Solution.
06-Apr-2023 07:01
Hi @Leslie_Hubertus,
I talked with some contacts at F5 and apparently what I was attempting to complete is not possible.
As much as I would like to be able to refer to other apps in a partition I understand why it behaves like that.
05-Apr-2023 16:19
Hi @BrentKingston - I'm working on finding one of our AS3 experts to come help. Maybe someone in the community can reply in the mean time?
06-Apr-2023 07:01
Hi @Leslie_Hubertus,
I talked with some contacts at F5 and apparently what I was attempting to complete is not possible.
As much as I would like to be able to refer to other apps in a partition I understand why it behaves like that.
06-Apr-2023 09:03
Thanks for the follow-up. Sorry it didn't work out!
10-Apr-2023 00:48
Maybe as a workaround use the /Shared application folder as it allows applications in the same tenant declaration to use the same pool or if it is the Shared folder in the Common partition then all the tenants will be able to use the pool:
Special application Shared holds objects other applications can share.