Showing posts with label VirtualBox. Show all posts
Showing posts with label VirtualBox. Show all posts

Thursday, July 1, 2010

Solaris 10 IPMP Link Based Failure Detection in Virtualbox


Configuring Solaris 10 IPMP Link Based Failure Detection in Virtualbox for just testing purpose

Define 2 NIC in a Solarisx86 vm

1-view configuration

# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=201000843 mtu 1500 index 2
inet 192.168.1.14 netmask ffffff00 broadcast 192.168.1.255
groupname grp1
ether 8:0:27:3e:5b:87
e1000g1: flags=201000843 mtu 1500 index 3
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname grp1
ether 8:0:27:41:a1:63



2- check files mapping to your nic's under /etc/


# more /etc/hostname*
::::::::::::::
/etc/hostname.e1000g0
::::::::::::::
solsrvr2 netmask + broadcast + group grp1 up
::::::::::::::
/etc/hostname.e1000g1
::::::::::::::
group grp1 up




3-check if mpathd is running or not

# ps -ef | grep mpathd
root 158 1 0 16:48:03 ? 0:01 /usr/lib/inet/in.mpathd -a



4- mpathd configuration under /etc/default/

# ls -l /etc/default/mpathd


5-testing you can disconnect network cable to simulate disconnecting cable