Operating System - Linux
1753842 Members
8263 Online
108806 Solutions
New Discussion юеВ

Re: Service Guard : The package can't unmount File system

 
Voldoo
Occasional Advisor

Service Guard : The package can't unmount File system

Hi all

Currently we are implementing SAP Service Guard for SCM (ABAP + JAVA) and then LiveCashe

The package for the SCM starts fine, but the Livecashe can't start for different raison
The first one is due to a XUSER (A call is open with SAP support) , but due to this the startup of package fails and then stop (normal)
But the problem is that the file systems can not be unmounted.

Apparently the ressource is busy

Any idea to bypass this situation and unmount the FS in any case.

Note :
The system is a RedHad Linux
We use hanfs files

Cheers

Yacine
7 REPLIES 7
Emil Velez
Honored Contributor

Re: Service Guard : The package can't unmount File system

In older days this was due to a missing fuser patch that umounts the filesystem.

What OS and version of serviceguard. Does the serviceguard script fail on startup and what error message are you getting when it tries to umount the filesystem.

If there is a fuser patch that is what is usually executed to kill any processes on a filesystem and umount it.
Andres Stickar
Frequent Advisor

Re: Service Guard : The package can't unmount File system

In the control script (dbci.cntl) you will find:

# FILESYSTEM UNMOUNT COUNT
# Specify the number of unmount attempts for each filesystem during package
# shutdown. The default is set to 1.
FS_UMOUNT_COUNT=1


Change the number to 3 or 4

If the FS is busy, then an fuser command will be performed to release it.

If this do not fix your problem, probably you will have to review you SGeSAP configuration, ctrun and nfs.

Regards

A.
Voldoo
Occasional Advisor

Re: Service Guard : The package can't unmount File system

Hi all,

Yes the parameter FS_UMOUNT_COUNT was already set to 3.

I thinks it's more a configuration issue.
Indeed we have 2 packages which using NFS FS.

And we we stop one of them , the nfs deamon is stopped.

I don't know if an NFS package can solve this.

Cheers

Yacine
Andres Stickar
Frequent Advisor

Re: Service Guard : The package can't unmount File system

Yacine.

If you are using SGeSAP you must use NFS toolkit and automounter to manage NFS.

A.
likid0
Honored Contributor

Re: Service Guard : The package can't unmount File system

Yep, SGeSAP uses HA NFS toolkit.
Windows?, no thanks
Doug O'Leary
Honored Contributor

Re: Service Guard : The package can't unmount File system

Hey;

I run into this problem sporadically on HPUX MCSG clusters running sap. It appears SAP doesn't always shut down cleanly.

Manually, you can run fuser on the mount point to find out what processes are holding that filesystem open, then kill those processes.

On *very* rare occasions, I haven't been able to kill a process because it's waiting on I/O. I think that's happened twice in over three years. Normally, the process dies pretty quickly, after which, you can unmount the filesystem, vgchange -a n the volume group and failover/restart as you desire.

The automatic portion of this is supposed to happen in MCSG already as part of the fuser command sequence when it's unmounting filesystems. For me, this issue happens rarely enough that I haven't bothered tracking it down; I just unmount the filesystems manually and am done with it.

HTH;

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Johnson Punniyalingam
Honored Contributor

Re: Service Guard : The package can't unmount File system

better if we could use fucer -ku "script" command before we umount the file system . in the pkg.ctnl.file,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference