Tuesday 24 January 2012

Configuring NFS on Solaris 10 for SAP Distributed System



Configuring NFS on Solaris 10 for SAP Distributed System


Step 1: enable NFS sever by running the following:

      svcadm -v enable -r network/nfs/server

Step 2: Run the following command to share via NFS

      share -F nfs -o rw /db2
      share –F nfs –o rw /sapmnt

Note: The above share command will not persist over reboots. To persist over reboots, add an entry to /etc/dfs/dfstab

      share -F nfs -o rw /db2
      share –F nfs –o rw /sapmnt

Step 3: Run the following command to mount from the client side:

                # mkdir  /db2
      # mkdir /sapmnt

      mount -F nfs server:/db2 /db2
      mount -F nfs server:/sapmnt /sapmnt

Note: The above mount command will not persist over reboots. To persist over reboots, add the following line in /etc/vfstab

        server:/db2   -   /db2   nfs   -   yes    rw,soft
        
        server:/sapmnt   -   /sapmnt   nfs   -   yes    rw,soft
         

No comments:

Post a Comment