Year: 2014

How to view the complete posts available on WintelAdmin.com?

In order to view the complete post available on WintelAdmin.com, we have come up with a new solution, by providing a new page “View All Topics” which is available on the top right corner of the page. This will list you with the complete set of posts up to date.

Happy Reading,
WintelAdmin.com

Filed under: x Updates (Wintel Admin)Tagged with: , , , , , ,

VMware – Virtual Machine Consolidation Needed.

One of the virtual machine was not responding and was unable to power on the machine. When check on alarm, there was a message stating “Virtual Machine Consolidation Needed”.

In order to consolidate virtual machine disk, right click on the virtual machine, navigate to snapshot and choose consolidate.

After the consolidation is over machine will be able to power on.

Note:

1. Consolidation needed due to multiple snapshots.
2. Removal of snapshot takes long time considering the size of the disk.
3. If consolidation is stopped, it may lead to data corruption.
4. Virtual machine performance may be degraded during snapshot.

Thanks,
WintelAdmin.

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

How to cancel VMware snapshot process?

Sometimes, snapshot takes huge time to get completed. We may then require to cancel the task to save time. However, we do not have any option to cancel the task in vsphere.

Please follow below steps to cancel the task.

1. Find the ESX hostname on which the virtual machine resides.
2. Establish a SSH session to the ESX host.
3. Execute the command to see all the process.
ps | grep vmx
4. Locate the Parent Process ID (the second column) for the hung VM.
5. Execute the command to kill the task
kill *parent process ID* to end the process (excluding *).

Note:
Be very careful, killing different process can harm the ESX.

Thanks,
WintelAdmin

Filed under: VMware (ESX / vSphere)Tagged with: , , , , ,

How to identify the SAN Disk in Windows 2008?

In order to perform a storage testing, one of the server were allocated with two different storage XtremIO and FED.
Both the lun were added to server as a drive. However, we had a confusion to find which drive was from which storage. Luckily, we were able to track the luns using diskpart.

1. Open command prompt.
2. Enter “Diskpart”.
3. Enter “list volume”.
4. Type “Select volume *” (* to be replaced with volume ID Ex:C,D,E/0,1,2, etc)
5. Execute “Detail Disk”

You would now be displayed with disk details and more information, which will help you to track your lun.

Thanks,
WintelAdmin

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

How to get physical CPU count on a Windows server?

With the introduction of new concepts like hyper-threading and multi-core CPUs, it isn’t easy to find out how many physical CPUs (or sockets). The count what we see on the Task Manager or computer properties is the Virtual CPU.After a search around, I have found a free tool named CPUCount.

CPUCount is a tool from Intel that detects multi-core processor topology.It provides exactly the information that I was looking for only on Intel servers. It does not provide the correct information on AMD servers with multi-core processors. There are other tools too which can be handy in time like process explorer, winaudit, etc.

Thanks,

WintelAdmin.com

 

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

Port 80 used by System process “NT Kernel & System” with PID 4.

Today, I got a request from an application team stating that there application is not running. When checked found that there application is configured on port 80. Later, found that port 80 was not free and could see that port 80 was already listening with the process id (PID) 4, to my surprise, PID 4 is “NT Kernel & System” Owner SYSTEM

Command used to find the port 80 details:

netstat -aon | findstr 80

it will show you all processes that use port 80.

Finally, I was able to fix the issue by stopping the world wide web publishing service in the service manager.

There was no need for the IIS by the application team. Hence, I set the WWW publishing service as manual.

This fixed the issue and we tested by rebooting the server again.

Thanks,
WintelAdmin

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

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: , , , , , , , , , , , , , ,