ADC Create IA Agents Load Balancer

#Add servers 
add server SB-MS-AM01 192.168.25.50
add server SB-MS-AM02 192.168.25.51

#Add Service Group
add servicegroup svcgrp_ia_agents_3162 TCP
add servicegroup svcgrp_ia_agents_3163 TCP
add servicegroup svcgrp_ia_agents_3165 TCP

#Bind Service Groups
bind servicegroup svcgrp_ia_agents_3162 SB-IV-AM01 3162
bind servicegroup svcgrp_ia_agents_3162 SB-IV-AM02 3162
bind serviceGroup svcgrp_ia_agents_3162 -monitorName tcp-ecv
bind servicegroup svcgrp_ia_agents_3163 SB-IV-AM01 3163
bind servicegroup svcgrp_ia_agents_3163 SB-IV-AM02 3163
bind servicegroup svcgrp_ia_agents_3163 -monitorName tcp-ecv
bind servicegroup svcgrp_ia_agents_3165 SB-IV-AM01 3165
bind servicegroup svcgrp_ia_agents_3165 SB-IV-AM02 3165
bind servicegroup svcgrp_ia_agents_3165 -monitorName tcp-ecv

#Create Load Balancer VS
#Change the IP Address
add lb vserver lb_vsrv_ia_agents_3162 TCP 172.16.1.104 3162
add lb vserver lb_vsrv_ia_agents_3163 TCP 172.16.1.104 3163
add lb vserver lb_vsrv_ia_agents_3165 TCP 172.16.1.104 3165

#Bind Service Groups to vServer
bind lb vserver lb_vsrv_ia_agents_3162 svcgrp_ia_agents_3162
bind lb vserver lb_vsrv_ia_agents_3163 svcgrp_ia_agents_3163
bind lb vserver lb_vsrv_ia_agents_3165 svcgrp_ia_agents_3165