Verifying Data Collector servers can connect to Veeam servers
Add Veeam Snapin
Add-PSSnapin -PassThru VeeamPSSnapIn
Note:
Skip this command for Veeam version 11.0, as it supports the PowerShell module.
Connect to Veeam Backup Server
Connect-VBRServer -User <user> -Password <password> -Server <server>
Disconnect from Previous Connection
Disconnect-VBRServer
In this section, we'll use a scenario to illustrate the verification steps. The task is to connect to Veeam Servers Server-A and Server-B from the same Veeam Data Collector Server, where the Veeam Backup & Replication Console is installed.
- From Microsoft PowerShell Console (in Administrator mode), add Veeam SnapIn.
Add-PSSnapin -PassThru VeeamPSSnapIn
Note:
Skip this step for Veeam version 11.0, as it supports the PowerShell module.
- Log into the Veeam Backup & Replication Console using Server-A credentials.
- Open a PowerShell Console and connect to Server-A.
Connect-VBRServer -User ServerAUserId -Password ServerAPassword -Server Server-A
The Server -A connection should be successful.
- Open a PowerShell Console and disconnect from Server-A.
Disconnect-VBRServer
- Open a PowerShell Console and connect to Server-B.
Connect-VBRServer -User ServerBUserId -Password ServerBPassword -Server Server-B
If the Server-B connection is successful, it means: both Servers are on the same software version (including minor patch releases/ updates).
If the Server-B connection fails with the following error:
Connect-VBRServer: Cannot connect to backup server because some of its components are out of date.
it means: Server-A and Server-B are on different software versions. The Veeam Backup & Replication Console is only in sync with Server-A.