Code: Select all
Request to 10.250.0.71 ( 10.250.0.71 ) : 3261
-
control HAImage -CreateHeader:"" -DeviceHeaderPath:"\mnt\raid\raid1_HA.swdsk" -Type:"ImageFile_HA" -file:"imagefile1" -size:"455680" -Priority:"#p0=0;#p1=1" -nodeType:"#p0=1;#p1=1" -PartnerTargetName:"#p1=iqn.2008-08.com.starwindsoftware:10.250.0.72-vsan02" -PartnerIP:"#p1=10.250.0.72:sync:3260:1,#p2=10.10.0.72:heartbeat:3260:1,10.251.0.72:heartbeat:3260:1" -IsAutoSynchEnabled:"1" -AuthChapLogin:"#p1=0b" -AuthChapPassword:"#p1=0b" -AuthMChapName:"#p1=0b" -AuthMChapSecret:"#p1=0b" -AuthChapType:"#p1=none" -Offset:"0" -CacheMode:"none" -CacheSizeMB:"64" -serial:"566EB3E996507049" -eui64:"566EB3E996507049" -revision:"0001" -product:"STARWIND" -vendor:"STARWIND" -Replicator:"#p0=0" -WitnessType:"0" -AluaAccessState:"#p0=0;#p1=0"
-
200 Failed: invalid partner info..
Below is config.
Thanks for the help.
Code: Select all
param($addr="10.250.0.71", $port=3261, $user="root", $password="starwind",
$addr2="10.250.0.72", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="Clear",
$size=455680,
$sectorSize=512,
$failover=0,
#primary node
$imagePath="\mnt\raid",
$imageName="raid1",
$createImage=$true,
$storageName="",
$targetAlias="vsan01",
$autoSynch=$true,
$poolName="vsanpool",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="none",
# $cacheSize=128,
$syncInterface="#p2=10.250.0.72:3260",
$hbInterface="#p2=10.251.0.72:3260,#p2=10.10.0.72:3260",
$createTarget=$true,
#secondary node
$imagePath2="\mnt\raid",
$imageName2="raid2",
$createImage2=$true,
$storageName2="",
$targetAlias2="vsan02",
$autoSynch2=$true,
$poolName2="vsanpool",
$syncSessionCount2=1,
$aluaOptimized2=$true,
$cacheMode2=$cacheMode,
# $cacheSize2=$cacheSize,
$syncInterface2="#p1=10.250.0.71:3260",
$hbInterface2="#p1=10.251.0.71:3260,#p1=10.10.0.71:3260",
$createTarget2=$true
)