Symantec Connect
  • Login
  • Register
  • Endpoint Management & Virtualization
    • All of Connect
    • Backup and Archiving
    • Endpoint Management & Virtualization
    • Storage and Clustering
    • Security
    • Inside Symantec
    • Vision User Conference
    • Partners
    • Developers
    •  
  • Overview
  • Forums
  • Articles
  • Blogs
  • Downloads
  • Events
  • Videos
  • Groups
  • Ideas
Login to participate
Endpoint Management & Virtualization Community BlogRSS

Deployment Solution Job Shortcuts

ianatkin's picture
ianatkin
July 25th, 2008
Filed under: Altiris Deployment Solution, Basics, Configuring, Endpoint Management & Virtualization Community Blog, Endpoint Management and Virtualization

Have you ever cloned your DS jobs for copying to various computer build folders, and then been frustrated when you have to locate each copy later to update them? If so, then Deployment Solution job shortcuts are for you, so read on.

Introduction

The idea behind Deployment Solution shortcuts is simple. You maintain one master job, and when you want to create a copy you instead create a job which is simply a reference the master.

To illustrate, let's look at a sample jobs pane which is causing you, the DS Admin, some grief.

Above we can see a typical looking DS jobs pane -here we have build folders for various types of computer defined by hardware and role,

  • Administrator Desktop
  • Administrator Laptop
  • Computational Desktop
  • Public Access Desktop
  • Staff Desktop
  • Staff Laptop

Each of these build folders contains a number of jobs. The first job in the list deploys a generic Hardware Independent Image, and the remainder deploys the software. Fairly simple I think you'll agree.

Now, what happens when you need to update one of the pieces of software -say Adobe Reader. This happens to be present in all of the 6 builds listed above, so you'll need to modify the Adobe Job in each and every one of these build folders to ensure the job is updated across the board.

There is simpler way though -you can create a master folder for software and utilise shortcuts. Lets see how this is done, taking Adobe Reader as an example.

Creating a shortcut

Lets say you have a job folder called Software and have a job to install Adobe Reader 8.1.2 in there. A shortcut can be created by,

  1. Create a new job
    Call it '--> Install Adobe Reader 8.1.2'. The arrow is a visual reminder that this job is a shortcut.
  2. Add a Run Script task to the job
    In the script box, enter in the following simple REM line,
    REM Do Nothing, except return an success error code!
    
    

    This job will always return a success to the console, and it will do so quickly. Click 'Next' to proceed.

  3. Script OS Run Options
    The next Wizard window which allows you to select whether to run the script on the client or server, and whether in automation or production. Stick with the defaults -you want it to run on the client, in the production OS.
  4. Return Codes
    This is where we implement the actual shortcut. When a job has finished executing, we can on this wizard page define how DS should respond to the exit code. As the REM command will always return 'success'. At the moment, the job will simply continue on success. Lets intervene here -pull the drop down box and select Select a Job...
  5. Select a Job
    In the select a job window that appears, navigate to and select the 'Adobe Reader 8.1.2' job. Click 'Finish'.

This job will now always call your original Adobe Reader job, and you can create as many copies of this shortcut as you like safe in the knowledge that changes to the master will replicate nicely.

Other Advantage to Job Shortcuts

Aside from reducing the labour in updating jobs, shortcuts are also handy from a security point of view. For instance, with shortcuts you could have your main software folder in complete control of your software guru, and provide access to your DS Helpdesk crew by providing shortcuts (whose target jobs they cannot edit).

This provides certainty that when you see a job running as a shortcut that the job contents have not been tampered with.

If you think shortcuts are cool, subscribe to the enhancement request below for making shortcuts natively supported in the console as new job class.

https://kb.altiris.com/article.asp?article=43211&p=1

Kind Regards,
Ian./

+2 (2 votes)
  • ianatkin's blog
  • Login or register to post comments
  • Comments RSS Feed
dkerr's picture
dkerr
1 year 34 weeks ago

Great Idea

Nice idea. I never really jumped that deep into this, but was something we were fighting with ourselves. This obviously speeds up the upgrade process and removes user error from the equation. I'd highly recommend everyone interested in something like this natively to subscribe to the KB listed above.

The only issue would be troubleshooting incase something fails.

0 votes
  • Login or register to post comments
