Month: February 2014

How to generate offline logs and ADU diagnostics report for HP Servers.

Most often, when a case is raised with HP support team, we are asked to generate logs and send it to HP. Recently, I had an issue with an ESX server and suspecting a faulty controller. HP asked us to generate and send offline logs and ADU diagnostics report.

Generating requested logs can be achieved using the Smart CD. However, how to save and move files to send it to the HP Team was bit challenging.

Initially tried mounting a a folder from the ILO console and to save the logs in to the folder recently mounted. Bad luck that did not work.

Later, thought the concept of virtual floppy to achieve the task.

Last year we created a floppy image to insert HDD drivers during Windows 2000 installation

Create floppy image to insert drivers during 2000 OS deployment.

The same tool BFI (Build Floppy Image) was very handy again today. You would be able to download the file from here -> BFI’s home page.

Reboot and boot the server using Smart CD.

1. Create an empty floppy image using the below syntax

Syntax: bfi -f=[Location to store image with image name]

Ex: bfi -f=c:\temp\floppyimg.img

2. Mount the same floppy image using the ILO connected to the server.

Follow below steps to generate the logs

A. Survey Report.
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In survey Tab
Select Category >> ALL.
Select View Level >> Advanced.
And save the report.

B. Offline Test Report (3 Loop).
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In Test Tab
Test mode à Unattended.
Number of loops à 3.
Devices à All.
Select Complete test and click the begin test option and save the report after completing the test.

Note : Please uncheck the Storage / hard disk in test

C. Offline IML logs.
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In Log tab
Select Integrated Management Log and save the report.

D. Offline ADU report:
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Diagnose array Option.
5. Save the report.

You may now save the reports to the virtual floppy and once done unmount and map it to any other working server ILO. You can now login to the server and easily copy the contents from A: to any destination 🙂

 

Thanks.

WintelAdmin

Filed under: HP (Servers/products), VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , ,

How to reset Windows 2008 Local Administrator Password.

Many times I get into a situation where the Windows 2008 local administrator password is reset when the server is removed from domain. There are other chances where I forget the local admin password. This really frustrates until we recover the password. Hence, there is awaesome trick to reset the local admin password easily. For this you would need 2008 Server Media or any bootable media to access files stored on your local drive.

1. Boot your server using Micrsoft Windows Server 2008 Media DVD
2. From the Install Windows menu, click “Next”.
3. Select “Repair your computer”
4. In the System Recovery Options, select the Operating System instance that you wish to repair and click “Next”.
5. Open “Command Prompt” and execute the commands listed below:
     c:
     cd windows\system32
     ren Utilman.exe Utilman.exe.old
     copy cmd.exe Utilman.exe
6. Reboot the server.
7. Press Windows Key + U at Control+Alt+Del screen.
8. Ats the command prompt, enter the following command:
net user administrator Newpassword12
This will set the password for the Administrator user to be Newpassword12 (case sensitive).

Closing the command prompt, you should now be able to log back onto the server using the password you have provided in the last step.

Note: Cleanup Steps

Once you have verified you can log on to the server you will have repeat the steps above and boot using the Windows Server 2008 DVD/ISO and run the command prompt again.

Delete the newly created Utilman.exe from C:\Windows\System32
Rename Utilman.exe.old back to Utilman.exe
You should be back up and running as if nothing ever happened.

 

Thanks,

WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , ,

How to rename virtual disk in VMware.

There is no GUI option available to rename virtual disk in vmware. There was a request to add few RDM luns to a virtual machine and those disk to be renamed as per the standard they have (Combinatioin of LUN ID, storage Pool ID and disk size).

This request was accomplised using the steps followed below:

1. Add the provided RDM to the virtual machine.
2. Note the datastore where the disks were stored.
3. Remove those RDM from the virtual machine.
4. Find the ESX host on which the virtul machine resides.
5. Connect to the ESX host using Putty.
6. Navigate to the directory containing virtual machine (notes in Step 2).
7. cd /vmfs/volumes/DatastoreName/originalname
8. Once the required file is found, execute the below command
# vmkfstools -E “originalname.vmdk” “newname.vmdk”
9. Again add the vmdk uing an existing disk option.

Thanks,
WintelAdmin

Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)

How to restore Backup ROM version on HP servers using ROM Based Setup Utility.

Recently, we upgraded firmware on all our blade enclosures and servers. This time we got stuck with the Citrix servers. We were informed that the Citrix applications are not working after the recent updates. After lot of struggle it was traced out that the issue was due to the ROM version incompatibility and we had to restore the previous ROM version.

This was achieved using the “Redundant ROM Settings” available under RBSU (ROM Based Setup Utility). Please follow the below steps to restore your previous ROM without searching for the setup files.

1. Access ROM Based Setup Utility by pressing the F9 key during power on.
2. Select “Advanced Options”.
3. Select “Advanced System ROM Options”.
4. Choose “ROM Selection”.
5 Select “Switch to Backup ROM”.
6. Press the Enter key.
7. Press the Esc key to exit the current menu or press the F10 key to exit RBSU. The server restarts automatically.

Thanks,

WintelAdmin

 

Filed under: HP (Servers/products), Windows(2003/2008/2012)Tagged with: , , , , , , , , , , , , , ,