REDHAT5.6+ORACLE11GR2 RAC+PCSERVER+DS8100儲存安裝日誌(6)

djb1008發表於2012-10-09

信任關係

Node1:

#su – grid

$mkdir .ssh

$cd .ssh

$/usr/bin/ssh-keygen –t rsa

$/usr/bin/ssh-keygen –t dsa

$ cat id_rsa.pub >>authorized_keys

$ cat id_dsa.pub >>authorized_keys

[@more@]

Node2:

#su – grid

$mkdir .ssh

Node1

$scp authorized_keys dnlgl2:/home/grid/.ssh/

Node2:

$cd /home/grid/.ssh/

$/usr/bin/ssh-keygen –t rsa

$/usr/bin/ssh-keygen –t dsa

$ cat id_rsa.pub >>authorized_keys

$ cat id_dsa.pub >>authorized_keys

$scp authorized_keys dnlgl1:/home/grid/.ssh/

Twonodes:

$ssh dnlgl1 date

$ssh dnlgl2 date

如果不提示輸入密碼就可以顯示日期,則表示ssh信任管理成功.

進行grid安裝前的檢查

本例的安裝目錄在/archivelog/dnlgl1/grid

$cd /archivelog/dnlgl1/grid

$./runcluvfy.sh stage -pre crsinst -n dnlgl1,dnlgl2 -fixup -verbose

[root@dnlgl1 dnlgl1]# ls

database lost+found p10404530_112030_Linux-x86-64_2of7.zip

grid p10404530_112030_Linux-x86-64_1of7.zip p10404530_112030_Linux-x86-64_3of7.zip

[root@dnlgl1 dnlgl1]# chown -R grid:oinstall grid

[root@dnlgl1 dnlgl1]# chmod -R 755 grid

$./runInstaller

開始GRID的安裝.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1059552/,如需轉載,請註明出處,否則將追究法律責任。

相關文章