Problém 39:
[oratest@rac2 database]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbosePerforming pre-checks for cluster services setup Checking node reachability…Check: Node reachability from node “rac2” Destination Node Reachable? ———————————— ———————— rac1 yes rac2 yes Result: Node reachability check passed from node “rac2”.Checking user equivalence…
Check: User equivalence for user “oratest” Node Name Comment ———————————— ———————— rac1 passed rac2 failed Result: User equivalence check failed for user “oratest”.Oracle Error : PRKC-1031: Error checking free space for {0} on {1}Cause: Might be due to a network issue or to an improper user equivalence setup.Action: Check node reachability between the local and the remote nodes and make sure that user equivalence is correctly configured.
Řešení:
Node1:
[oratest@rac2 ~]$ mkdir ~/.ssh[oratest@rac2 ~]$ chmod 700 ~/.ssh[oratest@rac2 ~]$ /usr/bin/ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/oratest/.ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/oratest/.ssh/id_rsa.Your public key has been saved in /home/oratest/.ssh/id_rsa.pub.The key fingerprint is:e0:15:aa:98:90:d5:5c:2e:c2:b4:af:8e:07:21:2e:42 oratest@rac2[oratest@rac2 .ssh]$ cat id_rsa.pub >> authorized_keys[oratest@rac2 .ssh]$ scp authorized_keys rac1:/home/oratest/.ssh/The authenticity of host ‘rac1 (172.18.195.19)’ can’t be established.RSA key fingerprint is 43:ad:99:6d:11:22:95:c8:d5:ea:25:ad:64:ff:cb:65.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added ‘rac1,172.18.195.19’ (RSA) to the list of known hosts.oratest@rac1’s password:authorized_keys 100% 398 0.4KB/s 00:00
Node2:
[oratest@rac1 ~]$ mkdir ~/.ssh[oratest@rac1 ~]$ chmod 700 ~/.ssh[oratest@rac1 ~]$ /usr/bin/ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/oratest/.ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/oratest/.ssh/id_rsa.Your public key has been saved in /home/oratest/.ssh/id_rsa.pub.The key fingerprint is:c8:09:66:39:de:86:a7:6f:41:67:75:6a:96:36:58:23 oratest@rac1[oratest@rac1 .ssh]$ cat id_rsa.pub >> authorized_keys[oratest@rac1 .ssh]$ scp authorized_keys rac2:/home/oratest/.ssh/The authenticity of host ‘rac2 (172.18.195.20)’ can’t be established.RSA key fingerprint is a1:9b:e6:40:fa:fe:f8:db:b2:3f:ab:a4:e8:1a:4c:2f.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added ‘rac2,172.18.195.20’ (RSA) to the list of known hosts.oratest@rac2’s password:authorized_keys 100% 796 0.8KB/s 00:00
Node1:
[oratest@rac2 .ssh]$ ssh oratest@rac2The authenticity of host ‘rac2 (172.18.195.20)’ can’t be established.RSA key fingerprint is a1:9b:e6:40:fa:fe:f8:db:b2:3f:ab:a4:e8:1a:4c:2f.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added ‘rac2,172.18.195.20’ (RSA) to the list of known hosts.Last login: Thu Dec 2 12:28:13 2010 from rac1
Node2:
[oratest@rac1 .ssh]$ ssh oratest@rac1The authenticity of host ‘rac1 (172.18.195.19)’ can’t be established.RSA key fingerprint is 43:ad:99:6d:11:22:95:c8:d5:ea:25:ad:64:ff:cb:65.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added ‘rac1,172.18.195.19’ (RSA) to the list of known hosts.Last login: Thu Dec 2 12:27:52 2010 from rac2[oratest@rac2 database]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbosePerforming pre-checks for cluster services setup Checking node reachability…Check: Node reachability from node “rac2” Destination Node Reachable? ———————————— ———————— rac1 yes rac2 yes Result: Node reachability check passed from node “rac2”.Checking user equivalence…Check: User equivalence for user “oratest” Node Name Comment ———————————— ———————— rac1 passed rac2 passed Result: User equivalence check passed for user “oratest”.