You can dynamically modify the share command on an NFS file system without bringing offline the HA for NFS resource. The general procedure consists of modifying the dfstab.resource file for HA for NFS and then manually running the appropriate command, either the share command or the unshare command. The command is immediately effective, and HA for NFS handles making these paths highly available.
Ensure that the paths that are shared are always available to HA for NFS during failover so that local paths (on non-HA file systems) are not used.
If paths on a file system that is managed by HAStoragePlus are shared, the HAStoragePlus resource must be in the same resource group as the HA for NFS resource, and the dependency between them must be set correctly.
HA for NFS shares the new path the next time it checks the file. The frequency of these checks is controlled by the Thorough_Probe_Interval property (by default 120 seconds).
Running the command manually ensures that the shared paths are available to potential clients. HA for NFS detects that the newly added path is already shared and does not report an error.
Although a path can be unshared even if clients are using it, these clients would receive a stale file error handle and would need special care (forced unmount, or even reboot) to recover.