Tuesday, August 23, 2011

If cluster issues due to disk level problems


1. Use default tools (disk management, perfmon,eventviwer,chkdsk etc) to analyze if any disk issues
2. Verify if any multipath issues - use disk management,MPIO drivers,iSCSI configuration
3. Disable cluster disk driver from device manager ,restart server & verify if disk visible in disk management.Restart server & re-enable cluster disk driver to troubleshoot further.
4. If disk signature specific errors in eventviewer ,Note down the signature for each disk,Restore it using DumpCFG ( windows 2003) or Diskpart - device ID (in windows 2008)

Thursday, March 3, 2011

How you script an FTP access ?

Do you wanna access FTP within a script ??? may be to copy an output file ?

Use below steps

ftp -s:up.txt
The following is a listing of the contents of the text file (UP.TXT).Sample

Log parser to analyze IIS Logs

Hey You can use Log parser to analyze IIS logs..

But how do you find the local time

To find local time format for IIS logs
LogParser "SELECT TO_TIMESTAMP(date, time) AS utc-timestamp, TO_LOCALTIME(utc-timestamp) AS local-timestamp, c-ip, cs-username, EXTRACT_TOKEN(cs-uri-stem,-1,'/') AS filename INTO DATAGRID FROM \\WEBSERVER\admin$\system32\logfiles\w3svc1\ex07*.log"

Do You Face issues with Service pack installation in windows 2008 ?

Do You Face issues with Service pack installation in windows 2008 ?

USE SYSTEMUPDATE-READYNESS TOOL

http://support.microsoft.com/kb/947821

Saturday, May 15, 2010

WINSXS Folder consumes more space in C drive - Windows 2008

WINSXS Folder consumes more space in C drive - Windows 2008
WinSXS folder is a OS folder where it keeps all the components get installed in system.
It is a known limitation that its size will grow based on number of packages and OS updates installs onto the system.
Its happening since the server will not overwrite the older components.
Refer below articles.
http://blogs.technet.com/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx
http://technet.microsoft.com/en-us/library/dd351467(WS.10).aspx#BKMK_COMPCLN

Below are the possible ways to reduce the winsxs folder size.

1. Uninstall maximum unwanted packages
2. Use the vsp1cln.exe tool if Windows 2008 SP1, to make the Servicepack1 permanent and remove RTM
3. Use the compcln.exe tool if Windows 2008 SP2, to make the Servicepack2 permanent and remove RTM