Creating a Lifecycle Operation Schedule

Create a schedule to perform lifecycle operations daily or monthly in Fleet Application Management based on the release of patches.

    1. Open the navigation menu and click Observability & Management. Under Fleet Application Management, click Lifecycle Management.
    2. On the Schedules page, click Create schedule.
    3. On the Basic information page, enter the following schedule information and then click Next:
      • Name: Enter a unique name for a lifecycle schedule. Avoid entering confidential information. Only alphanumeric characters are supported.
      • Description: Enter a description for the lifecycle schedule. Avoid entering confidential information.
      • Lifecycle operation: Select a lifecycle operation for a fleet, for example, Patch.
      • For Schedule type, select one of the following options:
        • Maintenance window: To select a schedule from the list of existing maintenance windows, select this option. Then, select a checkbox for the maintenance windows that you want to be part of the schedule.
          Tip

          To find a maintenance window by name, enter its name in the Search field.
        • Custom: To enter a specific schedule for a fleet, select this option. For field descriptions, see Creating a Maintenance Window.
    4. On the Add fleets page, enter the following fleet information, and then click Next:
      • Fleet type: Select the fleet type on which to perform lifecycle operations.
      • Product stack: Select a defined product stack based on the fleet type that you selected:
        • If you selected an environment-type fleet, select an application type from the product stack that requires a recurrent schedule for lifecycle operations, for example, Oracle Fusion Middleware.
        • If you selected a product-type fleet, select a product from the product stack that requires a recurrent schedule for lifecycle operations, for example, Oracle WebLogic Server, OCI Compute, or Oracle Database.
      • Add fleets: Click Add fleets and then select the checkboxes next to the fleets that you want to add to the schedule.
      • To verify whether conflicts are reported after fleets are added to the schedule, click Check for fleet schedule conflicts.
        Tip

        After you add fleets, you can verify whether conflicts are reported in the fleet schedule and take necessary action. For instructions, see step 4 in Verifying Fleet Schedule Conflicts using the Console.
    5. On the Select runbook page, select a runbook associated with lifecycle operations, and then click Next.
      Note

      The required runbooks are identified and listed based on the application type that you selected in step 4. These runbooks can be applied when patches are installed.
    6. On the Runbook arguments page, enter one or more arguments for the runbook and then click Next:
      • Argument name: Select the argument name associated with the runbook task if there were parameters associated with the runbook.
      • Argument value: To change the default argument value, enter an argument value.
      • Apply same value wherever applicable in a runbook: To apply the same argument value across runbook tasks, select this checkbox. If you don't select the checkbox, enter an argument name and value under Patch OS.
    7. On the Review page, verify the lifecycle operation schedule information that you provided.
    8. To create a lifecycle operation schedule and list it on the Schedules list page, click Create.
  • Use the oci fleet-apps-management fleet-apps-management-operations scheduler-definition create command and required parameters to create a schedule:

    oci fleet-apps-management fleet-apps-management-operations scheduler-definition create [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the CreateSchedulerDefinition operation to create a schedule.