Appearance
VIPs Since v0.2
A VIP is a named client-facing IP address, IPv4 or IPv6, with no port and no prefix. A virtual server uses a VIP together with a port. Naming addresses lets you move one address without editing every virtual server.
Before you begin
- Role: global
operatororadminto change VIPs. Viewers can read them. - The address must exist on the node (non-floating VIP), or be one of the pair's virtual addresses (floating VIP).
Add a VIP
text
1. Open Traffic > VIPs, and select New VIP.
2. Enter the name, the address and, optionally, a description.
3. Turn on Floating (moved by failover) if high-availability failover moves this address.
4. Select Preview changes, add a comment and select Apply.sh
waap vip add -vip vip-shop -m "shop front door" address=192.0.2.10 "description=shop front door"yaml
# vips[] in the configuration
- name: vip-shop
address: 192.0.2.10
description: shop front door
floating: falseEdit or remove a VIP
sh
waap vip edit -vip vip-shop -m "make floating" floating=true
waap vip list
waap vip show -vip vip-shop
waap vip remove -vip vip-shop -m "retire"An empty description= removes the description. Every command accepts -dry-run. waap vip fields lists the keys. A VIP that a virtual server uses cannot be removed (HTTP 409, and the message names the virtual server).
Check that a node holds the address
Each node reports, per VIP, present, missing or unknown. For a floating VIP, present means this node currently holds it. The VIP page, waap vip list, waap vip show and GET /v1/vips show it.
| Warning | Raised when |
|---|---|
vip.missing | A non-floating VIP is missing on a node. |
vip.unused | No virtual server uses the VIP. |
Settings reference
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Name (name) | Identifies the VIP. | none | lowercase letters, digits and dashes; 1 to 63 characters; unique | all |
Address (address) | The client-facing address. | none | IPv4 or IPv6 address without port, prefix or zone; not multicast; unique | all |
Description (description) | A note shown next to the VIP. | none | one line, at most 256 bytes | all |
Floating (moved by failover) (floating) | Failover moves the address with the active node. | false | true, false | the address must be listed in ha.virtual_addresses |
API
GET and POST /v1/vips, and GET, PUT, DELETE /v1/vips/{name}. Roles and audit are the same as for server pools: viewers read, operators change, global scope.
Limits
| Limit | Value |
|---|---|
| VIPs per configuration | 1,024 |
Troubleshooting
A floating VIP is refused. Cause: its address is not in ha.virtual_addresses. Fix: add the address to the pair's virtual addresses first.
A VIP shows missing. Cause: the address is not on an interface of that node. Check: waap vip list. Fix: configure the address on the node, or mark the VIP floating.