急!急!急!

[复制链接]
查看11 | 回复8 | 2019-7-13 22:29:26 | 显示全部楼层 |阅读模式
我是新手,第一次装oracle 11g r2 grid ,下面是我遇到的问题,请大家指点下。
我安装的操作系统是 Windows2008


无标题.png (212.17 KB, 下载次数: 12)
下载附件
2011-12-31 18:07 上传



123.png (70.72 KB, 下载次数: 34)
下载附件
2011-12-31 18:09 上传


回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
具备RAC环境吗?
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
SSH没配置好
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
没有配置两个节点的互信
配置SSH
使用 SSH 建立用户等效性。在集群就绪服务 (CRS) 和 RAC 安装过程中,Oracle Universal Installer (OUI) 必须能够以 oracle 的身份将软件复制到所有 RAC 节点,而不提示输入口令。要建立用户等效性,请在两个节点上以 oracle 用户身份生成用户的公钥和私钥。
1、在这两个节点上执行以下任务

因为ORACLE 11G R2的cluster是由grid用户来安装,所以两个节点上的grid用户也要配置互信。
在RAC01上oracle用户执行
[oracle@rac01 ~]$ mkdir ~/.ssh
[oracle@rac01 ~]$ chmod 700 ~/.ssh
[oracle@rac01 ~]$ 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:
0c:45:a5:ec:e2:08:22:12:8b:0a:f3:d3:b6:1c:57:c2 oracle@rac01
[oracle@rac01 ~]$ 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:
78:9a:fe:04:ec:35:2c:62:91:9c:16:c4:ae:54:38:30 oracle@rac01
在RAC02上oracle用户执行
[oracle@rac02 ~]$ mkdir ~/.ssh
[oracle@rac02 ~]$ chmod 700 ~/.ssh
[oracle@rac02 ~]$ 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:
a1:f5:63:ea:02:b1:af:fc:ab:30:d2:fe:d4:51:ba:17 oracle@rac02
[oracle@rac02 ~]$ 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:
95:98:f3:1a:22:cf:fa:7d:09:de:6d:5f:24:8d:df:db oracle@rac02
在RAC01上oracle用户执行
[oracle@rac01 ~]$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
[oracle@rac01 ~]$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
[oracle@rac01 ~]$ ssh rac02 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
The authenticity of host 'rac02 (192.168.136.128)' can't be established.
RSA key fingerprint is 3c:a6:d6:d8:8f:31:d4:bc:87:6c:e1:23:21:ca:78:ff.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac02,192.168.136.128' (RSA) to the list of known hosts.
oracle@rac02's password:
[oracle@rac01 ~]$ ssh rac02 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
oracle@rac02's password:
[oracle@rac01 ~]$ scp ~/.ssh/authorized_keys rac02:~/.ssh/authorized_keys
oracle@rac02's password:
authorized_keys
100% 1992 2.0KB/s 00:00
2、测试两个节点间的互连

在每个节点上测试连接。验证当您再次运行以下命令时,系统是否不提示您输入口令。
ssh rac01 date
ssh rac02 date
ssh rac01-priv date
ssh rac02-priv date

回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
多节点信任机制, 在11gR2中,
通过grid的安装界面在后台自动实现,非常简易,不用特别地运行脚本。
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
一直不明白,grid 与grid control 有什么不同
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
r2 grid
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
yobyin 发表于 2012-4-2 21:44
一直不明白,grid 与grid control 有什么不同

所谓grid就是指clusterware,就是群集件。
而grid control类似于database contorl,一种EM工具,区别是database control是免费的,grid control是要花钱买的,grid control 如其名:网格管理,能管理N多套数据库系统
回复

使用道具 举报

千问 | 2019-7-13 22:29:26 | 显示全部楼层
ssh互信没有配置好。你这步的界面靠下一点的地方应该有一个按钮叫做SSH Connectivity,点那个,然后setup,不出意外就应该好了,前提是你之前系统上的网络配置没有问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行