使用VMware ESXi Server 5.0在OEL6.1上安裝 Oracle RAC 11gR1(7)-配置各節點的SSH
http://space.itpub.net/81227/viewspace-719245 引言
http://space.itpub.net/81227/viewspace-719246 1. 硬體要求和概述
http://space.itpub.net/81227/viewspace-719341 2. 配置第一個虛擬機器
http://space.itpub.net/81227/viewspace-719410 3. 在第一個虛擬機器上安裝 Oracle Linux 6.1
http://space.itpub.net/81227/viewspace-719476 4. 在第一個虛擬機器上配置 Oracle Linux 6.1
http://space.itpub.net/81227/viewspace-719577 5. 在第一個虛擬機器上完成安裝前系統準備
http://space.itpub.net/81227/viewspace-719677 6. 建立並配置第二個虛擬機器
使用SSH建立使用者等效性。在叢集就緒服務(CRS)和RAC安裝過程中,Oracle Universal Installer(OUI)必須能夠以oracle的身份將軟體複製到所有RAC節點,而不提示輸入口令。在Oracle 11g中,可以使用ssh代替rsh完成此操作。
要建立使用者等效性,請在兩個節點上以oracle使用者身份生成使用者的公鑰和私鑰。開啟rac1的電源,在這兩個節點上執行以下任務。
在rac1、rac2上分別執行以下命令:
rac1-> mkdir ~/.ssh
rac1-> chmod 700 ~/.ssh
rac1-> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/oracle/.ssh/id_rsa.
Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.
The key fingerprint is:
87:54:4f:92:ba:ed:7b:51:5d:1d:59:5b:f9:44:da:b6 oracle@rac1.csh1.com
rac1-> ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/oracle/.ssh/id_dsa.
Your public key has been saved in /home/oracle/.ssh/id_dsa.pub.
The key fingerprint is:
31:76:96:e6:fc:b7:25:04:fd:70:42:04:1f:fc:9a:26 oracle@rac1.csh1.com
在rac1上執行
rac1-> cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
rac1-> cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
rac1-> ssh rac2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
The authenticity of host 'rac2 (192.168.2.132)' can't be established.
RSA key fingerprint is 63:d3:52:d4:4d:e2:cb:ac:8d:4a:66:9f:f1:ab:28:1f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2,192.168.2.132' (RSA) to the list of known hosts.
oracle@rac2's password:
rac1-> ssh rac2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
oracle@rac2's password:
rac1-> scp ~/.ssh/authorized_keys rac2:~/.ssh/authorized_keys
oracle@rac2's password:
authorized_keys 100% 1716 1.7KB/s 00:00
在每個節點上測試連線。驗證當您再次執行以下命令時,系統是否不提示您輸入口令。
ssh rac1 date
ssh rac2 date
ssh rac1-priv date
ssh rac2-priv date
ssh rac1.csh1.com date
ssh rac2.csh1.com date
ssh rac1-priv.csh1.com date
ssh rac2-priv.csh1.com date
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-719974/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Windows 11.2.0.4 RAC安裝配置以及RAC新增節點Windows
- 在vmware esxi上安裝panabit實現連線管控(防火牆)的注意點防火牆
- 2節點RAC安裝
- VMware使用及CentOS 7安裝配置MXCentOS
- 【VMware ESXi】如何在獨立的ESXi主機上配置vTPM並安裝Windows 11作業系統。Windows作業系統
- Vmware linux redhat6.4 安裝11g(11.2.0.1) 雙節點RACLinuxRedhat
- centos7 安裝ORACLE 11.2.0.4.0 RACCentOSOracle
- RedHat Advance Server上安裝Oracle 9204 RAC參考手冊(轉)RedhatServerOracle
- Centos7-VMware+Centos7安裝配置CentOS
- 使用VMWare Workstation安裝ESXI(vmware vsphere client 建立虛擬機器)client虛擬機
- Oracle RAC新增節點Oracle
- CentIOS7在VMware中的安裝iOS
- Oracle 19c rac安裝,只能啟動一個節點的ASMOracleASM
- vmware 線上安裝 CentOS7CentOS
- 在 Linux 上安裝 VMware 工具Linux
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- 在Linux 上安裝 SQL ServerLinuxSQLServer
- oracle 12c RAC安裝,例項不能多節點同時啟動Oracle
- VMware ESXi安裝NVIDIA GPU顯示卡硬體驅動和配置vGPUGPU
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- oracle11g RAC新增節點Oracle
- VMware 安裝 Ubuntu Server 18.04.5 LTSUbuntuServer
- 防火牆在RAC上的配置防火牆
- 【MSSQL】在Linux上安裝SQL SERVERSQLLinuxServer
- oracle rac資料庫的安裝Oracle資料庫
- centos7安裝zabbix 5.0CentOS
- VMware 安裝 Centos 7 虛擬機器配置網路CentOS虛擬機
- 在rhel和CentOS上安裝SQL Server的方法CentOSSQLServer
- centos7上keepalived的安裝和配置CentOS
- 在Oracle Linux 7.1上安裝DockerOracleLinuxDocker
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- 在VMware已安裝的CentOS7.9上編譯安裝mysql5.6CentOS編譯MySql
- 如何安裝vmware以及如何在vmware上安裝centOS 7.0CentOS
- 如何判斷Linux系統安裝在VMware上?Linux
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- RAC主機配置ssh互信
- 給VMware上的Linux系統安裝VMware ToolsLinux
- oracle11g_RAC新增刪除節點Oracle
- Oracle 11g RAC重新新增節點Oracle