Documente Academic
Documente Profesional
Documente Cultură
PRECHECK: -
Before prechecks establish user equivalence with SSH setup between new node and the old nodes.
Perform below steps to do precheck before starting to add node.
Below 2 steps to run using runcluvfy which can be found in installation software.
cd /orasoft/stage/linux_x86_64bit/database_112030/grid
./runcluvfy.sh stage -pre crsinst -n flpd450,flpd451,flph733 -fixup –verbose
cd $ORACLE_HOME/bin
./cluvfy comp peer -refnode flpd450 -n flph733 -orainv oinstall -osdba asmdba -
verbose
check if any kernel parameter mismatch
After this create all directories on 3rd node same as node 1 or 2. Update below file with parameter as
below in both Grid as well as database home to avoid Java heap errors. This is memory parameter for
JRE.
$ORACLE_HOME/oui/oraparam.ini
JRE_MEMORY_OPTIONS=" -mx150m"
To
JRE_MEMORY_OPTIONS=" -mx2048m"
Add 3rd node to cluster using addNode.sh as below, but before proceeding export the environment
variable as below. Below command to be run from Grid user of existing cluster nodes (-flpd450)
$ export IGNORE_PREADDNODE_CHECKS=Y
$ cd $ORACLE_HOME/oui/bin
Checking swap space: must be greater than 500 MB. Actual 16383 MB Passed
Oracle Universal Installer, Version 11.2.0.3.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.
.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
Source: /opt/app/oragrid/oracle/product/11.2.0
New Nodes
Space Requirements
New Nodes
flph733
/opt/app/oragrid: Required 24.76GB : Available 47.25GB
Installed Products
Product Names
Oracle Grid Infrastructure 11.2.0.3.0
Sun JDK 1.5.0.30.03
Installer SDK Component 11.2.0.3.0
Oracle One-Off Patch Installer 11.2.0.1.7
Oracle Universal Installer 11.2.0.3.0
Oracle USM Deconfiguration 11.2.0.3.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Enterprise Manager Common Core Files 10.2.0.4.4
Oracle DBCA Deconfiguration 11.2.0.3.0
Oracle RAC Deconfiguration 11.2.0.3.0
Oracle Quality of Service Management (Server) 11.2.0.3.0
Installation Plugin Files 11.2.0.3.0
Universal Storage Manager Files 11.2.0.3.0
Oracle Text Required Support Files 11.2.0.3.0
Automatic Storage Management Assistant 11.2.0.3.0
Oracle Database 11g Multimedia Files 11.2.0.3.0
Oracle Multimedia Java Advanced Imaging 11.2.0.3.0
Oracle Globalization Support 11.2.0.3.0
Oracle Multimedia Locator RDBMS Files 11.2.0.3.0
Oracle Core Required Support Files 11.2.0.3.0
Instantiating scripts for add node (Sunday, December 20, 2015 10:16:25 PM PST)
. 1% Done.
Instantiation of add node scripts complete
As indicated above run root.sh from node being added (3rd node in our case – flph733)
$ sudo /opt/app/oragrid/oracle/product/grid/root.sh
Check /opt/app/oragrid/oracle/product/11.2.0/install/root_flph733_2015-12-20_23-31-
19.log for the output of root script
$ tail -f /opt/app/oragrid/oracle/product/11.2.0/install/root_flph733_2015-12-20_23-
31-19.log
Extend the oracle database home to node3 (flph733) as below. Run this from existing nodes (->flpd450)
$ cd $ORACLE_HOME/oui/bin
$ ./addNode.sh -silent "CLUSTER_NEW_NODES={flph733}"
WARNING:
Node "flph733" already appears to be part of cluster
Checking swap space: must be greater than 500 MB. Actual 16383 MB Passed
Oracle Universal Installer, Version 11.2.0.3.0 Production
.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
Source: /opt/app/p1cdt2d/oracle/product/11.2.0.3
New Nodes
Space Requirements
New Nodes
flph733
/opt/app/p1cdt2d: Required 4.79GB : Available 47.25GB
Installed Products
Product Names
Oracle Database 11g 11.2.0.3.0
Sun JDK 1.5.0.30.03
Installer SDK Component 11.2.0.3.0
Oracle One-Off Patch Installer 11.2.0.1.7
Oracle Universal Installer 11.2.0.3.0
Oracle USM Deconfiguration 11.2.0.3.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle DBCA Deconfiguration 11.2.0.3.0
Oracle RAC Deconfiguration 11.2.0.3.0
Oracle Database Deconfiguration 11.2.0.3.0
Oracle Configuration Manager Client 10.3.2.1.0
Oracle Configuration Manager 10.3.5.0.1
Oracle ODBC Driverfor Instant Client 11.2.0.3.0
LDAP Required Support Files 11.2.0.3.0
SSL Required Support Files for InstantClient 11.2.0.3.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.3.0
Oracle Database Vault J2EE Application 11.2.0.3.0
Oracle Label Security 11.2.0.3.0
Oracle Data Mining RDBMS Files 11.2.0.3.0
Oracle OLAP RDBMS Files 11.2.0.3.0
Oracle OLAP API 11.2.0.3.0
Platform Required Support Files 11.2.0.3.0
Oracle Database Vault option 11.2.0.3.0
Oracle RAC Required Support Files-HAS 11.2.0.3.0
SQL*Plus Required Support Files 11.2.0.3.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.3.0
Oracle SQL Developer 11.2.0.3.0
Oracle Application Express 11.2.0.3.0
XDK Required Support Files 11.2.0.3.0
RDBMS Required Support Files for Instant Client 11.2.0.3.0
SQLJ Runtime 11.2.0.3.0
Database Workspace Manager 11.2.0.3.0
Instantiating scripts for add node (Sunday, December 20, 2015 11:49:47 PM PST)
. 1% Done.
Instantiation of add node scripts complete
Ask SA to run root.sh from $ORACLE_HOME of database on newly added node (->flph733)
$ORACLE_HOME/install
$ cat root_flph733_2015-12-20_23-58-15.log
As our database is administrator managed please add instance using dbca as below (from user p1cdt2d)
from node1 flpd450
There are 2 methods for the same (silent & using GUI)
Silent method will use command as below (not sure in this case if we will need to add UNDOTBS3
tablespace & redo logs manually
$ cd $ORACLE_HOME/bin
$ ./dbca
Welcome: - Select Oracle Real Application Clusters (RAC) database as the database type that you would
like to create or administer.
Instance naming and node selection: - Verify the instance name (p1cdt2d3) to be added and the node
(flph733) on which to add the instance.
Instance Storage: - Verify the storage configuration. (you can view undotbs3 & its datafile & redo
logfiles being added