After the VCS campus cluster is configured, set the ForceImport attribute. The command for implementing the force import setting in VCS is:
hares -modify vmdgResourceName ForceImport 1|0
ForceImport is a flag that defines whether the agent forcibly imports the disk group when exactly half the disks are available. The value 1 indicates the agent imports the configured disk group when half the disks are available. The value 0 indicates it does not. Default value is 0. This means that the disk group will be imported only when SFW acquires control over the majority of the disks.
Caution: |
Set this attribute to 1 only after verifying the integrity of your data. If due caution is not exercised before setting this attribute to 1, you risk potential data loss. |
Example:
hares -modify vmdg_Dg1 ForceImport 1
Here, import is forced on vmdg_Dg1.