(edit: I followed this to stage the servers -- https://www.starwindsoftware.com/resour ... rver-2016/)
Code: Select all
Request to CL1.DOMAIN.LOCAL ( 192.168.1.111 ) : 3261
-
control HAImage -CreateHeader:"" -DeviceHeaderPath:"My computer\D\starwind\CL1-img_HA.swdsk" -Type:"ImageFile_HA" -file:"CL1-Storage" -size:"1024" -Priority:"#p0=0;#p1=1" -nodeType:"#p0=1;#p1=1" -PartnerTargetName:"#p1=iqn.2008-08.com.starwindsoftware:cl2.DOMAIN.local-san-cl2" -PartnerIP:"#p1=172.16.20.12:sync:3260:1,172.16.10.12:1" -IsAutoSynchEnabled:"1" -AuthChapLogin:"#p1=0b" -AuthChapPassword:"#p1=0b" -AuthMChapName:"#p1=0b" -AuthMChapSecret:"#p1=0b" -AuthChapType:"#p1=none" -Offset:"0" -CacheMode:"wb" -CacheSizeMB:"128" -Replicator:"#p0=0" -WitnessType:"0" -AluaAccessState:"#p0=0;#p1=1"
-
200 Failed: invalid partner info..
Code: Select all
NIC1-Host1-Mgmt NIC1-Host2-Mgmt
192.168.1.111 > 1Gb Switch > 192.168.1.121
NIC5-Host1-iSCSI+HB NIC5-Host2-iSCSI+HB
172.16.10.11 > 10Gb Switch > 172.16.10.12
NIC6-Host1-SYNCH NIC6-Host2-SYNCH
172.16.20.11 > 10Gb Direct > 172.16.20.12
(Both hosts: NIC2 & 3 are dedicated HV switches, NIC4 disabled)
Code: Select all
param($addr="192.168.1.111", $port=3261, $user="root", $password="starwind",
$addr2="192.168.1.121", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="Clear",
$size=1024,
$sectorSize=4096,
$failover=0,
#primary node
$imagePath="My computer\D\starwind",
$imageName="CL1-img",
$createImage=$true,
$storageName="CL1-Storage",
$targetAlias="SAN-CL1",
$autoSynch=$true,
$poolName="pool1",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=128,
$syncInterface="#p2=172.16.20.12:3260" -f $addr2,
$hbInterface="#p2=172.16.10.12",
$createTarget=$true,
#secondary node
$imagePath2="My computer\D\starwind",
$imageName2="CL2-img",
$createImage2=$true,
$storageName2="CL2-Storage",
$targetAlias2="SAN-CL2",
$autoSynch2=$true,
$poolName2="pool1",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=172.16.20.11:3260" -f $addr,
$hbInterface2="#p1=172.16.10.11",
$createTarget2=$true
)