首页 > 科技 > Implement iscsi on CentOS5.0

Implement iscsi on CentOS5.0

2007年5月22日 15点03分 发表评论 阅读评论

According to the disappoint test result in UT StarCom, I found the underlying reason is the mount version of client OS that is mount-2.11y is too old to support our current product well.Though using higher version mount(eg,mount-2.12a) can resolve this problem, the customer would never be glad to update their software only for adapting to mount our storage shares, if done it, they will be their icy. I have to work on our NAS product, and try to upgrate its kernel to fix known bugs caused by “dlm_sendd” that eats almost all CPU resources when mount 10T share. Hence, I download the lastest CentOS5.0 and install it on the vmware machine. It is lucky that CentOS5.0 has already integrated many packages about cluster and gfs. Still some packeges need to installed. This article will describe how to install a cluster node and implement it for load-distributing.(DNS Round-Robin).

1. Review CentOS5 kernel verion
[root@test1 /]# uname -a
Linux test1 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux

2. Install iscsi-initiator-utils Something stranger. When install this package with the following command, it meets error: [root@test1 iscsi]# rpm -ivh iscsi-initiator-utils-4.0.3.0-4.i386.rpm
warning: iscsi-initiator-utils-4.0.3.0-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e error: Failed dependencies: libsysfs.so.1 is needed by iscsi-initiator-utils-4.0.3.0-4.i386

But there’re already libsysfs installed in CentOS5.0. Later, I have to use yum tools.
[root@test1 /]# yum install iscsi-initiator-utils
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00

Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s)
Total download size: 447 k Is this ok [y/N]: y
Downloading Packages: (1/1): iscsi-initiator-ut 100% |=========================| 447 kB 01:41
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897 Importing GPG key 0xE8562897 ”
CentOS-5 Key (CentOS 5 Official Signing Key) ” from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running Transaction Test Finished
Transaction Test Transaction Test Succeeded
Running Transaction Installing: iscsi-initiator-utils ######################### [1/1]
Installed: iscsi-initiator-utils.i386 0:6.2.0.742-0.5.el5 Complete!

Verify the package:
[root@test1 /]# rpm -qa | grep iscsi
iscsi-initiator-utils-6.2.0.742-0.5.el5

分类: 科技 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.
您必须在 登录 后才能发布评论.