|
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
mojoyrider
Joined: 07 Aug 2007 Posts: 20
|
|
Running External .EXE on a Different Server |
|
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 |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7849
|
|
|
|
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 |
|
|
|
|
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
|
|
|