error creating 2 node HA with free vsan

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

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

yosiyakovi
Posts: 9
Joined: Fri Mar 31, 2023 6:29 am

Thu Apr 06, 2023 8:37 pm

Hi,

After Many tries I found the problem.
The new Management console is the blame
when i installed version V8.0.0 build 13586 with its PowerShell scripts everything worked.
I compared the PowerShell scripts from new version and they are not working correctly.
Even when I installed the new Console version the PowerShell scripts stopped working, it like there is a problem in the new version of the Management Console PowerShell library.

I am attaching the scripts that worked for me, configure 2 node HA with disk creation

! 00 CreateHA_2.ps1 -- Create 2 Node VSAN
! 01 Check Sync Status.ps1 -- Check Sync Status of All Nodes
! 03 Check Devices and Targets.ps1 -- See All the devices and targets - sorted by node
! ExtendDevice.ps1 -- If you want to increase the VSAN Disk Size
! SyncHaDevice.ps1 -- When you start the nodes from power down state they are stuck at not synchronized, when running this it marks the first node as Synchronized and the replication process will start

Regards
Attachments
Vsan Scripts.zip
Scrips
(3.63 KiB) Downloaded 116 times
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sun Apr 09, 2023 1:36 pm

Thanks a lot! Glad to know it is working now!
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 10, 2023 11:10 am

Hi,

We found a workaround on how to make it work with 15020. Make sure to change $initMethod="SyncFromFirst" instead of clear so that the #common section looks like this

Code: Select all

#common
	$initMethod="SyncFromFirst",
	$size=2048,
	$sectorSize=512,
	$failover=0,
	$bmpType=1,
	$bmpStrategy=0,
chendin
Posts: 6
Joined: Fri Apr 21, 2023 1:54 pm

Fri Apr 21, 2023 2:35 pm

My version of Starwind Management console is 8.0.150020.0
This is what the Cluster design looks like:

Code: Select all

2 node HA with free vsan 

= Node 1 =                                          = Node 2 =
Mgnt nic (172.31.10.23)    <-----            --->     Mgnt nic (172.31.10.24) 
hb nic (10.10.6.23)      <-----direct link	---->  hb nic (10.10.6.24)
Sync nic (10.10.7.23)	   <-----direct link---->   Sync nic (10.10.7.24)

And this my is my script v1

Code: Select all


param($addr="172.31.10.23", $port=3261, $user="root", $password="starwind",
$addr2="172.31.10.24", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="Clear",
$size=1200,
$sectorSize=512,
$failover=0,
#primary node
$imagePath="\mnt\disk1",
$imageName="mImg21",
$createImage=$true,
$storageName="",
$targetAlias="Mtha21",
$autoSynch=$true,
$poolName="pool1",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=128,
$syncInterface="#p2=10.10.7.24:3260"  -f $addr2,
$hbInterface="#p2=10.10.6.24:3260,172.31.10.24:3260" -f $addr2,
$createTarget=$true,
#secondary node
$imagePath2="\mnt\disk1",
$imageName2="SlaImg22",
$createImage2=$true,
$storageName2="",
$targetAlias2="partnerha22",
$autoSynch2=$true,
$poolName2="pool1",
$syncSessionCount2=1,
$aluaOptimized2=$true,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=10.10.7.23:3260" -f $addr,
$hbInterface2="#p1=10.10.6.23:3260,172.31.10.23:3260" -f $addr,
$createTarget2=$true
)


Import-Module StarWindX

