racle 10G rac集群碰到…

来源:互联网 发布:算法入门经典 编辑:程序博客网 时间:2024/05/31 05:28

racle 10G rac集群碰到的问题裸设备

 

http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
http://www.comp.dit.ie/btierney/Oracle11gDoc/install.111/b28263/crsunix.htm#insertedID1
Caught Cluster ExceptionPRKC-1044 : Failed to check remote commandexecution setup for node localHost using shells /usr/bin/ssh and/usr/bin/rsh
localhost: Connection refused
[PRKC-1044 : Failed to check remote command execution setup fornode localHost using shells /usr/bin/ssh and /usr/bin/rsh
localhost: Connection refused]
[PRKC-1044 : Failed to check remote command execution setup fornode localHost using shells /usr/bin/ssh and /usr/bin/rsh
localhost: Connection refused
[PRKC-1044 : Failed to check remote command execution setup fornode localHost using shells /usr/bin/ssh and /usr/bin/rsh
localhost: Connection refused]]

解决办法:一般是ssh没配置好引起的

1. $cd $HOME
2.$ mkdir ~/.ssh
3. $chmod 700 ~/.ssh
4. $/usr/bin/ssh-keygen -t rsa
5. $/usr/bin/ssh-keygen -t dsa


On Node 1:

1. $cd $HOME/.ssh
2.$ cat id_rsa.pub >> authorized_keys
3.$ cat id_dsa.pub >> authorized_keys
4. Copy the authorized_keys file to the node
5. $scp authorized_keys vrh4:/home/oracle/.ssh


On Node 2:

1. $cd $HOME/.ssh
2. $cat id_rsa.pub >> authorized_keys
3. $cat id_dsa.pub >> authorized_keys
4. $scp authorized_keys vrh3:/home/oracle/.ssh

Then I ran following commands:

On Node 1:

$ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add

On Node 2:

$ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add

reference:http://forums.oracle.com/forums/thread.jspa?threadID=589398&tstart=-1

you are missing local node,localhost infomation,
enter the public node name,the private node name and the virtualhostname for all nodes in the cluster,including local node
http://www.itk.ilstu.edu/docs/Oracle/rac.101/b10765.pdf

 

mount.ocfs2: Invalid argument whilemounting:1.把内核和ocfs2都升级到最新版本(2.6.9-34)﹐用到的包有:
  mkinitrd-4.2.1.6-1.i386.rpm
  kernel-smp-2.6.9-34.EL.i686.rpm
  ocfs2-2.6.9-34.ELsmp-1.2.1-1.i686.rpm
  ocfs2-tools-1.2.1-1.i386.rpm
  ocfs2console-1.2.1-1.i386.rpm
  ocfs2-tools-debuginfo-1.2.1-1.i386.rpm
2.在两个节点的vmx中除了加入disk.locking = "false"之外﹐还增加了下面几项﹕
   diskLib.dataCacheMaxSize ="0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

SELinux disable  掉   100% success

 

3.安装oracle clusterware时,添加接点后出现the specified nodes are notclusterable的提示

解决:在安装的这个会话中执行ssh rac1 date,ssh rac2 date,ssh rac1-priv date,ssh rac2date即可,主要是让在该会话中ssh时SSH的验证不用输入"yes",即在ssh时,不用密码提示,也不用"yes"提示.

 

4.安装oracle database mount diskgroups的时候:

could not mount the diskgroup on remote node rac2 usingconnection
service rac2:1521:+ASM2.Ensure that the listener is running onthis
node and the ASM instance is registered to the listener.receivedthe
following error:
ora-15110:no diskgroups mounted
这个时候一个一个的mount(即:mount DG1,再mount ),不要moun all,这样会出上面的错误。

 

5.Expecting the CRS daemons to be up within 600 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSSservice is
started
 

 

原创粉丝点击