Code Monkey home page Code Monkey logo

Comments (6)

mdditt2000 avatar mdditt2000 commented on July 30, 2024

please look at the following example

https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3/refguide/additional-examples.html#example-10-two-applications-sharing-a-pool

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.

ajgerace avatar ajgerace commented on July 30, 2024

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.

kaustriaf5 avatar kaustriaf5 commented on July 30, 2024

@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.

ajgerace avatar ajgerace commented on July 30, 2024

@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.

kaustriaf5 avatar kaustriaf5 commented on July 30, 2024

@ajgerace we have a pending fix for this in 3.6.

from f5-appsvcs-extension.

kaustriaf5 avatar kaustriaf5 commented on July 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.