9d:f0:f2:06:95:a2:38:d7:82:4b:ac:f5:bf:dd:f3:84 oracle@rac2 [oracle@rac2 .ssh]$ cat *pub > authorized_keys [oracle@rac2 .ssh]$ ls
authorized_keys id_dsa id_dsa.pub id_rsa id_rsa.pub key_rac2 [oracle@rac2 .ssh]$ cat key_rac2>> authorized_keys
[oracle@rac2 .ssh]$ scp authorized_keys rac1:/home/oracle/.ssh/ The authenticity of host 'rac1 (127.0.0.1)' can't be established. RSA key fingerprint is 74:25:4b:a5:c1:c9:e7:18:2d:9c:bf:db:4e:ca:16:da. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'rac1' (RSA) to the list of known hosts.
authorized_keys 100% 1992 2.0KB/s 00:00 测试用户等效性:ssh登录对方不需要输入密码(在oracle用户下) [oracle@rac1 ~]$ ssh rac2 date Sun Dec 2 18:33:12 EST 2012 [oracle@rac1 ~]$ ssh rac2-priv date Sun Dec 2 18:33:24 EST 2012 [oracle@rac2 .ssh]$ ssh rac1 date Sun Dec 2 18:33:44 EST 2012 [oracle@rac2 .ssh]$ ssh rac1-priv date Mon Dec 3 18:34:24 EST 2012
10、安装cluster集群软件
上传集群软件包:10201_clusterware_linux_x86_64.cpio.gz [oracle@rac1 ~]$ ls
10201_clusterware_linux_x86_64.cpio.gz app 解压
[oracle@rac1 ~]$ gunzip 10201_clusterware_linux_x86_64.cpio.gz [oracle@rac1 ~]$ cpio -idmv < 10201_clusterware_linux_x86_64.cpio [oracle@rac1 ~]$ ls
10201_clusterware_linux_x86_64.cpio app clusterware
赋予clusterware目录执行的权限,执行安装程序runinstaller,使用Xwin-32起图形。 [oracle@rac1 ~]$ chmod +x -R clusterware/ [oracle@rac1 ~]$ cd clusterware/
[oracle@rac1 clusterware]$ export DISPLAY=192.168.10.6:0.0 [oracle@rac1 clusterware]$ ./runInstaller
********************************************************************************
26
Please run the script rootpre.sh as root on all machines/nodes. The script can be found at the toplevel of the CD or stage-area. Once you have run the script, please type Y to proceed
Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle Clusterware installation. Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
********************************************************************************
Has 'rootpre.sh' been run by root? [y/n] (n) Y
打开欢迎界面,next开始安装
默认安装组oinstall。
27
安装目录选择环境变量里设置的/oracle/app/oracle/10g/crs_1
Next
28
如果报报物理内存或者swap低,这里不用管,选择yes 并下一步。
点击add 添加rac2信息
29
配置网卡,eth0作为public,eth1作为private,
修改后
30