WEB开发网
开发学院数据库Oracle Oracle 10g RAC 的部署 阅读

Oracle 10g RAC 的部署

 2008-09-02 12:49:06 来源:WEB开发网   
核心提示: (2)第二步将每个主机上的公共密钥文件id_rsa.pub和id_dsa.pub的内容复制到其他每个主机的~/.ssh/authorized_keys文件中在第一个节点,以oracle用户身份登录:$cat~/.ssh/id_rsa.pub>>~/.ssh/authorized

(2)第二步将每个主机上的公共密钥文件id_rsa.pub和id_dsa.pub的内容复制到其他每个主机的~/.ssh/authorized_keys文件中

在第一个节点,以oracle用户身份登录:

$cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys 
  $cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys//本地的共享密钥 
  $sshoracle@ds2cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys//另外节点的共享密钥is_rsa.pub 
  Theauthenticityofhost’ds2(192.168.200.52)’can’tbeestablished. 
  RSAkeyfingerprintisd1:23:a7:df:c5:fc:4e:10:d2:83:60:49:25:e8:eb:11. 
  Areyousureyouwanttocontinueconnecting(yes/no)?yes 
  Warning:Permanentlyadded’ds2,192.168.200.52’(RSA)tothelistofknownhosts. 
  oracle@ds2’spassword: 
  $sshoracle@ds2cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys//另外节点的共享密钥is_dsa.pub 
  oracle@ds2’spassword: 
  $chmod644~/.ssh/authorized_keys//改变权限

现在对其余节点做同样的处理。请注意,这次SSH会提示您输入在创建密钥时所使用的口令短语而非oracle的口令。这是因为第一个主机(ds1)现在知道了第二个主机的公共密钥

$cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys 
  $cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys 
  $sshoracle@ds1cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys 
  Theauthenticityofhost’ds1(192.168.200.51)’can’tbeestablished. 
  RSAkeyfingerprintisbd:0e:39:2a:23:2d:ca:f9:ea:71:f5:3d:d3:dd:3b:65. 
  Areyousureyouwanttocontinueconnecting(yes/no)?yes 
  Warning:Permanentlyadded’ds1,192.168.200.51’(RSA)tothelistofknownhosts. 
  Enterpassphraseforkey’/home/oracle/.ssh/id_rsa’: 
  $sshoracle@ds1cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys 
  Enterpassphraseforkey’/home/oracle/.ssh/id_rsa’: 
  $chmod644~/.ssh/authorized_keys

上一页  1 2 3 4 5 6 7 8 9 10  下一页

Tags:Oracle RAC 部署

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接