check_ora_sap_mounts.pl script is a fairly quick-and-dirty script to validate the mount options on remote Oracle filesystems in a typical SAP set-up according to some of the best practices in a SAP/Oracle environment.
It uses remote execution of commands via
SSH to crawl through a list of database servers. It is advisable to have access via public key authentication configured - without passphrase - to allow for batch mode execution
root privileges are not required to run the script. In fact you are better off using a low-privileged user so that the related SSH connections the script will make are also done with restricted privileges.
Download the script from following GitHub repository: https://github.com/patvdv/hpux_scripts
Have a look at the configuration stanza in the script and validate if/what needs to be retro-fitted to your environment:
the script assumes that the SAP file systems are mounted under a common parent mountpoint. The purpose of all subsequent mount points for the individual SAP filesystems are being guessed or worked out by the script itself. This may or may not suit your environment. YMMV.
- HP-UX 11.x
- SSH with public key authentication (batched)