Sample plan: Server patching

This sample Automation Plan completes a scenario for server patching. All sample plans are read-only. To use a sample plan, you must copy it, re-name it, and then update the placeholder Fixlets with Fixlets, Tasks, or Baselines as per your requirements.

About this task

This Automation Plan uses some sample Fixlets that will not suit the requirements for your particular server patching scenario. Replace these Fixlets with relevant Fixlets that you want to run on your endpoints to complete server patching in your environment.

Complete the following steps to run the sample Automation Plan.

Procedure

  1. Open theServer Automation domain.
  2. From the navigation tree in the Domain Panel, click Automation Plans.
  3. In the Automation Plans dashboard, enter 103 and press Enter. This is the ID of the sample Automation Plan.
  4. Select the Automation Plan from the list of Automation Plans.
  5. Click Copy to copy the Automation Plan, enter a name and then save the copy that you have just created.
  6. To run the copied Automation Plan, click Take Action. The following table shows the parameters and targets that you need to input for each step in the sample Automation Plan.
    Table 1. Plan steps and parameters and targets

    Step Description Parameters and targets
    Step 1 Stop Service (222)

    This step stops the service. For example, the DB2® client service on the clients.

    1. Parameter: Client service name, for example, db2_client.
    2. Targets: Client endpoints.
    Step 2 Stop Service (222) This step stops the server service. For example, the DB2 server service on the DB2 server.
    1. Parameter: Server service name, for example, db2_server.
    2. Targets: DB2 server.
    Step 3 Placeholder for OS or Application Patches - (REPLACE ME) Remove this Fixlet and include an operating system patch that suits your patching requirements. Depending on the Fixlet that you include for this step, you might or might not need to restart the endpoints targeted in this step in step 4.
    1. Parameter: Any parameters required by the OS patch Fixlet that you include.
    2. Targets: DB2 server.
    Step 4 Restart Endpoint (94) This step restarts the server endpoint.
    1. Parameter: No parameter required.
    2. Targets: DB2 server.
    Step 5 Start Service (221) This step starts the client server, for example, the DB2 client server on the clients.
    1. Parameter: Client service name, for example, db2_client.
    2. Targets: Client endpoints.
  7. Click OK to run the Automation Plan.