Service Management Facility for Solaris 10

You must disable the Service Management Facility (SMF) for NFS daemons for the NFS agent to work on Solaris 10. SMF is the new service framework for Solaris 10. SMF provides an infrastructure to automatically start and restart services.

UNIX start-up scripts and configuration files previously performed these functions. SMF maintains the Service Configuration Repository to store persistent configuration information as well as runtime data for all the services. All NFS daemons (nfsd, mountd, etc.) are now controlled by SMF. To keep these daemons under VCS control, modify the configuration repository to disable the SMF framework for NFS daemons.

You must invoke the following command before bringing the NFS agent online or the agents returns an unknown state.

To keep nfsd and mountd daemons under VCS control

  1. Set the auto_enable property to false.

    # svccfg -s nfs/server setprop "application/auto_enable = false"

  2. Refresh the SMF configuration repository.

    # svcadm refresh nfs/server

  3. Disable SMF.

    # svcadm disable svc:/network/nfs/server:default

  4. Run svcs -a | grep -i nfs command and review its output to make sure that SMF for nfsd and mountd is disabled.

    # svcs -a | grep -i nfs

    disabled May_29 svc:/network/nfs/server:default

To keep nfsmapid daemon under VCS control

  1. Set the auto_enable property to false.

    # svccfg -s nfs/mapid setprop "application/auto_enable = false"

  2. Refresh the SMF configuration repository.

    # svcadm refresh nfs/mapid

  3. Disable SMF.

    # svcadm disable svc:/network/nfs/mapid:default

  4. Run svcs -a | grep -i mapid command and review its output to make sure that SMF for nfsmapid is disabled.

    # svcs -a | grep -i mapid

    disabled May_29 svc:/network/nfs/mapid:default