carlsson's picture
carlsson
1 year 34 weeks ago

Thank you

simple and excellent

Thanks C

Hojiblanca

0 votes
  • Login or register to post comments
cschwab's picture
cschwab
1 year 33 weeks ago

Thanks!

Good stuff, going to play with this today. Thanks!

0 votes
  • Login or register to post comments
spazzzen's picture
spazzzen
1 year 33 weeks ago

I personaly love this

At first we did a basic form of this where a job would run then jump to the next job. I.E. Initial deploy installs pushes the image then jumps to an install which jumps to another install. The only problem with that is if you want to run an install job separately. So I created a Forwarding scripts job, which is basically a job with a bunch of shortcuts to other jobs. This way if we need to run one of the jobs separately we can and it will not automatically go to another job. The only problem with both of these is that if one of the jobs fail for any reason it stops the chain. I have tried a few things to fix this but with no luck, like telling it to continue even when it stops. Either way this is an excellent idea.

0 votes
  • Login or register to post comments
Dan Waksman's picture
Dan Waksman
1 year 32 weeks ago

Thanks!

Great tip! Having multiple copies of the same task running in different jobs can start to get complicated and things start to get out-of-sync.

I tried this and it worked great. The only problem being that the status isn't accurate in the task itself, although looking at the Computer will show the status of each task.

0 votes
  • Login or register to post comments
ianatkin's picture
ianatkin
1 year 32 weeks ago

The status is always success!!

Yeah, the task itself will always be run successfully -that's the point. The error will be flagged in the target job assigned dynamically to that machine when the shortcut executes.

I think its just something you get used to after a while, but if shortcuts become natively supported then error codes would be reported directly in the console.

So, remember to sign-up to the KB!!

Kind Regards,
Ian./

Ian Atkin
Senior Developer for the ICT Support Team,
Oxford University, UK

Connect Etiquette: Please "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads!

+1 (1 vote)
  • Login or register to post comments

Would you like to reply?

Login or Register to post your comment.

About Endpoint Management and Virtualization Community Blog

The Endpoint Management & Virtualization Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management & Virtualization community. Any authenticated Connect member can contribute to this blog.
Filter by:

Recent Blog Posts

  • How to Install and Uninstall IBM Installation Manager using XML files
    WiseUser - March 18, 2010
  • Future Tech - Silverlight and phones (Altiris future mobiltity)
    Palvaran - March 16, 2010
  • Webcast - Redefining Endpoint Management with Altiris IT Management Suite 7.0 from Symantec
    ohzone - March 15, 2010
  • USB Swiss Army Knife: 7 Quick Fix
    riva11 - March 12, 2010
  • Cebit is over. What will be our next big show?
    erikw - March 12, 2010

Blog Tags

7.1 Agents Altiris Client Management Suite Altiris Deployment Solution Altiris IT Asset Management Altiris Notification Server Altiris Recovery Solution Altiris Server Management Suite Asset Management Suite Backup Exec Backup Exec System Recovery Basics Best Practice Beta CIO Digest Case Study Compatibility Configuring Customer Preview Customer Reference Database Dell Dell Management Products Demonstration Documentation Downloads Drivers Emerging Threats Endpoint Management and Virtualization Endpoint Protection (AntiVirus) Enterprise Vault Error messages Evaluating Features General Symantec Ghost Solution Suite HP Management Products Helpdesk Solution How to ITMS Industry Event Inside Symantec Installing Licensing Linux Local DS GURU Email group Mac OS ManageFusion Mobile & Wireless NetBackup New Release News News Performance Platforms & Hardware Problem Management Recovering Reporting Restore SP2 SecurityExpressions Service Pack 2 ServiceDesk Storage Foundation Symantec Connect Symantec Event TMS TechTips Tip/How to Tips/How To Training Troubleshooting Upgrade User Group VDI VMware Virtualization Virtualization Vision Vulnerabilities & Exploits Windows Windows Wise Application Packaging Wise Installation Development Wise Virtual Composer Workflow Solution Workspace Corporate Workspace Profiles Workspace Remote Workspace Streaming Workspace Virtualization XPF baltimore deployment hugo known_issue pcAnywhere solution webcast
© 2010
  • Symantec Corporation
  • Contact Us
  • Get RSS
  • Privacy Policy
  • Symantec.com