try
{
Enable-SWXLog -level SW_LOG_LEVEL_DEBUG

$server = New-SWServer -host $addr -port $port -user $user -password $password

$server.Connect()

$firstNode = new-Object Node

$firstNode.HostName = $addr
$firstNode.HostPort = $port
$firstNode.Login = $user
$firstNode.Password = $password
$firstNode.ImagePath = $imagePath
$firstNode.ImageName = $imageName
$firstNode.Size = $size
$firstNode.CreateImage = $createImage
$firstNode.StorageName = $storageName
$firstNode.TargetAlias = $targetAlias
$firstNode.AutoSynch = $autoSynch
$firstNode.SyncInterface = $syncInterface
$firstNode.HBInterface = $hbInterface
$firstNode.PoolName = $poolName
$firstNode.SyncSessionCount = $syncSessionCount
$firstNode.ALUAOptimized = $aluaOptimized
$firstNode.CacheMode = $cacheMode
$firstNode.CacheSize = $cacheSize
$firstNode.FailoverStrategy = $failover
$firstNode.CreateTarget = $createTarget
#$firstNode.BitmapStoreType = $bmpType
#$firstNode.BitmapStrategy = $bmpStrategy
#$firstNode.BitmapFolderPath = $bmpFolderPath

#
# device sector size. Possible values: 512 or 4096(May be incompatible with some clients!) bytes.
#
#$firstNode.SectorSize = $sectorSize

$secondNode = new-Object Node

$secondNode.HostName = $addr2
$secondNode.HostPort = $port2
$secondNode.Login = $user2
$secondNode.Password = $password2
$secondNode.ImagePath = $imagePath2
$secondNode.ImageName = $imageName2
$secondNode.CreateImage = $createImage2
$secondNode.StorageName = $storageName2
$secondNode.TargetAlias = $targetAlias2
$secondNode.AutoSynch = $autoSynch2
$secondNode.SyncInterface = $syncInterface2
$secondNode.HBInterface = $hbInterface2
$secondNode.SyncSessionCount = $syncSessionCount2
$secondNode.ALUAOptimized = $aluaOptimized2
$secondNode.CacheMode = $cacheMode2
$secondNode.CacheSize = $cacheSize2
$secondNode.FailoverStrategy = $failover
$secondNode.CreateTarget = $createTarget2
#$secondNode.BitmapFolderPath = $bmpFolderPath2

$device = Add-HADevice -server $server -firstNode $firstNode -secondNode $secondNode -initMethod $initMethod
write-host "hola"
while ($device.SyncStatus -ne [SwHaSyncStatus]::SW_HA_SYNC_STATUS_SYNC)
{
$syncPercent = $device.GetPropertyValue("ha_synch_percent")
Write-Host "Synchronizing: $($syncPercent)%" -foreground yellow

Start-Sleep -m 2000

$device.Refresh()
}
}
catch
{
Write-Host $_ -foreground red
}
finally
{
$server.Disconnect()
}

and the script with $initMethod="SyncFromFirst",

Code: Select all

param($addr="172.31.10.23", $port=3261, $user="root", $password="starwind",
$addr2="172.31.10.24", $port2=$port, $user2=$user, $password2=$password,
#common
	$initMethod="SyncFromFirst",
	$size=2048,
	$sectorSize=512,
	$failover=0,
	$bmpType=1,
	$bmpStrategy=0,
#primary node
    $imagePath="\mnt\disk1",
	$imageName="masterImg21",
	$createImage=$true,
	$storageName="",
	$targetAlias="starwind1",
	$autoSynch=$true,
	$poolName="pool1",
	$syncSessionCount=1,
	$aluaOptimized=$true,
	$cacheMode="wb",
	$cacheSize=128,
	$syncInterface="#p2=10.10.7.24:3260"  -f $addr2,
    $hbInterface="#p2=10.10.6.24:3260,172.31.10.24:3260" -f $addr2,
	$createTarget=$true,
	$bmpFolderPath="",
#secondary node
	$imagePath2="\mnt\disk1",
	$imageName2="partnerImg22",
	$createImage2=$true,
	$storageName2="",
	$targetAlias2="starwind2",
	$autoSynch2=$true,
	$poolName2="pool1",
	$syncSessionCount2=1,
	$aluaOptimized2=$true,
	$cacheMode2=$cacheMode,
	$cacheSize2=$cacheSize,
	$syncInterface2="#p1=10.10.7.23:3260" -f $addr,
    $hbInterface2="#p1=10.10.6.23:3260,172.31.10.23:3260" -f $addr,
	$createTarget2=$true,
	$bmpFolderPath2=""
	)
	
Import-Module StarWindX

