Monday, November 23, 2009

Wireless on T400 running CentOS 5.4

Finally, I forced myself to learn Linux by formatting my laptop and installed CentOS 5.4.  Only leave an old and slow desktop for vpn.  Everything runs fine except the wireless.  Google and find Kurt's blog (Thanks Kurt).  

Steps:

First make sure the RPMForge repo is installed

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum clean all
yum update

Next install the driver for the PRO/Wireless 5100 AGN[Shiloh] card from Intel

yum install iwl5000-firmware

The wireless device should now be working, and you can enable the NetworkManager to start using it

chkconfig NetworkManager on
service NetworkManager start

and you may want to save yourself some wait time at boottime by disabling the network since you don't need that anymore

chkconfig network off

Next you need to configure your wireless connection settings by going to System > Preferences > More Preferences > Network Connections

Saturday, July 4, 2009

Installing Solaris 10 64 bits in VMWare Workstation 6.5.0

To install Solaris 10 64 bits, make sure your CPU is 64 bits with VT enable in BIOS.

Even you run the Processor Check for 64-Bit Compatibility and the result is compatible, it may still fail because VT is not enable in BIOS.

For my T400 laptop with Intel 9400, press F1 to goto the BIOS (Config -> CPU).

Enable the following settings
Intel (R) Virtualization Technology
Intel (R) VT-d feature

Save Settings -> Poweroff -> Startup

I have VMWare Workstation 6.5.0 installed on Vista 64 bits Business. When I install Solaris as a guest OS, it will attempt to install as 64 bits. It goes flawlessly. After installation completes and reboots, you should see it start at 64 bits. If you miss that, run isainfo -v (not uname -a).

You can see that this Solaris machine is capable of running 32-bit as well as 64-bit applications.

P.S. The media I use is Solaris 10 update 5. Please check VMWare website for OS support.

Tuesday, June 23, 2009

Expand luns in Clariion

Not sure about new Flare, a lun can only be expanded for a maximum of eight times in Flare 19 or earlier. Besides, there are limitation as well. The component(s) has to be the same size as the source lun. For example, you have a lun of 10 GB and want to expand it to 30 GB. You will need to create 2 luns of 10 GB first (you cannot add a 20 GB lun as component to a 10 GB source lun), then expand the lun. Of course, lun expansion in EVA is different.

A caution: if you use existing lun as component(s), make sure you don't need the data in those components. Data in the component will be destroyed right away if stripping is chosen.

Sunday, June 14, 2009

Random bluescreen on Windows server

Some of the bluescreen are very tough to troubleshoot. It may point to different driver. After ruling out hardware issue, you can't tell which one cause it. If you rule out poorly written driver / programs, check the kernel stack usage. On Windows x86, there is only 12K kernel stack space. I believe it is 8K for old version of Linux and 24K for x64 Windows. Some admin wonder if increasing the memory can fix it. The answer is no. Kernel stack space has nothing to do with the RAM size. Check winmsd and see which spy driver can be removed. This is the only way to save kernal stack usage.

If Norton Antivirus is used, admin can follow suggestion from Norton to reduce the stack space usage by Norton Antivirus.

http://service1.symantec.com/support/ent-security.nsf/docid/2002071208532048?open&src=w

Tuesday, June 2, 2009

Archiving and backup (DiskXtender)

A lot of my customer cannot distinguish between archiving and backup. They think archiving is the same as backup as well as safe them space on primary storage. This is wrong. Archiving is a process of moving inactive or infrequently accessed data from primary storage to other cheaper storage. For example, moving from a lun of Symmetrix to Centera. If settings in Centera are correct, it can reduce duplication of data being saved on the target.

Backup will save a secondary copy of information. Archive only moves the data to another storage media. You still have only one copy of the data. Use EMC DiskXtender as an example, if files are moved to secondary media and rules are setup properly, files that were moved to secondary storage can now be purged from the primary storage and leave a shortcut on the primary storage. The shortcut contains info about the location of the file in the secondary storage. When you click on it, the program will fetch the file back from secondary storage. You can also apply retention on the files if using NetApp / Centera. This can prevent files from being modified. If a moved file / shorcut (already moved to secondary storage) with no retention is deleted from primary storage, it will be deleted from the secondary stoarge too.

DiskXtender relies on extended attribute to locate the file in the secondary storage. Make sure the backup solution is full NTFS aware or you will regret! Besides, never try to overwrite existing shortcut / moved files on the primary storage by restoring from backup. This can cause the file in the secondary storage being overwritten by zero kb file. What that means ...... Data Loss! Please check all the guides before deploying the solution. Besides, archiving solution is for inactive or infrequently accessed files. If you plan to use it for frequently modified file, you should increase in primary storage space instead. Again, this is not a replacement for your backup software.

Free Anti-virus Avira

Since I got my laptop, I need to look for a free anti-virus software that supports 64 bits Windows Vista. I find Avira anti-virus. It is very stable and doesn't take away a lot of memory as Norton. The GUI is pretty easy to follow and very user-friendly for non-technical user.

Bluescreen on T400

I got my Lenovo T400 last Christmas. However, Windows gave BSOD intermittently. Turn out it is the video card causing all these issues. I follow the link

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-71851

I turn off Aero and the switchable graphic card in the BIOS. Instead just use the ATI graphic card. There is no more bluescreen after that.

Note: Check back on the site today and see there is an updated drive posted on April 28, 2009.

Monday, January 12, 2009

ESX 3.0 Patches

The drawback of ESX 3.0 is the lack of patch management. To update patches in ESX 3.0, there is a utility called esxupdate.

Patches for ESX Server 3.x can be applied in any order on ESX Server 3.0 hots with patch ESX-1000074 and ESX Server 3.0.1 hosts with patch ESX-5874303. Later version of ESX Server will include this fix and will not need a patch.

To get a list of all installed updates, execute this command in the ESX Server console:

esxupdate query

Listing Details of Updates:

esxupdate info
esxupdate -l info

Assume NFS installed on a server
mount –t NFSserver:VMBackup /mnt/updates
esxupdate -r /mnt/updates/updatename update (assume updatename is untar)