Note:
- This tutorial requires access to Oracle Cloud. To sign up for a free account, see Get started with Oracle Cloud Infrastructure Free Tier.
- It uses example values for Oracle Cloud Infrastructure credentials, tenancy, and compartments. When completing your lab, substitute these values with ones specific to your cloud environment.
Create Serial Console Access for Oracle Exadata Database Service on Dedicated Infrastructure
Introduction
We are pleased to announce the general availability (GA) of the virtual machine (VM) serial console access for Oracle Exadata Database Service on Dedicated Infrastructure. Customers can enable a serial console connection to each individual virtual machine, access the virtual serial console via SSH (proxy and hypervisor), and terminate the serial console when the required actions have been completed.
Note: This feature is intended for accessing the serial console of the VM in case a need arises for emergency debugging. Use cases include accessing GRUB to fix boot issues or accessing the VM when SSH access is unavailable. Typical reasons for this access include accidentally changed or deleted keys, killed or stuck processes, firewall issues on the VM, and so on.
Objectives
-
Create serial console connection to a virtual machine on Oracle Exadata Database Service on Dedicated Infrastructure.
-
Access the serial console connection using SSH.
-
Delete the serial console connection when the required actions have been completed.
Prerequisites
-
Oracle Exadata Database Service Cloud Infrastructure is running an Exadata system software version
23.1.13
or later. -
A password set for the user that requires serial console access in the event of a problem.
-
OCI user required permissions to create a serial console connection.
Task 1: Create a Serial Console Connection
-
Log in to the OCI Console, navigate to Oracle Database and Oracle Exadata Database Service on Dedicated Infrastructure.
-
Select the Region and Compartment that contains your VM cluster.
-
Click Exadata VM Clusters and the name of the VM cluster that contains the virtual machine for which you want to create the serial console connection.
-
Under Resources, click Virtual Machines.
-
Click the name of the virtual machine to open the virtual machine details page. Each virtual machine has its own details page.
The virtual machine details page displays information about the selected virtual machine.
-
Under Resources, click Console connection and Create console connection.
-
In the Create serial console connection window, add your SSH key to facilitate user access to the virtual serial console of the virtual machine and click Create console connection.
The console connection will now be provisioned. When the console connection has been created and is available, the state changes from Creating to Active.
Task 2: Access the Serial Console Connection using SSH
-
Once the serial console connection is created and available, copy the SSH string. To copy the SSH string, click the Actions menu (three dots), and select one from the available options.
The serial console is now ready for your use. You can connect by pasting the generated SSH string directly in your local client terminal window.
Task 3: Delete the Serial Console Connection for a Virtual Machine
-
In the virtual machine details page: Under Resources, click Console connection. To delete the serial console connection, click the Actions menu (three dots) and Delete.
-
Click Delete and confirm.
Related Links
-
What’s New in Oracle Exadata Database Service on Dedicated Infrastructure
-
Exadata Database Service on Dedicated Infrastructure How To’s Video Playlist
Acknowledgments
- Authors - Bryce Cracco, Tammy Bednar, Leo Alvarado (Product Management)
More Learning Resources
Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.
For product documentation, visit Oracle Help Center.
Create Serial Console Access for Oracle Exadata Database Service on Dedicated Infrastructure
F97925-01
May 2024