Reference data is not available for verifying prerequisites on this operating system distribution
Verification cannot proceed
在oracle linux 6.4上安装grid,安装前检查环境运行 runcluvfy.sh 报错,如下:
[oracle@node2 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "node2"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "node2"
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Status
------------------------------------ ------------------------
node2 passed
node1 passed
Result: User equivalence check passed for user "oracle"
ERROR:
Reference data is not available for verifying prerequisites on this operating system distribution
Verification cannot proceed
Pre-check for cluster services setup was unsuccessful on all the nodes.
[oracle@node2 grid]$
[root@node2 etc]# more /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[root@node2 etc]# rpm -qa|grep redhat-release
redhat-release-server-6Server-6.4.0.4.0.1.el6.i686
[root@node2 etc]#
查询matalink,在 [ID 1514012.1] 里有详细说明
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.3 [Release 11.2]
IBM: Linux on System z
11.2.0.3 Clusterware installation on IBM: Linux on System z (zSeries)
Redhat 6.2 or later updates
Goal
11.2.0.3 Clusterware software has been certified for Redhat 6 but cluvfy will not run on Redhat 6 without some modifications to make it "Redhat 6 aware".
To assist you in installing the software and ensuring that any Redhat 6 IBM: Linux on System z (zSeries) clusters are configured correctly this article includes modifications to allow you to run the pre-install checks in cluvfy
./runcluvfy.sh stage -pre crsinst -n -r11gR2 -fixup -fixupdir /scratch/fixup
Development are currently working on a "stand-alone" cluvfy utility to support clusterware installation on this platform on Redhat 6 - but as an interim measure the cvupack.zip attachment at the end of this document will provide the same functionality.
Unpublished <<15973656>> - OCE REFERENCE DATA IS NOT AVAILABLE FOR RHEL6 IN CVU CHECK15973656>
Fix
Files provided in the clupack.zip
按提示下载 clupack.zip ,上传到安装文件目录下
[oracle@my2950 clupack]$ pwd
/var/ftp/pub/software/oracle11G/i386/clupack
[oracle@my2950 clupack]$ ll
total 176
-rw-r--r-- 1 oracle oinstall 65429 May 31 10:19 clupack.zip
-rw-r--r-- 1 oracle oinstall 41724 Dec 4 16:07 cvu_prereq.xml
-rw-r--r-- 1 oracle oinstall 19034 Dec 4 16:45 filegroup10.jar
-rw-r--r-- 1 oracle oinstall 42624 Dec 4 11:26 filegroup6.jar
-rw-r--r-- 1 oracle oinstall 1637 Jun 13 2012 redhat-release-6Server-1.noarch.rpm
[oracle@my2950 clupack]$
解压以后有四个文件:
redhat-release-6Server-1.noarch.rpm
filegroup6.jar
filegroup10.jar
cvu_prereq.xml
1. redhat-release-6Server-1.noarch.rpm
所有节点都安装
[root@node2 etc]# rpm -Uhv /nfs/oracle11G/i386/clupack/redhat-release-6Server-1.noarch.rpm Preparing... ########################################### [100%]
1:redhat-release ########################################### [100%]
[root@node2 etc]# more /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[root@node2 etc]# rpm -qa|grep redhat-release
redhat-release-6Server-1.noarch
redhat-release-server-6Server-6.4.0.4.0.1.el6.i686
[root@node2 etc]#
[root@node1 etc]# rpm -Uhv /nfs/oracle11G/i386/clupack/redhat-release-6Server-1.noarch.rpm
Preparing... ########################################### [100%]
1:redhat-release ########################################### [100%]
[root@node1 etc]# rpm -qa|grep redhat-release
redhat-release-6Server-1.noarch
redhat-release-server-6Server-6.4.0.4.0.1.el6.i686
[root@node1 etc]#
2. filegroup6.jar and filegroup10.jar
放到 stage/Components/oracle.has.common.cvu/11.2.0.3.0/1/DataFiles 下
[oracle@my2950 clupack]$ cd ../grid/stage/Components/oracle.has.common.cvu/11.2.0.3.0/1/DataFiles
[oracle@my2950 DataFiles]$ mv filegroup10.jar filegroup10.jar.orig
[oracle@my2950 DataFiles]$ mv filegroup6.jar filegroup6.jar.orig
[oracle@my2950 DataFiles]$ cd -
/var/ftp/pub/software/oracle11G/i386/clupack
[oracle@my2950 clupack]$ cp *.jar ../grid/stage/Components/oracle.has.common.cvu/11.2.0.3.0/1/DataFiles
[oracle@my2950 clupack]$ ll ../grid/stage/Components/oracle.has.common.cvu/11.2.0.3.0/1/DataFiles
total 5972
-rw-r--r-- 1 oracle oinstall 19034 May 31 10:30 filegroup10.jar
-rwxr-xr-x 1 oracle oinstall 13654 Sep 22 2011 filegroup10.jar.orig
-rwxr-xr-x 1 oracle oinstall 1804 Sep 22 2011 filegroup11.jar
-rwxr-xr-x 1 oracle oinstall 6269 Sep 22 2011 filegroup12.jar
-rwxr-xr-x 1 oracle oinstall 6278 Sep 22 2011 filegroup13.jar
-rwxr-xr-x 1 oracle oinstall 5336715 Sep 22 2011 filegroup1.jar
-rwxr-xr-x 1 oracle oinstall 27197 Sep 22 2011 filegroup2.jar
-rwxr-xr-x 1 oracle oinstall 1734 Sep 22 2011 filegroup3.jar
-rwxr-xr-x 1 oracle oinstall 1537 Sep 22 2011 filegroup4.jar
-rwxr-xr-x 1 oracle oinstall 555443 Sep 22 2011 filegroup5.jar
-rw-r--r-- 1 oracle oinstall 42624 May 31 10:30 filegroup6.jar
-rwxr-xr-x 1 oracle oinstall 43089 Sep 22 2011 filegroup6.jar.orig
-rwxr-xr-x 1 oracle oinstall 9548 Sep 22 2011 filegroup7.jar
-rwxr-xr-x 1 oracle oinstall 10216 Sep 22 2011 filegroup8.jar
-rwxr-xr-x 1 oracle oinstall 8341 Sep 22 2011 filegroup9.jar
[oracle@my2950 clupack]$
3. cvu_prereq.xml 放到 stage/cvu 下
[oracle@my2950 i386]$ pwd
/var/ftp/pub/software/oracle11G/i386
[oracle@my2950 i386]$ ls
clupack gateways p10404530_112030_LINUX_1of7.zip p10404530_112030_LINUX_3of7.zip
database grid p10404530_112030_LINUX_2of7.zip p10404530_112030_LINUX_5of7.zip
[oracle@my2950 i386]$ cd clupack/
[oracle@my2950 clupack]$ ls
clupack.zip cvu_prereq.xml filegroup10.jar filegroup6.jar redhat-release-6Server-1.noarch.rpm
[oracle@my2950 clupack]$ cd ../grid/stage/cvu/
[oracle@my2950 cvu]$ ls
cv cvu_prereq.xml
[oracle@my2950 cvu]$ ll
total 36
drwxr-xr-x 5 oracle oinstall 44 Sep 22 2011 cv
-rwxr-xr-x 1 oracle oinstall 33889 Sep 22 2011 cvu_prereq.xml
[oracle@my2950 cvu]$ mv cvu_prereq.xml cvu_prereq.xml.orig
[oracle@my2950 cvu]$ cp ../../../
clupack/ grid/ p10404530_112030_LINUX_3of7.zip
database/ p10404530_112030_LINUX_1of7.zip p10404530_112030_LINUX_5of7.zip
gateways/ p10404530_112030_LINUX_2of7.zip
[oracle@my2950 cvu]$ cp ../../../clupack/cvu_prereq.xml ./
[oracle@my2950 cvu]$
[oracle@my2950 cvu]$ chmod 755 cvu_prereq.xml
[oracle@my2950 cvu]$ ll
total 80
drwxr-xr-x 5 oracle oinstall 44 Sep 22 2011 cv
-rwxr-xr-x 1 oracle oinstall 41724 May 31 10:36 cvu_prereq.xml
-rwxr-xr-x 1 oracle oinstall 33889 Sep 22 2011 cvu_prereq.xml.orig
[oracle@my2950 cvu]$
重新运行测试一下,熟悉的结果又出来啦。