Console Connection Troubleshooting for Oracle Linux Compute Instance | 1Z0-997-20 Exam

Console Connection Troubleshooting

Question

After performing maintenance on an Oracle Linux compute instance the system is returned to a running state.

You attempt to connect using SSH but are unable to do so.

You decide to create an instance console connection to troubleshoot the issue.

Which three tasks would enable you to connect to the console connection and begin troubleshooting? (Choose three.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

BCF.

https://oracle.github.io/learning-library/oci-library/L200-LAB/Compute-Console-Connection/HOL-Console-Connection.html

When you are unable to connect to an Oracle Linux compute instance via SSH after performing maintenance, creating an instance console connection can be helpful to troubleshoot the issue. Here are the three tasks that would enable you to connect to the console connection and begin troubleshooting:

  1. Reboot the compute instance using the Oracle Cloud Infrastructure (OCI) Management Console: Restarting the compute instance may resolve the SSH connection issue. To do this, go to the OCI Management Console and navigate to the compute instance that you want to troubleshoot. Click on the "Instance Actions" button and select "Reboot". Once the reboot is complete, try connecting to the instance via SSH again.

  2. Edit the Linux boot menu to enable access to console: If the reboot does not resolve the issue, you can try accessing the console through the boot menu. To do this, stop the compute instance using the OCI Command Line Interface (CLI) and then edit the Linux boot menu. You need to add the "console=ttyS0" parameter to the end of the "linux16" line in the "grub.cfg" file. Once the parameter is added, start the compute instance again and wait for it to boot up. You can then connect to the console using the OCI Management Console.

  3. Use SSH to connect to the service endpoint of the console connection service: If you still can't access the console after trying the above steps, you can use SSH to connect to the service endpoint of the console connection service. To do this, first upload an API signing key for console connection authentication. Then, connect to the console connection service by specifying the service endpoint as the hostname and providing the console connection OCID as the username. Once connected, you can troubleshoot the issue using the console.

In summary, if you are unable to connect to an Oracle Linux compute instance via SSH after performing maintenance, you can create an instance console connection to troubleshoot the issue. To do this, try restarting the compute instance, edit the Linux boot menu to enable access to console, or use SSH to connect to the service endpoint of the console connection service.