OCI Troubleshoot Instance via Console Connection
A 3-step recipe with Oracle. We can help you get access.
Recipe · 3 steps
OCI Troubleshoot Instance via Console Connection
with Oracle · IT Infrastructure Management
Find a console connection for an instance, or trigger a diagnostic reboot if none exists.
- Read the instance to confirm it exists and capture its ETag in case a diagnostic reboot action is required.
- List the console connections in the compartment filtered to this instance and branch on whether one exists.
- No console connection was found, so perform a DIAGNOSTICREBOOT action on the instance to attempt automated recovery, guarded by the captured ETag.
What you'll need to have ready
- compartmentId: The OCID of the compartment containing the instance.
- instanceId: The OCID of the instance to troubleshoot.
- authToken: OCI request-signing bearer credential for the Authorization header.
For your developer
Arazzo workflow oracle:troubleshoot-instance-console, 3 operations: GetInstance → ListInstanceConsoleConnections → InstanceAction. Specs on APIs.io.