Creating a Maintenance Window

Create a maintenance window in Fleet Application Management. When you create a maintenance window, it's automatically assigned an active status.

    1. On the Maintenance windows list page, select Create maintenance window. If you need help finding the list page, see Listing Maintenance Windows.
    2. Enter a unique name and description for the maintenance window. For the name, only alphanumeric characters are supported. Avoid entering confidential information.
    3. Select a compartment where you want to create the maintenance window.
    4. For Outage, select whether an outage can cause downtime.
      • Yes means that downtime is allowed.
      • No means that no downtime is allowed.
    5. Specify schedule details such as time, duration, and recurrence values for the maintenance window:
      • Start date and time: Select the date and time of the day that the maintenance window starts.
      • Duration: Select how long the maintenance window remains open, and then specify the unit for duration in minutes, hours, or days.
      • Recurrence: Switch on this toggle to specify the frequency of running the maintenance window. Then, provide the following information:
        • Recurrence frequency: Select how often the maintenance window runs: daily, weekly, or monthly. If you select weekly or monthly, enter a value for Repeat on.
        • Depending on the recurrence frequency that you selected, enter one of the following for a number between occurences:
          • Select the number of days between the occurrences if the frequency of recurrence is daily.
          • Select the number of weeks between the occurrences if the frequency of recurrence is weekly.
          • Select the number of months between the occurrences if the frequency of recurrence is monthly.
        • Repeat on: If it's weekly, select a day of the week for the maintenance window, or day of the month and a specific date, if it's monthly.
      • Ends: To specify when the maintenance window run ends, select one of the following options:
        • Specific date: Select a date when the maintenance window run ends.
        • Number of occurrences: Enter the number of outage occurrences after which the maintenance window run ends.
        • No end date: No specific end date is specified and the maintenance window runs continuously based on the duration.
    6. (Optional) In the Tags section, add one or more tags to the maintenance window. If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
    7. Select Create.
    The maintenance window is created and is listed on the Maintenance windows list page.
  • Use the oci fleet-apps-management fleet-apps-management-maintenance-window maintenance-window create command and required parameters to create a maintenance window:

    oci fleet-apps-management fleet-apps-management-maintenance-window maintenance-window create --compartment-id <compartment_OCID> --duration <number> --time-schedule-start <datetime> [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 CreateMaintenanceWindow operation to create a maintenance window.