Oracle 11g R2 RAC 增加节点详解(一)
来源:互联网 发布:消防工程师教材淘宝 编辑:程序博客网 时间:2024/05/23 19:20
最近想给自己的RAC系统扩充一个节点,官网上看很简单,下面是官网地址:
http://docs.oracle.com/cd/E11882_01/rac.112/e41959/adddelclusterware.htm#CWADD90989
首先是硬件环境介绍,如下是本次实验的环境情况
服务器环境
序号
名称
版本
1
Oracle Linux
Enterprise-R6-U8-Server-x86_64
2
Grid Insfrastructure
112040_Linux-x86-64
3
Oracle 11g
112040_Linux-x86-64
以下是我的网络配置,本次没有用到DNS服务器,均在/etc/hosts 文件中写死了配置,所以cluster01-scan只有一组,建议实际配置为三组
网络配置
主机名称
网卡名称
地址类型
IP地址
备注
域
host01
eth0
公网
10.0.1.101
example.com
eth1
私网
192.168.56.101
host01-priv
无
vip
虚拟网卡
10.0.1.105
host01-vip
host02
eth0
公网
10.0.1.102
example.com
eth1
私网
192.168.56.102
host02-priv
无
vip
虚拟网卡
10.0.1.106
host02-vip
host03
eth0
公网
10.0.1.103
新增
example.com
eth1
私网
192.168.56.103
host03-priv
vip
虚拟网卡
10.0.1.107
host03-vip
cluster01-scan
虚拟地址
公网
10.0.1.201
scan地址
以下是每一台主机的/etc/hosts,保证新增的主机/etc/hosts文件和其他两台一致,开始的时候ORACLE_HOME=/u01/app/11.2.0/grid
[grid@host01 bin]$ cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain610.0.1.101host01.example.comhost0110.0.1.102host02.example.comhost0210.0.1.103host03.example.comhost03192.168.56.101host01-priv192.168.56.102host02-priv192.168.56.103host03-priv10.0.1.105host01-vip10.0.1.106host02-vip10.0.1.107host03-vip10.0.1.201cluster01-scan.example.comcluster01-scan#10.0.1.202 cluster01-scan.example.comcluster01-scan#10.0.1.203 cluster01-scan.example.comcluster01-scan以上是环境的准备工作,第三台服务器host03的搭建过程,这里略过,但是有点要注意的是防火墙一定要关闭
[root@host03 ~]# service iptables stop[root@host03 ~]# chkconfig iptables off如果不关闭可能在安装的时候报PRVF-7617的错误
1、在host01执行并生成校验准备命令
[grid@host01 bin]$ cluvfy stage -pre nodeadd -n host03 -fixupPerforming pre-checks for node addition Checking node reachability...Node reachability check passed from node "host01"Checking user equivalence...User equivalence check passed for user "grid"Checking CRS integrity...Clusterware version consistency passedCRS integrity check passedChecking shared resources...Checking CRS home location..."/u01/app/11.2.0/grid" is sharedShared resources check for node addition passedChecking node connectivity...Checking hosts config file...Verification of the hosts config file successfulCheck: Node connectivity for interface "eth0"Node connectivity passed for interface "eth0"TCP connectivity check passed for subnet "10.0.1.0"Check: Node connectivity for interface "eth1"Node connectivity passed for interface "eth1"TCP connectivity check passed for subnet "192.168.56.0"Checking subnet mask consistency...Subnet mask consistency check passed for subnet "10.0.1.0".Subnet mask consistency check passed for subnet "192.168.56.0".Subnet mask consistency check passed.Node connectivity check passedChecking multicast communication...Checking subnet "10.0.1.0" for multicast communication with multicast group "230.0.1.0"...Check of subnet "10.0.1.0" for multicast communication with multicast group "230.0.1.0" passed.Checking subnet "192.168.56.0" for multicast communication with multicast group "230.0.1.0"...Check of subnet "192.168.56.0" for multicast communication with multicast group "230.0.1.0" passed.Check of multicast communication passed.Total memory check passedAvailable memory check passedSwap space check passedFree disk space check passed for "host03:/u01/app/11.2.0/grid,host03:/tmp"Free disk space check passed for "host01:/u01/app/11.2.0/grid,host01:/tmp"Check for multiple users with UID value 501 passed User existence check passed for "grid"Run level check passedHard limits check passed for "maximum open file descriptors"Soft limits check passed for "maximum open file descriptors"Hard limits check passed for "maximum user processes"Soft limits check passed for "maximum user processes"System architecture check passedWARNING: PRVF-7524 : Kernel version is not consistent across all the nodes. Kernel version = "4.1.12-94.2.1.el6uek.x86_64" found on nodes: host01.Kernel version = "4.1.12-94.3.4.el6uek.x86_64" found on nodes: host03.Kernel version check passedKernel parameter check passed for "semmsl"Kernel parameter check passed for "semmns"Kernel parameter check passed for "semopm"Kernel parameter check passed for "semmni"Kernel parameter check passed for "shmmax"Kernel parameter check passed for "shmmni"Kernel parameter check passed for "shmall"Kernel parameter check passed for "file-max"Kernel parameter check passed for "ip_local_port_range"Kernel parameter check passed for "rmem_default"Kernel parameter check passed for "rmem_max"Kernel parameter check passed for "wmem_default"Kernel parameter check passed for "wmem_max"Kernel parameter check passed for "aio-max-nr"Package existence check passed for "binutils"Package existence check passed for "compat-libcap1"Package existence check passed for "compat-libstdc++-33(x86_64)"Package existence check passed for "libgcc(x86_64)"Package existence check passed for "libstdc++(x86_64)"Package existence check passed for "libstdc++-devel(x86_64)"Package existence check passed for "sysstat"Package existence check passed for "gcc"Package existence check passed for "gcc-c++"Package existence check passed for "ksh"Package existence check passed for "make"Package existence check passed for "glibc(x86_64)"Package existence check passed for "glibc-devel(x86_64)"Package existence check passed for "libaio(x86_64)"Package existence check passed for "libaio-devel(x86_64)"Check for multiple users with UID value 0 passed Current group ID check passedStarting check for consistency of primary group of root userCheck for consistency of root user's primary group passedChecking OCR integrity...OCR integrity check passedChecking Oracle Cluster Voting Disk configuration...Oracle Cluster Voting Disk configuration check passedTime zone consistency check passedStarting Clock synchronization checks using Network Time Protocol(NTP)...NTP Configuration file check started...No NTP Daemons or Services were found to be runningClock synchronization check using Network Time Protocol(NTP) passedUser "grid" is not part of "root" group. Check passedChecking consistency of file "/etc/resolv.conf" across nodesFile "/etc/resolv.conf" does not have both domain and search entries defineddomain entry in file "/etc/resolv.conf" is consistent across nodessearch entry in file "/etc/resolv.conf" is consistent across nodesAll nodes have one search entry defined in file "/etc/resolv.conf"PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: host01,host03File "/etc/resolv.conf" is not consistent across nodesChecking integrity of name service switch configuration file "/etc/nsswitch.conf" ...Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passedFixup information has been generated for following node(s):host03Please run the following script on each node as "root" user to execute the fixups:'/tmp/CVU_11.2.0.4.0_grid/runfixup.sh'Pre-check for node addition was unsuccessful on all the nodes.注意看已经生成了自动修复脚本,在host03上用root身份运行/tmp/CVU_11.2.0.4.0_grid/runfixup.sh会自动修复一些内核参数的失败项。
在以上过程中一般会有PRVF-4007的错误发生,此时应该进行SSH等效性配置
在host03 作如下操作,host01和host02由于已经有ssh的等效性,所以记得最后把authorized_keys文件拷贝到host01和host02,记得用grid用户
[grid@host03 ~]$mkdir /home/oracle/.ssh[grid@host03 ~]$cd /home/oracle/.ssh[grid@host03 ~]$ssh-keygen -t rsa[grid@host03 ~]$scp grid@host01:/home/oracle/.ssh/authorized_keys /home/oracle/.ssh/[grid@host03 ~]$cat id_rsa.pub >> authorized_keys[grid@host03 ~]$scp authorized_keys grid@host01:/home/oracle/.ssh/authorized_keys[grid@host03 ~]$scp authorized_keys grid@host02:/home/oracle/.ssh/authorized_keys[grid@host03 ~]$ ssh host01 dateFri May 19 09:59:38 CST 2017以上步骤在oracle用户最好也做一遍,后面要创建实例也是需要的。SSH校验时偶尔会出现以下错误
Agent admitted failure to sign using the key此时需要在报错的节点执行如下命令即可解决,注意哪个用户报的错,就用哪个用户执行,我之前host01上grid用户出现的命令如下
[grid@host03 ~]$ssh-add ~/.ssh/id_rsa
接下来在host01执行如下操作,以上检查部分报错可以忽略,如/etc/resolv.conf报错,我没有用DNS所以忽略。DNS服务器超时也可以忽略。此时要先导入ignore_preaddnode_checks环境变量,否则后面的命令无法安装
[grid@host01 ~]$ export IGNORE_PREADDNODE_CHECKS=Y[grid@host01 ~]$ $ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES={host03}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={host03-vip}"bash: ./addNode.sh: No such file or directory[grid@host01 ~]$ cd /u01/app/11.2.0/grid/oui/bin/[grid@host01 bin]$ ./addNode.sh "CLUSTER_NEW_NODES={host03}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={host03-vip}"Starting Oracle Universal Installer...Checking swap space: must be greater than 500 MB. Actual 3932 MB PassedOracle Universal Installer, Version 11.2.0.4.0 ProductionCopyright (C) 1999, 2013, Oracle. All rights reserved.Performing tests to see whether nodes host02,host03 are available............................................................... 100% Done..-----------------------------------------------------------------------------Cluster Node Addition SummaryGlobal Settings Source: /u01/app/11.2.0/grid New NodesSpace Requirements New Nodes host03 /: Required 5.07GB : Available 27.84GBInstalled Products Product Names Oracle Grid Infrastructure 11g 11.2.0.4.0 Java Development Kit 1.5.0.51.10 Installer SDK Component 11.2.0.4.0 Oracle One-Off Patch Installer 11.2.0.3.4 Oracle Universal Installer 11.2.0.4.0 Oracle RAC Required Support Files-HAS 11.2.0.4.0 Oracle USM Deconfiguration 11.2.0.4.0 Oracle Configuration Manager Deconfiguration 10.3.1.0.0 Enterprise Manager Common Core Files 10.2.0.4.5 Oracle DBCA Deconfiguration 11.2.0.4.0 Oracle RAC Deconfiguration 11.2.0.4.0 Oracle Quality of Service Management (Server) 11.2.0.4.0 Installation Plugin Files 11.2.0.4.0 Universal Storage Manager Files 11.2.0.4.0 Oracle Text Required Support Files 11.2.0.4.0 Automatic Storage Management Assistant 11.2.0.4.0 Oracle Database 11g Multimedia Files 11.2.0.4.0 Oracle Multimedia Java Advanced Imaging 11.2.0.4.0 Oracle Globalization Support 11.2.0.4.0 Oracle Multimedia Locator RDBMS Files 11.2.0.4.0 Oracle Core Required Support Files 11.2.0.4.0 Bali Share 1.1.18.0.0 Oracle Database Deconfiguration 11.2.0.4.0 Oracle Quality of Service Management (Client) 11.2.0.4.0 Expat libraries 2.0.1.0.1 Oracle Containers for Java 11.2.0.4.0 Perl Modules 5.10.0.0.1 Secure Socket Layer 11.2.0.4.0 Oracle JDBC/OCI Instant Client 11.2.0.4.0 Oracle Multimedia Client Option 11.2.0.4.0 LDAP Required Support Files 11.2.0.4.0 Character Set Migration Utility 11.2.0.4.0 Perl Interpreter 5.10.0.0.2 PL/SQL Embedded Gateway 11.2.0.4.0 OLAP SQL Scripts 11.2.0.4.0 Database SQL Scripts 11.2.0.4.0 Oracle Extended Windowing Toolkit 3.4.47.0.0 SSL Required Support Files for InstantClient 11.2.0.4.0 SQL*Plus Files for Instant Client 11.2.0.4.0 Oracle Net Required Support Files 11.2.0.4.0 Oracle Database User Interface 2.2.13.0.0 RDBMS Required Support Files for Instant Client 11.2.0.4.0 RDBMS Required Support Files Runtime 11.2.0.4.0 XML Parser for Java 11.2.0.4.0 Oracle Security Developer Tools 11.2.0.4.0 Oracle Wallet Manager 11.2.0.4.0 Enterprise Manager plugin Common Files 11.2.0.4.0 Platform Required Support Files 11.2.0.4.0 Oracle JFC Extended Windowing Toolkit 4.2.36.0.0 RDBMS Required Support Files 11.2.0.4.0 Oracle Ice Browser 5.2.3.6.0 Oracle Help For Java 4.2.9.0.0 Enterprise Manager Common Files 10.2.0.4.5 Deinstallation Tool 11.2.0.4.0 Oracle Java Client 11.2.0.4.0 Cluster Verification Utility Files 11.2.0.4.0 Oracle Notification Service (eONS) 11.2.0.4.0 Oracle LDAP administration 11.2.0.4.0 Cluster Verification Utility Common Files 11.2.0.4.0 Oracle Clusterware RDBMS Files 11.2.0.4.0 Oracle Locale Builder 11.2.0.4.0 Oracle Globalization Support 11.2.0.4.0 Buildtools Common Files 11.2.0.4.0 HAS Common Files 11.2.0.4.0 SQL*Plus Required Support Files 11.2.0.4.0 XDK Required Support Files 11.2.0.4.0 Agent Required Support Files 10.2.0.4.5 Parser Generator Required Support Files 11.2.0.4.0 Precompiler Required Support Files 11.2.0.4.0 Installation Common Files 11.2.0.4.0 Required Support Files 11.2.0.4.0 Oracle JDBC/THIN Interfaces 11.2.0.4.0 Oracle Multimedia Locator 11.2.0.4.0 Oracle Multimedia 11.2.0.4.0 Assistant Common Files 11.2.0.4.0 Oracle Net 11.2.0.4.0 PL/SQL 11.2.0.4.0 HAS Files for DB 11.2.0.4.0 Oracle Recovery Manager 11.2.0.4.0 Oracle Database Utilities 11.2.0.4.0 Oracle Notification Service 11.2.0.3.0 SQL*Plus 11.2.0.4.0 Oracle Netca Client 11.2.0.4.0 Oracle Advanced Security 11.2.0.4.0 Oracle JVM 11.2.0.4.0 Oracle Internet Directory Client 11.2.0.4.0 Oracle Net Listener 11.2.0.4.0 Cluster Ready Services Files 11.2.0.4.0 Oracle Database 11g 11.2.0.4.0 -----------------------------------------------------------------------------Instantiating scripts for add node (Friday, May 19, 2017 9:05:44 AM CST). 1% Done.Instantiation of add node scripts completeCopying to remote nodes (Friday, May 19, 2017 9:05:48 AM CST)............................................................................................... 96% Done.Home copied to new nodesSaving inventory on nodes (Friday, May 19, 2017 9:09:06 AM CST). 100% Done.Save inventory completeWARNING:A new inventory has been created on one or more nodes in this session. However, it has not yet been registered as the central inventory of this system. To register the new inventory please run the script at '/u01/app/oraInventory/orainstRoot.sh' with root privileges on nodes 'host03'.If you do not register the inventory, you may not be able to update or patch the products you installed.The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes./u01/app/oraInventory/orainstRoot.sh #On nodes host03/u01/app/11.2.0/grid/root.sh #On nodes host03To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts in each cluster node The Cluster Node Addition of /u01/app/11.2.0/grid was successful.Please check '/tmp/silentInstall.log' for more details.在host03上执行脚本
[root@host03 ~]# /u01/app/oraInventory/orainstRoot.shCreating the Oracle inventory pointer file (/etc/oraInst.loc)Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.[root@host03 ~]# /u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/gridEnter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulAdding Clusterware entries to upstartCRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node host01, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterclscfg: EXISTING configuration version 5 detected.clscfg: version 5 is 11g Release 2.Successfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.Preparing packages for installation...cvuqdisk-1.0.9-1Configure Oracle Grid Infrastructure for a Cluster ... succeeded配置成功,检查节点是否正常添加到GI,在任意一台主机上执行,查看后台进程是否正常
[grid@host01 bin]$ crs_stat -tName Type Target State Host ------------------------------------------------------------ora.DATA.dg ora....up.type ONLINE ONLINE host01 ora.FRA.dg ora....up.type ONLINE ONLINE host01 ora....ER.lsnr ora....er.type ONLINE ONLINE host01 ora....N1.lsnr ora....er.type ONLINE ONLINE host02 ora....N2.lsnr ora....er.type ONLINE ONLINE host03 ora....N3.lsnr ora....er.type ONLINE ONLINE host01 ora.asm ora.asm.type ONLINE ONLINE host01 ora.cvu ora.cvu.type ONLINE ONLINE host01 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....SM1.asm application ONLINE ONLINE host01 ora....01.lsnr application ONLINE ONLINE host01 ora.host01.gsd application OFFLINE OFFLINE ora.host01.ons application ONLINE ONLINE host01 ora.host01.vip ora....t1.type ONLINE ONLINE host01 ora....SM2.asm application ONLINE ONLINE host02 ora....02.lsnr application ONLINE ONLINE host02 ora.host02.gsd application OFFLINE OFFLINE ora.host02.ons application ONLINE ONLINE host02 ora.host02.vip ora....t1.type ONLINE ONLINE host02 ora....SM3.asm application ONLINE ONLINE host03 ora....03.lsnr application ONLINE ONLINE host03 ora.host03.gsd application OFFLINE OFFLINE ora.host03.ons application ONLINE ONLINE host03 ora.host03.vip ora....t1.type ONLINE ONLINE host03 ora....network ora....rk.type ONLINE ONLINE host01 ora.oc4j ora.oc4j.type ONLINE ONLINE host01 ora.ons ora.ons.type ONLINE ONLINE host01 ora.racdb.db ora....se.type OFFLINE OFFLINE ora.scan1.vip ora....ip.type ONLINE ONLINE host02 ora.scan2.vip ora....ip.type ONLINE ONLINE host03 ora.scan3.vip ora....ip.type ONLINE ONLINE host01如上则正常添加,在这里有时候会因为网络原因导致配置host03所有步骤均对 但是host03最后只是把软件安装成功,进程却无法注册的现象,注意多检查预先检查时的报错,确保网络配置成功。
以上就成功把GI推送安装到了host03主机,接下来就是安装oracle软件到host03,以下操作使用的oracle ,ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
首先在host03的oracle用户配置三台机器的ssh互信,配制方法见上面的grid用户配置方法
然后在host01 下进行如下操作
[oracle@host01 .ssh]$ $ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES={host03}"Performing pre-checks for node addition Checking node reachability...Node reachability check passed from node "host01"Checking user equivalence...User equivalence check passed for user "oracle"WARNING: Node "host03" already appears to be part of clusterPre-check for node addition was successful. Starting Oracle Universal Installer...Checking swap space: must be greater than 500 MB. Actual 3342 MB PassedOracle Universal Installer, Version 11.2.0.4.0 ProductionCopyright (C) 1999, 2013, Oracle. All rights reserved.Performing tests to see whether nodes host02,host03 are available............................................................... 100% Done..-----------------------------------------------------------------------------Cluster Node Addition SummaryGlobal Settings Source: /u01/app/oracle/product/11.2.0/dbhome_1 New NodesSpace Requirements New Nodes host03 /: Required 4.29GB : Available 23.93GBInstalled Products Product Names Oracle Database 11g 11.2.0.4.0 Java Development Kit 1.5.0.51.10 Installer SDK Component 11.2.0.4.0 Oracle One-Off Patch Installer 11.2.0.3.4 Oracle Universal Installer 11.2.0.4.0 Oracle USM Deconfiguration 11.2.0.4.0 Oracle Configuration Manager Deconfiguration 10.3.1.0.0 Oracle DBCA Deconfiguration 11.2.0.4.0 Oracle RAC Deconfiguration 11.2.0.4.0 Oracle Database Deconfiguration 11.2.0.4.0 Oracle Configuration Manager Client 10.3.2.1.0 Oracle Configuration Manager 10.3.8.1.0 Oracle ODBC Driverfor Instant Client 11.2.0.4.0 LDAP Required Support Files 11.2.0.4.0 SSL Required Support Files for InstantClient 11.2.0.4.0 Bali Share 1.1.18.0.0 Oracle Extended Windowing Toolkit 3.4.47.0.0 Oracle JFC Extended Windowing Toolkit 4.2.36.0.0 Oracle Real Application Testing 11.2.0.4.0 Oracle Database Vault J2EE Application 11.2.0.4.0 Oracle Label Security 11.2.0.4.0 Oracle Data Mining RDBMS Files 11.2.0.4.0 Oracle OLAP RDBMS Files 11.2.0.4.0 Oracle OLAP API 11.2.0.4.0 Platform Required Support Files 11.2.0.4.0 Oracle Database Vault option 11.2.0.4.0 Oracle RAC Required Support Files-HAS 11.2.0.4.0 SQL*Plus Required Support Files 11.2.0.4.0 Oracle Display Fonts 9.0.2.0.0 Oracle Ice Browser 5.2.3.6.0 Oracle JDBC Server Support Package 11.2.0.4.0 Oracle SQL Developer 11.2.0.4.0 Oracle Application Express 11.2.0.4.0 XDK Required Support Files 11.2.0.4.0 RDBMS Required Support Files for Instant Client 11.2.0.4.0 SQLJ Runtime 11.2.0.4.0 Database Workspace Manager 11.2.0.4.0 RDBMS Required Support Files Runtime 11.2.0.4.0 Oracle Globalization Support 11.2.0.4.0 Exadata Storage Server 11.2.0.1.0 Provisioning Advisor Framework 10.2.0.4.3 Enterprise Manager Database Plugin -- Repository Support 11.2.0.4.0 Enterprise Manager Repository Core Files 10.2.0.4.5 Enterprise Manager Database Plugin -- Agent Support 11.2.0.4.0 Enterprise Manager Grid Control Core Files 10.2.0.4.5 Enterprise Manager Common Core Files 10.2.0.4.5 Enterprise Manager Agent Core Files 10.2.0.4.5 RDBMS Required Support Files 11.2.0.4.0 regexp 2.1.9.0.0 Agent Required Support Files 10.2.0.4.5 Oracle 11g Warehouse Builder Required Files 11.2.0.4.0 Oracle Notification Service (eONS) 11.2.0.4.0 Oracle Text Required Support Files 11.2.0.4.0 Parser Generator Required Support Files 11.2.0.4.0 Oracle Database 11g Multimedia Files 11.2.0.4.0 Oracle Multimedia Java Advanced Imaging 11.2.0.4.0 Oracle Multimedia Annotator 11.2.0.4.0 Oracle JDBC/OCI Instant Client 11.2.0.4.0 Oracle Multimedia Locator RDBMS Files 11.2.0.4.0 Precompiler Required Support Files 11.2.0.4.0 Oracle Core Required Support Files 11.2.0.4.0 Sample Schema Data 11.2.0.4.0 Oracle Starter Database 11.2.0.4.0 Oracle Message Gateway Common Files 11.2.0.4.0 Oracle XML Query 11.2.0.4.0 XML Parser for Oracle JVM 11.2.0.4.0 Oracle Help For Java 4.2.9.0.0 Installation Plugin Files 11.2.0.4.0 Enterprise Manager Common Files 10.2.0.4.5 Expat libraries 2.0.1.0.1 Deinstallation Tool 11.2.0.4.0 Oracle Quality of Service Management (Client) 11.2.0.4.0 Perl Modules 5.10.0.0.1 JAccelerator (COMPANION) 11.2.0.4.0 Oracle Containers for Java 11.2.0.4.0 Perl Interpreter 5.10.0.0.2 Oracle Net Required Support Files 11.2.0.4.0 Secure Socket Layer 11.2.0.4.0 Oracle Universal Connection Pool 11.2.0.4.0 Oracle JDBC/THIN Interfaces 11.2.0.4.0 Oracle Multimedia Client Option 11.2.0.4.0 Oracle Java Client 11.2.0.4.0 Character Set Migration Utility 11.2.0.4.0 Oracle Code Editor 1.2.1.0.0I PL/SQL Embedded Gateway 11.2.0.4.0 OLAP SQL Scripts 11.2.0.4.0 Database SQL Scripts 11.2.0.4.0 Oracle Locale Builder 11.2.0.4.0 Oracle Globalization Support 11.2.0.4.0 SQL*Plus Files for Instant Client 11.2.0.4.0 Required Support Files 11.2.0.4.0 Oracle Database User Interface 2.2.13.0.0 Oracle ODBC Driver 11.2.0.4.0 Oracle Notification Service 11.2.0.3.0 XML Parser for Java 11.2.0.4.0 Oracle Security Developer Tools 11.2.0.4.0 Oracle Wallet Manager 11.2.0.4.0 Cluster Verification Utility Common Files 11.2.0.4.0 Oracle Clusterware RDBMS Files 11.2.0.4.0 Oracle UIX 2.2.24.6.0 Enterprise Manager plugin Common Files 11.2.0.4.0 HAS Common Files 11.2.0.4.0 Precompiler Common Files 11.2.0.4.0 Installation Common Files 11.2.0.4.0 Oracle Help for the Web 2.0.14.0.0 Oracle LDAP administration 11.2.0.4.0 Buildtools Common Files 11.2.0.4.0 Assistant Common Files 11.2.0.4.0 Oracle Recovery Manager 11.2.0.4.0 PL/SQL 11.2.0.4.0 Generic Connectivity Common Files 11.2.0.4.0 Oracle Database Gateway for ODBC 11.2.0.4.0 Oracle Programmer 11.2.0.4.0 Oracle Database Utilities 11.2.0.4.0 Enterprise Manager Agent 10.2.0.4.5 SQL*Plus 11.2.0.4.0 Oracle Netca Client 11.2.0.4.0 Oracle Multimedia Locator 11.2.0.4.0 Oracle Call Interface (OCI) 11.2.0.4.0 Oracle Multimedia 11.2.0.4.0 Oracle Net 11.2.0.4.0 Oracle XML Development Kit 11.2.0.4.0 Oracle Internet Directory Client 11.2.0.4.0 Database Configuration and Upgrade Assistants 11.2.0.4.0 Oracle JVM 11.2.0.4.0 Oracle Advanced Security 11.2.0.4.0 Oracle Net Listener 11.2.0.4.0 Oracle Enterprise Manager Console DB 11.2.0.4.0 HAS Files for DB 11.2.0.4.0 Oracle Text 11.2.0.4.0 Oracle Net Services 11.2.0.4.0 Oracle Database 11g 11.2.0.4.0 Oracle OLAP 11.2.0.4.0 Oracle Spatial 11.2.0.4.0 Oracle Partitioning 11.2.0.4.0 Enterprise Edition Options 11.2.0.4.0 -----------------------------------------------------------------------------Instantiating scripts for add node (Friday, May 19, 2017 11:05:16 AM CST). 1% Done.Instantiation of add node scripts completeCopying to remote nodes (Friday, May 19, 2017 11:05:20 AM CST)............................................................................................... 96% Done.Home copied to new nodesSaving inventory on nodes (Friday, May 19, 2017 11:11:14 AM CST). 100% Done.Save inventory completeWARNING:The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes./u01/app/oracle/product/11.2.0/dbhome_1/root.sh #On nodes host03To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts in each cluster node The Cluster Node Addition of /u01/app/oracle/product/11.2.0/dbhome_1 was successful.Please check '/tmp/silentInstall.log' for more details.安装完毕后需要在host03 上执行root脚本
[root@host03 ~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_1Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite.The contents of "oraenv" have not changed. No need to overwrite.The contents of "coraenv" have not changed. No need to overwrite.Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Finished product-specific root actions.此时oracle软件安装完毕
接下来是在host01上用DBCA创建实例的过程,不做说明截图如下:
在host03 上检测racdb是否正常添加,我的host02上实例并未启动。
[oracle@host03 app]$ srvctl status database -d racdbInstance racdb1 is running on node host01Instance racdb2 is not running on node host02Instance racdb3 is running on node host03整个完整的添加过程完毕。
总结:
整个过程安装官网来可能就三步,检查,添加,完成。但是准备过程还是有很多需要注意的,首先环境的配置一定要仔细,否则会导致添加失败,有时候即使添加成功也会有各种各样的问题,所以做完一定要及时校验进程是否正常。
- Oracle 11g R2 RAC 增加节点详解(一)
- Oracle 11g R2 RAC 删除节点详解(二)
- Oracle 11G R2 RAC 添加节点
- Oracle 11G R2 RAC 添加节点
- oracle 11g RAC 增加节点
- Oracle Database 11g RAC:增加节点
- 『ORACLE』RAC增加节点(11g)
- ORACLE 11G R2 RAC+Mutilpath+RAW+ASM+Silent+AddNode+DG 完全安装详解 (一)
- Oracle 11G R2 RAC 添加节点,添加asm磁盘
- 11G R2 RAC添加删除节点
- 配置oracle 11g r2 RAC on rhel5.5 (一)
- Oracle 11g R2+RAC+ASM+redhat安装详解1
- Oracle 11g R2+RAC+ASM+redhat安装详解2
- Oracle 11g R2(11.2.0.3.0) RAC环境搭建(一)
- Oracle 11g R2+RAC+ASM+OracleLinux6.4安装详解(图)
- Oracle 11g R2+RAC+ASM+OracleLinux6.4安装详解(图)
- Oracle 11g R2+RAC+ASM+OracleLinux6.4安装详解(图)
- ORACLE 11G R2 RAC+Mutilpath+RAW+ASM+Silent+AddNode+DG 完全安装详解 (二)
- 交叉编译
- VI显示时间
- node
- 周鸿祎:很多程序员一看就知道不会创业
- 实现图片转圈的动画layer addAnimation
- Oracle 11g R2 RAC 增加节点详解(一)
- TLS协议分析 (九) 现代加密通信协议设计
- GPS/轨迹追踪、轨迹回放、围栏控制
- MYSQL数据库规范-索引
- 输入3个整数,将它们按照从小到大顺序输出
- node 回调函数
- 利用matlab怎样进行频谱分析
- jqgrid 宽度充足 出现水平滚动条
- QSharedMemory共享内存