rac(三)安装grid

安装grid

安装cvuqdisk软件
解压grid软件包,安装grid目录里的cvuqdisk-1.0.7-1.rpm软件
root用户下赋权限
chown grid:oinstall p13390677_112040_Linux-x86-64_3of7.zip

shdb1:~ # cd /soft/grid/rpm
shdb1:/soft/grid/rpm # ls
cvuqdisk-1.0.9-1.rpm
shdb1:/soft/grid/rpm # rpm -ivh cvuqdisk-1.0.9-1.rpm

 

2. 以grid用户执行安装先决条件检查

shdb1:~ # su - grid
grid@shdb1:~> cd /soft/grid/
grid@shdb1:/soft/grid> ./runcluvfy.sh stage -pre crsinst -n shdb1,shdb2 -fixup -verbose

DNS faild可忽略

参考:https://www.cnblogs.com/arcer/archive/2013/07/06/3174812.html

图形化界面安装Grid Infrastructure

shdb1:~ # su - grid
grid@shdb1:~> cd /soft/grid/
grid@shdb1:/soft/grid> ./runInstaller

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 /opt/app/oraInventory/orainstRoot.sh
 /opt/app/oracrs/grid/root.sh

 

执行第二个脚本时报错

shdb1:/soft/grid/rpm # /opt/app/oraInventory/orainstRoot.sh
Changing permissions of /opt/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /opt/app/oraInventory to oinstall.
The execution of the script is complete.
shdb1:/soft/grid/rpm #
shdb1:/soft/grid/rpm #
shdb1:/soft/grid/rpm # /opt/app/oracrs/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/app/oracrs/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/app/oracrs/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding Clusterware entries to inittab
USM driver install actions failed
/opt/app/oracrs/grid/perl/bin/perl -I/opt/app/oracrs/grid/perl/lib -I/opt/app/oracrs/grid/crs/install /opt/app/oracrs/grid/crs/install/rootcrs.pl execution failed
shdb1:/soft/grid/rpm #

第二个节点未执行,点确定

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 查看日志,该报错可以忽略,选择ok

 

 

 

 

posted @ 2020-08-09 17:22  霸王龙的日常  阅读(361)  评论(0编辑  收藏  举报