DTC Pool
Use the nios_dtc_pool
module to create, update, or remove instances of the DTC pool object from a NIOS Grid. A DTC pool is a collection of local DNS resources (virtual servers).
The following table describes the parameters you can define in the nios_dtc_pool
module:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the name of the DTC pool that is displayed. |
| Required | Specifies the preferred load balancing method that is used to select a method type from the pool.
|
| Optional | Specifies the topology ruleset for the |
| Optional | Specifies the DTC servers related to the DTC pool.
|
| Optional | Specifies the health monitors related to the DTC pool. For this option to work, you must set the Define the following subparameters:
|
| Optional | Specifies extensible attributes for the DTC pool object. |
| Optional | Specifies the state of the DTC pool instance in NIOS.
|
| Optional | Describes the DTC pool object. |
| Required | Defines the details of the connection:
For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic. |
| Required | The |
Examples
name: Configure a DTC Pool
infoblox.nios_modules.nios_dtc_pool:
name: web_pool
lb_preferred_method: ROUND_ROBIN
servers:
- server: a.ansible.com
- server: b.ansible.com
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local
name: Add a comment to a DTC Pool
infoblox.nios_modules.nios_dtc_pool:
name: web.ansibletest.com
lb_preferred_method: ROUND_ROBIN
comment: this is a test comment
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local
name: Remove a DTC Pool from the system
infoblox.nios_modules.nios_dtc_pool:
name: web_pool
lb_preferred_method: ROUND_ROBIN
state: absent
provider:
host: "{{ inventory_hostname_short }}"
username: admin
password: admin
connection: local