Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Do you leave the Aclient enabled?
YES - 83.06%
103 Votes
NO - 16.94%
21 Votes
Total Votes: 124
You may not vote on this poll.
» Stats
Members: 9,473
Threads: 11,740
Posts: 55,243
Top Poster: Nick (4,981)
Welcome our newest member, tenbears
» Online Users: 55
2 members and 53 guests
dollard, tenbears
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
View Single Post
Old 07-03-2008, 11:16 AM   #3 (permalink)
James McGoodwin
 
James McGoodwin's Avatar
 
Status: Junior Altiris Admin
Join Date: 11-14-2006
Location: Toronto
Posts: 17


Thought I'd throw in on this too. This is precisely what we'd like to accomplish too.

A lot of the goals governing how I've designed our Deployment Solution set a priority on offloading as much as I can into centralized batch files. This means that if multiple jobs reference the same batch, a single update is reflected across all referencing jobs.

But, that's not the question here. The question is how to do the same thing with in the Altiris Deployment Solution Job structure.

So, something my coworker did in a flash of brilliance was to create a job, fill it with a series of "Run Script" tasks, each of which runs an internal batch command structured like this:

REM Install blahblahblahblah.

Then, we further configure that task by setting the Success field of the "Return Codes" section to chain over into the centralized job we want to call.

In theory, this all works. In theory What happens in practice is your "Mother" job runs, executes task one, chains in the referenced centralized job, and IMMEDIATELY moves on to the next task in the Mother job, rather than running that centralized task first.

The effect is it queues up a series of jobs that run after the Mother job is complete.

Unfortunately, this rather crude approach seems to have some quirks. For example, queued up centralized jobs may (or may not) queue out of order with respect to their listing in the mother job.

Also, if you call a referenced centralized job more than once in your mother job, the LAST time you call that job is the one that gets queued.

For example, say your Mother job is designed like this:
Task 1 = Reference Centralized Job for Installing Winzip
Task 2 = Reference Centralized Job for Installing Office 2003
Task 3 = Reference Centralized Job for Installing Winzip
Task 4 = Reference Centralized Job for Installing CarbonCopy

Never mind the obvious question "Why would you install Winzip twice??"

The resulting queue of jobs you'd get on the target computer would (at best) look like this:

Mother Job (scheduled 12:01 PM 04-07-08)
Office 2003 (scheduled 12:01 PM 04-07-08)
Winzip (scheduled 12:01 PM 04-07-08)
CarbonCopy (scheduled 12:01 PM 04-07-08)

You can see how this falls short of an ideal, truly centrally referenced list of atomic tasks called by some custom, application/department specific mother job.

But, so far that's the best we've been able to figure with out the need of a really violent flow-chart-worthy solution

Quote:
Originally Posted by jasoncordell View Post
Let me take a stab at this and see if I am on the same sheet here. You want to have a common job that is used by multiple jobs. This common job could change from time to time and you only want to make the change in one central place rather that many "copies" of this job.

<SNIP>


Thanks,
Jason
James McGoodwin is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 07:02 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos