Forum Discussion

dmaman's avatar
dmaman
Level 2
8 years ago

nfs_sg does not go to online state

Hi,

I have two systems, Solaris and RHEL, when I configure ha on both systems, the RHEL responds OK, but solaris goes to "OFFLINE|FAULTED" state,

I found the following suggestions, but to no avail:

svcadm enable svc:/network/nfs/fedfs-client:default
svcadm enable svc:/network/nfs/client:default


svccfg delete -f svc:/network/nfs/server:default
svccfg delete -f svc:/network/nfs/mapid:default
svccfg delete -f svc:/network/nfs/status:default
svccfg delete -f svc:/network/nfs/nlockmgr:default

/usr/lib/nfs/lockd &
/usr/lib/nfs/statd &

  • dmaman's avatar
    dmaman
    8 years ago

    I read the manual and found the following:

    Using Service Management Facility (SMF) to control NFS daemons for Solaris 10

    I used the cli from this section, and that worked.

    Thank You!

4 Replies

  • Can you please tell us VCS/Infoscale version?
    And Solaris version?

    Have you gone through the 'NFS agent' section of vcs_bundled_agents_##_sol.pdf ?

    • dmaman's avatar
      dmaman
      Level 2

      Solaris 11.2 and 11.3

      VCS 6.2.1

      I think I did, but I will check it out again to be on the safe side.

      Dave.

      • Marianne's avatar
        Marianne
        Level 6

        I do not have a version 6.2 manual handy, only 7.2.

        Here I see for UseSMF attribute: 

        On Solaris 11, UseSMF must be set to 1.
        Note: On Solaris 11, when you use a SMF service to enable the NFS
        server, ensure that there is at least one shared directory present on
        each node to configure the agent. Use the following command to share
        a directory across reboots:
        #share /xyz
        On Solaris 11, to keep NFS daemons always running, do one of the following:
        ■ On each node, set application/auto_enable to false for
        nfs/status, nfs/server, and nfs/lockmgr SMF service:
        # svccfg -s nfs/status listprop -f application/auto_enable
        # svccfg -s nfs/server listprop -f application/auto_enable
        # svccfg -s nfs/nlockmgr listprop -f application/auto_enable
        Or
        ■ Ensure that there is at least one shared directory present on each
        node to configure the agent. Use the following command to share
        a directory across reboots:
        # share /xyz

        Please also read through 'Dependencies for NFS agent'.