To use nics in multinic sg , first bond them in a group.
root ~etc #>more hostname.e1000g3
group PROD1 up
root ~etc #>more hostname.e1000g0
sys1 netmask 255.255.255.0 broadcast + group PROD1 up
we have two systems :-
sys1 & sys2
Add a nic service group:-
#hagrp –add nicsg
#hagrp –modify nicsg –SystemList sys1 0 sys1 2
Add multinicb resource :-
#hares –add mnicb MultiNICB nicsg
#hares –modify mnicb Critical 0
#gares –modify mnicb Device e1000g0 0 e1000g3 1
#hares –modify mnicb MpathdCommand /usr/lib/inet/in.mpathd –a
#hares –modify mnicb ConfigCheck 0
#hares –modify mnicb Enabled 1
Add ipmultinicb resource :-
#hares –add ipmnicb IPMultiNICB nicsg
#hares –modify ipmnicb Critical 0
#hares –modify ipmnicb Address 192.168.1.100
#hares –modify ipmnicb BaseResName mnicb
#hares –modify ipmnicb NetMask 255.255.255.0
#hares –modify ipmnicb DeviceChoice 0
#hares –modify ipmnicb Enabled 1
#haconf -dump
OnlineService Group :-
#hagrp –online nicsg –sys sys1
root ~etc #>more hostname.e1000g3
group PROD1 up
root ~etc #>more hostname.e1000g0
sys1 netmask 255.255.255.0 broadcast + group PROD1 up
we have two systems :-
sys1 & sys2
Add a nic service group:-
#hagrp –add nicsg
#hagrp –modify nicsg –SystemList sys1 0 sys1 2
Add multinicb resource :-
#hares –add mnicb MultiNICB nicsg
#hares –modify mnicb Critical 0
#gares –modify mnicb Device e1000g0 0 e1000g3 1
#hares –modify mnicb MpathdCommand /usr/lib/inet/in.mpathd –a
#hares –modify mnicb ConfigCheck 0
#hares –modify mnicb Enabled 1
Add ipmultinicb resource :-
#hares –add ipmnicb IPMultiNICB nicsg
#hares –modify ipmnicb Critical 0
#hares –modify ipmnicb Address 192.168.1.100
#hares –modify ipmnicb BaseResName mnicb
#hares –modify ipmnicb NetMask 255.255.255.0
#hares –modify ipmnicb DeviceChoice 0
#hares –modify ipmnicb Enabled 1
#haconf -dump
OnlineService Group :-
#hagrp –online nicsg –sys sys1