You are on page 1of 2

1) Check home directory of OWNER.

To change the home directory of user : usermod -d /cbsdb10g/ora10g orarac


2) SSH Key Authentication between two Servers:
[a]. Generate a pair of SSH keys on the client.
root@sdsaptsp2# ssh-keygen -v -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (//.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in //.ssh/id_rsa. Your public key has been sa
ved in //.ssh/id_rsa.pub.The key fingerprint is: 05:26:98:a9:1f:c3:03:d1:b1:4e:3
5:e8:9b:f7:e3:89 root@sdsaptsp2
Note: Here passphrase is set as null. You can also use passphrase and it is good
for security.
[b]. Copy the public key from the client to the server:
root@sdsaptsp2# scp /.ssh/id_rsa.pub sdsaptsp1:/var/tmp/
root@sdsaptsp1's password:
id_rsa.pub 100% 222 0.2KB/s 00:00
On the server [sdsaptsp1], append the newly obtained key to the ~/.ssh/authorize
d_keys file, which stores SSH public keys:
root@sdsaptsp1# cat /var/tmp/id_rsa.pub >> /home/unixl1/.ssh/authorized_keys
[c]. Modify the permissions of the authorized_keys file
root@sdsaptsp2# chmod 600 ~/.ssh/authorized_keys
3) Add the public,private and virtual IP's in /ect/hosts
4) Check the ssh (IP , Host-name for public and virtual IP's)
5) Link the libraries as follows :
#
#
#
#
#
#
#
#
#
#

cd
ln
ln
ln
ln
ln
ln
ln
ln
ln

/usr/lib
-s libX11.3 libX11.sl
-s libXIE.2 libXIE.sl
-s libXext.3 libXext.sl
-s libXhp11.3 libXhp11.sl
-s libXi.3 libXi.sl
-s libXm.4 libXm.sl
-s libXp.2 libXp.sl
-s libXt.3 libXt.sl
-s libXtst.2 libXtst.sl

rm /dev/async
/sbin/mknod /dev/async c 101 4
chown orarac:oinstall /dev/async
chmod 660 /dev/async
touch /etc/resolv.conf
add entries

#bankofbaroda.co.in
nameserver 172.16.4.132
nameserver 172.16.4.133

6) Run cluvy
./cluvfy stage -pre crsinst -n cbsuat001,cbsuat002 -verbose
7) Execute
ln -s /usr/bin/ssh ssh
ln -s /usr/bin/scp scp
8) Now install the clusterware.
./runInstaller

mknod
mknod
mknod
mknod
mknod
mknod

/dev/rdisk/ora_vote01
/dev/rdisk/ora_vote02
/dev/rdisk/ora_vote03
/dev/rdisk/ora_vote01
/dev/rdisk/ora_vote02
/dev/rdisk/ora_vote03

mknod
mknod
mknod
mknod

/dev/rdisk/ora_ocr01
/dev/rdisk/ora_ocr02
/dev/rdisk/ora_ocr01
/dev/rdisk/ora_ocr02

c
c
c
c
c
c

c
c
c
c

13
13
13
13
13
13

13
13
13
13

0x00004a
0x000049
0x000048
0x0000ad
0x0000ae
0x0000af

0x000043
0x000047
0x0000ab
0x0000ac

./cluvfy stage -pre dbinst -n cbsuat01,cbsuat02 -verbose

You might also like