Link to home
Start Free TrialLog in
Avatar of yvan_vallee
yvan_vallee

asked on

Sun Cluster failover wrong subnet mask on floater IP

after a failover the logicalHostname ressource put the floater IP on the right interface (ce6) (floater IP on ce6:1) but it doesn't take the netmask of the physical interface.
I am trying to understand how the logicalHostname ressource determines the netmask asit doesn't seesm to be from the /etc/hostname.ce6 or the /etc/netmasks files.
Rebooting the server would force him to put the right netmask from the /etc/hostname.ce6 but a few failover will change it to another value.
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

do you have different subnet masks for the logical IP (virtual one) and the servers' IPs ?
have you checked if the cluster configuration is done in such a way that it applies the network setting when the failover happpens.
Avatar of yvan_vallee
yvan_vallee

ASKER

Hello omarfarid
No, I want the same subnet mask. I have tried 2 ways to define the subnet mask; in the hostname.ce6 I had a line "addif "floaterIP_entry in etc/host" netmask 255.255.255.192 broadcast + -failover"
I also tried to have a different hostname.xxx file called hostname.ce6:1. The same problem in both cases.
Hi joules17,
There is no way to tell the SUn CLuster software about the netmask of the Logical hostname. To myh understanding you can only add an entry in the /etc/hosts file to define the IP address of the logical hostname.
I have also add an entry in the /etc/netmasks file with the netmask for that IP address.

I belive this is all it should need, and as indicated, I have add a line in the hostname.ce6 file for the floater IP.
ASKER CERTIFIED SOLUTION
Avatar of yvan_vallee
yvan_vallee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial