The postonline script for each VIP does the following during an IP failover or node failure:
Check if the /locks/sm/lastonline/sm/
directory is empty. If it is empty, then there is no need to restart the lock service.
Starts lock services, triggers reclaim, and grace mode on all nodes.
The restarting of status monitor scans all lock status files in the state directory and contacts all nodes to reclaim their locks. The state files get deleted after they are processed and reclaim messages sent appropriately.
The lock server goes into grace mode and only allows clients to recover their locks during the grace period. It does not give out any new locks during the grace period.