设为首页 加入收藏

TOP

Oracle RAC集群添加节点(一)
2019-03-21 00:08:22 】 浏览:640
Tags:Oracle RAC 集群 添加 节点

一,节点环境


  所有节点分发/etc/hosts,这里我添加两个节点,一个是上次删除的节点,另一个是什么都没有的节点,尝试添加


服务器介绍什么的都在这hosts文件了,大家自己琢磨下


[grid@node1 ~]$ cat /etc/hosts
127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4
::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.194 node2
192.168.0.193 node1
192.168.0.196 node3
192.168.0.183 node1vip
192.168.0.182 node2vip
192.168.0.185 node3vip
172.168.0.196 node3prv
172.168.0.194 node2prv
172.168.0.193 node1prv
192.168.0.176 dbscan
192.168.0.16 standby


二,添加节点(一)---弃用方案


  01,验证节点通信


[oracle@node1 bin]$ pwd
/oracle/app/oracle/product/11.2.0/db_1/oui/bin
[oracle@node1 bin]$ ls
addLangs.sh    detachHome.sh        filesList.sh  runConfig.sh    runSSHSetup.sh
addNode.sh    filesList.bat        lsnodes      runInstaller
attachHome.sh  filesList.properties  resource      runInstaller.sh
[oracle@node1 bin]$ ./runSSHSetup.sh -user grid -hosts "node1 node2" -advanced -noPromptPassphrase
This script will setup SSH Equivalence from the host 'node1' to specified remote hosts.


ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1
JAR_LOC = /oracle/app/oracle/product/11.2.0/db_1/oui/jlib
SSH_LOC = /oracle/app/oracle/product/11.2.0/db_1/oui/jlib
OUI_LOC = /oracle/app/oracle/product/11.2.0/db_1/oui
JAVA_HOME = /oracle/app/oracle/product/11.2.0/db_1/jdk


Checking if the remote hosts are reachable.
ClusterLogger - log file location: /oracle/app/oracle/product/11.2.0/db_1/oui/bin/Logs/remoteInterfaces2019-03-14_04-52-46-PM.log
Failed Nodes : node1 node2
Remote host reachability check succeeded.
All hosts are reachable. Proceeding further...



NOTE :
As part of the setup procedure, this script will use ssh and scp to copy
files between the local host and the remote hosts. You may be prompted for
the password during the execution of the script.
AS PER SSH REQUIREMENTS, THIS SCRIPT WILL SECURE THE USER HOME DIRECTORY
AND THE .ssh DIRECTORY BY REVOKING GROUP AND WORLD WRITE PRIVILEDGES TO THESE
directories.


Do you want to continue and let the script make the above mentioned changes (yes/no)?
yes


If The files containing the client public and private keys already exist on the local host. The current private key may or may not have a passphrase associated with it. In case you remember the passphrase and do not want to re-run ssh-keygen, type 'no'. If youtype 'yes', the script will remove the old private/public key files and, any previous SSH user setups would be reset.
Enter 'yes', 'no'
yes


Enter the password:
Logfile Location : /oracle/app/oracle/product/11.2.0/db_1/oui/bin/SSHSetup2019-03-14_04-52-54-PM
Checking binaries on remote hosts...
Doing SSHSetup...
Please be patient, this operation might take sometime...Dont press Ctrl+C...
ClusterLogger - log file location: /oracle/app/oracle/product/11.2.0/db_1/oui/bin/Logs/remoteInterfaces2019-03-14_04-52-54-PM.log
Plugin : oracle.sysman.prov.remoteinterfaces.plugins.RemoteCommandSSH found in class path
 Changing Default Plugin from  : oracle.sysman.prov.remoteinterfaces.plugins.RemoteCommandSSH to : oracle.sysman.prov.remoteinterfaces.plugins.RemoteCommandSSH



Local Platform:- Linux


------------------------------------------------------------------------
V

首页 上一页 1 2 3 4 5 6 7 下一页 尾页 1/13/13
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Oracle RAC集群删除节点 下一篇Oracle broker 详解

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目