SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
The 'proper' way

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
The 'proper' way
Author Message
Eric Davis



Joined: 31 Jan 2005
Posts: 54

Post The 'proper' way Reply with quote

Can you educate me on the 'proper' method of setting up one master server and multiple remote agents?

The master server should be the only one pointing to the master scheduler, and all agents should point to their own schedule database?

Does this mean that each time a global script is updated , I need to copy it to each remote agent? (or at least set up sync jobs)

I am having several major problems in my enviornment, (see other thread) and I want to start fresh with a properly setup enviornment

Tue Mar 21, 2006 8:24 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: The 'proper' way Reply with quote

The "master server" == "master scheduler"

The idea is to have one central place for job scheduling and monitoring while being able to run them in many places.
If you use built-in scripting jobs only, all job deployment is done automatically by the master scheduler. In fact the deployment is performed during job run-time. After the scheduler establishes an agent connection it automatically hands the job definition to agent and ask it to run it as a dynamic job. The agent then runs the job and reports status and errors (if any) back to the scheduler.

Note that all job queuing, linking, dependencies and other notification actions are performed on the master. Therefore it is possible to link jobs run using different agents into one or multiple controlled processes. For instance, make agent A setup on a file server to run some processes and FTP results to a database server where agent B picks the file and loads into the database then run a job on a reporting server where agent C runs some reports and emails results to the associated distribution group.

Of course if you develop a batch file on the master and want that batch file to run on an agent then you need to take care of copying that batch file to the agent.

Hope this helps.

: Can you educate me on the 'proper' method of setting up one master server and
: multiple remote agents?

: The master server should be the only one pointing to the master scheduler,
: and all agents should point to their own schedule database?

: Does this mean that each time a global script is updated , I need to copy it
: to each remote agent? (or at least set up sync jobs)

: I am having several major problems in my enviornment, (see other thread) and
: I want to start fresh with a properly setup enviornment

Tue Mar 21, 2006 11:49 pm View user's profile Send private message
Eric Davis



Joined: 31 Jan 2005
Posts: 54

Post Re: The 'proper' way Reply with quote

Unless I have it wrong, it seems that jobs running on the agent also need a copy of the global scripts .. I get an error when the job tries to run using a custom written function through JAL..

: The "master server" == "master scheduler"

: The idea is to have one central place for job scheduling and monitoring while
: being able to run them in many places.
: If you use built-in scripting jobs only, all job deployment is done
: automatically by the master scheduler. In fact the deployment is performed
: during job run-time. After the scheduler establishes an agent connection
: it automatically hands the job definition to agent and ask it to run it as
: a dynamic job. The agent then runs the job and reports status and errors
: (if any) back to the scheduler.

: Note that all job queuing, linking, dependencies and other notification
: actions are performed on the master. Therefore it is possible to link jobs
: run using different agents into one or multiple controlled processes. For
: instance, make agent A setup on a file server to run some processes and
: FTP results to a database server where agent B picks the file and loads
: into the database then run a job on a reporting server where agent C runs
: some reports and emails results to the associated distribution group.

: Of course if you develop a batch file on the master and want that batch file
: to run on an agent then you need to take care of copying that batch file
: to the agent.

: Hope this helps.

Wed Mar 22, 2006 8:15 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: The 'proper' way Reply with quote

Global settings are not automatically deployed as it could be an overkill. You either need to copy settings manually after you make changes or create an automated job that periodically pushes global settings to each agent .

To copy the script library you can either copy the entire job database file or use a JAL script job like below

RemoteCopySettings ("AGENT 1", "SCRIPT LIBRARY")
RemoteCopySettings ("AGENT 2", "SCRIPT LIBRARY")
...
RemoteCopySettings ("AGENT n", "SCRIPT LIBRARY")

File transfer can be automated in a similar fashion using
FileTransfer( "AGENT 1", "C:\Jobs\MyJobDB.dat", "C:\Jobs\MyJobDB.dat" )

FileTransfer( "AGENT 2", "C:\Jobs\MyJobDB.dat", "C:\Jobs\MyJobDB.dat" )

This second method could be proven easier for management if you use uniform environment for all agents (same setup, same job database location, etc…)

: Unless I have it wrong, it seems that jobs running on the agent also need a
: copy of the global scripts .. I get an error when the job tries to run
: using a custom written function through JAL..

Wed Mar 22, 2006 10:39 am 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.