I'm afraid I don't have enough practical experience with VR to help you there.
Original Message:
Sent: Aug 26, 2024 12:57 PM
From: fabfisc
Subject: connect-vrserver doesn't work
Any suggestion?
Original Message:
Sent: Aug 22, 2024 12:47 PM
From: fabfisc
Subject: connect-vrserver doesn't work
Done.
Nothing changed.
One step back.
In my vSphere VC1 (let's say on IP 10.0.0.1) i have the appliance Replication VR1 installed (IP 10.0.0.10).
I paired it with a remote replication VR2 (let's say 10.10.10.20) on remote vSphere VC2 (10.10.10.10) over the internet and over a firewall.
Now i use my pc (10.0.0.2) to connect to vCenter VC1 via PowerShell and use PowerCLI to modify VM's portgroup and send the Invoke-VMscript's commands to execute some instructions inside the Guest OS (both Windows and Linux), and all is working fine.
To monitor the Replication's status of the VM migrating from VC2 to VC1 (percentage, MB/GB, last sync duration...) i would run some commands.
Now, i'll be gratefull if you would explain the correct way to to this job.
May i have to connect from my pc (10.0.0.2) to the remote Replication VC2 (10.10.10.20) or directly to VC2 (10.10.10.10)?
More, with what user do i have to connect (obviously the one registered on the remote vCenter)?
Thanks a lot for the patience and the support.
Original Message:
Sent: Aug 22, 2024 09:05 AM
From: LucD
Subject: connect-vrserver doesn't work
Try adding the -IgnoreInvalidCertificate switch
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Original Message:
Sent: Aug 22, 2024 07:58 AM
From: fabfisc
Subject: connect-vrserver doesn't work
Yes, no more than this ("IgnoreInvalidCertificate" skippable):
PS C:\Users\fabrizio.fiscella> Connect-VrServer -Server VRRemoteAppliance -User "vruser" -Password "mypassword"
DETTAGLIATO: 'IgnoreInvalidCertificate' not specified. Trying to retrieve and use VMware.Powercli 'InvalidCertificateAction' setting.
DETTAGLIATO: InvalidCertificateAction: Ignore
Connect-VrServer :
In riga:1 car:1
+ Connect-VrServer -Server VRRemoteAppliance -debug
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-VrServer], ApiException
+ FullyQualifiedErrorId : VMware.Binding.OpenApi.Client.ApiException,VMware.Sdk.Vr.ConnectVrServer
I also tried all users and password i know on local and remote server but with no result.
Original Message:
Sent: Aug 22, 2024 07:48 AM
From: LucD
Subject: connect-vrserver doesn't work
You mean no additional output?
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Original Message:
Sent: Aug 22, 2024 07:08 AM
From: fabfisc
Subject: connect-vrserver doesn't work
The same result with -verbose option
Original Message:
Sent: Aug 22, 2024 06:42 AM
From: LucD
Subject: connect-vrserver doesn't work
Any more details when you add the -Verbose switch?
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Original Message:
Sent: Aug 22, 2024 05:37 AM
From: fabfisc
Subject: connect-vrserver doesn't work
Yes, i opened all traffic both sides but the problem persists.
Original Message:
Sent: Aug 22, 2024 05:14 AM
From: LucD
Subject: connect-vrserver doesn't work
Did you check the ports in KB312798?
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Original Message:
Sent: Aug 22, 2024 03:58 AM
From: fabfisc
Subject: connect-vrserver doesn't work
Hi folks,
i'm trying to connect to a Replication appliance (both via FQDN or IP) installed on a remote vSphere (there is a firewall but the port 443 is opened) but i get the below error on PowerShell.
PS C:\Users\user> Connect-VrServer -Server VRRemoteAppliance -User "vruser" -Password "mypassword"
Connect-VrServer :
In riga:1 car:1
+ Connect-VrServer -Server VSPHERE-REPL-CL.vmware.cl
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-VrServer], ApiException
+ FullyQualifiedErrorId : VMware.Binding.OpenApi.Client.ApiException,VMware.Sdk.Vr.ConnectVrServer
I've also one Replication installed on my local site, the error is the same.
Am i missing something, do i need to set something else on firewall or application side?
Thanks in advance.
Fab