Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sun Cluster failover wrong subnet mask on floater IP

Posted on 2009-05-06
5
Medium Priority
?
768 Views
Last Modified: 2013-12-27
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.
0
Comment
Question by:yvan_vallee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24321951
do you have different subnet masks for the logical IP (virtual one) and the servers' IPs ?
0
 
LVL 4

Expert Comment

by:joules17
ID: 24322817
have you checked if the cluster configuration is done in such a way that it applies the network setting when the failover happpens.
0
 

Author Comment

by:yvan_vallee
ID: 24325019
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.
0
 

Author Comment

by:yvan_vallee
ID: 24325068
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.
0
 

Accepted Solution

by:
yvan_vallee earned 0 total points
ID: 24389353
I haven't found a solution for this in the Sun Cluster configuration details. I also know that this appears as a new problem as I did some Sun Cluster failover before and never ran into this issue.
In my case, I modified the start-up script of a resource part of the resource group that gets switched from one cluster node to the other one, so it runs an "ifconfig" command to set-up the subnet mask properly before starting the application. That works fine.

I really appears as a "bug" in the Sun Cluster software, may be caused by a recent patch.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question