Originally posted by: bodily
This is actually a very common issue. Though not HACMP specific, it is far more likely to be seen in an HACMP environment. Especially when the connection is a wildcard request (like ftp or telnet). Here's the gist of the problem.
When you have a persistent IP on the same subnet as the service(s) (which is common practice) the default route gets assigned to the interface first addressed on that subnet (i.e. normally the persistent). Hence any connection request from that server on that given subnet, comes out that interace and that ip address. This is fundamental AIX TCP/IP.
There are a handful of ways to deal with this, none of which I know of to blatantly easy.
Some people would say (assuming the connection request is via ftp or telnet) to use more current tools to provide this functionality that offers the ability to specify a particular IP address, like ssh -b or scp -o. Many times it is applications doing this, and incorporating such a change is not easily done.
HACMP attempted to help these situations by specificy service alias distribution policies, one being that it would make sure all service aliases would be on the same interface as the persistent. Well that only helped a little depending on how the firewall was configured (my understanding was via specific interfaces and subnet, not so much specific address). So that isn't a cure all either.
The other options I know of would be to put the persistent on a seperate subnet (which according to some recent customer engagements sounds more doable than historically was the case). Or, you manually script/manipulate the addresses at HACMP startup. Meaning remove the persistent IP before acquiring the service address, let HACMP put on the service, then put the persistent back on.
That's about all that comes to mind. So hopefully this helps.
#AIX-Forum