StarWind Vitual SAN Free (2-node) Sync stucked at 0%

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
vanedu@furb.br
Posts: 3
Joined: Wed Mar 30, 2022 11:46 am

Wed Mar 30, 2022 12:40 pm

Hi,

testing StarWind Virtual SAN Free (V8 Build 14398_R13) on two VMs running on Hyper-V. Using 3 virtual netwok adapters with those subnets:

- management: 172.21.3.0/24
- synchronization: 192.168.233.0/24
- hearthbeat: 192.168.234.0/24 and 172.21.1.0/24

After running CreateHA_2.ps1, synchronization never completes and always stay at 0%.

Already tested pings between:

172.21.3.17 <-> 172.21.3.25
192.168.233.48 <-> 192.168.233.49
192.168.234.48 <-> 192.168.234.49

Any ideas where is the problem?

Output of enumDevicesTargets.ps1 on host dsv-cfs-01:

Code: Select all

Targets:

Name        : iqn.2008-08.com.starwindsoftware:dsv-cfs-01.furb.br-targetha21
Id          : 0x0000021512A21300
Alias       : targetha21
IsClustered : True
Devices     : System.__ComObject
Permissions : System.__ComObject
type        :

Devices:
Name                   : \\?\scsi#disk&ven_msft&prod_virtual_disk#000002#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x000002151AF469C0
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : \\?\scsi#disk&ven_msft&prod_virtual_disk#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x000002151AF4DB80
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : \\?\scsi#disk&ven_msft&prod_virtual_disk#000001#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x000002151AF4AAC0
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                    : HAImage1
DeviceType              : HA Image
DeviceId                : 0x0000021512A6AAC0
File                    : My computer\E\StarWind\masterImg21_HA.swdsk
TargetName              : iqn.2008-08.com.starwindsoftware:dsv-cfs-01.furb.br-targetha21
TargetId                : 0x0000021512A21300
Size                    : 4294967296
CacheMode               : wb
CacheSize               : 128
CacheBlockExpiryPeriod  : 5000
Exists                  : True
DeviceLUN               : 0
IsSnapshotsSupported    : False
Snapshots               :
SectorSize              : 4096
State                   : 0
Parent                  :
Partners                : System.__ComObject
SynchronizationChannels :
HeartbeatChannels       :
SyncStatus              : 3
SyncPercent             : 0
IsWaitingAutosync       : False
SyncTrafficShare        : 50
NodeType                : 1
FailoverStrategy        : 0
MaintenanceMode         : 0

Name                   : \\?\ide#cdrommsft_virtual_cd#rom_____________________1.0_____#5&47e3a3f&0&1.0.0#{53f56308-b6bf-11d0-94f2-00a0
                         c91efb8b}
DeviceType             : SPTI:CD/DVD
DeviceId               : 0x000002151AF4C340
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : \\?\ide#diskvirtual_hd______________________________1.1.0___#5&2d5f53a1&0&0.0.0#{53f56307-b6bf-11d0-94f2-00a0
                         c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x000002151AF48640
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : imagefile1
DeviceType             : Image file
DeviceId               : 0x0000021512A15440
File                   : My computer\E\StarWind\masterImg21.img
TargetName             : empty
TargetId               : empty
Size                   : 4294967296
CacheMode              : wb
CacheSize              : 128
CacheBlockExpiryPeriod : 5000
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             : 4096
State                  : 0
Parent                 : HAImage1
Output of enumDevicesTargets.ps1 on host dsv-cfs-02:

Code: Select all

Targets:

Name        : iqn.2008-08.com.starwindsoftware:dsv-cfs-02.furb.br-partnerha22
Id          : 0x0000016B5A97F480
Alias       : partnerha22
IsClustered : True
Devices     : System.__ComObject
Permissions : System.__ComObject
type        :

