DevTech101

DevTech101

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 10.10.10.50/23
# ifconfig e1000g1 plumb 10.10.10.11/23 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 10.10.10.50/23
# ifconfig e1000g0 plumb 10.10.10.12/23 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=10.10.12.11:22,10.10.12.12:22 ssh

Create the load balance ports

# Load balance ssh
ilbadm create-rule -e -i vip=10.10.10.50,port=22 -m lbalg=rr,type=NAT,proxy-src=10.10.10.11 -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.

References

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

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