I have configured StarWind Virtual SAN for vSphere 2-Node Hyperconverged Scenario with VMware vSphere 8. I have created 3 Volumes (attached code for reference).
The Storage is working fine, Node1 had 1st Priority and Node had 2nd Priority. But during testing i made Shutdown both the servers and when i turned on Node 2 1st and later Node 1. All the storage Volumes were not available untill my Node 1 is up.
Kindly help me in this case.
If in actual case if my Node1 fails to start the storage will not come up and i will stuck up with loss of data.
please help me out.
Code for Volume1
Code: Select all
param($addr="10.110.13.123", $port=3261, $user="root", $password="starwind",
$addr2="10.110.13.124", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="SyncFromFirst",
$size=1540066,
$sectorSize=512,
$failover=0,
$bmpType=1,
$bmpStrategy=0,
#primary node
$imagePath="/mnt/sas/",
$imageName="MasterImgMgmt",
$createImage=$true,
$storageName="",
$targetAlias="MGMT-Volume",
$autoSynch=$true,
$poolName="",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=2048,
$syncInterface="#p2=10.110.15.112:3260" -f $addr2,
$hbInterface="#p2=10.110.16.112:3260,10.110.13.124:3260" -f $addr2,
$createTarget=$true,
$bmpFolderPath="",
#secondary node
$imagePath2="/mnt/sas/",
$imageName2="PartnerImgMgmt",
$createImage2=$true,
$storageName2="",
$targetAlias2="MGMT-Volume",
$autoSynch2=$true,
$poolName2="",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=10.110.15.111:3260" -f $addr,
$hbInterface2="#p1=10.110.16.111:3260,10.110.13.123:3260" -f $addr,
$createTarget2=$true,
$bmpFolderPath2=""
)
Code: Select all
param($addr="10.110.13.123", $port=3261, $user="root", $password="starwind",
$addr2="10.110.13.124", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="SyncFromFirst",
$size=2097152,
$sectorSize=512,
$failover=0,
$bmpType=1,
$bmpStrategy=0,
#primary node
$imagePath="/mnt/sas/",
$imageName="MasterImgVM",
$createImage=$true,
$storageName="",
$targetAlias="VM-Volume",
$autoSynch=$true,
$poolName="",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=3072,
$syncInterface="#p2=10.110.15.112:3260" -f $addr2,
$hbInterface="#p2=10.110.16.112:3260,10.110.13.124:3260" -f $addr2,
$createTarget=$true,
$bmpFolderPath="",
#secondary node
$imagePath2="/mnt/sas/",
$imageName2="PartnerImgVM",
$createImage2=$true,
$storageName2="",
$targetAlias2="VM-Volume",
$autoSynch2=$true,
$poolName2="",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=10.110.15.111:3260" -f $addr,
$hbInterface2="#p1=10.110.16.111:3260,10.110.13.123:3260" -f $addr,
$createTarget2=$true,
$bmpFolderPath2=""
)
Code: Select all
param($addr="10.110.13.123", $port=3261, $user="root", $password="starwind",
$addr2="10.110.13.124", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="SyncFromFirst",
$size=911360,
$sectorSize=512,
$failover=0,
$bmpType=1,
$bmpStrategy=0,
#primary node
$imagePath="/mnt/ssd/",
$imageName="MasterImgBCKUP",
$createImage=$true,
$storageName="",
$targetAlias="BACKUP-Volume",
$autoSynch=$true,
$poolName="",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=3072,
$syncInterface="#p2=10.110.15.112:3260" -f $addr2,
$hbInterface="#p2=10.110.16.112:3260,10.110.13.124:3260" -f $addr2,
$createTarget=$true,
$bmpFolderPath="",
#secondary node
$imagePath2="/mnt/ssd/",
$imageName2="PartnerImgBCKUP",
$createImage2=$true,
$storageName2="",
$targetAlias2="BACKUP-Volume",
$autoSynch2=$true,
$poolName2="",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=10.110.15.111:3260" -f $addr,
$hbInterface2="#p1=10.110.16.111:3260,10.110.13.123:3260" -f $addr,
$createTarget2=$true,
$bmpFolderPath2=""
)