How to restore root access on a KVM guest running Oracle Linux 7 on Exadata (X8M)

A few days ago, I made a handling error on an Oracle Linux 7 virtual machine on a freshly configured Exadata X8M. I inadvertently renamed the files “/etc/pam.d/password-auth” and “/etc/pam.d/system-auth”. Result: I was no longer able to connect to the VM in ssh, or even via the virsh console.

I will describe here the steps to regain access by renaming the files with the right name, but it is also applicable if you have lost your root password.

Continue reading “How to restore root access on a KVM guest running Oracle Linux 7 on Exadata (X8M)”

Retrieve serial numbers and other useful information from Exadata

It’s been a while since my last post!
Today, I wanted to share with you some useful commands to extract information from Exadata (product name, serial numbers, …).
This can be helpful for the opening of an new SR for example, or for inventorying components in a CMDB.

Here is the list of interesting elements that can be extracted (the list is not exhaustive, but these are the ones I use most often):

Exadata product name
Exadata rack serial number
Compute nodes and cell nodes serial number
Compute nodes and cell nodes internal component’s serial number
Inifiniband switches serial number
Cisco switch serial number
PDU’s serial number

Continue reading “Retrieve serial numbers and other useful information from Exadata”