how to add the following types of NFS mounts to each server (both app and database)
The mounts are specific to each server (exports on the ZFS has unique names).
Below are the Linux version of the mounts that we need help converting to Solaris:
# ZFS mounts (for SAP) - Environment specific (by application name/environment)
10.10.10.10:/export/sapmntCBP /sapmnt/CBP nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
10.10.10.10:/export/ifaceCBP/nonprod /iface/CBP nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
10.10.10.10:/export/cbpci/usrsap /usr/sap nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
10.10.10.10:/export/cbpci/oracle /oracle nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
10.10.10.10:/export/usrsaptrans_ce_np /usr/sap/trans nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
# All SAP servers - For install only (then unmount)
10.243.204.253:/export/linux /sw nfs rsize=8192,wsize=8192,timeo=14,intr,_netdev 0 0
10.10.10.10:/export/SAP_media /SAP_media nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0 -
10.10.10.10:/export/Install /Install nfs rw,bg,hard,rsize=32768,wsize=32768,timeo=10,intr,proto=tcp,noac,vers=3,suid,_netdev 0 0
Solaris version
Generally the vfstab entry would be like this example:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
IP:/export/file - /stage nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,vers=3
The “suid" option is set by default but you can use it or “nosuid” if it needs to be off.
There is no “_netdev" option, my understanding is in linux “_" options are ignored by the mount utility but are kept in the mount table as a flag apps can access with the mount command.
I don’t know that I would use timeo=10 but if it is working for you now, try it.
So your first entry below would look something like:
10.10.10.10:/export/sapmntCBP - /sapmnt/CBP nfs – yes rw,bg,hard,intr,rsize=32768,wsize=32768,timeo=10,proto=tcp,noac,vers=3,suid
other example
# Solaris DB exports
#10.10.14.10:/export/orainst - /oracleexp nfs - yes rw,bg,hard,nointr,rsize=1048576,wsize=1048576,proto=tcp,suid,vers=3
# Linux DB exports (used in ER2 for BOE (PBO, SBO and CBO)
10.10.14.10:/export/orainstx86 - /oracleexp nfs - yes rw,bg,hard,nointr,rsize=1048576,wsize=1048576,proto=tcp,suid,vers=3