AS3 Deployments (shared objects)
BIG-IP LTM: 17.1.1
AS3 Plugin: 3.49.0
We are migrating from older hardware to newer r5900 series hardware. In that process we are moving to configuration as code, using AS3.
Working through all the hiccups and hurdles, came across a "need", that I was wondering if possible?!
Can you have a "global" (or "shared") partition with configurations within that all partitions can reference?
I inherited the previous configurations from a colleague, and everything is located within the Common partition, which has kinda worked out nicely, as we can share "objects" (iRules, profiles, etc..) between most configurations. This also has been beneficial when we need to make a global change (certificate chain change, for example) that allowed us to fix all configurations quickly by changing just the one object that was shared.
Is this possible across partitions, or is that a hard silo division, and nothing can be shared between them?
In the past, I have found you have to do one of two things if you want to use shared objects.
- (what I normally do): instead of the 'use' command, enter the 'bigip' command. The 'use' expects the element in the declaration, and the bigip expects the element just already exists.
- Ensure you are posting with both 'Shared' and 'application' at the same time. I'm not sure if this would even work with /Common/Shared and /OtherPartition/OtherApp... But if I remember correctly, this does work with /OtherPartition/Shared and /OtherPartition/OtherAppp when declaring at the same time.
Hopefully this link helps:
Cloud Docs - big-ip-as3-pointers-in-declarations and overview-of-the-big-ip-as3-declaration