1、安装的使用互信问题
在配置好互信在putty上都可以测试通过,并且执行了安装检查。但在图形界面的时候提示互信通不过,访问不到其他节点的临时目录,删除.ssh下文件在图形界面配置互信也不行,报错INS-06001。检查发现系统升级了ssh的版本到9.0,默认cetos的版本是5.3,降低ssh版本后直接就过去了。
2、在执行安装grid解压后的rpm包cvuqdisk-1.0.9-1.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: cvuqdisk-1.0.9-1.x86_64: install failed
解决方法yum install -y smartmontools
3、执行安装后窗口拉不动,显示不全
之前在安装的时候出现安装过程图形化的对话小窗口显示不全的问题,而且还不能拖动。在redhat7.4安装的时候也出现了这个问题,所以启用安装程序时用以下命令即可
./runInstaller -jreLoc /usr/lib/jvm/jre-1.8.0
其实就是指定调用的java位置,应该是对java的版本要求不统一导致的。如果没有java,就yum安装一个java。需要注意的是安装java要在所有节点都安装。
4、在云上配置oracle,需要开放网络
在天翼云上2节点执行root.sh报错Failed to start ASM
[root@db02 rpm]# /app/u01/oraInventory/orainstRoot.sh
Changing permissions of /app/u01/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /app/u01/oraInventory to oinstall.
The execution of the script is complete.
[root@db02 rpm]# /app/u01/
grid/ oracle/ oraInventory/ product/
[root@db02 rpm]# /app/u01/product/11.2.0/root
root.sh rootupgrade.sh
[root@db02 rpm]# /app/u01/product/11.2.0/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /app/u01/product/11.2.0
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: /app/u01/product/11.2.0/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node db01, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Start of resource "ora.asm" failed
CRS-2672: Attempting to start 'ora.asm' on 'db02'
CRS-5017: The resource action "ora.asm start" encountered the following error:
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/app/u01/product/11.2.0/log/db02/agent/ohasd/oraagent_grid/oraagent_grid.log".
CRS-2674: Start of 'ora.asm' on 'db02' failed
CRS-2679: Attempting to clean 'ora.asm' on 'db02'
CRS-2681: Clean of 'ora.asm' on 'db02' succeeded
CRS-4000: Command Start failed, or completed with errors.
Failed to start Oracle Grid Infrastructure stack
Failed to start ASM at /app/u01/product/11.2.0/crs/install/crsconfig_lib.pm line 1339.
/app/u01/product/11.2.0/perl/bin/perl -I/app/u01/product/11.2.0/perl/lib -I/app/u01/product/11.2.0/crs/install /app/u01/product/11.2.0/crs/install/rootcrs.pl execution failed
问题解决:
是因为第二块网卡设置了安全策略。导致在第二块网卡(私有网卡)上绑定的虚拟IP(169.254.*.*)地址无法通讯造成的。在安全组配置允许放通。