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
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
Statistics: Posted by ousturali — Fri Aug 23, 2024 12:02 pm