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.
ol7_ksplice
ol7_latest
ol7_oci_included
ol7_uekr6
ol7_userspace_ksplice
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
Editing Settings for Autonomous Linux
- Edit the Autonomous Linux settings from either the Instance Details
page or Managed Instance Details page.Instance Details
- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Under General Information, edit the settings for your Autonomous Linux instance.
Managed Instance Details- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Click the Actions icon (three dots) and click View OS Management Details.
- On the Managed Instance Details page, under Managed Instance Information, edit the settings for your Autonomous Linux instance.
- For Autonomous Settings, click Edit.
- 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.
- Click Save Changes.
- Edit the Autonomous Linux event notifications settings from the Instance
Details page or the Managed Instance Details page.Instance Details
- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Under General Information, edit the settings for your Autonomous Linux instance.
Managed Instance Details- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Click the Actions icon (three dots) and click View OS Management Details.
- On the Managed Instance Details page, under Managed Instance Information, edit the settings for your Autonomous Linux instance.
- For Notification Topic, click Edit.
- 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. - Click Save Changes.
- Edit the Autonomous Linux event collection settings from the Instance
Details page or the Managed Instance Details page.Instance Details
- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Under General Information, edit the settings for your Autonomous Linux instance.
Managed Instance Details- Open the navigation menu, click Compute, and then click Instances.
- Find the instance and click its name.
- On the Instance Details page, under Resources, click OS Management.
- Click the Actions icon (three dots) and click View OS Management Details.
- On the Managed Instance Details page, under Managed Instance Information, edit the wanted settings for your Autonomous Linux instance.
- For Event Collection, click Edit.
- 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.