cancel
Showing results for 
Search instead for 
Did you mean: 

nfs_sg does not go to online state

dmaman
Level 2

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 &

1 ACCEPTED SOLUTION

Accepted Solutions

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!

View solution in original post

4 REPLIES 4

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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 ?

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
Moderator
Moderator
Partner    VIP    Accredited Certified

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'. 

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!