Managing Autonomous Linux Settings

Manage the settings available for Autonomous Linux for autonomous updates and events.

The following tasks for managing Autonomous Linux settings are covered in this topic:

  • Updating the schedule for daily autonomous updates
  • Setting the topic for event notifications
  • Changing the event collection setting

About Autonomous Updates

The Autonomous Linux service provides automatic daily updates (including zero-downtime Ksplice updates for kernel, OpenSSL, and glibc libraries) to Autonomous Linux instances. These updates are referred to as autonomous updates.

The Autonomous Linux service is responsible for setting the correct Yum and Ksplice channels used for autonomous updates in the instance. The following software sources are required for autonomous updates:
  • ol7_ksplice
  • ol7_latest
  • ol7_oci_included
  • ol7_uekr6
  • ol7_userspace_ksplice
Note

If any of these software sources are removed, the Autonomous Linux service automatically restores them.

When performing autonomous updates, the Autonomous Linux service attempts to automatically remediate update problems and notifies you about what succeeded and what failed using Notifications service topics. The content of notification messages includes:

  • For successes, what was updated and if the service remediated a problem in the scheduled update job.
  • For failures, what updates failed, the associated error messages and signature of the failures, and any information needed to provide to the service team in a customer support ticket.
  • For a mix of successes and failures, the details on what was updated and what was not updated, in addition to the information previously noted.

For more information about managing settings for Autonomous Linux, such as setting the daily update time for autonomous updates or setting up notifications, see Settings Available for Autonomous Linux and Editing Settings for Autonomous Linux.

Settings Available for Autonomous Linux

You can update the following Autonomous Linux settings using the Console, API, or CLI.

Autonomous Updates

This setting allows you to edit the start time for daily autonomous updates.

When you create an Autonomous Linux instance, OS Management creates a controlled scheduled job for daily autonomous updates. The scheduled job appears in the Scheduled Jobs page using the following naming convention: Daily Autonomous Updates for <instance-name>. This scheduled job cannot be deleted or skipped. For information about viewing scheduled jobs, see Managing Scheduled Jobs and Work Requests.

Event Collection

This setting allows you to edit the event diagnostic collection setting. By default, this check box is selected, allowing event diagnostic information to be automatically stored in Oracle Cloud Infrastructure.

For more information about the diagnostic information collected by Autonomous Linux, see About the Information Collected from an Instance.

Notification Topic

This setting allows you to edit the Notifications service topic used to send notifications about autonomous updates and events that occur on Autonomous Linux instance. By default, when you create an Autonomous Linux instance, the instance is not configured to use any topic. To set the topic to use for notifications, see Editing Settings for Autonomous Linux. If you have not created a topic to use for the instance, you are given the option to create a topic in the Console.

For information about creating and subscribing to topics, see Managing Topics and Managing Subscriptions in the Notifications service documentation.

Viewing Information about an Autonomous Linux Instance

To view information about an Autonomous Linux instance on the Instance Details page

  1. Open the navigation menu, click Compute, and then click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Under General Information, review the following information displayed about the Autonomous Linux instance:

    • Autonomous Updates: Configured start time for installing daily updates.
    • Notification Topic: Topic used for sending notifications about events that occur on this instance.
    • Event Collection: Configured event diagnostic collection setting (enabled or disabled).
    • Operating System: Operating system running on the instance.
    • Kernel: Kernel boot version installed on disk.
    • Effective Kernel: Effective kernel version in memory based on the Ksplice updates applied to the kernel.
    Note

    You can also edit Autonomous Linux settings for Autonomous Updates, Notification Topic, and Event Collection. For more information, see Editing Settings for Autonomous Linux.
To view information about an Autonomous Linux instance on the Managed Instance Details page

  1. Open the navigation menu, click Compute, and then click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Click the Actions icon (three dots) and click View OS Management Details.
  5. Under Managed Instance Information, review the following information displayed about the Autonomous Linux instance:

    • Compartment: Compartment where the instance resides.
    • Parent Software Source: Parent software source attached to the instance. For more information about software sources, see Managing Software Sources.
    • Compute Instance: Compute instance name identifying the managed instance.
    • Operating System: Operating system running on the instance.
    • Autonomous Updates: Configured start time for installing daily updates.
    • Notification Topic: Topic used for sending notifications about events that occur on this instance.
    • Kernel: Kernel boot version installed on disk.
    • Effective Kernel: Effective kernel version in memory based on the Ksplice updates applied to the kernel.
    • OCID: Oracle Cloud Identifier (OCID) assigned to the instance.
    • Updates Available: Number of updates available for installation.
    • Uptime: Instance uptime since last reboot.
    • Event Collection: Configured event diagnostic collection setting (enabled or disabled).
    Note

    You can also edit Autonomous Linux settings for Autonomous Updates, Notification Topic, and Event Collection. For more information, see Editing Settings for Autonomous Linux.

Editing Settings for Autonomous Linux

To edit the automatic daily update time
  1. Edit the Autonomous Linux settings from either the Instance Details page or Managed Instance Details page.
    Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Under General Information, edit the settings for your Autonomous Linux instance.
    Managed Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Click the Actions icon (three dots) and click View OS Management Details.
    5. On the Managed Instance Details page, under Managed Instance Information, edit the settings for your Autonomous Linux instance.
  2. For Autonomous Settings, click Edit.
  3. On the Edit Autonomous Daily Update Time dialog box, set the start time for installing autonomous updates. You can enter the start time in the text box or choose a time from the list box.
  4. Click Save Changes.
To edit notification settings
  1. Edit the Autonomous Linux event notifications settings from the Instance Details page or the Managed Instance Details page.
    Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Under General Information, edit the settings for your Autonomous Linux instance.
    Managed Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Click the Actions icon (three dots) and click View OS Management Details.
    5. On the Managed Instance Details page, under Managed Instance Information, edit the settings for your Autonomous Linux instance.
  2. For Notification Topic, click Edit.
  3. For Edit event notification topic, select the topic to use for sending notifications about events that occur on this instance.
    Note

    If you need to create a topic for this instance, click Create new topic. For information about creating topics, see see Managing Topics and Managing Subscriptions in the Notifications service documentation.
  4. Click Save Changes.
To edit event collection settings
  1. Edit the Autonomous Linux event collection settings from the Instance Details page or the Managed Instance Details page.
    Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Under General Information, edit the settings for your Autonomous Linux instance.
    Managed Instance Details
    1. Open the navigation menu, click Compute, and then click Instances.
    2. Find the instance and click its name.
    3. On the Instance Details page, under Resources, click OS Management.
    4. Click the Actions icon (three dots) and click View OS Management Details.
    5. On the Managed Instance Details page, under Managed Instance Information, edit the wanted settings for your Autonomous Linux instance.
  2. For Event Collection, click Edit.
  3. For Edit event diagnostic collection, select the Automatic Upload check box to automatically store event diagnostic data about this instance in Oracle Cloud Infrastructure. This check box is selected by default.

Using the API

For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

Use the UpdateManagedInstance operation for updating the event collection and notification topic settings for Autonomous Linux.

Use the UpdateScheduledJob operation for updating the start time for the daily autonomous updates through the recurring scheduled job that is automatically created in Autonomous Linux instances.

For a full list of API operations available for the Autonomous Linux instances, see OS Management API.