Creating a workflow from tasks

After you have created and modified tasks and created repositories for operating system installation files, combine them into a workflow.

Before you begin

Before you can create a workflow, the tasks, operating system repositories, and unattended answer files to be included in the workflow must exist. The Linux Scripting ToolkitServerGuide Scripting Toolkit, Linux Edition includes pre-configured tasks for all supported task types. You can use these pre-configured tasks to create workflows without having to create your own tasks.

Procedure

To create a workflow, follow these steps:

  1. Start the console by entering the following command: ./opt/ibm/sgtk/sgtklinux.sh.
  2. Select Workflows from the main menu.
  3. Click Create from the Workflows panel to open the General section for workflow creation.
  4. Enter a name for the workflow you are creating.
    Note: After you have created a workflow, you can use it as the base for creating new workflows by using the Based on a Template option.
  5. Select the level for Log verbosity. The verbosity options are:
    Low
    Logs basic execution information and provides an overview of the steps being executed.
    Medium
    Adds more detailed execution information and provides a more detailed view of the steps being executed.
    High
    Logs the commands being executed, their output, and the exit code returned.
    Full
    Adds some source code trace information.
  6. Click Next to proceed to the pre-installation section.
  7. Select the types of pre-installation tasks to be run as part of this workflow, then select the task for each type from the list, or select the Skip this step and do not perform any pre-installation tasks check box to skip pre-installation.
  8. Click Next to proceed to the operating system installation section.
  9. Clear the Skip this step check box.
  10. Select the operating system repository from the list.
  11. Select the answer file to use from the OS unattended file list.
  12. Click Next to proceed to the post installation section.
  13. Either select the post-installation tasks to be performed as part of this workflow, or select the Skip this step and do not perform any post-installation tasks option.
  14. Click Next to review your selections.
  15. When you are satisfied with your selections, click Finish to save the workflow.

Results

The workflow is saved and is available from the workflow list.

What to do next

You can use this workflow to create boot media.