Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated restart for 5 IPOs 7

Status
Not open for further replies.

jbra

IS-IT--Management
Oct 25, 2008
41
US
this could save me 5-10 minutes a week, if I could figure something out...

We have 5 IPOs. Each Friday marketing has us schedule a reboot for Friday after close to change out the hold music.

I'd like to write a batch file that would schedule each of the IPOs to reboot at 9pm.

Ideas on how something like this might be accomplished?

Thanks!
 
What type of IPO and what version are you on?

Is the hold music an external device or an internal wav file.
 
End of day on a Friday will make you forget those important details :)

IPO500 firmware 4.2(17) using Interal wav files.

The idea is Marketing puts the HoldMusic.wav file in the TFTP directory - then we set the reboot for later that night.

Thanks!
 
Go to Wallmart and buy a power socket with a timer.

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged
___________________________________________
 
Schedule this in MS scheduler:

reboot.bat
tftp -i 192.168.42.1 get "nasystem/reboot/00e007004e65/$t%$'~ q//"

the ip address is the ip address of the ipo, 00e007004e65 is the MAC address of the ipo, $t%$'~ q/ is the password of the ipoffice ( in this case "password")

If you have changed the systems password then connect a deltaserver to the ipo and search the registry of the pc for deltaserver entries, there you can find the new coded password.
 
I can't think why I'd ever need that piece of information - but a * for intrigrant anyway!

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
useless information for about 364.9 days of the year but then you need it to make your life easier one day and there it is.
I am wondering how you get to these little treasures of knowledge intrigrant
Have another star on me

Joe W.

FHandw., ACS

I don't suffer from insanity
I enjoy every moment of it :)
 
I have a lot more of that "useless" information but once in a while it can become usefull so i keep it on my pc and only remeber i have the info stored somewhere
 
like a teacher of mine once said, you don't need to remember everything, you just need to remember where to get thi information you need.
In that case it is YOUas a source of information

Joe W.

FHandw., ACS

I don't suffer from insanity
I enjoy every moment of it :)
 
That's brilliant. Another * from me ;o)

Don't ask me, I didn't design it.
 
tftp -i 192.168.42.1 get "nasystem/rebootwhenfree/00e007004e65/$t%$'~ q//"

also works

star for you
 
stary stary night

reboot when free is also good to know

Joe W.

FHandw., ACS

I don't suffer from insanity
I enjoy every moment of it :)
 
OK I couldn't resist and made a batch file ran it and
nothing happened, it just created a new file in the same directory the batch file runs in but the system doesn't reboot.
Tried it with two separate systems (406 and 500 both running 5.0.15) and again
nothing.
Maybe I am forgetting something really basic, got the MAC address and the IP address correct and verified both is correct.
:-(
I almost suspect that the R5.0 is not working with this command any more, let me know if I am wrong about that please.

Joe W.

FHandw., ACS

I don't suffer from insanity
I enjoy every moment of it :)
 
$t%$'~ q//

There is a space in there. Is there a space in yours? v5 works. If you turn on TFTP in Monitor and issue the commands you should see them echoed. BTW you shouldn't have to use -i.
 
got the space, tried without the -i and with it

tftp 192.168.100.180 get "nasystem/reboot/00e007039197/$t%$'~ q//"

that's my exact batch file
also tried the
tftp 192.168.100.180 get "nasystem/rebootwhenfree/00e007039197/$t%$'~ q//"

both a NO GO

Joe W.

FHandw., ACS

I don't suffer from insanity
I enjoy every moment of it :)
 
wild man.

dos gives me this when I issue the command.
tftp: can't write to local file ''

Monitor gives me this:
13454483mS TFTP: Server::RRQ(from 172.16.180.37, 2977) (loc 172.16.218.2) nasystem/reboot/00e00702a7bb/$t%$'~ q// (Total 1)
13454485mS PRN: System Reboot (from 172.16.180.37).....
13454874mS RES: Mon 30/11/2009 14:20:28 FreeMem=72785960(2) CMMsg=2 (2) Buff=200 949 1000 7430 4 Links=3201
13454874mS RES2: IP 500 5.0(8) Tasks=35 RTEngine=0 CMRTEngine=0 Timer=41 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=3
13457146mS PRN: Saving Config before Reboot
13457147mS PRN: Simulate WriteConfig at f7d3f8fc savemode 0 writetype 1
13457271mS PRN: Simulated cfg size to flash: 63582
13457643mS TFTP: Server::RRQ(from 172.16.218.3, 4337) (loc 172.16.218.2) nasystem/who_is (Total 1)
13457926mS PRN: Start WriteConfig at f7d3f8fc savemode 0 writetype 1
13458150mS TFTP: Server::RRQ(from 172.16.218.3, 4338) (loc 172.16.218.2) nasystem/licence_list (Total 1)
13458667mS TFTP: Server::RRQ(from 172.16.218.3, 4339) (loc 172.16.218.2) config/mergeduserrights/$t%$'~ q (Total 1)
13458668mS PRN: Config Write Wake Up
13459039mS PRN: Start WriteConfig at f7d3f8fc savemode 3 writetype 0
13459147mS PRN: Shut down the IPCallSystem ...
13459147mS PRN: Shut down the call system ... closing TCP Services
13459148mS PRN: Closed Services (total: 11) ...
13459168mS PRN: New IO List Size 1
13459168mS PRN: Sending Config out to f565ccb4 started
13459168mS PRN: Start WriteConfig at f7d3f8fc savemode 4 writetype 2
13459361mS PRN: Sending Config out to f565ccb4 finished error=0
13459361mS PRN: Config Write Completed
13459874mS RES: Mon 30/11/2009 14:20:33 FreeMem=72822524(2) CMMsg=2 (2) Buff=200 951 1000 7430 4 Links=3224
13459874mS RES2: IP 500 5.0(8) Tasks=35 RTEngine=0 CMRTEngine=0 Timer=39 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=2
13460650mS HTTP: HTTPServices: ListenerDestroyed
13460650mS PRN: Closing down TCP clients (total: 2)
13460651mS HTTP: 0.0.0.0(0) ~HTTPSession: Duration: 13431252ms (Total = 0)
13465651mS TAPI: 1: End TAPI Session
13465874mS RES: Mon 30/11/2009 14:20:39 FreeMem=72919324(2) CMMsg=2 (2) Buff=200 951 1000 7430 4 Links=3264
13465874mS RES2: IP 500 5.0(8) Tasks=32 RTEngine=0 CMRTEngine=0 Timer=37 Poll=0 Ready=1 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=2
13466050mS PRN: Shut down the call system ... completed
13466050mS LVM(flash): FlashMan: ShutDown: Requested !
13466050mS LVM(flash): FlashMan: ShutDown: Completed !
13466401mS PRN: It is now safe to turn the power off ... marked as clean shutdown
13466402mS PRN: REBOOTING (waiting for watchdog to expire)


Then off she goes..reboot. What DOD messages do you get and doyou have any tftp messages in Monitor
 
works fime for me too on IPO 5.0.14, i tested before posting.... Are you sure you use the default password and no special security set?

I wrote a application a long time ago ( 2004 )which does the same, i posted it here:
change the doc in zip, it is double zipped otherwise the fileserver did not accepted it

It asks for ip address, password and were to store the .cfg file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top