Wednesday, October 17, 2012

User Equivalence


Node1:

mkdir -p ~/.ssh
chmod 700 ~/.ssh
/usr/bin/ssh-keygen -t rsa
/usr/bin/ssh-keygen -t dsa

Node2:

mkdir -p ~/.ssh
chmod 700 ~/.ssh
/usr/bin/ssh-keygen -t rsa
/usr/bin/ssh-keygen -t dsa

Node 1:

ssh vm11 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh vm11 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
scp /home/oracrs/.ssh/authorized_keys oracrs@vm12:~/.ssh/


Node2:
ssh vm12 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh vm12 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
scp /home/oracrs/.ssh/authorized_keys oracrs@vm11:~/.ssh/

Tuesday, October 16, 2012

Failure at final check of Oracle CRS stack.10

Issue:

root.sh is failed with below on node2

Failure at final check of Oracle CRS stack.10

Workaround:

Please verify network configuration on /etc/hosts

/u03/app/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory


Issue :
root.sh failed with below errors

Running vipca(silent) for configuring nodeapps
/u03/app/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
[root@vm12 crs]# ls

Workaround :

Modify vipca file:

vi /u03/app/crs/vipca

if [ "$arch" = "i686" -o "$arch" = "ia64" ]
then
      LD_ASSUME_KERNEL=2.4.19
      export LD_ASSUME_KERNEL
fi
unset LD_ASSUME_KERNEL
#End workaround

Modify srvctl:

vi /u03/app/crs/srvctl


./vipca
Error 0(Native: listNetInterfaces:[3])
  [Error 0(Native: listNetInterfaces:[3])]

 Workaround :

./oifcfg getif
./oifcfg setif -global eth0/192.168.0.0:public
./oifcfg setif -global eth1/192.168.1.0:cluster_interconnect
[root@vm12 bin]# ./oifcfg getif
eth0  192.168.0.0  global  public
eth1  192.168.1.0  global  cluster_interconnect