分类 ‘Apache’ 归档文章

Open Solaris 死了!

看完这篇文章后面的评论,才比较清楚的了解了 OpenSolaris? 的许可问题,原来是彻头彻尾的反 GNU 的。

如果说要停止开发的话,也可以理解,开源社区的人们应该额手相庆了。这个评论是这样写的:

(more…)

Operation System or Operating system ?

新来的实习生,把 Operating System 写成了 Operation System ,怎么看都觉得有点别扭。他说是字典上查询来的,绝对不会有错。刚才去了一把? Wikipedia ,搜索 Operation System 自动定向到 Operating System 了。

或许这个实习生没有说错,但是作为计算机应用专业的硕士,这个词应该是放在口头上的,就像自己写一个不常用的中文字,看来看去不顺眼,估计是有那里写错,但是找不出错的地方。

这位小兄弟,还把 Leadership 写成了 leadship 。? :-(

数据中心设计的五大趋势

低碳,绿色的数据中心必将是趋势。这篇文章介绍了数据中心的五大趋势,对于企业的 IT 运营和 IT 服务提供商都具有借鉴价值。

1. Energy costs outweigh capital costs

2. Modularity matters

3. Cooling is key

4. Virtualized everything

5. Self-diagnosing data centers

云计算改变世界最早的报纸发行商

看完这篇报道,会对 “IT Doesn’t Matter” 有更加深的感触。 每一个 IT 人都应该很清楚自己的角色。当 CEO? 削减成本的大斧砍下的时候,由规模化提供服务的 SaaS 模式必将盛行。

从以前的 ASP (Application Service Provider) 到 SaaS,标准化和规模经济导致的低成本,将是云计算大展前途的地方。

IT 外包的七个注意点

在 CIO 网站上看到这篇文章,大概的翻译一下:

(more…)

skype on iPad

不错,可以工作的。

ZT: New Features In Bash Version 4.x – Part 1

Source: http://lcorg.blogspot.com/2010/04/new-features-in-bash-version-4x-part-1.html

(more…)

ZT: How do you increase storage utilization?

We should make the concepts clear.

Source: http://blogs.hds.com/hu/2010/03/how-do-you-increase-storage-utilization.html

By: Hu Yoshida on March 16, 2010

(more…)

ZT: Disruptive Backup Platform

I believe it should be? a convincing platform to do the backup.

Source: http://milek.blogspot.com/2009/02/disruptive-backup-platform.html

(more…)

ZT: Ethernet Bonding (Linux)

Ethernet Bonding (Linux)

Bonding ethernet channels in Linux is easy. With the right configuration and hardware, it can be done in minutes.

In this example, I have a 4 port intel Gigabit card and I wanted to utilize this and my Network switches LACP/LAG?capability. Lets?assume?we have the Network switch part already configured to have its ports utilize LACP/LAG.
On the RHEL 4.3 server that is hosting my samba file server below are the steps outlined to configure ethernet channel bonding/teaming on the RHEL 4.3 server.
Edit the?/etc/modprobe.conf file and add the bonding kernel module and its mode.
# vi?/etc/modprobe.conf
#regular network card (built-in)
alias eth0 e1000
alias eth1 e1000
#the bond interface
alias bond0 bonding
#bond interface mode.?mode=4 (802.3ad/link aggregation)
options bond0 mode=4 miimon=100
#Intel 4 port Gigabit ethernet card
alias eth5 e1000
alias eth3 e1000
alias eth4 e1000
alias eth2 e1000
alias scsi_hostadapter ahci
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
Now make sure to edit the /etc/sysconfig/network-scripts/ifcfg-ethX (where X are the ethernet ports that will be part of the bond0 LACP interface)
# vi /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet
Now we don’t want to edit every single file as its a boring and error prone process
# for i in {3..5} ; do cp /etc/sysconfig/network-scripts/ifcfg-eth2 /etc/sysconfig/network-scripts/ifcfg-eth$i ; done
#for i in {3..5} ; do sed -i “s/DEVICE=eth2/DEVICE=eth$i/g” /etc/sysconfig/network-scripts/ifcfg-eth$i ; done
Now create the bond0 interface configuration file.
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.1.30
NETWORK=192.168.1.0
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
Load the bonding kernel module.
#?modprobe bonding
Now bring up the bond0 interface
# ifup bond0
Verify the bond0 interface
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 1
Actor Key: 17
Partner Key: 1
Partner Mac Address: 00:00:00:00:00:00
Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:6a:c1:e4
Aggregator ID: 1
Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:6a:c1:e5
Aggregator ID: 2
Slave Interface: eth4
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:6a:c1:e6
Aggregator ID: 3
Slave Interface: eth5
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:6a:c1:e7
Aggregator ID: 4
You can now try transferring files to/from the samba servers shared folders, once the transfer process is on-going, try unplugging the network cables that are part of the bond/LACP/LAG on the Network switch or on the configured 4 port Intel ethernet card.