Rebooting All Instances in a Group

Restart instances in a group in Autonomous Linux.

  • Add Basic Details

    Provide the basic information for the reboot job:

    • Name: Enter a name for the reboot. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the reboot job. Avoid entering confidential information.

    • Description: (Optional) Enter a description for the reboot job. Avoid entering confidential information.

    • Reboot job timeout: Set the time (in minutes) the service waits for the reboot job to complete. If an instance doesn't reboot and report back to the service within the timeout, the service marks the job as failed. The default value is 20 minutes, minimum is 5 minutes, and maximum is 240 minutes.

    Schedule

    Choose when to run the reboot.

    • Run immediately: Select this option to run the job now.
    • Schedule: Select this option to schedule the job to run at a future date and time.
      • Date and time: Select the calendar icon and select the date and time you want the job to run.

      • Frequency: Choose how often you want the job to run.
        • To schedule the job to run only one time, select Once. This option is the default.
        • To schedule the job to recur, select either Hour, Day, Week, or Month, and then enter the interval.
      • Show advanced options: Add tags to this resource.

        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, ask an administrator or skip this option. You can apply tags later.

    Review and Reboot

    Review the settings of the reboot job. Make any changes as needed, and then select Reboot.

    View the job in the Jobs list page.

  • Use the oci os-management-hub managed-instance-group reboot command and required parameters to restart the all managed instances in the group.

    oci os-management-hub managed-instance-group reboot --group-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the RebootManagedInstanceGroup operation to restart all the instances in the group.