配置OCFS遇到问题.

[复制链接]
查看11 | 回复7 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
[root@dbserver u01]# uname -a
Linux dbserver 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
[root@dbserver u01]# ls -l
×üó?á? 592
-rw-r--r--1 wh oinstall 149281 10?? 25 12:22 ocfs-2.4.21-EL-1.0.14-1.i686.rpm
-rw-r--r--1 wh oinstall 252991 10?? 25 12:22 ocfs-support-1.1.5-1.i386.rpm
-rw-r--r--1 wh oinstall 186587 10?? 25 12:22 ocfs-tools-1.0.10-1.i386.rpm
[root@dbserver u01]#
[root@dbserver u01]# rpm -ivh ocfs*
Preparing...
########################################### [100%]
1

cfs-support ########################################### [ 33%]
2

cfs-2.4.21-EL ########################################### [ 67%]
Linking OCFS module into the module path [OK]
3

cfs-tools
########################################### [100%]
[root@dbserver u01]# rpm -qa |grep -i ocfs
ocfs-tools-1.0.10-1
ocfs-2.4.21-EL-1.0.14-1
ocfs-support-1.1.5-1
[root@dbserver u01]# chkconfig --list|grep ocfs
ocfs
0:1?±?1:1?±?2:??ó?3:??ó?4:??ó?5:??ó?6:1?±?
[root@dbserver u01]# vi /etc/ocfs.conf
[root@dbserver u01]# ocfs_uid_gen -c
ocfs_uid_gen: The new GUID is 5E649E852C1CB50CE659000C2904C4F0
[root@dbserver u01]# /sbin/load_ocfs
/sbin/modprobe ocfs node_name=dbserver ip_address=192.168.0.144 cs=1818 guid=5E
649E852C1CB50CE659000C2904C4F0 ip_port=7000 comm_voting=1
modprobe: Can't locate module ocfs
load_ocfs: insmod failed
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
用图形界面配置试试,你vi的文件内容正确吗?
Run the ocfstool tool as root to generate the /etc/ocfs.conf file:
su - root
ocfstool
- Select "Task" - Select "Generate Config"
- Select the interconnect interface (private network interface), e.g. rac1prv
- Confirm the values displayed and exit
The generated /etc/ocfs.conf file will appear similar to the following example:
$ cat /etc/ocfs.conf
#
# ocfs config
# Ensure this file exists in /etc#
node_name = rac1prv
node_number =
ip_address = 92.168.1.1
ip_port = 7000
guid = 167045A6AD4E9EAB33620010B5C05E7F
To load the ocfs.o kernel module, run:
su - root
# /sbin/load_ocfs
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 wang_and_yang 发布
[B]用图形界面配置试试,你vi的文件内容正确吗?
Run the ocfstool tool as root to generate the /etc/ocfs.conf file:
su - root
ocfstool
- Select "Task" - Select "Generate Config"
- Select the interconnect interface (private network interface), e.g. rac1prv
- Confirm the values displayed and exit
The generated /etc/ocfs.conf file will appear similar to the following example:
$ cat /etc/ocfs.conf
#
# ocfs config
# Ensure this file exists in /etc#
node_name = rac1prv
node_number =
ip_address = 92.168.1.1
ip_port = 7000
guid = 167045A6AD4E9EAB33620010B5C05E7F
To load the ocfs.o kernel module, run:
su - root
# /sbin/load_ocfs [/B]

按照上面配置:
[root@dbserver u01]# /sbin/load_ocfs
/sbin/modprobe ocfs node_name=dbserver ip_address=192.168.0.144 cs=1818 guid=5E 649E852C1CB50CE659000C2904C4F0 ip_port=7000 comm_voting=1
modprobe: Can't locate module ocfs
load_ocfs: insmod failed
仍然不行.
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
呵呵,用圖形介面簡單, 安全 .
# ocfstool

做這種東西,一定要規規矩矩地按照他的文檔來 .一點疏忽都不行 .
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
[root@dbserver u01]# uname -a
Linux dbserver 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
[root@dbserver u01]# ls -l
×üó?á? 592
-rw-r--r-- 1 wh oinstall 149281 10?? 25 12:22 ocfs-2.4.21-EL-1.0.14-1.i686.rpm
-rw-r--r-- 1 wh oinstall 252991 10?? 25 12:22 ocfs-support-1.1.5-1.i386.rpm
-rw-r--r-- 1 wh oinstall 186587 10?? 25 12:22 ocfs-tools-1.0.10-1.i386.rpm
[root@dbserver u01]#
这个版本对应的OCFS包有没有问题?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
这个fileutils-4.1-10.4.src.rpm装了吗
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 orablue 发布
[B][root@dbserver u01]# uname -a
Linux dbserver 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386 GNU/Linux
[root@dbserver u01]# ls -l
×üó?á? 592
-rw-r--r-- 1 wh oinstall 149281 10?? 25 12:22 ocfs-2.4.21-EL-1.0.14-1.i686.rpm
-rw-r--r-- 1 wh oinstall 252991 10?? 25 12:22 ocfs-support-1.1.5-1.i386.rpm
-rw-r--r-- 1 wh oinstall 186587 10?? 25 12:22 ocfs-tools-1.0.10-1.i386.rpm
[root@dbserver u01]#
这个版本对应的OCFS包有没有问题? [/B]


我感觉你这三个包版本有问题,不一致,试试
ocfs-2.4.21-EL-smp-1.0.10-1.i686.rpm
ocfs-support-1.0.10-1.i386.rpm
ocfs-tools-1.0.10-1.i386.rpm
这三个,如果你用ocfs-2.4.21-EL-smp-1.0.10-1.i686.rpm,你的内核也的升,我用的就是这三个,可以加载成功的
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
如果是Linux 2.4.21 內核版本 . 要統一版本:我們用的如下:
在http://oss.oracle.com
ocfs-2.4.21-EL-smp-1.0.10-1.i686.rpm
ocfs-support-1.0.10-1.i386.rpm
ocfs-tools-1.0.10-1.i386.rpm

你的參考文件貼上來看看, 這一部分的 . 它應該告訴你應該下載那些ocfs版本的rpm 包 .
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行