To configure SSH you need to perform the following steps on each node in the cluster.
$ cd
$HOME
$ mkdir .ssh
$ chmod 700 .ssh
$ cd .ssh$ /usr/bin/ssh-keygen -t rsa
Now accept the default location for the key fileEnter and confirm a passphrase. (you can also press enter twice).
$ /usr/bin/ssh-keygen -t dsa
Now accept the default location for the key fileEnter and confirm a passphrase. (you can also press enter twice).
$ cat *.pub > authorized_keys.
Now do the same steps on the other nodes in the cluster.When all those steps are done on the other nodes, start to copy the authorized_keys.
For example if you have 4 nodes you will have after the copy in the .ssh 4 files with the name authorized_keys.
Then on EACH node continue the configuration of SSH by doing the following:
$ cd $HOME/.ssh$ cat *.node* > authorized_keys
$ ssh node1 cat /home/oracle/.ssh/id_rsa.pub >> authorized_keys
oracle@node1’s password:
$ ssh node1 cat /home/oracle/.ssh/id_dsa.pub >> authorized_keys
To test that everything is working correct now execute the commands
$ ssh
2. Source the following commands in the session you are going to start the OUI,
$ exec /usr/bin/ssh-agent $SHELL$ /usr/bin/ssh-add
3. After resintallation proceed the new install in the path /CRS/app/crs
4. The Oracle Cluster Registry value is /dev/raw/raw3
5. The Voting Disk is /dev/raw/raw1
6. Edit /etc/init.d/init.crs to make the following changes,
chown oracle:dba /dev/raw/raw1
chown root:dba /dev/raw/raw3
chmod 644 /dev/raw/*
7. Check the crsctl status using,
$ ps -ef grep CRS
$ $CRS_HOME/bin/crsctl check crs
8. Private connect - 192.168.xx.xx
9. Public Connect - 10.80.xx.xx
No comments:
Post a Comment