Linux平台 Oracle® Database 11g Release 2 (11.2.0.2) RAC for RedHat6.1虚拟机实施实录
之
Oracle RAC 11.2.0.2 Grid 安装先决条件检查之cvuqdisk 包
by : 王磊/菜小小~@2012/4/22 1:44 QQ:262477752
问题描述
在使用vmware虚拟机(7.0)RedHat Linux6.1环境下使用ASM配置Oracle Database 11g release 2 (11.2.0.2 64-bit) RAC 的实施过程中,进行
11.2.0.2 Grid 安装时,到先决条件检查这一步出现几个失败项,本文简要描述缺少cvuqdisk 包的解决办法,如图:
Package: cvuqdisk-1.0.9-1 - This is a prerequisite condition to test whether the package "cvuqdisk-1.0.9-1" is available on the system.
Check Failed on Nodes: [rhel6_2, rhel6_1]
Verification result of failed node: rhel6_2
Expected Value : cvuqdisk-1.0.9-1( x86_64)
Actual Value : missing
List of errors:
-
PRVF-7532 :
Package "cvuqdisk-1.0.9-1( x86_64)" is missing on node "rhel6_2" - Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node. - Action: Ensure that the required package is installed and available.Back to Top
Verification result of failed node: rhel6_1
Expected Value : cvuqdisk-1.0.9-1( x86_64)
Actual Value : missing
List of errors:
-
PRVF-7532 :
Package "cvuqdisk-1.0.9-1( x86_64)" is missing on node "rhel6_1" - Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node. - Action: Ensure that the required package is installed and available.Back to Top
解决办法
其实cvuqdisk包在grid的安装包里面自带,进入grid软件包目录下的rpm目录即可找到,安装即可
注意:如果报smartctl找不到 ,则需要先安装smartmontools 之后再安装cvuqdisk,smartmontools 包Linux系统光盘自带;
[01:52:06root@rhel6_2 rpm]>cd /soft/11.2.0.2/grid/rpm
[01:52:18root@rhel6_2 rpm]>ll
total 5
-rwxrwxrwx 1 root root 8549 Nov 11 2010 cvuqdisk-1.0.9-1.rpm
[01:32:21root@rhel6_2 rpm]>rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
ls: cannot access /usr/sbin/smartctl: No such file or directory
/usr/sbin/smartctl not found.
error: %pre(cvuqdisk-1.0.9-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1
[01:32:25root@rhel6_2 rpm]>yum search smartctl
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
============================================= Matched: smartctl ==============================================
smartmontools.x86_64 : Tools for monitoring SMART capable hard disks
[01:32:48root@rhel6_2 rpm]>yum install smartmontools
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smartmontools.x86_64 1:5.39.1-3.el6 will be installed
--> Processing Dependency: mailx for package: 1:smartmontools-5.39.1-3.el6.x86_64
--> Running transaction check
---> Package mailx.x86_64 0:12.4-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
smartmontools x86_64 1:5.39.1-3.el6 Server 343 k
Installing for dependencies:
mailx x86_64 12.4-6.el6 Server 234 k
Transaction Summary
==============================================================================================================
Install 2 Package(s)
Total download size: 577 k
Installed size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------------------------------------
Total 4.7 MB/s | 577 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : mailx-12.4-6.el6.x86_64 1/2
Installing : 1:smartmontools-5.39.1-3.el6.x86_64 2/2
duration: 75(ms)
Installed products updated.
Installed:
smartmontools.x86_64 1:5.39.1-3.el6
Dependency Installed:
mailx.x86_64 0:12.4-6.el6
Complete!
[01:33:04root@rhel6_2 rpm]>rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
Using default group oinstall to install package
1:cvuqdisk ########################################### [100%]
[01:33:09root@rhel6_2 rpm]>
这几天做数据库集群。需要用共享存储。我公司有买了一个XX备份存储柜。里面有ISCSI硬盘4块。
刚开始看他的网站和文档没有介绍linux部分的。于是我自己百度了篇文章。加实战演练了下。下面是我的配置过程。
系统是rhel5.4 32位的。64位的资源实在不好找。如果有的同志麻烦留言下。不胜感激。
首先打开终端。确认是否有装iscsi:rpm -qa|grep iscsi
尝试启动服务: service iscis
没关系。没注册。直接在目录下启动:/etc/init.d/iscsi restart
上面犯了一个错误就是没区分好--和- 一般linux下-x都是缩写的 而两个-的也就是--都是全称。
关于chkconfig命令详解请参考另一篇文章:http://blog.csdn.net/kai27ks/article/details/7419171
搜寻磁盘阵列:iscsiadm -m discovery -t sendtargets -p 192.167.77.177
显示磁盘阵列:iscsiadm -m node
登录磁盘阵列: iscsiadm -m node -T iqn.2009.eisoo.com:volume1 - p 192.168.77.177:3260 -l
之后就可以用fdisk 进行分区了。演示完毕。
http://blog.csdn.net/kai27ks/article/details/7419333