Comments (6)
please look at the following example
You need to add shared to the tenant and then just reference the second pool "pool": "/Sample_10/Shared/dual_pool" - make sure the the path is correct.
"Sample_10": {
"class": "Tenant",
"Shared": {
from f5-appsvcs-extension.
Thanks, but I'm not trying to add a second pool. I'm trying to create a pool with more than one pool member.
from f5-appsvcs-extension.
@ajgerace do you get the same error using a more basic declaration ( without the non-required props that reference existing /Common objects)?:
{
"action": "deploy",
"class": "AS3",
"declaration": {
"as3_lab": {
"class": "Tenant",
"bodgeit": {
"class": "Application",
"template": "generic",
"vs_bodgeit_443": {
"class": "Service_HTTPS",
"pool": "vs_bodgeit_pool",
"redirect80": true,
"serverTLS": {
"bigip": "/Common/san_cert"
},
"snat": "auto",
"virtualAddresses": [
"10.0.1.214"
],
"virtualPort": 443
},
"vs_bodgeit_pool": {
"class": "Pool",
"members": [
{
"servicePort": 8080,
"serverAddresses": [
"10.128.20.12",
"10.128.20.11"
]
}]
}
}
},
"class": "ADC",
"id": "as3_lab",
"label": "as3_lab",
"remark": "This is a sample remark ",
"schemaVersion": "3.5.0"
},
"persist": true
}
from f5-appsvcs-extension.
@kaustria this happens when I try to use 1 or more nodes that reside in the Common partition. If I only want to use 1 node that node can exist in either Common or the tenant partition.
`root@(vadc06)(cfg-sync Standalone)(Active)(/as3_lab)(tmos)# list ltm node
ltm node 10.128.20.17 {
address 10.128.20.17
partition as3_lab
}
ltm node 10.128.20.18 {
address 10.128.20.18
partition as3_lab
}
ltm node 10.128.20.19 {
address 10.128.20.19
partition as3_lab
}
root@(vadc06)(cfg-sync Standalone)(Active)(/Common)(tmos)# list ltm node
ltm node server1 {
address 10.128.20.11
}
ltm node server2 {
address 10.128.20.12
}
ltm node server3 {
address 10.128.20.13
}
ltm node server4 {
address 10.128.20.14
}
ltm node server5 {
address 10.128.20.15
}
ltm node server6 {
address 10.128.20.16
}
{
"action": "deploy",
"class": "AS3",
"declaration": {
"as3_lab": {
"class": "Tenant",
"bodgeit": {
"class": "Application",
"template": "generic",
"vs_bodgeit2_pool": {
"class": "Pool",
"monitors":[
{ "bigip": "/Common/f5demo-http-head"}
],
"members": [{
"servicePort": 8080,
"serverAddresses": [
"10.128.20.11",
"10.128.20.18"
]
}]
}
}
},
"class": "ADC",
"id": "as3_lab",
"label": "as3_lab",
"remark": "This is a sample remark ",
"schemaVersion": "3.5.0"
},
"persist": true
}
This declaration fails:
{
"action": "deploy",
"class": "AS3",
"declaration": {
"as3_lab": {
"class": "Tenant",
"bodgeit": {
"class": "Application",
"template": "generic",
"vs_bodgeit2_pool": {
"class": "Pool",
"monitors":[
{ "bigip": "/Common/f5demo-http-head"}
],
"members": [{
"servicePort": 8080,
"serverAddresses": [
"10.128.20.11",
"10.128.20.18"
]
}]
}
}
},
"class": "ADC",
"id": "as3_lab",
"label": "as3_lab",
"remark": "This is a sample remark ",
"schemaVersion": "3.5.0"
},
"persist": true
}`
This one works:
{ "action": "deploy", "class": "AS3", "declaration": { "as3_lab": { "class": "Tenant", "bodgeit": { "class": "Application", "template": "generic", "vs_bodgeit2_pool": { "class": "Pool", "monitors":[ { "bigip": "/Common/f5demo-http-head"} ], "members": [{ "servicePort": 8080, "serverAddresses": [ "10.128.20.17", "10.128.20.18" ] }] } } }, "class": "ADC", "id": "as3_lab", "label": "as3_lab", "remark": "This is a sample remark ", "schemaVersion": "3.5.0" }, "persist": true }
from f5-appsvcs-extension.
@ajgerace we have a pending fix for this in 3.6.
from f5-appsvcs-extension.
@ajgerace [3.6] (https://github.com/F5Networks/f5-appsvcs-extension/tree/v3.6.0) has been released.
Closing this issue - if you run into something else, please open a new one. Thanks!
from f5-appsvcs-extension.
Related Issues (20)
- Service-discovery deletes the pool members for each sd modification HOT 2
- GSLB_Domain remark statement doesn't update Wide-IP description field HOT 2
- Unable to compare SSL SNI/hostname against data group HOT 3
- Any change in /Common partition removes GSLB topology record configuration from other partitions HOT 4
- profileTrafficLog": not working together with "class": "Service_L4", HOT 3
- profileHTTP2: support setting both client and server http2 profile using AS3 HOT 1
- Support for "reject" service type (Service_Reject) HOT 1
- dryRun on the Per-App deployments is making changes to the system HOT 1
- shareNodes notworking for FQDN nodes HOT 6
- Renaming is not supported after upgrade from 16.1 17.1 HOT 1
- HTML rule "content" property should handle said HTML content HOT 1
- AS3 will not allow changes to the Service_Address class' virtualAddress value HOT 1
- Changing the pool member state to "offline" generates an issue HOT 2
- AS3 functionality to define 'server-scope' attribute under 'virtual-address' LTM object HOT 2
- Endpoint_Policy : clientSsl action is not correctly applied HOT 5
- Unable to configure all DoS network vectors HOT 1
- Unable to configure IPFIX log destination HOT 1
- 3.49 regression, cannot have empty remark on pool member HOT 3
- RFE: Mask Constants values in returned declarations HOT 2
- Declarations failing after 3.49 upgrade - issues updating pool members HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f5-appsvcs-extension.