SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Running External .EXE on a Different Server

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Running External .EXE on a Different Server
Author Message
mojoyrider



Joined: 07 Aug 2007
Posts: 20

Post Running External .EXE on a Different Server Reply with quote
We are trying to manage the performance of several servers, one of them being the 24x7 server itself.

We have another server that has custom .Net exe's which are scheduled from the server that is running 24x7 server. We would like the server where the exe's are installed to execute the code (ie use the .Net exe's server CPU, memory etc) and not the 24x7 server that is calling the exe.

We are currently using the below code, but believe this is transferring the actual execution of the program to scheduler server (and not running it on the .Net hosting server). Is there a different method to achieve our goal of separation?

_________________________________________________
Dim path1 String, "D:\\TestProgram\\TestNetProgram.exe"
runandwait(path1, "",0,process)
Fri Sep 16, 2011 2:57 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7839

Post Reply with quote
Yes, you are correct, you are getting the exe from remote server and running it locally. Here is what you need to accomplish the task: get 24x7 installed on the remote server and set it to run there in the agent mode. On the local server, in 24x7 settings add remote agent connection profile for the remote server. In the job properties, for the job host select that remote agent profile. This will make the exe to run where you want it to run – on the remote server. In case if you are really concerned with the system load and need to run many processes, setup several agents on different machines, in the job properties, choose [Least Busy] for the job host.
Fri Sep 16, 2011 3:09 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.