Using nsrpush in NetWorker

Опубликовано: 03 Ноябрь 2024
на канале: crazyRov Studios
3,388
45

NetWorker Commands App:
Google Play Store - https://qrgo.page.link/nBvSt

My Lab Set up:
AMD Ryzen 7 3700x processor - https://amzn.to/32SHIXX
GIGABYTE X570 AORUS ELITE Wifi - https://amzn.to/31VDJuE
RIPJAW 16GB - https://amzn.to/34Y5UuJ
Radeon RX 580 - https://amzn.to/32P3j3w
cooler master 550 watt power supply - https://amzn.to/3lMSUy8

Contact Information:
Twitter -   / crazyrovs  
Website - https://crazyrov.com/
Email - [email protected]
DELL EMC Community Page - https://www.dell.com/community/user/v...

The nsrpush program discovers installed software on remote NetWorker clients and
upgrades that software. Options are provided for specifying NetWorker packages for multiple platforms. A similar facility is provided by NMC. Pressing Ctrl+C will provide the option to either cancel a long operation, or exit nsrpush. Selecting cancel will not terminate the current upgrade operation, but will prevent the next client in a sequence from being upgraded. Exiting nsrpush does not cancel the current operation, rather it continues to run in the background. Upgrades initiated by nsrpush can be monitored via the NMC GUI.
Inventorying clients:
To inventory all of the clients known to NetWorker, use the – all option:
nsrpush – i – all
To specify particular clients, specify the client names separated by space:
nsrpush – i ledma153 ledma160
Adding to repository:
To add Unix based products to the software repository on a NetWorker server running either Windows or Unix, use the – a option in conjunction with the –U option:
nsrpush -a -U – p NetWorker – v 8.2.4.1 – P linux_x86_64 -m /cdrom/networker/linux_x84_64
To add Windows based products to the software repository on a either a Unix or a Windows NetWorker server, use the – a option in conjunction with the –W option:
nsrpush -a -W – p NetWorker – v 8.2.4.1 – P win_x64 -m C:\networker\
Previous NetWorker versions required the specification of a proxy host to enable Unix servers to import Windows media kits, and to enable Windows servers to import Unix media kits. The proxy server requirement has been removed; cross platform import is now supported without the need for a proxy server.
Removing from repository:
To remove products from the repository, use the – r option:
nsrpush -r – p NetWorker – v 8.2.4.1 – P linux_x86_64
Upgrading Clients
To upgrade clients, use the –u option:
nsrpush -u – p NetWorker – v 8.2.4.1 ledma170

Script contents for checking the NetWorker client version
for x in $(cat /nsr/client_list.txt); do echo $x , $(printf '. type: nsrla\nprint\n' | nsradmin -p nsrexecd -s $x | grep 'NetWorker version' | awk '{print $3}'); done

DELL EMC KB article for Windows Certificate issue that causes client upgrade to fail - https://emcservice.force.com/Customer...

 Go to www.crazyrov.com to check the script that can be used to automate the nsrpush process.