Forum Discussion
Error when I try to assign a member to a Pool
When I execute this piece of code:
pool = bigip.tm.ltm.pools.pool.create(name="Pool Name",
partition='Common',
description="First Pool",
monitor="/Common/" + monitor.name)
Create the Members
node = pool.members_s.members.create(name="Node name",
address=ip_address,
partition='Common',
description='First Node',
monitor="/Common/icmp_tid")
UpdatePool
pool.update()
I get the next error: Text: '{"code":400,"message":"01070587:7: The requested monitor rule (/Common/icmp_tid on pool ) can only be applied to node addresses. Can anyone explain what is the issue? When I try to create the node itself with th command mgmt.tm.ltm.nodes.node.create() and attach the monitor to it I don't have any problem. But when I create it as a member of an existing pool the error appears.
Is there any way this can work or is there any way of assigning an existing node as a member of an pool?
Thanks
- Stanislas_Piro2Cumulonimbus
there are 2 icmp monitors:
- icmp : can only be assigned to nodes
- gateway icmp : can be assigned to nodes and pool members
I guess this is to prevent to assign the same monitor to multiple services listening on the same node.
On pool members, the service port is assigned whereas icmp monitor is a "Host" monitor without port.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com