Configuring the vip rhi route mask length – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 145
![background image](/manuals/361724/145/background.png)
Brocade Virtual ADX Server Load Balancing Guide
129
53-1003247-01
Miscellaneous options
2
NOTE
If a VIP port is not bound to any real server ports, it will not be used for deciding the health of the VIP.
If a VIP port is bound but you do not want to use it to determine the health of the VIP as described
above, then configure the following for the VIP port.
Virtual ADX(config)#server virtual-name-or-ip dns-p1
Virtual ADX(config-vs-dns-p1)#port ftp rhi-dont-use-port
Syntax: [no] port port rhi-dont-use-port
As another example, assume the port http and port ftp commands have been configured for virtual
server vs1. You then bind port ftp of real server rs1 and port ftp of real server rs2 to port ftp of
virtual server vs1. Similarly, you bind port http of real server rs1 and port http of real server rs2 to
port http of virtual server vs1. If you need to base the health of the VIP vs1 only on the health of the
VIP port http, then you can configure the following for the port ftp.
Virtual ADX(config)#server virtual-name-or-ip vs1
Virtual ADX(config-vs-dns-p1)#port ftp rhi-dont-use-port
As a result, only the health of port http of virtual server vs1 will be used to determine the health of
virtual server vs1 and consequently to determine if the VIP route for vs1 should be injected or
withdrawn.
Configuring the VIP RHI Route Mask Length
You can configure the subnet mask length that VIP RHI injects into the routing table for a specific
virtual server by entering a command such as the following.
Virtual ADX(config)#server virt virt-2
Virtual ADX(config-vs-virt-2)#vip-route-subnet-mask-length 28
Syntax: [no] vip-route-subnet-mask-length length
The ipv4-subnet-mask-length variable specifies the IPv4 subnet mask length of VIP RHI injected
route for this virtual server. This parameter must have a value between interface subnet mask
length and 32.
The ipv6-subnet-mask-length variable specifies the IPv6 subnet mask length of VIP RHI injected
route for this virtual server. This parameter must have a value between interface subnet mask
length and 128.
The server global-vip-route-mask-length command that configured the VIP RHI route mask length at
a global level has been deprecated. This configuration will be translated to VIP level mask length
under each individual VIP during image upgrade.
NOTE
The VIP-RHI mask length should not be less than the interface subnet mask length.
Depending on the interface mask length and the vip-route-mask length there can be either a host
route or single/dual subnet routes to this VIP host.
Virtual ADX(config-vs-virt-2)#vip-route-subnet-mask-length 28
For example, If you have a VIP host with the IPv6 address “2001:DB8::10” configured over a
loopback interface with the IPv6 address “2001:DB8::1/64” will, by default, RHI inject a static host
route as shown.
S 2001:DB8::10/128
2001:DB8::10
loopback 1 1/1