Creating job definitions

You can create a job and use the recent activities feature from the Dynamic Workload Console.

About this task

The purpose of the following scenario is to show how to create a job and use the recent activities feature in the context of an example.

The scope of the scenario is to create a job named “UPGRADE JAVA VERSION” to upgrade the java version on the backup server named “BK_server”. After the upgrade is complete, go to Recent activities to quickly find the job that you created and edit it to upgrade the Java version also on the primary server named “PRIMARY_server”.

Procedure

  1. Create a job and define general information about it:
    1. From the Design menu, click Workload Designer page, and then select the engine.
    2. In Explore area, click Create new + and select Job.
    3. Click the Executable job.
    4. In General Info, in Folder, select IT_operations.
    5. In General Info, in Name, type UPGRADE_JAVA_VERSION.
    6. In General Info, in Workstation, select BK_server.
    7. In General Info, in Description, type Java upgrade to version 11.
    8. In Task, in Command text or script name, type apt install --only-upgrade openjdk-11-jre-headless -y.
  2. Save the job.
  3. Edit the job to upgrade the Java version on the primary server:
    1. From the Design menu, click Workload Designer page, and then select the engine.
    2. In Explore area, click Recent activities.
    3. Click the job named UPGRADE_JAVA_VERSION and edit it.
    4. In General Info, in Workstation, select PRIMARY_server.
  4. Save the job.

Results

You created a job to upgrade the Java version on the backup server named “BK_server”. When the upgrade finished, you located the job quickly in Recent activities, and you edited it to upgrade the Java version on the primary server named “PRIMARY_server”.

Note: In addition to the job plug-ins already available from the Dynamic Workload Console, you can find new out-of-the-box integrations available on Automation Hub that extend your automation processes.