1. Disable HA through the GUI.
2. Connect to the Pool Master and type the following:
xe pool-ha-enable heartbeat-sr-uuids=<NFS's SR Storage> ha-config:timeout=<TimeInSeconds>
xe pool-ha-enable heartbeat-sr-uuids=<NFS's SR Storage> ha-config:timeout=<TimeInSeconds>
vi /opt/xensource/sm/nfs.py xenChange the mathematical expression from:
SOFTMOUNT_TIMEOUT = int((40.0/3.0) * 10.0) # 1/10 sTo the desired timeout, change only the 10.0 value:
SOFTMOUNT_TIMEOUT = int((40.0/3.0) * 40.0) # 1/10 s
xe patch-upload -s <hostname> -u root -pw <password>file-name=<path to xsupdate file>Apply the patch to the master server:
xe -s <hostname> -u root -pw <password> patch-pool-apply uuid=<uuid from the step 1's output>Verify that the servers were updated:
xe patch-list -s <hostname> -u root -pw <password> name-label=<Updates ID>
xe pool-list params=uuid,masterCopy the UUID of the server and paste it in the following template:
xe host-list uuid=<uuid from last step>