Thursday, April 08, 2010

Dell Server: How to capture hardware log if using VMWare or Open Linux?

Good news to all Dell Customer who using VMWare or other Linux OS which not compatible with Dell OpenManage Server Administrator (OMSA).

Now, you can use Dell LiveCD to boot up during POST, and access to Embedded Server Management (ESM) to gather the hardware log.

LiveCD ISO Download:

How to use?
1. It is a bootable CD, after you burn the ISO into CD, just boot the CD or change the boot sequence in BIOS settings.
2. Log in User Name= root ; Password = dell
3. After logged in, it will display the current IP Address, copy down as you may need it later for remote access connection.
4. Next, just type 'startx' to access the GUI
5. Then you'll be able to see one browser icon with the name "OMSA".
6. Double click to open, and you'll be able to see the hardware status as the normal OMSA in Windows environment.

Tuesday, April 06, 2010

How to Create RAID0 with single HDD by using Dell SAS5iR / SAS6iR?

If you ever go into SAS5iR / SAS6iR configuration BIOS, you will notice that it require at least 2x Hard Disks to configure RAID0. I have to say this is just as per design, and it is not refers to bug or limitation.

Some of you may wondering if you're using Windows Small Business Server 2003/2008, which have the limitation of having 2TB for C:\ , and yet you don't want to convert it into Dynamic Disk; or you totally don't need that huge space for your C:\, and the server already in front of you. Stop to blame the design or the Sales person of not inform you about this, but refers to below workaround.

Workaround (I):
1. Go to SAS5iR /SAS6iR Configuration BIOS which is Ctrl +C, delete all RAID0 or RAID1 configuration.
2. Exit the BIOS, then proceed the OS installation through:
11th Gen Server:
~ Unified Server Configurator (USC) or Installation DVD (Dell System Tools & Documentation)
8th - 9th Gen Server:
~ for this generation, do not support USC, so we need to depend on Installation CD/DVD which can ease the installation process of end user.
3. However, with treated this card as a 'pass-through' SAS interface controller card, you will notice one of the HDD LED light (status LED) will not light up.

Dell did explain that in their Knowledge base:

Explanation:
When hard disk drives are attached to a SAS5/iR or SAS6/iR as a single disk (not part of a RAID0 or RAID1) the status Light Emitting Diode (LED) will not illuminate. The LED is not a representation of power to the drive. It is a representation of the drive status or availability within an array. Since a single drive Redundant Array of Independent Disks0 (RAID0) cannot be created on a SAS5/iR or SAS6/iR, the status light will remain off for single drive usage.
Workaround (II):
1. Check with Technical Support or Sales whether the Model of the server that you own is support PERC series of SAS RAID card or not.
2. If so, you may consider change the card to PERC6i (for 11th Gen) or PERC5i (for 9th & 10th Gen).
3. PERC series able to create RAID0 with single HDD.

*However, the price of PERC series is much more expensive than SAS5iR/ SAS6iR.

Sunday, April 04, 2010

Dell Server: PowerEdge R710 with Hyper-V will hang/freeze

Recently I encounter a case with below situation:

Product: Dell PowerEdge R710
RAM: 12GB ECC DIMM
Processor: 2x Quad Core Intel Processor
OS: Windows Server 2008 Enterprise R2 x64
Others: Hyper-V activated

Problem:
Customer mentioned that he have total 5 VMs running in this server. 4 of it will running all the time. He allocate 8.5GB for 5 VMs, and after 2-3 days, server will hang. He monitor this issue by his own, and found that Memory usage will reach 100% before it hang.
He submit this issue to me, and cause me study a lot of whitepaper, forum from Microsoft site to look for more information.

VMs Resource Allocation:
1. VM1 Memory=512MB HDD Space=80GB
2. VM2 Memory=2GB HDD Space=200GB
2. VM3 Memory=4GB HDD Space=300GB
2. VM4 Memory=2GB HDD Space=150GB

In a nutshell, he left 3.5GB RAM for Host which is totally insufficient to run in a optimal environment.
Maybe you'll ask: "Where is the 5th VMs?"
I ask the same to customer, but he told me the 5th VM in OFF mode all the time, will use when its needed. -.-"

