Skip to main content
Solved

Determine agent version from client

  • December 31, 2021
  • 6 replies
  • 4778 views

Forum|alt.badge.img+4

Hi,

I’m checking some way to collect the version of the installed agents in a win/linux client running some command on the client itself.
So far I couldn’t find any way to poll that information from the client itself (while it’s extremely easy to do it from commcell console) but I’m sure there must be at least a configuration file/registry key reporting the exact version of every agent installed in a client, but I can’t find out which one.

 

Do you know if that’s possible?

Thanks,

Alessandro.

Best answer by MichaelCapon

Hi Alessandro,

Do you need the software Feature Release version and the Maintenance Release version? 

 

In the registry we have “sProductVersion” which tells us the Version Build and Feature Release. 
We also have UP_Transaction which tells us the Maintenance Release version.

 

To get these values you can try the following:

Windows Powershell:

Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\CommVault Systems\Galaxy\Instance001" -Name "sProductVersion" 

Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\CommVault Systems\Galaxy\Instance001\UpdateBinTran" -Name "UP_Transaction"

Linux:

Cat /etc/CommVaultRegistry/Galaxy/Instance001/.properties | grep sProductVersion

Cat /etc/CommVaultRegistry/Galaxy/Instance001/UpdateBinTransactions/.properties | grep UP_Transaction

 

I am interested to see here if anyone has any other/easier suggestions :slight_smile: .

Best Regards,
Michael

 

6 replies

MichaelCapon
Vaulter
Forum|alt.badge.img+14
  • Vaulter
  • Answer
  • December 31, 2021

Hi Alessandro,

Do you need the software Feature Release version and the Maintenance Release version? 

 

In the registry we have “sProductVersion” which tells us the Version Build and Feature Release. 
We also have UP_Transaction which tells us the Maintenance Release version.

 

To get these values you can try the following:

Windows Powershell:

Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\CommVault Systems\Galaxy\Instance001" -Name "sProductVersion" 

Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\CommVault Systems\Galaxy\Instance001\UpdateBinTran" -Name "UP_Transaction"

Linux:

Cat /etc/CommVaultRegistry/Galaxy/Instance001/.properties | grep sProductVersion

Cat /etc/CommVaultRegistry/Galaxy/Instance001/UpdateBinTransactions/.properties | grep UP_Transaction

 

I am interested to see here if anyone has any other/easier suggestions :slight_smile: .

Best Regards,
Michael

 


Forum|alt.badge.img+4
  • Author
  • Novice
  • December 31, 2021

Hi Michael,

Thanks for the response!

I already checked the “sProductVersion” bit, but it didn’t change after upgrading the client from commcell console. Nonetheless, I ignored the “UP_Transaction” part. I’ll test it immediately in my environment.

On the other hand, is there any way to map those values captured from the client to the version displayed in commcell console? 
I mean, in my test client I have:

sProductVersion 11.80.200.0
UP_Transaction  77_3950133

While in console it’s: 11.20.77

How do they correlate?


Forum|alt.badge.img+4
  • Author
  • Novice
  • December 31, 2021

Confirmed!

UP_Transaction is actually revealing the Maintenance Release that was what I was looking for.

I’m still guessing how to correlate “sProductVersion 11.80.200.0” & “UP_Transaction  77_3950133” with console’s 11.20.77.


Scott Moseman
Vaulter
Forum|alt.badge.img+22

Not sure about Windows, but it’s simple in Linux:

# simpana status | grep Version
 Version = 11.26.3

Thanks,
Scott
 


Forum|alt.badge.img+8
  • Vaulter
  • December 31, 2021

Hi, Process Manager/GxAdmin( application in Base folder) in windows clients and ‘commvault status’ command on Linux clients will show version details.

Regards

Gopinath


Forum|alt.badge.img
  • Novice
  • July 31, 2023

For RHEL\Linux OS Run command: commvault status