 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
Server Talk |
|
Hi Support Team,
whats the best way to let two 24x7 Scheduler(Master) "talk" together.
JobRemoteRun does not have a result String. So how do i get a feedback?
Is this possible to start a job on the other side with a result as return - like a funktion. Or is it only a oneway ticket.
Best regards
Dominik
|
|
Mon Oct 07, 2013 11:39 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Hi Dominic,
What kind of a value do you need (some calculated value, or just process output, or something else) and how is it going to be used?
Different solutions are available for different needs. the most common is to have the agent execute a job and have the job save data to some file(s). the use the built-in secure file transfer functions to transfer files from the agent to the scheduler. See "File.transfer" for more details.
|
|
Tue Oct 08, 2013 7:43 am |
|
 |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
|
|
Maybe i dont understand the way JobRemoteRun works.
I start it on Server A --> JobRemoteRun ( 1, ServerB)
Will the JobId 1 of A start on B, or will the JobId 1 of B start on B?
At the moment I get the error: Unable to run job 1 remotly. User credentials not specifierd for that job.
|
|
Tue Oct 08, 2013 8:57 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
 |
 |
JobId 1 of A start on B |
Job definition created on server A in run time will be deployed to server B and executed there.
if you run 24x7 v5, please do not use old legacy JAL JobRemote... commands. you should convert the script to JavaScript (it will use Scheduler.runRemoteJob) or statically assign Job 1 to run remotely and then use JobRun. In the latest case just set job's host property to a profile configured for the 24x7 agent running on server B
|
|
Tue Oct 08, 2013 11:57 pm |
|
 |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
|
|
 |
 |
Job definition created on server A in run time will be deployed to server B and executed there.
|
Ah, ok thats explains much.
But what about the queues? Where is the A-Job defined in B environment? (Listed in, Prio etc)
|
|
Wed Oct 09, 2013 5:45 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
 |
 |
But what about the queues? Where is the A-Job defined in B environment? (Listed in, Prio etc) |
The A-job is not defined in B environment. The B-agent is like an remote arm of the A-scheduler or any other scheduler. It executes jobs and commands sent by schedulers. An instance of A-job is created somewhere in B-agent memory during job execution, there is no queue or any other storage associated with it.
By the way, queues are not related to any storage, queues are job execution engines allowing the scheduler to run multiple parallel job streams with user specified sequencing, queuing, and priorities. Agents don't have queues, they are remote automation agents that do things they are told to do by the schedulers exactly when they are told to do it (no queuing).
|
|
Wed Oct 09, 2013 8:01 am |
|
 |
|
|
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
|
|
|