Rebooting an Instance

Reboot an instance managed by OS Management Hub.

See also:

    1. On the Instances list page, select instances to reboot. If you need help finding the list page, see Listing Instances.
    2. Select Reboot.
    3. Define 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 reboot now.
      • Schedule: Select this option to schedule the reboot to run at a future date and time.
        1. Date and time: Select the calendar icon and select the date and time.

        2. Frequency: Select how often you want the reboot to occur.
          • To reboot a single time, select Once. This option is the default.
          • To schedule a recurring reboot, select either Hour, Day, Week, or Month, and then enter the interval.
        3. 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.

    4. Select Reboot.

      The OCI compute instance remains in the 'RUNNING' state when rebooted by OS Management Hub.

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

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

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

  • Run the RebootManagedInstance operation to restart the instance.