LoadBalancers¶
These commands were added in version 5.8.0
LBaaS Commands¶
loadbal detail¶
Get Load Balancer as a Service details.
loadbal detail [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument
loadbal list¶
List active Load Balancer as a Service devices.
loadbal list [OPTIONS]
loadbal health¶
Manage LBaaS health checks.
loadbal health [OPTIONS] IDENTIFIER
Options
- --uuid <uuid>¶
Required Health check UUID to modify.
- -i, --interval <interval>¶
Seconds between checks. [2-60]
- -r, --retry <retry>¶
Number of times before marking as DOWN. [1-10]
- -t, --timeout <timeout>¶
Seconds to wait for a connection. [1-59]
- -u, --url <url>¶
Url path for HTTP/HTTPS checks.
Arguments
- IDENTIFIER¶
Required argument
loadbal member-add¶
Add a new LBaaS members.
loadbal member-add [OPTIONS] IDENTIFIER
Options
- --private, --public¶
Required Private or public IP of the new member.
- -m, --member <member>¶
Required Member IP address.
- -w, --weight <weight>¶
Weight of this member.
Arguments
- IDENTIFIER¶
Required argument
loadbal member-del¶
Remove a LBaaS member.
Member UUID can be found from slcli lb detail.
loadbal member-del [OPTIONS] IDENTIFIER
Options
- -m, --member <member>¶
Required Member UUID
Arguments
- IDENTIFIER¶
Required argument
loadbal pool-add¶
Adds a listener to the identifier LB
loadbal pool-add [OPTIONS] IDENTIFIER
Options
- -P, --frontProtocol <frontprotocol>¶
Protocol type to use for incoming connections
- Default
HTTP
- Options
HTTP | HTTPS | TCP
- -p, --backProtocol <backprotocol>¶
Protocol type to use when connecting to backend servers. Defaults to whatever –frontProtocol is.
- Options
HTTP | HTTPS | TCP
- -f, --frontPort <frontport>¶
Required Internet side port
- -b, --backPort <backport>¶
Required Private side port
- -m, --method <method>¶
Balancing Method
- Default
ROUNDROBIN
- Options
ROUNDROBIN | LEASTCONNECTION | WEIGHTED_RR
- -c, --connections <connections>¶
Maximum number of connections to allow.
- -s, --sticky¶
Make sessions sticky based on source_ip.
- -x, --sslCert <sslcert>¶
SSL certificate ID. See slcli ssl list
Arguments
- IDENTIFIER¶
Required argument
loadbal pool-edit¶
Updates a listener’s configuration.
LISTENER should be a UUID, and can be found from slcli lb detail <IDENTIFIER>
loadbal pool-edit [OPTIONS] IDENTIFIER LISTENER
Options
- -P, --frontProtocol <frontprotocol>¶
Protocol type to use for incoming connections
- Options
HTTP | HTTPS | TCP
- -p, --backProtocol <backprotocol>¶
Protocol type to use when connecting to backend servers. Defaults to whatever –frontProtocol is.
- Options
HTTP | HTTPS | TCP
- -f, --frontPort <frontport>¶
Internet side port
- -b, --backPort <backport>¶
Private side port
- -m, --method <method>¶
Balancing Method
- Options
ROUNDROBIN | LEASTCONNECTION | WEIGHTED_RR
- -c, --connections <connections>¶
Maximum number of connections to allow.
- -t, --clientTimeout <clienttimeout>¶
maximum idle time in seconds(Range: 1 to 7200).
- -s, --sticky¶
Make sessions sticky based on source_ip.
- -x, --sslCert <sslcert>¶
SSL certificate ID. See slcli ssl list
Arguments
- IDENTIFIER¶
Required argument
- LISTENER¶
Required argument
loadbal pool-del¶
Removes the listener from identified LBaaS instance
LISTENER should be a UUID, and can be found from slcli lb detail <IDENTIFIER>
loadbal pool-del [OPTIONS] IDENTIFIER LISTENER
Arguments
- IDENTIFIER¶
Required argument
- LISTENER¶
Required argument
loadbal l7pool-add¶
Adds a new l7 pool
-S is in colon deliminated format to make grouping IP:port:weight a bit easier.
loadbal l7pool-add [OPTIONS] IDENTIFIER
Options
- -n, --name <name>¶
Required Name for this L7 pool.
- -m, --method <method>¶
Balancing Method.
- Default
ROUNDROBIN
- Options
ROUNDROBIN | LEASTCONNECTION | WEIGHTED_RR
- -P, --protocol <protocol>¶
Protocol type to use for incoming connections
- Default
HTTP
- Options
HTTP | HTTPS
- -S, --server <server>¶
Required Backend servers that are part of this pool. Format is colon deliminated. BACKEND_IP:PORT:WEIGHT. eg. 10.0.0.1:80:50 (multiple occurrence permitted)
- --healthPath <healthpath>¶
Health check path.
- Default
/
- --healthInterval <healthinterval>¶
Health check interval between checks.
- Default
5
- --healthRetry <healthretry>¶
Health check number of times before marking as DOWN.
- Default
2
- --healthTimeout <healthtimeout>¶
Health check timeout.
- Default
2
- -s, --sticky¶
Make sessions sticky based on source_ip.
Arguments
- IDENTIFIER¶
Required argument
loadbal l7pool-del¶
Deletes the identified pool
Identifier is L7Pool Id. NOT the UUID
loadbal l7pool-del [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument
loadbal order¶
Creates a LB. Protocols supported are TCP, HTTP, and HTTPS.
loadbal order [OPTIONS]
Options
- -n, --name <name>¶
Required Label for this loadbalancer.
- -d, --datacenter <datacenter>¶
Required Datacenter shortname (dal13).
- -l, --label <label>¶
A descriptive label for this loadbalancer.
- -f, --frontend <frontend>¶
Required PROTOCOL:PORT string for incoming internet connections.
- Default
- -b, --backend <backend>¶
Required PROTOCOL:PORT string for connecting to backend servers.
- Default
- -m, --method <method>¶
Balancing Method.
- Default
ROUNDROBIN
- Options
ROUNDROBIN | LEASTCONNECTION | WEIGHTED_RR
- -s, --subnet <subnet>¶
Required Private subnet Id to order the LB on. See slcli lb order-options
- --public¶
Use a Public to Public loadbalancer.
- Default
False
- --verify¶
Only verify an order, dont actually create one.
- Default
False
loadbal order-options¶
Prints options for order a LBaaS
loadbal order-options [OPTIONS]
Options
- -d, --datacenter <datacenter>¶
Show only selected datacenter, use shortname (dal13) format.
loadbal cancel¶
Cancels a LBaaS instance
loadbal cancel [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument
NetScaler Commands¶
loadbal ns-detail¶
Get Netscaler details.
loadbal ns-detail [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument
loadbal ns-list¶
List active Netscaler devices.
loadbal ns-list [OPTIONS]