a10_slb_server

Synopsis

Server

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

name

str/required

Server Name

server_ipv6_addr

str

IPV6 address

host

str

IP Address

fqdn_name

str

Server hostname

resolve_as

str

‘resolve-to-ipv4’= Use A Query only to resolve FQDN; ‘resolve-to-ipv6’= Use AAAA Query only to resolve FQDN; ‘resolve-to-ipv4-and-ipv6’= Use A as well as AAAA Query to resolve FQDN;

action

str

‘enable’= Enable this Real Server; ‘disable’= Disable this Real Server; ‘disable-with-health-check’= disable real server, but health check work;

external_ip

str

External IP address for NAT of GSLB

ipv6

str

IPv6 address Mapping of GSLB

template_server

str

Server template (Server template name)

health_check

str

Health Check Monitor (Health monitor name)

shared_partition_health_check

bool

Reference a health-check from shared partition

health_check_shared

str

Health Check Monitor (Health monitor name)

health_check_disable

bool

Disable configured health check configuration

conn_limit

int

Connection Limit

no_logging

bool

Do not log connection over limit event

conn_resume

int

Connection Resume (Connection Resume (min active conn before resume taking new conn))

weight

int

Weight for this Real Server (Connection Weight)

slow_start

bool

Slowly ramp up the connection number after server is up (start from 128, then double every 10 sec till 4096)

spoofing_cache

bool

This server is a spoofing cache

stats_data_action

str

‘stats-data-enable’= Enable statistical data collection for real server; ‘stats-data-disable’= Disable statistical data collection for real server;

extended_stats

bool

Enable extended statistics on real server

alternate_server

list

Field alternate_server

alternate

int

Alternate Server (Alternate Server Number)

alternate_name

str

Alternate Name

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

‘all’= all; ‘total-conn’= Total established connections; ‘fwd-pkt’= Forward Packets Processed; ‘rev-pkt’= Reverse Packets Processed; ‘peak-conn’= Peak number of established connections; ‘total_req’= Total Requests processed; ‘total_req_succ’= Total Requests succeeded; ‘curr_ssl_conn’= Current SSL connections established; ‘total_ssl_conn’= Total SSL connections established; ‘total_fwd_bytes’= Bytes processed in forward direction; ‘total_rev_bytes’= Bytes processed in reverse direction; ‘total_fwd_pkts’= Packets processed in forward direction; ‘total_rev_pkts’= Packets processed in reverse direction; ‘ip_only_lb_fwd_bytes’= IP-Only-LB Bytes processed in forward direction; ‘ip_only_lb_rev_bytes’= IP-Only-LB Bytes processed in reverse direction; ‘ip_only_lb_fwd_pkts’= IP-Only-LB Packets processed in forward direction; ‘ip_only_lb_rev_pkts’= IP-Only-LB Packets processed in reverse direction;

port_list

list

Field port_list

port_number

int

Port Number

protocol

str

‘tcp’= TCP Port; ‘udp’= UDP Port;

range

int

Port range (Port range value - used for vip-to-rport-mapping and vport-rport range mapping)

template_port

str

Port template (Port template name)

template_server_ssl

str

Server side SSL template (Server side SSL Name)

action

str

‘enable’= enable; ‘disable’= disable; ‘disable-with-health-check’= disable port, but health check work;

no_ssl

bool

No SSL

health_check

str

Health Check (Monitor Name)

shared_rport_health_check

bool

Reference a health-check from shared partition

rport_health_check_shared

str

Health Check (Monitor Name)

health_check_follow_port

int

Specify which port to follow for health status (Port Number)

follow_port_protocol

str

‘tcp’= TCP Port; ‘udp’= UDP Port;

health_check_disable

bool

Disable health check

support_http2

bool

Starting HTTP/2 with Prior Knowledge

weight

int

Port Weight (Connection Weight)

conn_limit

int

Connection Limit

no_logging

bool

Do not log connection over limit event

conn_resume

int

Connection Resume

stats_data_action

str

‘stats-data-enable’= Enable statistical data collection for real server port; ‘stats-data-disable’= Disable statistical data collection for real server port;

extended_stats

bool

Enable extended statistics on real server port

alternate_port

list

Field alternate_port

auth_cfg

dict

Field auth_cfg

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

oper

dict

Field oper

state

str

Field state

creation_type

str

Field creation_type

dns_update_time

str

Field dns_update_time

server_ttl

int

Field server_ttl

srv_gateway_arp

str

Field srv_gateway_arp

is_autocreate

int

Field is_autocreate

slow_start_conn_limit

int

Field slow_start_conn_limit

curr_conn_rate

int

Field curr_conn_rate

conn_rate_unit

str

Field conn_rate_unit

curr_observe_rate

int

Field curr_observe_rate

disable

int

Field disable

drs_list

list

Field drs_list

name

str

Server Name

port_list

list

Field port_list

stats

dict

Field stats

curr_conn

str

Current established connections

total_conn

str

Total established connections

fwd_pkt

str

Forward Packets Processed

rev_pkt

str

Reverse Packets Processed

peak_conn

str

Peak number of established connections

total_req

str

Total Requests processed

total_req_succ

str

Total Requests succeeded

curr_ssl_conn

str

Current SSL connections established

total_ssl_conn

str

Total SSL connections established

total_fwd_bytes

str

Bytes processed in forward direction

total_rev_bytes

str

Bytes processed in reverse direction

total_fwd_pkts

str

Packets processed in forward direction

total_rev_pkts

str

Packets processed in reverse direction

ip_only_lb_fwd_bytes

str

IP-Only-LB Bytes processed in forward direction

ip_only_lb_rev_bytes

str

IP-Only-LB Bytes processed in reverse direction

ip_only_lb_fwd_pkts

str

IP-Only-LB Packets processed in forward direction

ip_only_lb_rev_pkts

str

IP-Only-LB Packets processed in reverse direction

name

str

Server Name

port_list

list

Field port_list

Examples

- name: Create real server
  a10.acos_axapi.a10_slb_server:
    name: sv1
    host: 10.0.0.2

- name: Disable real server sv1
  a10.acos_axapi.a10_slb_server:
    name: sv1
    host: 10.0.0.2
    action: disable

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks 2021