SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Reboot - Remote Agent

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Reboot - Remote Agent
Author Message
Pat Franklin



Joined: 28 Apr 2000
Posts: 14

Post Reboot - Remote Agent Reply with quote

Using version 2.3.7 and running a script that runs the script:

Reboot( )

DONE:
// Done

Unfortunately, since the machine reboots, it never send the completion message back to the master scheduler. Thus, when trying to shutdown the master scheduler I get the message "1 connection to remote agents is still opened ... Are you sure you want to shutdown ...?"

Is there any way around this?

Thu Oct 19, 2000 2:12 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Reboot - Remote Agent Reply with quote

Create a job with the name "Reboot" on the agent's computer using the standalone version of 24x7. This job should have " " for the schedule.

The script for this job would be just "Reboot"

In the job you submit from the master replace
"Reboot" with
"Dim( process, number )
Run( "24x7 /JOB Reboot", "", process )"

This will allow the agent to finish active job and start another instance of 24x7 which in turn will reboot the machine.

: Using version 2.3.7 and running a script that runs the script: Reboot( )

: DONE: // Done

: Unfortunately, since the machine reboots, it never send the completion
: message back to the master scheduler. Thus, when trying to shutdown the
: master scheduler I get the message "1 connection to remote agents is
: still opened ... Are you sure you want to shutdown ...?"

: Is there any way around this?

Thu Oct 19, 2000 4:19 pm View user's profile Send private message
Pat Franklin



Joined: 28 Apr 2000
Posts: 14

Post Re: Reboot - Remote Agent Reply with quote

I setup the job as described and here is the response I get on the remote machine when the job tries to run:

Unable to register 24x7 Scheduler instance because another instance of 24x7 Scheduler or 24x7 Remote Agent is already running on this computer. Cannot continue.

: Create a job with the name "Reboot" on the agent's computer using
: the standalone version of 24x7. This job should have " " for the
: schedule.

: The script for this job would be just "Reboot"

: In the job you submit from the master replace
: "Reboot" with
: "Dim( process, number )
: Run( "24x7 /JOB Reboot", "", process )"

: This will allow the agent to finish active job and start another instance of
: 24x7 which in turn will reboot the machine.

Fri Oct 20, 2000 10:59 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Reboot - Remote Agent Reply with quote

It should be fine if you upgrade 24x7 on the agent computer to the version 2.3.6 or later.

: I setup the job as described and here is the response I get on the remote
: machine when the job tries to run: Unable to register 24x7 Scheduler
: instance because another instance of 24x7 Scheduler or 24x7 Remote Agent
: is already running on this computer. Cannot continue.

Fri Oct 20, 2000 12:34 pm View user's profile Send private message
Pat Franklin



Joined: 28 Apr 2000
Posts: 14

Post Re: Reboot - Remote Agent Reply with quote

Agent is running 2.3.7. Help, About.

: It should be fine if you upgrade 24x7 on the agent computer to the version
: 2.3.6 or later.

Fri Oct 20, 2000 4:50 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Reboot - Remote Agent Reply with quote

Can you run any other job from the command line while the agent is running?

By the way, you may want to try a command line approach. You may want to use the following link to download command line utility that can reboot both local and remote computers. This is freeware. Use at your own risk. After downloading run reboot.exe to view available command line parameters.

http://www.bbdsoft.com/downloads/reboot.zip



Fri Oct 20, 2000 5:17 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.