Configuring Virtual Services
a system in another geographical location). To specify the server of last resort, use the optional server-last-resortargument:
config server-group name <string> policy <policy spec>
server-last-resort <index>
After a server-group is created, add a server or range of servers to it using the following commands:
config server-group name <group name> add-server index <number> config server-group name <group name> add-server ip-address <ip> config server-group name <group name> add-server index <index - index2> config server-group name <group name> add-server ip-address <ip - ip>
You can specify a server or range of servers by IP address or by server index. For example:
config server-group name group1 add-server index 1
config server-group name group1 add-server ip-address 10.10.10.2 config server-group name group1 add-server index 1 - 34 config server-group name group1 add-server
ip-address 10.10.10.2 - 10.10.10.15
To delete a server or range of servers from a group, use the following commands:
config server-group name <name> delete-server index <index num>
config server-group name <name> delete-server index <index> - <index2> config server-group name <text> delete-server ip-address <ip>
config server-group name <name> delete-server ip-address <ip - ip>
This removes the specified server (or servers) from the server group, but leaves it configured in the system, so that it can be added to a different group.
Configuring Virtual Services
The virtual service is the IP address and port to which clients on the Internet actually connect. Use the following basic command to configure a virtual service:
config service vip <ip address> port <number> protocol [tcpudp]
[L4L7] server-group-name <label>