bigip_gtm_pool_member - Manage GTM pool member settings
New in version 2.6.
Synopsis
- Manages a variety of settings on GTM pool members. The settings that can be adjusted with this module are much more broad that what can be done in the
bigip_gtm_pool
module. The pool module is intended to allow you to adjust the member order in the pool, not the various settings of the members. Thebigip_gtm_pool_member
module should be used to adjust all of the other settings.
Requirements
The below requirements are needed on the host that executes this module.
- f5-sdk >= 3.0.9
Parameters
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
description | The description of the pool member. | ||
limits | Specifies resource thresholds or limit requirements at the pool member level. When you enable one or more limit settings, the system then uses that data to take members in and out of service. You can define limits for any or all of the limit settings. However, when a member does not meet the resource threshold limit requirement, the system marks the member as unavailable and directs load-balancing traffic to another resource. | ||
bits_enabled bool |
| Whether the bits limit it enabled or not. This parameter allows you to switch on or off the effect of the limit. | |
packets_enabled bool |
| Whether the packets limit it enabled or not. This parameter allows you to switch on or off the effect of the limit. | |
connections_enabled bool |
| Whether the current connections limit it enabled or not. This parameter allows you to switch on or off the effect of the limit. | |
bits_limit | Specifies the maximum allowable data throughput rate, in bits per second, for the member. If the network traffic volume exceeds this limit, the system marks the member as unavailable. | ||
packets_limit | Specifies the maximum allowable data transfer rate, in packets per second, for the member. If the network traffic volume exceeds this limit, the system marks the member as unavailable. | ||
connections_limit | Specifies the maximum number of concurrent connections, combined, for all of the member. If the connections exceed this limit, the system marks the server as unavailable. | ||
member_order | Specifies the order in which the member will appear in the pool. The system uses this number with load balancing methods that involve prioritizing pool members, such as the Ratio load balancing method. When creating a new member using this module, if the member_order parameter is not specified, it will default to 0 (first member in the pool). | ||
monitor | Specifies the monitor assigned to this pool member. Pool members only support a single monitor. If the port of the gtm_virtual_server is * , the accepted values of this parameter will be affected.When creating a new pool member, if this parameter is not specified, the default of default will be used.To remove the monitor from the pool member, use the value none .For pool members created on different partitions, you can also specify the full path to the Common monitor. For example, /Common/tcp . | ||
partition | Default: "Common" | Device partition to manage resources on. | |
password required | The password for the user account used to connect to the BIG-IP. You can omit this option if the environment variable F5_PASSWORD is set.aliases: pass, pwd | ||
pool required | Name of the GTM pool. | ||
provider (added in 2.5) | A dict object containing connection details. | ||
password required | The password for the user account used to connect to the BIG-IP. You can omit this option if the environment variable F5_PASSWORD is set.aliases: pass, pwd | ||
server required | The BIG-IP host. You can omit this option if the environment variable F5_SERVER is set. | ||
server_port | Default: 443 | The BIG-IP server port. You can omit this option if the environment variable F5_SERVER_PORT is set. | |
user required | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You can omit this option if the environment variable F5_USER is set. | ||
validate_certs bool |
| If no , SSL certificates will not be validated. Use this only on personally controlled sites using self-signed certificates. You can omit this option if the environment variable F5_VALIDATE_CERTS is set. | |
timeout | Default: 10 | Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. | |
ssh_keyfile | Specifies the SSH keyfile to use to authenticate the connection to the remote device. This argument is only used for cli transports. If the value is not specified in the task, the value of environment variable ANSIBLE_NET_SSH_KEYFILE will be used instead. | ||
transport required |
| Configures the transport connection to use when connecting to the remote device. | |
ratio | Specifies the weight of the pool member for load balancing purposes. | ||
server required | The BIG-IP host. You can omit this option if the environment variable F5_SERVER is set. | ||
server_name required | Specifies the GTM server which contains the virtual_server . | ||
server_port (added in 2.2) | Default: 443 | The BIG-IP server port. You can omit this option if the environment variable F5_SERVER_PORT is set. | |
state |
| Pool member state. When present , ensures that the pool member is created and enabled. When absent , ensures that the pool member is removed from the system. When enabled or disabled , ensures that the pool member is enabled or disabled (respectively) on the remote device.It is recommended that you use the members parameter of the bigip_gtm_pool module when adding and removing members and it provides an easier way of specifying order. If this is not possible, then the state parameter here should be used.Remember that the order of the members will be affected if you add or remove them using this method. To some extent, this can be controlled using the member_order parameter. | |
type required |
| The type of GTM pool that the member is in. | |
user required | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You can omit this option if the environment variable F5_USER is set. | ||
validate_certs bool (added in 2.0) |
| If no , SSL certificates will not be validated. Use this only on personally controlled sites using self-signed certificates. You can omit this option if the environment variable F5_VALIDATE_CERTS is set. | |
virtual_server required | Specifies the name of the GTM virtual server which is assigned to the specified server . |
Notes
Note
- For more information on using Ansible to manage F5 Networks devices see https://www.ansible.com/integrations/networks/f5.
- Requires the f5-sdk Python package on the host. This is as easy as
pip install f5-sdk
.
Examples
- name: Create a ... bigip_gtm_pool_member: name: foo password: secret server: lb.mydomain.com state: present user: admin delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
param1 bool | changed | The new param1 value of the resource. Sample: True |
param2 string | changed | The new param2 value of the resource. Sample: Foo is bar |
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author
- Tim Rupp (@caphrim007)
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.6/modules/bigip_gtm_pool_member_module.html