Server 1:
Windows IP 192.168.1.50
CVM1 Mgmt: 192.168.1.70
CVM1 iSCSI/Data: 10.0.0.75
CVM1 synch: 10.2.0.75
Server 2:
Windows IP 192.168.1.51
CVM2 Mgmt: 192.168.1.71
CVM2 iSCSI/Data: 10.0.0.76
CVM2 synch: 10.2.0.76
I have a storage pool, SDC1, and a volume within that called firstdatastore, showing on both cvm.
when I use the following parameters for the powershell script it creates the paired LUN but sychronization fails with the error message : Request to 192.168.1.70 ( 192.168.1.70 ) : 3261
-
control 0x000000000525C240 -InitSynchronize:"" -SynchronizationType:"1" -SynchronizerTargetName:"iqn.2008-08.com.starwindsoftware:192.168.1.70-testha"
-
200 Failed: Operation cannot be completed. Can't send command to the partner node..
Code: Select all
#common
$initMethod="syncfromfirst",
$size=1024,
$sectorSize=512,
$failover=0,
$bmpType=1,
$bmpStrategy=0,
#primary node
$imagePath="/mnt/sdc1/firstdatastore",
$imageName="testHA1",
$createImage=$true,
$storageName="",
$targetAlias="TestHA",
$poolName="sdc1",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="none",
$cacheSize=0,
$syncInterface="#p2=10.2.0.76:3260" -f $addr2,
$hbInterface="#p2=10.0.0.76:3260" -f $addr2,
$createTarget=$true,
$bmpFolderPath="",
#secondary node
$imagePath2="/mnt/sdc1/firstdatastore",
$imageName2="TestHA1",
$createImage2=$true,
$storageName2="",
$targetAlias2="TestHA",
$poolName2="sdc1",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p2=10.2.0.75:3260" -f $addr,
$hbInterface2="#p2=10.0.0.75:3260" -f $addr,
$createTarget2=$true,
$bmpFolderPath2=""
)