Agent functions for NFS agent

Online

  • Checks if nfsd and mountd are running. If they are not running, the agent starts the daemons and exits.

  • The nfsrgyd daemon is started if NFSv4Root is specified.

  • The gssd daemon is started if NFSSecurity is set to 1.

Offline

Not applicable.

Monitor

  • Monitors nfsd and mountd by checking whether or not the daemons are active.

  • The nfsrgyd daemon is monitored if NFSv4Root is specified.

  • The gssd daemon monitored if NFSSecurity is set to 1.

Clean

Stops and restarts nfsd and mountd daemons.

Attr_changed

When the Protocol attribute is changed, this function dynamically restarts the NFS services if the services are not running as per the protocol specified in the Protocol attribute.