Operating System - HP-UX
1834007 Members
1789 Online
110063 Solutions
New Discussion

MCSG w SAP and autofs hangs when package is down

 
erwin luz_2
New Member

MCSG w SAP and autofs hangs when package is down

I am facing a problem with autofs when I bring down the package, which
also brings down the virtual IP (dmgdbci 10.3.1.250) you can see from the dbciR3P.control.script.log that the /export/usr/sap/trans and /export/sapmnt/R3P is
unexported successfully. But once the package is down, the system with hang, all network commands does not work ping, ping to itself, netstat, cmviewcl just hangs , in fact even shutdown hangs. I need to restart from console. So after I shutdown the
package no outward bound network traffic can go out. Only inward bound traffic can come in.
5 REPLIES 5
Warren_9
Honored Contributor

Re: MCSG w SAP and autofs hangs when package is down

Hi,

is the NIS configured on the system??

GOOD LUCK!!
Chan 007
Honored Contributor

Re: MCSG w SAP and autofs hangs when package is down

I am not sure about your systems start/stop procedure, but I assume this is not getting properly shutdown. Check the cluster-package log or syslog.log. POST it is possible.

can you ensure that you package has a script that will be used as part of start & stop.

While starting it does

exportfs -vua
then
exportfs -va
then
remsh $REMOTEHOST mount host:/

while stop does
remsh $REMOTEHOST umount
then
exportfs -vua

Hope this helps
Chan

erwin luz_2
New Member

Re: MCSG w SAP and autofs hangs when package is down

Hi,

I have narrowed down the problem, its does not even involve MCSG. The problem seems to be, whenever i put in place the /etc/auto.direct file and do a /sbin/init.d/nfs.client start the system hangs for outward bound traffic. Ping even to itself hangs, netstat, cmviewcl, nfsstat, all outward bound traffic hangs. But inbound is ok. I can still telnet to the system.

Btw the auto.direct contains the following:
/usr/sap/trans -soft,retrans=2,timeo=60,proto=udp,intr,retry=2 caasdbs:/export/usr/sap/trans
/sapmnt/P01 -soft,retrans=2,timeo=60,proto=udp,intr,retry=2 caasdbs:/export/sapmnt/P01

caasdbs is a virtual host. But if caasdbs is up all is well.

Rgds
Erwin
RAC_1
Honored Contributor

Re: MCSG w SAP and autofs hangs when package is down

I think this could be due to the fact that, when package (virtual ip-which is specified in autofs map)is down autmounter does not get it and hangs. Whay don't you just use nic card address instead of virtual ip address of package?

One more thing that you can do is, send -usr2 signal to automounter, this will create debug file in /var/adm. Check it to know what exactly happens when virtual ip is not accessible and what autofs does about it.
There is no substitute to HARDWORK
Telefonica OSI
Occasional Advisor

Re: MCSG w SAP and autofs hangs when package is down

erwin,
how did you solve it eventually?


Regards

Antonio