How to gather a Dell PERC controller log on ESXi...

How to gather a Dell PERC controller log on ESXi 5.x.x
Step by Step process :
1. Enable the ESXi 5.x.x SSH shell / Tech Support mode
2. Copy the Dell ESXi 5.x.x TTY script to the server and run the script
3. Retrieve the log for analysis
Please note: This will only work on controllers that support hardware logging. Unsupported
controllers will generate a file containing no data.
Enable the ESXi 5.x.x shell / Tech Support Mode
Using the vSphere Client
This method will show you how to enable the SSH shell using the vSphere client so that we can
copy the script to the server and execute it to gather the log. VMWare KB 2004746
•
•
•
•
•
Log in to a vCenter Server system using the vSphere Client.
Select the host in the inventory panel.
Click the Configuration tab and click Security Profile.
In the Services section, click Properties.
Select the following items from this list:
o ESXi Shell
o SSH
o Directon Console UI
•
Click Options and select Start and stop manually.
o Note: When you select Start and stop manually, the service does not start when
you reboot the host. If you want the service to start when you reboot the host,
select Start and stop with host
Select Start to enable the service.
Click OK.
•
•
Using the Direct Console UI
This method will show you how to enable the SSH shell using the Direct Console UI so that we
can copy the script to the server and execute it to gather the log. VMWare KB 2004746
•
•
•
•
•
1
From the direct console UI, press F2 to access the System Customization menu.
Select Troubleshooting Options and press Enter.
From this Troubleshooting Mode Options menu, select Enable ESXi Shell.
From this Troubleshooting Mode Options menu, also select Enable SSH.
Press Enter to enable the service.
How to gather a Dell PERC controller log on ESXi 5.x.x | Dell Inc
Copy the script to the server
We will need an SCP/SFTP client to copy the script to the server; in this guide we will use
WinSCP. http://winscp.net/eng/index.php
2
•
•
Extract the esxi5_TTY.sh script from esxi5_TTY.zip
Login to the server
•
Navigate to the location where you have the file stored on your system and navigate to
/tmp on the server.
How to gather a Dell PERC controller log on ESXi 5.x.x | Dell Inc
•
Next transfer the file to the server by dragging it from the local side to the remote side.
Execute the Script
We will need an SSH client to connect to the server and execute the script; in this guide we will
be using PuTTY. http://www.putty.org/
•
•
•
•
•
•
3
First, connect to the server via its IP or hostname.
You may get a security warning, click Yes to continue.
Now, login to the server as root.
Navigate to the /tmp folder
Make the script executable using the command chmod +x esxi5_TTY.sh
Now execute the script with the command ./esxi_TTY.sh
How to gather a Dell PERC controller log on ESXi 5.x.x | Dell Inc
Copy the log from the server
We will need an SCP/SFTP client to copy the script to the server; in this guide we will use
WinSCP. http://winscp.net/eng/index.php
4
•
•
•
Login to the server.
Navigate to /tmp on the server.
Next transfer the file to your system by dragging it from the remote side to the local
side.
•
Please note: None of the files copied to the server or created on the server during this
process will survive a reboot.
How to gather a Dell PERC controller log on ESXi 5.x.x | Dell Inc