Page 1 of 1

Very slow initial sync when creating HA - 1.4mbit?

Posted: Sat Jun 20, 2020 5:38 am
by mvalpreda
I had everything working in the trial version, now I am redoing everything with free.

I have two hosts, each with 4x NICs. Management (1gbit), heartbeat (1gbit), storage sync (10gbit), and final one for Hyper-V VMs(10gbit). Small boot partition, another 12TB for storage on the D: drive.
Management: 10.0.10.71 and 10.0.10.72
Heartbeat: 172.16.10.71 and 172.16.10.72
Storage sync: 172.16.20.71 and 172.16.20.72

Setting up a new 2-node HCA with free and getting VERY slow sync speeds when using CreateHA_2. Like 1.4Mbit between the hosts. I see in Task Manager the transfer is occurring over the 10gbit storage link. No speed difference with the firewall on or off.
When I set this up originally with the trial version, the sync was much faster. Did I miss something for the sync to be so slow? The only difference is I didn't set up cache on the original one, but not sure the arguments to not use cache. I did test with iperf3 and getting ~4gbit.

Code: Select all

param($addr="127.0.0.1", $port=3261, $user="root", $password="starwind",
	$addr2="10.0.10.72", $port2=$port, $user2=$user, $password2=$password,
#common
	$initMethod="Clear",
	$size=1024,
	$sectorSize=4096,
	$failover=0,
#primary node
	$imagePath="My computer\D\Witness",
	$imageName="Witness",
	$createImage=$true,
	$storageName="",
	$targetAlias="Witness",
	$autoSynch=$true,
	$poolName="pool1",
	$syncSessionCount=1,
	$aluaOptimized=$true,
	$cacheMode="wb",
	$cacheSize=128,
	$syncInterface="#p2=172.16.20.72:3260" -f $addr2,
	$hbInterface="#p2=172.16.10.72:3260" -f $addr2,
	$createTarget=$true,
#secondary node
	$imagePath2="My computer\D\Witness",
	$imageName2="Witness",
	$createImage2=$true,
	$storageName2="",
	$targetAlias2="Witness",
	$autoSynch2=$true,
	$poolName2="pool1",
	$syncSessionCount2=1,
	$aluaOptimized2=$true,
	$cacheMode2=$cacheMode,
	$cacheSize2=$cacheSize,
	$syncInterface2="#p1=172.16.10.72:3260" -f $addr,
	$hbInterface2="#p1=172.16.10.71:3260" -f $addr,
	$createTarget2=$true
	)

Re: Very slow initial sync when creating HA - 1.4mbit?

Posted: Sat Jun 20, 2020 11:01 pm
by mvalpreda
Just for kicks, I installed the TRIAL license. Created everything with the GUI....and boom! Everything worked as expected. Super fast, seeing 5.5Gbit speeds on the storage network.

So.....I MUST be missing something when using the CreateHA_2 command. :)

Re: Very slow initial sync when creating HA - 1.4mbit?

Posted: Mon Jun 22, 2020 6:16 pm
by Michael (staff)
Hello mvalpreda,
There is no difference in performance between trial and free version.
Could you please log a support case here to check that issue: https://www.starwindsoftware.com/support-form
Thank you!