How To configure VRRP and ilb for Solaris 11

First Configure VRRP on each server

On server 1

# dladm create-vnic -m vrrp -V 12 -A inet -l e1000g1 vnic1
# vrrpadm create-router -V 12 -A inet -l e1000g1 vrrp1
# ifconfig vnic1 plumb
# ifconfig e1000g1 plumb up

On server 2

# dladm create-vnic -m vrrp -V 12 -A inet -l e1000g0 vnic1
# vrrpadm create-router -V 12 -A inet -l e1000g0 -p 100 vrrp1
# ifconfig vnic1 plumb
# ifconfig e1000g0 plumb up

On both servers

svcadm enable ipv4-forwarding
pkg install ilb
svcadm enable ilb

Configure the initial ilb server group

ilbadm create-servergroup -s servers=, ssh

Create the load balance ports

# Load balance ssh
ilbadm create-rule -e -i vip=,port=22 -m lbalg=rr,type=NAT,proxy-src= -o servergroup=ssh rule1

Check ilb status

ilbadm show-rule
ilbadm show-rule -f
# if you add your own Load Balance rules
ilbadm show-hc-result

Note: If using VRRP in combination with Solaris iLB, you should note that SSL Secure termination is not supported as of this writing. an option would be to use Oracle Traffic Director (OTD).

For an updated that works in Solaris 11.2 click here

You might also like. Solaris 11.2 and ilb (load balancer) a full example how to use Solaris 11.2 iLB.


How to configure ilb Load balance in solaris 11
Official Oracle ilb domestication

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
%d bloggers like this: