Skip to main content

Hi all

We have multiple installations of Veeam and some of them have all roles on the same server (Backup, Proxy, Mount and so on), some roles are distributed on others servers. Some installations have PostgreSQL and some have MSSQL. Has anyone a idea how to get the installed roles on a server (registry, folders) so we can choose which service to monitor on which server. Additionally is there an overview of which service belong to which role?

 

Thanks,

Dario

Hi ​@vSyntaxError -

If I’m understanding you correctly, are you wanting to know about each Veeam service?...kinda what it does and what Veeam role controls it? See the below section of the Veeam on vSphere User Guide:

https://helpcenter.veeam.com/docs/backup/vsphere/services_and_components.html?ver=120

Let me know if that helps.

There’s another section which talks about directories:

https://helpcenter.veeam.com/docs/backup/vsphere/install_vbr_settings.html?ver=120

And..another listing the ports for the various services and components:

https://helpcenter.veeam.com/docs/backup/vsphere/used_ports.html?ver=120

Let me know if these don’t help and if you’re needing some different info. I’ll try to see what I can pull up.

Best.


Thanks Shane

Know these articles but where do I find the correlation between which service is needed by which installed role?

Additionally where do I check which role is installed on a server (registry, folders and so on)?


If you use the first link posted by Shane and go to each server that is acting as one of the roles you can then correlate the service names.  You could do this with PowerShell but then still need to do some correlation.


Sure but I don’t know if I have every combination of roles in my network so I am not 100% sure and can only guess which role has which services.


@vSyntaxError - understood; those are about the best I know of out there. There isn’t really anything out in the wild I know of that can “bring it all together” like it appears you’re needing. You’ll have to do a some correlating as Chris points out.

From a general standpoint, the VBR Components section of the Guide tells you what services are used on which components:

https://helpcenter.veeam.com/docs/backup/vsphere/components.html?ver=120  ...along with the Services section of the Guide I shared above. Not really a neat listing, but it’s something. For example:

Proxies services: https://helpcenter.veeam.com/docs/backup/vsphere/backup_proxy.html?ver=120#vmware-backup-proxy-services-and-components

Sorry I couldn’t provide something more cleaner for you.


Thank you Shane. That’s a good start.


@vSyntaxError

You can do this with Powershell, but it requires unsupported methods.

 

$servers = Get-VBRServer
$serversv0].GetPhysicalHost().GetComponents()


All servers will have the VeeamDeploymentService (will show as Installer Service in logs and some places)

Proxies/Repositories will have the VeeamTransport Service, handles the transfer of data

VMware proxies will have the VDDK package as well. (Some VAW installatoins will include VDDK as well by design, but I think this changes in v13)

Database type I think only reliable way to check it is to check the registry at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\DatabaseConfigurations

SqlActiveConfiguration value will tell if it’s MsSql or PgSql


@vSyntaxError - see the attached document as I used Claude AI to create a document.  Diagram below and attached too.

 
 
 

Try this Script: PowerShell Script to Detect Veeam Roles

 

$roles = @()

$services = @{
    "VeeamBackupSvc"        = "Backup Server"
    "VeeamTransportSvc"     = "Proxy Server"
    "VeeamMountSvc"         = "Mount Server"
    "VeeamNFSSvc"           = "NFS Server"
    "VeeamBrokerSvc"        = "vSphere Integration"
    "VeeamCatalogSvc"       = "Indexing Service"
    "VeeamGuestHelperSvc"   = "Guest Interaction Proxy"
}

foreach ($svc in $services.Keys) {
    $status = Get-Service -Name $svc -ErrorAction SilentlyContinue
    if ($status -and $status.Status -ne $null) {
        $roles += aPSCustomObject]@{
            ServiceName = $svc
            Role        = $servicese$svc]
            Status      = $status.Status
        }
    }
}

# Check for PostgreSQL or SQL Server
$dbEngine = ""
if (Get-Service -Name postgresql* -ErrorAction SilentlyContinue) {
    $dbEngine = "PostgreSQL"
} elseif (Get-Service -Name MSSQL* -ErrorAction SilentlyContinue) {
    $dbEngine = "SQL Server"
}