try
{
	Enable-SWXLog -level SW_LOG_LEVEL_DEBUG

	$server = New-SWServer -host $addr -port $port -user $user -password $password

	$server.Connect()

	$firstNode = new-Object Node

	$firstNode.HostName = $addr
	$firstNode.HostPort = $port
	$firstNode.Login = $user
	$firstNode.Password = $password
	$firstNode.ImagePath = $imagePath
	$firstNode.ImageName = $imageName
	$firstNode.Size = $size
	$firstNode.CreateImage = $createImage
	$firstNode.StorageName = $storageName
	$firstNode.TargetAlias = $targetAlias
	$firstNode.AutoSynch = $autoSynch
	$firstNode.SyncInterface = $syncInterface
	$firstNode.HBInterface = $hbInterface
	$firstNode.PoolName = $poolName
	$firstNode.SyncSessionCount = $syncSessionCount
	$firstNode.ALUAOptimized = $aluaOptimized
	$firstNode.CacheMode = $cacheMode
	$firstNode.CacheSize = $cacheSize
	$firstNode.FailoverStrategy = $failover
	$firstNode.CreateTarget = $createTarget
	$firstNode.BitmapStoreType = $bmpType
	$firstNode.BitmapStrategy = $bmpStrategy
	$firstNode.BitmapFolderPath = $bmpFolderPath
    
	#
	# device sector size. Possible values: 512 or 4096(May be incompatible with some clients!) bytes. 
	#
	$firstNode.SectorSize = $sectorSize
    
	$secondNode = new-Object Node

	$secondNode.HostName = $addr2
	$secondNode.HostPort = $port2
	$secondNode.Login = $user2
	$secondNode.Password = $password2
	$secondNode.ImagePath = $imagePath2
	$secondNode.ImageName = $imageName2
	$secondNode.CreateImage = $createImage2
	$secondNode.StorageName = $storageName2
	$secondNode.TargetAlias = $targetAlias2
	$secondNode.AutoSynch = $autoSynch2
	$secondNode.SyncInterface = $syncInterface2
	$secondNode.HBInterface = $hbInterface2
	$secondNode.SyncSessionCount = $syncSessionCount2
	$secondNode.ALUAOptimized = $aluaOptimized2
	$secondNode.CacheMode = $cacheMode2
	$secondNode.CacheSize = $cacheSize2
	$secondNode.FailoverStrategy = $failover
	$secondNode.CreateTarget = $createTarget2
	$secondNode.BitmapFolderPath = $bmpFolderPath2
        
	$device = Add-HADevice -server $server -firstNode $firstNode -secondNode $secondNode -initMethod $initMethod
    
	while ($device.SyncStatus -ne [SwHaSyncStatus]::SW_HA_SYNC_STATUS_SYNC)
	{
		$syncPercent = $device.GetPropertyValue("ha_synch_percent")
	        Write-Host "Synchronizing: $($syncPercent)%" -foreground yellow

		Start-Sleep -m 2000

		$device.Refresh()
	}
}
catch
{
	Write-Host $_ -foreground red 
}
finally
{
	$server.Disconnect()
}
And the error message for both scripts I get in both W2016 and W2019:

Code: Select all

PS C:\Users\Administrator> C:\Users\Administrator\Desktop\CreateHA_2.ps1
Request to  172.31.10.23 ( 172.31.10.23 ) : 3261
-
control ImageFile -CreateImage:"\mnt\disk1\mImg21.img" -Size:"12" -Flat:"True" -DeferredInit:"True" -Password:"starwind"
-
200 Failed: operation cannot be completed..

if I move the try before the while to get more information about the error, I get this:

Code: Select all

