Top
Systemwalker Operation Manager Design Guide
FUJITSU Software

4.2.2 Determining Job Types

Determine a job type according to the operation to be processed.

When defining jobs, allocate a job icon to each job. A job icon represents the type of job displayed, for example, in a job flow. Selecting a job icon makes it easier to use the executable files (commands) provided by Systemwalker Operation Manager by default, and also makes it easier to identify each job.

The following types of jobs are handled by Systemwalker Operation Manager.

Job icon

Job type (icon type)

Job description

Execute command

Runs an executable file

Send message

Generates a message event

Determine file existence

Evaluates whether a certain file exists

It can check the existence of a file that is dynamically created or deleted by another job or job net.

It is then possible to determine which job to branch to, depending on whether the file exists.

Determine job net variable

Evaluates the value of a job net variable

It compares the value of a job net variable (set by the execution of a preceding job) with a numerical value or string, and then evaluates whether it matches a condition.

It is then possible to determine which job to branch to, depending on the result of the comparison.

Start service
[Windows]

Starts a service

Stop service
[Windows]

Stops a service

Check service status
[Windows]

Evaluates whether a certain service has started or stopped

It can be defined to run after the processing that starts or stops a service, to check the status of the service.

Wait for file

Waits until a particular file is created, deleted, updated, or resized

The job monitors the file at the specified monitoring interval, and terminates when the conditions are met.

Wait for Message Event

Waits until a particular message event occurs

The job monitors the message event (that it is waiting for) at the specified monitoring interval, and terminates when the message event occurs.

Backup cooperation
[Windows]

Performs a backup using the ARCserve function

Check log file

Analyzes a text format file and evaluates whether it contains a string specified by a regular expression

It is then possible to determine which job to branch to, depending on whether the file contains the string.

Wait for time

Waits until the specified time is reached

The job terminates when the specified time is reached.

Wait until Specified Time

Waits for the specified time period, starting from the time when the job started executing

The job terminates when the specified time period has elapsed.

Job net

Executes a child job net

Linked job net

Executes a linked job net

Application execution (client)

Starts an application on the client

File compression/expansion (client)

Compresses or decompresses a file on the client

Rename file (client)

Renames a file on the client

Delete file (client)

Deletes a file on the client

Create directory (client)

Creates a directory on the client

Delete directory (client)

Deletes a directory on the client

File transfer (client)

Transfers files between the server and the client

Power on (client)

Turns on power to the client

Shutdown (client)

Turns off power to the client

Application execution (server)

Starts an application on the server

File compression/expansion (server)

Compresses or decompresses a file on the server

Rename file (server)

Renames a file on the server

Delete file (server)

Deletes a file on the server

Create directory (server)

Creates a directory on the server

Delete directory (server)

Deletes a directory on the server

File transfer (server)

Transfers a file between servers

Interstage

Executes WorkUnits defined using Interstage

Note: This type of job can only be registered in job nets with the "Interstage" attribute.

If the default job icons above are insufficient, consider adding more job icons as required. Refer to "Adding User-Defined Job Icons/Categories" in the Systemwalker Operation Manager User Guide for details on how to add job icons.

Job categories

Jobs are classified into categories, depending on their purpose. This section explains three categories that are useful to know when designing business operations (basic jobs, criterial jobs, and event wait jobs), and also explains the jobs included in these categories.

Basic jobs

Basic jobs are jobs that are frequently used in Systemwalker Operation Manager. Basic jobs include the following:

  • Execute command

  • Send message

  • Determine File Existence

  • Determine Job Net Variable

  • Start service

  • Stop service

  • Check service status

  • Wait for file

  • Wait for Message Event

  • Backup cooperation

  • Check log file

  • Wait for time

  • Wait until Specified Time


Criterial jobs

Criterial jobs evaluate particular events based on criteria. A criterial job can be used to determine whether to start the succeeding job based on the result of evaluating certain criteria. For jobs that follow criterial jobs, define jobs that should start if the criteria are met. Criterial jobs include the following:

  • Determine File Existence

  • Determine Job Net Variable

  • Check service status [Windows]

  • Check log file

Note that you need not use criterial jobs to determine which job to branch to, depending on the completion code of the preceding job. A condition for evaluating the completion code of the preceding job can be specified in the execution condition definitions of the succeeding job.


Event wait jobs

An event wait job waits for particular conditions. Such jobs can be used as a preceding job for jobs that you do not want to start until certain conditions are met. For the succeeding job, define a job that should wait until certain conditions are met before starting. Event wait jobs include the following:

  • Wait for file

  • Wait for Message Event

  • Wait for time

  • Wait until Specified Time