Vsan free powershell CreateHA failure

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

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

Post Reply
ousturali
Posts: 1
Joined: Fri Aug 23, 2024 7:11 am

Fri Aug 23, 2024 12:02 pm

hi team
i am playing with VSAN free , i had installed the CVM on both esxi servers, created needed additional networks, assigned a new disk to both CVM , added to storage pool and created a volume.
Now time to SYC with script CreateHA_2.ps1 ,but it fails with below errors.It says that login failed.But the username and password is correct?
what is wrong here??

S C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell> C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell\CreateHA_2.ps1
Exception calling "Connect" with "0" argument(s): "Connection to 192.167.10.224 ( 192.167.10.224 ) : 3261 has failed
-
login user 1q2w3e4R!!
-
104 Username or password you entered is invalid.. "
Exception calling "Disconnect" with "0" argument(s): "Connection has not been initialized
"
At C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell\CreateHA_2.ps1:121 char:2
+ $server.Disconnect()
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation



Here is the part in the script that i entered my CVM login information

param($addr="192.167.10.224", $port=3261, $user="user", $password="1q2w3e4R!!",
$addr2="192.167.10.225", $port2=$port, $user2=$user, $password2=$password,
#common
yaroslav (staff)
Staff
Posts: 3424
Joined: Mon Nov 18, 2019 11:11 am

Fri Aug 23, 2024 12:25 pm

Please try default credentials. See more at viewtopic.php?f=5&t=6852&p=37208&hilit=HINT8#p37208
Post Reply