Skip to main content

Team,

As we know , if we have to perform push installation of commvault agent . 
SSH from Commserver to Client should work . In my Env SSH works for some clients while not for others.

Do we have any pre-check mechanism in Commvault where we can validate the client is ready for push-installation or not . This could be useful for automation checks. 

Thanks,Mohit

Hi ​@Mohit Chordia ,

Refer to below document which has details about windows and Unix machine pre requisites for push installation.
https://documentation.commvault.com/2024e/expert/prerequisites_for_installations_using_commcell_console.html


Hi Pradeep,

Thanks

Can you please check my query again ? I have not asked for pre-requisites for push-installation 

I looking for a mechanism may be any Commvault API or workflow which i can call/run and it can confirm whether for the specific client agent can be installed through PUSH installation or not.

This is required for automation.


Hello Mohit, 

This is a humble PowerShell script I run when checking various TCP/IP ports. You can adjust it to whatever you need. It’s written for PS7 but should work well enough with PS5, adaptable to automate. 
The key ports that matter are 22, 445, 8400, 8403 to start. Hope this helps. 

# tp.ps1 - test-port - test ping and basic tcp ports for backup
# syntax for script: tp.ps1 .fqdn-hostname]
#

param(
bParameter(Mandatory)]
bstring]$hostname
)

# setting ports to check, common for Linux & Windows backup clients.
$ports = 22, 80, 443, 445, 1433, 3389, 5895, 5896, 8400, 8403

echo "Hostname:" $hostname
echo "Ports:" "$ports"
echo ".........."

write-host "Checking TCP ports for "$hostname" at "$ports
# sleep 3

write-host "PING:"

test-connection -computername $hostname -count 1 |select Destination, Address, Status | format-table -hidetableheaders

$ports | ForEach-Object {$port = $_; if (Test-NetConnection -ComputerName $hostname -Port $port -InformationLevel Quiet -WarningAction SilentlyContinue) {"Port $port is open" } else {"Port $port is closed"} }

 


Reply