iowaprogrammer
ISP
I am doing a proof of concept using two sunblade 100's. I have the machines running solaris 10 and sun cluster 3_2.
I have made the necessary connections for the heartbeat and server using three nic's. Doing an scstat shows them as being online. Made an empty resource group name MAIL_RS and I can see it failover to my secondary server when I shit one down.
The part I am having trouble with is how do I set a failover IP. So that when server A goes down the ip address is assumed by server B.
So before a failover, traffic is going to server A via domain mail.com. When a problem arises and server A goes down then server B takes over. I want mail.com to have it's traffic to be going then to server B automatically. I don't know how to assign this, perhaps I already have read how to do this but didn't understand what I was reading
Server A
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER>
inet 192.168.2.10 netmask ffffffe0 broadcast 66.207.0.255
groupname sc_ipmp0
ether 0:3:ba:20:18:14
hme0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:1c:e8:d3
hme1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:1d:31:13
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mt
inet6 ::1/128
eri0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe20:1814/10
groupname sc_ipmp0
ether 0:3:ba:20:18:14
Server B
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.2.11 netmask ffffffe0 broadcast 66.207.0.255
groupname sc_ipmp0
ether 0:3:ba:20:c:da
qfe0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:1e:20:92
qfe1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:1e:20:93
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:1
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
eri0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe20:cda/10
groupname sc_ipmp0
ether 0:3:ba:20:c:da
All
I have made the necessary connections for the heartbeat and server using three nic's. Doing an scstat shows them as being online. Made an empty resource group name MAIL_RS and I can see it failover to my secondary server when I shit one down.
The part I am having trouble with is how do I set a failover IP. So that when server A goes down the ip address is assumed by server B.
So before a failover, traffic is going to server A via domain mail.com. When a problem arises and server A goes down then server B takes over. I want mail.com to have it's traffic to be going then to server B automatically. I don't know how to assign this, perhaps I already have read how to do this but didn't understand what I was reading
Server A
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER>
inet 192.168.2.10 netmask ffffffe0 broadcast 66.207.0.255
groupname sc_ipmp0
ether 0:3:ba:20:18:14
hme0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:1c:e8:d3
hme1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:1d:31:13
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mt
inet6 ::1/128
eri0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe20:1814/10
groupname sc_ipmp0
ether 0:3:ba:20:18:14
Server B
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.2.11 netmask ffffffe0 broadcast 66.207.0.255
groupname sc_ipmp0
ether 0:3:ba:20:c:da
qfe0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:1e:20:92
qfe1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:1e:20:93
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:1
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
eri0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe20:cda/10
groupname sc_ipmp0
ether 0:3:ba:20:c:da
All