Request to  172.31.10.23 ( 172.31.10.23 ) : 3261
-
control ImageFile -CreateImage:"VSA Storage\mnt\disk1\masterImg21.img" -Size:"5000" -Flat:"True" -DeferredInit:"True" -Password:"starwind"
-
200 Failed: operation cannot be completed.. 
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\StarWindX\HA.ps1:134 char:2
+     $server.CreateDevice($firstNode.ImagePath, $firstNode.ImageName,  ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException
 
You cannot call a method on a null-valued expression.

I have tried all the scripts listed in this thread and I don't know what else to do.
thanks in advance
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Apr 21, 2023 3:16 pm

You cannot call a method on a null-valued expression.
The script has a blank field.
Comment out everything related to bitmap or specify the bitmap sync type.
bmpStrategy stands for sync journal strategy (values are 1 - FAILURE, 2 - CONTINOUS). bmpType stands for journal type (values 1- RAM, 2 - FILE) see more at https://knowledgebase.starwindsoftware. ... a-devices/.
chendin
Posts: 6
Joined: Fri Apr 21, 2023 1:54 pm

Fri Apr 21, 2023 5:35 pm

I have tried what you indicate, in fact I have tried the Vsan Scripts.zip configuration, specifically:
! 00 CreateHA_2.ps1
and the problem persists, in fact
the message:
You cannot call a method on a null-valued expression.
comes from the while ($device.SyncStatus -ne [SwHaSyncStatus]::SW_HA_SYNC_STATUS_SYNC), when changing the try place, $device is null.
if I remove this part of the script:

Code: Select all

  while ($device.SyncStatus -ne [SwHaSyncStatus]::SW_HA_SYNC_STATUS_SYNC)
   {
      $syncPercent = $device.GetPropertyValue("ha_synch_percent")
           Write-Host "Synchronizing: $($syncPercent)%" -foreground yellow

      Start-Sleep -m 2000

      $device.Refresh()
   }
The result is:

Code: Select all

Request to  172.31.10.23 ( 172.31.10.23 ) : 3261
-
control ImageFile -CreateImage:"VSA Storage\mnt\disk1\masterImg21.img" -Size:"5000" -Flat:"True" -DeferredInit:"True" -Password:"starwind"
-
200 Failed: operation cannot be completed..
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\StarWindX\HA.ps1:134 char:2
+     $server.CreateDevice($firstNode.ImagePath, $firstNode.ImageName,  ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException
Even if you have removed the parameters:

#$firstNode.BitmapStoreType = $bmpType
#$firstNode.BitmapStrategy = $bmpStrategy
#$firstNode.BitmapFolderPath = $bmpFolderPath

#$secondNode.BitmapFolderPath = $bmpFolderPath2

and use $initMethod="SyncFromFirst", instead of "Clear".
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Apr 22, 2023 4:13 am

Please make sure to use unique names for each test or clear the device location from old devices beforehand.
chendin
Posts: 6
Joined: Fri Apr 21, 2023 1:54 pm

Tue Apr 25, 2023 11:35 am

I followed your instructions and formatted everything, starting from scratch with the script that appears Vsan Scripts.zip configuration, specifically:
! 00 CreateHA_2.ps1 + $initMethod="SyncFromFirst":

Code: Select all

param
(
$addr="172.31.10.23", $port=3261, $user="root", $password="starwind",
$addr2="172.31.10.24", $port2=$port, $user2=$user, $password2=$password,

#common
	$initMethod="SyncFromFirst",
	$size=5000,
	$sectorSize=512,
	$failover=0,
#primary node
	$imagePath="VSA Storage\mnt\DISK01",
	$imageName="disk01image",
	$createImage=$true,
	$storageName="",
	$targetAlias="disk01target",
	$autoSynch=$true,
	$poolName="disk01pool",
	$syncSessionCount=1,
	$aluaOptimized=$true,
	$cacheMode="wb",
	$cacheSize=128,
	$syncInterface="#p2=10.10.7.24:3260" -f $addr2,
	$hbInterface="#p2=10.10.6.24:3260,172.31.10.24:3260" -f $addr2,
	$createTarget=$true,
#secondary node
	$imagePath2="VSA Storage\mnt\DISK01",
	$imageName2="disk01image",
	$createImage2=$true,
	$storageName2="",
	$targetAlias2="disk01target",
	$autoSynch2=$true,
	$poolName2="disk01pool",
	$syncSessionCount2=1,
	$aluaOptimized2=$true,
	$cacheMode2=$cacheMode,
	$cacheSize2=$cacheSize,
    $syncInterface2="#p1=10.10.7.23:3260" -f $addr,
	$hbInterface2="#p1=172.31.10.23:3260,10.10.6.23:3260" -f $addr,
	$createTarget2=$true
	)
	
Import-Module StarWindX

try
{
	Enable-SWXLog

	$server = New-SWServer -host $addr -port $port -user $user -password $password

	$server.Connect()

	$firstNode = new-Object Node

	$firstNode.HostName = $addr
	$firstNode.HostPort = $port
	$firstNode.Login = $user
	$firstNode.Password = $password
	$firstNode.ImagePath = $imagePath
	$firstNode.ImageName = $imageName
	$firstNode.Size = $size
	$firstNode.CreateImage = $createImage
	$firstNode.StorageName = $storageName
	$firstNode.TargetAlias = $targetAlias
	$firstNode.AutoSynch = $autoSynch
	$firstNode.SyncInterface = $syncInterface
	$firstNode.HBInterface = $hbInterface
	$firstNode.PoolName = $poolName
	$firstNode.SyncSessionCount = $syncSessionCount
	$firstNode.ALUAOptimized = $aluaOptimized
	$firstNode.CacheMode = $cacheMode
	$firstNode.CacheSize = $cacheSize
	$firstNode.FailoverStrategy = $failover
	$firstNode.CreateTarget = $createTarget
    
	#
	# device sector size. Possible values: 512 or 4096(May be incompatible with some clients!) bytes. 
	#
	$firstNode.SectorSize = $sectorSize
    
	$secondNode = new-Object Node

	$secondNode.HostName = $addr2
	$secondNode.HostPort = $port2
	$secondNode.Login = $user2
	$secondNode.Password = $password2
	$secondNode.ImagePath = $imagePath2
	$secondNode.ImageName = $imageName2
	$secondNode.CreateImage = $createImage2
	$secondNode.StorageName = $storageName2
	$secondNode.TargetAlias = $targetAlias2
	$secondNode.AutoSynch = $autoSynch2
	$secondNode.SyncInterface = $syncInterface2
	$secondNode.HBInterface = $hbInterface2
	$secondNode.SyncSessionCount = $syncSessionCount2
	$secondNode.ALUAOptimized = $aluaOptimized2
	$secondNode.CacheMode = $cacheMode2
	$secondNode.CacheSize = $cacheSize2
	$secondNode.FailoverStrategy = $failover
	$secondNode.CreateTarget = $createTarget2
        
	$device = Add-HADevice -server $server -firstNode $firstNode -secondNode $secondNode -initMethod $initMethod
    
	while ($device.SyncStatus -ne [SwHaSyncStatus]::SW_HA_SYNC_STATUS_SYNC)
	{
		$syncPercent = $device.GetPropertyValue("ha_synch_percent")
	        Write-Host "Synchronizing: $($syncPercent)%" -foreground yellow

		Start-Sleep -m 2000

		$device.Refresh()
	}
}
catch
{
	Write-Host $_ -foreground red 
}
finally
{
	$server.Disconnect()
}
And although it seems to do something, it doesn't work, from what I've seen it does create in the $firstNode the disk image, but then it returns an error
200 Failed: invalid partner info..

Code: Select all

Request to  172.31.10.23 ( 172.31.10.23 ) : 3261
-
control HAImage -CreateHeader:"" -DeviceHeaderPath:"VSA Storage\mnt\DISK01\disk01image_HA.swdsk" -Type:"ImageFile_HA" -file:"imagefile13" -size:"5000" -Priority:"#p0=0;#p1
=1" -nodeType:"#p0=1;#p1=1" -PartnerTargetName:"#p1=iqn.2008-08.com.starwindsoftware:172.31.10.24-disk01target" -PartnerIP:"#p1=10.10.7.24:sync:3260:1,10.10.6.24:heartbeat
:3260:1,172.31.10.24:heartbeat:3260:1" -IsAutoSynchEnabled:"1" -AuthChapLogin:"#p1=0b" -AuthChapPassword:"#p1=0b" -AuthMChapName:"#p1=0b" -AuthMChapSecret:"#p1=0b" -AuthCh
apType:"#p1=none" -Offset:"0" -CacheMode:"wb" -CacheSizeMB:"128" -serial:"EB83C6D4B55B3271" -eui64:"EB83C6D4B55B3271" -revision:"0001" -product:"STARWIND" -vendor:"STARWIN
D" -Replicator:"#p0=0" -WitnessType:"0" -AluaAccessState:"#p0=0;#p1=0"
-
200 Failed: invalid partner info.. 
I started to think that maybe I had something wrong, so I put the trial license on both nodes to check ...
And it worked without problems, I have been able to configure the HA.
then, I used the script ! 03 Check Devices and Targets.ps1 to check and this is the result:

Code: Select all

VSAN01 Targets:


Name        : iqn.2008-08.com.starwindsoftware:starwind1.int.postresromar.com-storage1
Id          : 0x0000000000ECA340
Alias       : Storage1
IsClustered : True
Devices     : System.__ComObject
Permissions : System.__ComObject
type        : 

VSAN01 Devices:
Name                    : HAImage1
DeviceType              : HA Image
DeviceId                : 0x0000000000EB1180
File                    : VSA Storage\mnt\DISK01\Storage1\Storage1_HA.swdsk
TargetName              : iqn.2008-08.com.starwindsoftware:starwind1.int.postresromar.com-storage1
TargetId                : 0x0000000000ECA340
Size                    : 2147483648000
CacheMode               : none
CacheSize               : 0
CacheBlockExpiryPeriod  : 0
Exists                  : True
DeviceLUN               : 0
IsSnapshotsSupported    : False
Snapshots               : 
SectorSize              : 512
State                   : 0
Parent                  : 
Partners                : System.__ComObject
SynchronizationChannels : 
HeartbeatChannels       : 
SyncStatus              : 1
SyncPercent             : 0
IsWaitingAutosync       : False
SyncTrafficShare        : 50
NodeType                : 1
FailoverStrategy        : 0
MaintenanceMode         : 0


Name                   : imagefile2
DeviceType             : Image file
DeviceId               : 0x0000000056DAAE40
File                   : VSA Storage\mnt\DISK01\disk01image.img
TargetName             : empty
TargetId               : empty
Size                   : 5242880000
CacheMode              : wb
CacheSize              : 128
CacheBlockExpiryPeriod : 5000
Exists                 : True
DeviceLUN              : 
IsSnapshotsSupported   : False
Snapshots              : 
SectorSize             : 512
State                  : 0
Parent                 : 

Name                   : imagefile1
DeviceType             : Image file
DeviceId               : 0x0000000000EAD100
File                   : VSA Storage\mnt\DISK01\Storage1\Storage1.img
TargetName             : empty
TargetId               : empty
Size                   : 2147483648000
CacheMode              : none
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              : 
IsSnapshotsSupported   : False
Snapshots              : 
SectorSize             : 512
State                  : 0
Parent                 : HAImage1

VSAN02 Targets:
Name        : iqn.2008-08.com.starwindsoftware:172.31.10.24-storage1
Id          : 0x0000000000F7B040
Alias       : Storage1
IsClustered : True
Devices     : System.__ComObject
Permissions : System.__ComObject
type        : 

VSAN02 Devices:
Name                    : HAImage1
DeviceType              : HA Image
DeviceId                : 0x0000000000EB10C0
File                    : VSA Storage\mnt\DISK01\Storage1\Storage1_HA.swdsk
TargetName              : iqn.2008-08.com.starwindsoftware:172.31.10.24-storage1
TargetId                : 0x0000000000F7B040
Size                    : 2147483648000
CacheMode               : none
CacheSize               : 0
CacheBlockExpiryPeriod  : 0
Exists                  : True
DeviceLUN               : 0
IsSnapshotsSupported    : False
Snapshots               : 
SectorSize              : 512
State                   : 0
Parent                  : 
Partners                : System.__ComObject
SynchronizationChannels : 
HeartbeatChannels       : 
SyncStatus              : 3
SyncPercent             : 0
IsWaitingAutosync       : False
SyncTrafficShare        : 50
NodeType                : 1
FailoverStrategy        : 0
MaintenanceMode         : 0

Name                   : imagefile1
DeviceType             : Image file
DeviceId               : 0x0000000000EB0B00
File                   : VSA Storage\mnt\DISK01\Storage1\Storage1.img
TargetName             : empty
TargetId               : empty
Size                   : 2147483648000
CacheMode              : none
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              : 
IsSnapshotsSupported   : False
Snapshots              : 
SectorSize             : 512
State                  : 0
Parent                 : HAImage1
And as you can see the HA in console with Gui mode during the test period works, but when using the script
in the firstNode creates the disk image in my case disk01image.img
in fact if I access to this node through the terminal, when I launch
ls -l
appears:

Code: Select all

-rw-r--r-- 1 root root   5242880000 Apr 25 12:55 disk01image.img
-rw-r--r-- 1 root root         4096 Apr 25 12:55 disk01image.swdsk
But in the second node nothing appears, no image file or anything, so something is doing but not quite right.
I would like to make this work, using scripts and free vsan and I don't know what else to do.
Any idea what else to do?
Thanks
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 25, 2023 1:10 pm

Hi,

Downgrade the console and StarWindX to the previous build.
chendin
Posts: 6
Joined: Fri Apr 21, 2023 1:54 pm

Tue Apr 25, 2023 1:46 pm

Where can I get an older version available?
How do I downgrade?
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 25, 2023 2:10 pm

See above the thread.
Post Reply