slb template server

Configure a server template in order to reuse server settings.

server Specification

Type Collection
Object Key(s) name
Collection Name server-list
Collection URI /axapi/v3/slb/template/server/
Element Name server
Element URI /axapi/v3/slb/template/server/{name}
Element Attributes server_attributes
Schema server schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/server/

server Attributes

Create List

POST

/axapi/v3/slb/template/server/

server Attributes

Get Object

GET

/axapi/v3/slb/template/server/{name}

server Attributes

Get List

GET

/axapi/v3/slb/template/server/

server-list

Modify Object

POST

/axapi/v3/slb/template/server/{name}

server Attributes

Replace Object

PUT

/axapi/v3/slb/template/server/{name}

server Attributes

Replace List

PUT

/axapi/v3/slb/template/server/

server-list

Delete Object

DELETE

/axapi/v3/slb/template/server/{name}

server Attributes

server-list

server-list is JSON List of server Attributes

server-list : [

server Attributes

add

Description: Specifies the amount by which to increase the maximum number of concurrent connections allowed.

Type: number

Range: 1-4095

Mutual Exclusion: add and times are mutually exclusive

conn-limit

Description: Specifies the maximum number of connections allowed on real servers that use this template.

Type: number

Range: 1-8000000

Default: 8000000

conn-limit-no-logging

Description: Disables logging for the feature.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

conn-rate-limit

Description: Limits the rate of new connections the ACOS device is allowed to send to servers that use this template. When a real server reaches its connection limit, the ACOS device stops selecting the server for client requests. Specify the maximum number of new connections allowed on a server.

Type: number

Range: 1-1048575

conn-rate-limit-no-logging

Description: Disables logging for the feature.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

dns-query-interval

Description: Specifies how often the ACOS device sends DNS queries for the IP addresses of dynamic real servers. You can specify 1440 minutes for one day.

Type: number

Range: 1-1440

Default: 10

dynamic-server-prefix

Description: Specifies the prefix added to the front of dynamically created servers.

Type: string

Default: DRS

every

Description: Specifies the number of seconds between each increase of the number of concurrent connections allowed. For example, if the ramp-up interval is 10 seconds, the number of concurrent connections to allow is increased every 10 seconds.

Type: number

Range: 1-60

Default: 10

extended-stats

Description: Enables collection of peak connection statistics for a server.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

health-check

Description: Enables health monitoring of ports that use this template. Specify the name of a configured health monitor. If you omit this command or you enter it without the monitor-name, the default ICMP health monitor is used: an ICMP ping (echo request) is sent every 30 seconds. If the ping fails 2 times consecutively, the ACOS device sets the server state to DOWN .

Type: string

Mutual Exclusion: health-check and health-check-disable are mutually exclusive

Reference Object: /axapi/v3/health/monitor

health-check-disable

Description: Disables health monitoring of servers that use this template.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: health-check-disable and health-check are mutually exclusive

initial-slow-start

Description: Specifies the maximum number of concurrent connections to allow on the server after it first comes up.

Type: number

Range: 1-4095

Default: 128

log-selection-failure

Description: Enables real-time logging for server-selection failures.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

max-dynamic-server

Description: Specifies the maximum number of dynamic real servers that can be created for a given hostname.

Type: number

Range: 1-1023

Default: 255

min-ttl-ratio

Description: Specifies the minimum initial value for the TTL of dynamic real servers. The ACOS device multiplies this value by the DNS query interval to calculate the minimum TTL value to assign to the dynamically created server.

Type: number

Range: 1-15

Default: 2

name

Description: Name of the template.

Type: string

Format: string-rlx

Default: default

Required: Yes

rate-interval

Description: Specifies whether the connection rate limit applies to one-second intervals or 100-ms intervals.

Type: string

Supported Values: 100ms, second

Default: second

resume

Description: Specifies the maximum number of connections the server can have before the ACOS device resumes use of the server.

Type: number

Range: 1-1048575

slow-start

Description: Provides time for real ports that use the template to ramp-up after TCP/UDP service is enabled, by temporarily limiting the number of new connections on the ports.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

spoofing-cache

Description: Enables support for a spoofing cache server. A spoofing cache server uses the client’s IP address instead of its own as the source address when obtaining content requested by the client.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

stats-data-action

Description: Disables or enables statistical data collection for servers that use this template.

Type: string

Supported Values: stats-data-enable, stats-data-disable

Default: stats-data-enable

till

Description: Slow start ends when slow start connection limit reaches a number (default 4096) (Slow start ends when connection limit reaches this number)

Type: number

Range: 1-65535

Default: 4096

times

Description: Specifies the scale factor number by which to multiply the starting connection limit. For example, if the scale factor is 2 and the starting connection limit is 128, the ACOS device increases the connection limit to 256 after the first ramp-up interval.

As an alternative to specifying a scale factor, you can instead specify how many more concurrent connections to allow.

Type: number

Range: 2-10

Default: 2

Mutual Exclusion: times and add are mutually exclusive

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

weight

Description: Assigns an administrative weight to the server, for weighted load balancing. The numbered parameter is the administrative weight assigned to the server.

Type: number

Range: 1-100