Rebooting Instances in a Lifecycle Environment

Restart instances in a lifecycle environment in OS Management Hub.

    1. On the Lifecycle environments list page, select the name of the lifecycle. If you need help finding the list page, see Listing Lifecycle Environments.
    2. To reboot all instances in a stage:
      1. Under Resources, select Stages.
      2. Select the stage in the list, and then select Reboot.
    3. To reboot specific instances in the lifecycle environment:
      1. Under Resources, select Instances.
      2. Select the instances in the list, and then select Reboot.
    4. 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.

    5. Select Reboot.
  • Use the oci os-management-hub lifecycle-stage reboot command and required parameters to restart the all managed instances in the lifecycle stage.

    oci os-management-hub lifecycle-stage reboot --stage-id ocid [OPTIONS]

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

  • Run the RebootLifecycleStage operation to restart all the instances in the lifecycle stage.