(安装Grid组件前的检测)
到这里,安装Grid组件的前置设置都完成了,在安装Grid之前先做一个检测,查看一下是否有配置不正确的地方,以便在安装前修改正确。先把安装介质下载到RAC节点1的/export/home/OraFile目录下,一共3个压缩文件:solaris.x64_11gR2_grid.zip、solaris.x64_11gR2_database_1of2.zip、solaris.x64_11gR2_database_2of2.zip (使用ftp的方法比较慢,我是在管理机上建立了IIS服务器,设置虚路径,把3个安装文件包括进来,再由RAC节点1下载。)
1.解压安装介质,并授权/export/home/OraFile文件夹
-bash-3.00# cd /export/home/OraFile
-bash-3.00# unzip solaris.x64_11gR2_grid.zip
-bash-3.00# unzip solaris.x64_11gR2_database_1of2.zip
-bash-3.00# unzip solaris.x64_11gR2_database_2of2.zip
-bash-3.00# chown -R oracle:oinstall /export/home/OraFile
-bash-3.00# chmod -R 775 /export/home/OraFile
2.切换用户为grid,并执行检测命令
-bash-3.00# su - grid
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
-bash-3.00$ cd /export/home/OraFile/grid/
-bash-3.00$ ls
doc response rpm runInstaller stage
install rootpre.sh runcluvfy.sh sshsetup welcome.html
执行检测命令runcluvfy.sh
-bash-3.00$ ./runcluvfy.sh stage -pre crsinst -n racnode1,racnode2 -fixup -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
(只显示检测失败的内容)
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racnode2 soft 256 1024 failed
racnode1 soft 65536 1024 passed
Result: Soft limits check failed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racnode2 hard 16373 16384 failed
racnode1 hard 16373 16384 failed
Result: Hard limits check failed for "maximum user processes"
Pre-check for cluster services setup was unsuccessful on all the nodes.
可以看到只有两项失败
Check: Soft limits for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
这两项不影响安装。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26712/viewspace-1031705/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26712/viewspace-1031705/