# Output
$roles
Write-Host "`nDatabase Engine: $dbEngine" -ForegroundColor Cyan

 

What it Does:

Checks which Veeam roles are installed by looking at key services.
Displays current service status (Running/Stopped).
Detects whether PostgreSQL or SQL Server is used.
Can be extended to remote servers using Invoke-Command.

 

 


Thanks folks, try to start with these helpful things.


Thanks folks, try to start with these helpful things.

No problem always here to help.  Let us know how you get on.


Glad to assist ​@vSyntaxError . Keep us posted on how things go.

Best.


To close this conversation, will share the results of a discussion between vSyntaxError and I from DMs, as it will hopefully help others. 

 

======== Info Dump ========

Get-Service -Name "*Veeam*"

Deployer, Mount, and Transport service are the only critical services that must be alive on most systems. However, here's full list from my 12.3.2 VBR server. Most of these you don't need to poll unless you're using them, and most only exist on the VBR server. I'll bold the ones you must check for and add a comment for the nuances. Italics will be services only on VBR server itself

get-Service -Name "*veeam*"

Status Name DisplayName
------ ---- -----------
Running VeeamAHVSvc Veeam AHV Service
Running VeeamAWSSvc Veeam AWS Service
Running VeeamAzureSvc Veeam Azure Service
Running VeeamBackupCdpSvc Veeam CDP Coordinator Service #For Vmware CDP  if you use it
Running VeeamBackupRESTSvc Veeam Backup Server RESTful API Ser...
Running VeeamBackupSvc Veeam Backup Service
Running VeeamBackupUpda... Veeam Backup Update Service
Running VeeamBrokerSvc Veeam Broker Service
Running VeeamCatalogSvc Veeam Guest Catalog Service
Running VeeamCdpProxySvc Veeam CDP Proxy Service #For Vmware CDP proxies
Running VeeamCloudSvc Veeam Cloud Connect Service #Only if you're a cloud provider
Running VeeamDataAnalyz... Veeam Data Analyzer Service
Running VeeamDeploySvc Veeam Installer Service
Running VeeamDistributi... Veeam Distribution Service
Running VeeamEndpointBa... Veeam Agent for Microsoft Windows
Running VeeamExplorersR... Veeam Explorers Recovery Service #Only on servers you install the remote console on
Running VeeamFilesysVssSvc Veeam Backup VSS Integration Service #Used for Unstructured Data backup of systems that support remote VSS
Running VeeamGCPSvc Veeam GCP Service
Running VeeamKastenSvc Veeam Kubernetes Service
Running VeeamManagement... Veeam Management Agent Service
Running VeeamMountSvc Veeam Mount Service #only installed on mount servers, usually repository
Running VeeamNFSSvc Veeam vPower NFS Service #only installed on mount servers, usually repository
Running VeeamOneAgentSvc Veeam ONE Agent #Only installed if you monitor VBR with VeeamOne
Running VeeamPVESvc Veeam PVE Service
Running VeeamRHVSvc Veeam KVM Service
Running VeeamTapeSvc Veeam Tape Access Service #Only installed on Tape Servers if you use Tape
Running VeeamThreatHunt... Veeam Threat Hunter Service #installed on mount servers
Running VeeamTransportSvc Veeam Data Mover Service
Running VeeamVssProvide... Veeam VSS Hardware Provider Service #Only if you use Unstructured Data backup with Remote VSS
Running VeeamWANSvc Veeam WAN Accelerator Service #Only used if you use WAN Accelerators

On linux it's much the same, just you can poll the daemons/services with `ps` command. Same rules apply. You will also see the Veeam Immutability Service on hardened repositories if you use those.

That ought be enough for your monitoring.

Long-term, we have plans to get visibility on this way better, but nothing more specific I can share right now, just know that we don't want you having to poll this information with scripts, just need to get a few v13 things out of the way first.


Great addition David! 👍🏻 Thanks for sharing.


Thanks for sharing the details David as it will help others I am sure. 


Comment