Research:
After 1 day of studies, research, I manage to obtain the below info to customer. To configure Hyper-V with Optimal state, we have to follow the below formula:
To calculate the host RAM = (VMRamRequirementMB x #ofVMs) + (#of VMs x 32MBVMOverhead ) + (512MBHost)
To calculate VMRamRequirementMB, I found 1 statement from one of the Microsoft White Paper:

...the root partition must have sufficient memory (leave at least 512 MB available) to provide services such as I/O virtualization, snapshot, and management to support the child partitions.

A good standard for the memory overhead of each VM is 32 MB for the first 1 GB of virtual RAM plus another 8 MB for each additional GB of virtual RAM. This should be factored in the calculations of how many VMs to host on a physical server. The memory overhead varies depending on the actual load and amount of memory that is assigned to each VM.

Reference:
(Search for “Correct Memory Sizing”)

Therefore, I manage to come out the optimal resources allocation with above-mentioned formula:

1. VM1 = (1 x 32MB) + (79 x 8MB) = 664MB
2. VM1 = (1 x 32MB) + (198 x 8MB) = 1616MB
3. VM1 = (1 x 32MB) + (299 x 8MB) = 2424MB
4. VM1 = (1 x 32MB) + (149 x 8MB) = 1224MB

Total RAM for VMs = 5928MB
= 5.8GB

Host RAM = (5928MB) + (4 x 32MB) + 512MB
= 6.41GB

Result:

According to calculation, obviously server (host) doesn't have sufficient Memory because it need at least 6.4GB, and VMs already occupied 5.8GB (maybe more as I didn't count in the 5th VM that customer turn on when it is needed).

Temporary workout:

1. Reserved at least 6.4GB for Host. This can only avoid the Host from hang/freeze issue, but it may cause VMs couldn't run in Optimal state.

2. Reduce the size of HDD Space for the VMs.

Permanent solution:

1. Add in more RAMs as Widows Server 2008 Enterprise R2 able to support up to 32GB memory space.

2. Move at least 1 or 2 VMs to other Host to reduce the loads in this server.



Friday, April 02, 2010

中国高铁 : 广州南 -〉长沙南

每一次到中国旅游,都会给我一个惊喜,可能自愧不如吧!都是黄种人,却怎么也比不上祖先原籍地方的精神、毅力;或是因为喝的水、看得景色不一样?

这次,有机会乘坐中国第一个最高时速可以达到350km/h的高铁,也是现今无人能比以及最快的火车技术。2009年12月26日开通营运,就破了两个世界之最:最长以及最快的高铁。

简单的例子:从广州到长沙的路程原本需要至少6-8小时才能到达,但这高铁可以在两个小时内到达目的地。这样的技术,不只可以缩短了人们穿州过省的时间,也可以提高、带动不同省份的经济。可是,该技术却不受航空公司支持,因为它动摇了飞行业的地位。试想一下,飞机受了天气、时间延迟等的限制与坏处,但高铁却完全没有这些飞行业担心的事,因为在陆地行走,天气的影响不大;电脑控制的火车也不会要等候旅客而延迟启动。中国政府很看好这技术,并大力支持;在未来的几年内,这使人骄傲的技术会延伸到其他省份,把整个大中国紧紧地联系起来...

#1
这就是高铁的票,RMB333其实还很合理,因为它可是带你跑了几百公里的高铁。

#2
这只是广州南站,里边已经比许多国际场来的大了。

#3
在赶着乘坐高铁时,每个人都拖着行李加速的走着,我却被里边的一事一物吸引着了,可能我太震撼了!

#4
乘坐高铁的月台,其实都没什么两样,但就是这技术吸引了国内许多来自各省份的人民来尝试着令亚洲人 骄傲的杰作。

#5

大家都纷纷这找自己的车厢,构成了

#6

每到一站,都会有人清除车身的一些尘垢,毕竟走了千里路

#7
我们乘坐的高铁是‘和谐号’。
*或全部都叫‘和谐号’,因为来去匆匆,没法看得仔细*

Saturday, March 27, 2010

Kuso 短片:被当成英雄了~

之前看见姐夫帮自己的儿子做一个短片,看起来很好玩,也弄了一个一摸一样的,只不过不同的照片~

感谢欣赏: