‘Windows Critical Problem Management Workshop’ is a 2 days course. The objective is to learn how to effectively identify and troubleshoot critical problems with Windows.The learning material is ‘Windows Internal Book’ On day 1, the trainer mainly introduced the Windows architecture and some useful troubleshooting tools. Here are my notes. The starting point is to … Continue reading Windows Critical Problem Management Workshop Day 1
Restore CSV Partition Table
We had an incident couple weeks ago. A faulty node in a Windows 2008 R2 Hyper-V cluster caused the partition table lost in one of the CSV. Consequently, all the data can not be accessed. I mounted the broken CSV LUN to another host with TestDisk installed. Then I used TestDisk to search and fix … Continue reading Restore CSV Partition Table
Bash: UT-Citrix
I developed the Ubuntu version Citrix thin client. To follow the same naming convention as TC-Citrix, I name it UT-Citrix. Here are the key scripts: checkip #!/bin/bash #wait for the DHCP ready while ! ifconfig eth0 | grep 'inet addr' >/dev/null 2>&1 do echo sleep 2 done sysprep #!/bin/bash #rename the computer echo HOSTNAME=UT-`ifconfig | … Continue reading Bash: UT-Citrix
How Ubuntu Read DHCP Options
In a small project, I need to make Ubuntu get the ‘FTP Root’ option’s value from the Windows 2003 DHCP server. For some reasons that I don’t know, Ubuntu does not include ‘FTP Root’ (code 162) in the standard dhcp-option. So I have to modify the ‘/etc/dhcp/dhclient.conf ’ to make it happen. Add the following … Continue reading How Ubuntu Read DHCP Options
AWstats Configuration Example
AWstats is an open source log analyzer. I built up one on a Windows 2003 server to analyze the intranet (IIS server) usage. Here is my step by step how to: The software version I use in my example: 1) Install Apache, this is where I want to publish my log analysis. You also can … Continue reading AWstats Configuration Example