ILM Quickie* : scheduling ILM runs with masequencer

After initial configuration and (manual) test runs of the management agents in ILM, run profiles must be set to run automatically…

One of the options to schedule operations in ILM is using the Management agent sequence configuration tool and the masequencer.

Click the screenshots to see more detail.

To start, check the exact MA names in the ILM GUI.

HINT : Copy & Paste them into a document, or use the Management Agent Configuration viewer 😉

task 1

For each MA (management agent) configure the needed run profiles.

Check the exact names of the run profiles you will use.

(HINT : Copy & Paste it into a document)

task 2

clip_image006

Run the Management Agent Run Sequence Configuration tool (part of the MIIS 2003 Resource Tool kit).

clip_image008

Enter server name, username, password to run the Management agent sequence (typically MIIS Service account).

task 5

Add a thread.

You can add multiple threads, but threads will be executed in parallel.

Be careful : some actions/run profiles should better be run in sequence.

clip_image012

You can configure tasks, scripts to run in pre-processing or in post-processing… (for example copying a file before execution)

You can also add multiple run profile runs in the same thread.

These run profiles are executed sequentially (one after the other).

clip_image014

You can use the menu Action > Start to test the run sequence.

clip_image016

clip_image018

clip_image020

Save the run sequence to a XML file.

clip_image022

clip_image024

Test the run profile sequence with the masequencer command.

In this sample case the sequence is saved as Runadimport.xml.

C:\Program Files\Microsoft Identity Integration Server 2003 Resource Tool Kit>_

masequencer /f:Runadimport.xml

Logging into the File ‘MASequenceConfiguration.log’

Starting all MAs.

Done.

RunADImport execution completed

C:\Program Files\Microsoft Identity Integration Server 2003 Resource Tool Kit>_

(While running the sequence the MA show running in the Management agents panel…)

After the sequence finished, you should see the run profile statistics in the Identity Manager operations.

clip_image026

To schedule the sequences, open Control Panel > Scheduled Tasks.

clip_image028

Add a new scheduled task.

clip_image030

clip_image032

Look for the masequencer executable.

(by default in C:\Program Files\Microsoft Identity Integration Server 2003 Resource Tool Kit\MASequencer.exe)

clip_image034

task 18

For the initial configuration step, put a daily schedule (this will be changed in the advanced settings).

task 19

Set the service account that will run the task.

(= not necessarily the same service account as MIIS)

task 20

Enable the advanced properties.

task 21

task 22

“C:\Program Files\Microsoft Identity Integration Server 2003 Resource Tool Kit\MASequencer.exe” /RunADImport.xml

Set a more appropriate schedule, best fitted to your situation.

task 24

task 25

task 26

You can enable/disable a task without need to delete it.

Run profiles run! 😉

 

Hope this helps,

Peter

Download the procedure here:

http://cid-69f957860ea2ce40.skydrive.live.com/embedrow.aspx/IdentityUnderground.be/identityunderground-automatingILMruns.pdf

Technorati Tags: ,,,

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s