Powering an Instance On and Off for a Roving Edge Infrastructure Device
Describes how to power a compute instance on or off on your Roving Edge Infrastructure devices.
The Device Console does not accurately reflect the instance's lifecycle state. It displays the instance state as Running when actually in a Started state. Use the CLI method to accurately determine the instance lifecycle state when powering on and off.
See Stopping and Starting an Instance in the Oracle Cloud Infrastructure documentation for more information on this feature.
-
-
Select a State from the list to limit the instances displayed to that state.
-
Click the instance that you want to power on or off. The instance's Details page appears.
-
Click one of the following actions:
-
Start: Restarts a stopped instance.
-
Stop: Gracefully shuts down the instance by sending a shutdown command to the operating system.
Note
If the applications that run on the instance take a long time to shut down, they could be improperly stopped, resulting in data corruption. To avoid this occurrence, shut down the instance using the commands available in the OS before you stop the instance using the Device Console.
-
Reboot: Gracefully reboots the instance by sending a shutdown command to the operating system, and then powers the instance back on.
-
-
Use the oci compute instance action command and required parameters to power on or off a compute instance on your Roving Edge Infrastructure devices:
oci compute instance action --instance-id instance_ocid --action action [OPTIONS]
Refer to your Roving Edge Infrastructure device's CLI help for a list of parameters available for this command. See Accessing Command Line Interface Help.
For CLI setup information on your Roving Edge Infrastructure device, see Using the Command Line Interface.
Run the InstanceAction method to power on or off a compute instance on your Roving Edge Infrastructure devices.