I have a 2-node Hyper-V vSAN (paid so I have the GUI). I am upgrading servers so I'm migrating one of the nodes to new hardware. One of the vSAN devices looks like it doesn't have the SMB witness configured (shutting down one node causes the vSAN storage to stop and go unsynchronized on both). Checking the HA.swdsk files for the this vSAN device does not have any storage info for the SMB Witness (unlike the other vSAN device I have in this vSAN cluster) and the "Witness_type" shows "0". I'm thinking that I didn't have the SMB witness configured all this time and I'd like to rectify this.
I found the "CreateHASmbWitness.ps1" script but I'm unclear on a few things after reading the documentation. It almost seems like this script is for creating a new vSAN cluster and not modifying an existing one.
Will this script work on an existing vSAN or only for a new one?
Under the Primary/Secondary node configuration in the script:
-"imagePath" this should point to the existing storage location for the .img files on the two nodes?
-"imageName" should this be the .img file name?
-"createImage" the documentation says this should be set to "$true" however, these are existing nodes so is that still the case? I certainly don't want to overwrite the .img files!
-"targetAlias" where do I find the correct value to go here?
I found the "CreateHASmbWitness.ps1" script but I'm unclear on a few things after reading the documentation. It almost seems like this script is for creating a new vSAN cluster and not modifying an existing one.
Will this script work on an existing vSAN or only for a new one?
Under the Primary/Secondary node configuration in the script:
-"imagePath" this should point to the existing storage location for the .img files on the two nodes?
-"imageName" should this be the .img file name?
-"createImage" the documentation says this should be set to "$true" however, these are existing nodes so is that still the case? I certainly don't want to overwrite the .img files!
-"targetAlias" where do I find the correct value to go here?
Statistics: Posted by FireMedic — Mon Mar 24, 2025 2:46 am