Devices:
Name                   : \\?\scsi#disk&ven_msft&prod_virtual_disk#000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x0000016B5A9F3580
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                    : HAImage1
DeviceType              : HA Image
DeviceId                : 0x0000016B5231EC40
File                    : My computer\E\StarWind\partnerImg22_HA.swdsk
TargetName              : iqn.2008-08.com.starwindsoftware:dsv-cfs-02.furb.br-partnerha22
TargetId                : 0x0000016B5A97F480
Size                    : 4294967296
CacheMode               : wb
CacheSize               : 128
CacheBlockExpiryPeriod  : 5000
Exists                  : True
DeviceLUN               : 0
IsSnapshotsSupported    : False
Snapshots               :
SectorSize              : 4096
State                   : 0
Parent                  :
Partners                : System.__ComObject
SynchronizationChannels :
HeartbeatChannels       :
SyncStatus              : 3
SyncPercent             : 0
IsWaitingAutosync       : False
SyncTrafficShare        : 50
NodeType                : 1
FailoverStrategy        : 0
MaintenanceMode         : 0

Name                   : \\?\ide#cdrommsft_virtual_cd#rom_____________________1.0_____#5&47e3a3f&0&1.0.0#{53f56308-b6bf
                         -11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:CD/DVD
DeviceId               : 0x0000016B5A9F5E00
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : \\?\ide#diskvirtual_hd______________________________1.1.0___#5&2d5f53a1&0&0.0.0#{53f56307-b6bf
                         -11d0-94f2-00a0c91efb8b}
DeviceType             : SPTI:Disk
DeviceId               : 0x0000016B5A9EF040
File                   :
TargetName             : empty
TargetId               : empty
Size                   : 0
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             :
State                  : 0
Parent                 :

Name                   : imagefile1
DeviceType             : Image file
DeviceId               : 0x0000016B522D51C0
File                   : My computer\E\StarWind\partnerImg22.img
TargetName             : empty
TargetId               : empty
Size                   : 4294967296
CacheMode              : wb
CacheSize              : 128
CacheBlockExpiryPeriod : 5000
Exists                 : True
DeviceLUN              :
IsSnapshotsSupported   : False
Snapshots              :
SectorSize             : 4096
State                  : 0
Parent                 : HAImage1
Parameters used with CreateHA_2.ps1

Code: Select all

param($addr="172.21.3.17", $port=3261, $user="root", $password="starwind",
	$addr2="172.21.3.25", $port2=$port, $user2=$user, $password2=$password,
#common
	$initMethod="Clear",
	$size=4096,
	$sectorSize=4096,
	$failover=0,
#primary node
	$imagePath="My computer\E\StarWind",
	$imageName="masterImg21",
	$createImage=$true,
	$storageName="",
	$targetAlias="targetha21",
	$autoSynch=$true,
	$poolName="pool1",
	$syncSessionCount=1,
	$aluaOptimized=$true,
	$cacheMode="wb",
	$cacheSize=128,
	$syncInterface="#p2=192.168.233.49:3260" -f $addr2,
	$hbInterface="#p2=172.21.3.25:3260,192.168.234.49:3260" -f $addr2,
	$createTarget=$true,
#secondary node
	$imagePath2="My computer\E\StarWind",
	$imageName2="partnerImg22",
	$createImage2=$true,
	$storageName2="",
	$targetAlias2="partnerha22",
	$autoSynch2=$true,
	$poolName2="pool1",
	$syncSessionCount2=1,
	$aluaOptimized2=$true,
	$cacheMode2=$cacheMode,
	$cacheSize2=$cacheSize,
	$syncInterface2="#p1=192.168.233.48:3260" -f $addr,
	$hbInterface2="#p1=172.21.3.17:3260,192.168.234.48:3260" -f $addr,
	$createTarget2=$true
	)
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Thu Mar 31, 2022 5:16 pm

Thanks for your question. Do you have iSCSI File Server role installed?
vanedu@furb.br
Posts: 3
Joined: Wed Mar 30, 2022 11:46 am

Fri Apr 01, 2022 7:13 pm

Hi. Yes. On both servers.
Attachments
starwind.png
starwind.png (18.34 KiB) Viewed 2085 times
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Apr 02, 2022 3:11 am

Greetings,

This is what causing the problem. Please uninstall it. See a similar problem here https://forums.starwindsoftware.com/vie ... ver#p33433
vanedu@furb.br
Posts: 3
Joined: Wed Mar 30, 2022 11:46 am

Mon Apr 04, 2022 12:23 pm

Great, It worked!

For the record, it was necessary to uninstall "iSCSI Target Server" only.

Thanks for helping.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 04, 2022 7:50 pm

Thanks for sharing your knowledge. I am Glad to know that the problem was resolved!
Post Reply