Windows Server 2003
1832845 Members
3206 Online
110047 Solutions
New Discussion

Re: Automated way to Disable ASR on 600 servers?

 
Rene Hasprunar
New Member

Automated way to Disable ASR on 600 servers?

Hi I am tasked with disabling ASR on 600 servers different types and generations and I know you can do it manually from the System Management Homepage.

My boss wants me to find a scriptable or automated solution without a reboot. He also wants to have some type of reporting on what servers are set to what settings.

I did research on using SIM with the Replicate Agent Settings and that did not have a disable ASR function.

I also tried Conrep but getting a driver error when trying to import the data file. From what I read this is because it's not WIN PE and is Windows 2003 Server.

I even tried calling HP support and they said they don't have any thing to automate disabling of ASR.

So I'm stuck and want to reach out to the HP community to see if you may of had any luck.

Thank You
Rene
3 REPLIES 3
Paulo Meireles C.
New Member

Re: Automated way to Disable ASR on 600 servers?

Get Net-SNMP and install it.

To check ASR status on server "myserver":
snmpget -c public -v 1 myserver .1.3.6.1.4.1.232.6.2.5.1.0

A value of "3" means disabled, and "4" means enabled.

To disable ASR:
snmpset -c public -v 1 myserver .1.3.6.1.4.1.232.6.2.5.1.0 i 3

To enable ASR:
snmpset -c public -v 1 myserver .1.3.6.1.4.1.232.6.2.5.1.0 i 4

Hope it helps.
Paulo Meireles
Bhavani N
Occasional Advisor

Re: Automated way to Disable ASR on 600 servers?

Hi

is there a way to run net-snmp for multiple servers like giving the servernames in a textfile...
WFHC-WI
Honored Contributor

Re: Automated way to Disable ASR on 600 servers?

Hi Rene,

Paste this command into Notepad and save it with a .bat extension:

for /f %%a in (MyListOfServers.txt) do snmpset -c public -v 1 %%a .1.3.6.1.4.1.232.6.2.5.1.0 i 3

Save your list of servers as MyListOfServers.txt in the same directory.

good luck, if you appreciate the answers we appreciate the points!