Una vez este listo el Grid Infrastructure en el nuevo nodo es necesario añadir un nuevo Home de Oracle antes de levantar la instancia. Os dejo los pasos para poder hacerlo.
cd $ORACLE_HOME/oui/bin ./addNode.sh -silent CLUSTER_NEW_NODES={"mogubedb11n3"} /* SALIDA Performing pre-checks for node addition Checking node reachability... Node reachability check passed from node "mogubedb11n1" Checking user equivalence... User equivalence check passed for user "oracle" WARNING: Node "mogubedb11n3" already appears to be part of cluster Pre-check for node addition was successful. Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 2648 MB Passed Oracle Universal Installer, Version 11.2.0.3.0 Production Copyright (C) 1999, 2011, Oracle. All rights reserved. Performing tests to see whether nodes mogubedb11n2,mogubedb11n3 are available ............................................................... 100% Done. .. ----------------------------------------------------------------------------- Cluster Node Addition Summary Global Settings Source: /softw/app/oracle/product/11.2.0.3 New Nodes Space Requirements New Nodes mogubedb11n3 /: Required 5.00GB : Available 15.70GB 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 RDBMS Required Support Files Runtime 11.2.0.3.0 Oracle Globalization Support 11.2.0.3.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.3.0 Enterprise Manager Repository Core Files 10.2.0.4.4 Enterprise Manager Database Plugin -- Agent Support 11.2.0.3.0 Enterprise Manager Grid Control Core Files 10.2.0.4.4 Enterprise Manager Common Core Files 10.2.0.4.4 Enterprise Manager Agent Core Files 10.2.0.4.4 RDBMS Required Support Files 11.2.0.3.0 regexp 2.1.9.0.0 Agent Required Support Files 10.2.0.4.3 Oracle 11g Warehouse Builder Required Files 11.2.0.3.0 Oracle Notification Service (eONS) 11.2.0.3.0 Oracle Text Required Support Files 11.2.0.3.0 Parser Generator Required Support Files 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 Multimedia Annotator 11.2.0.3.0 Oracle JDBC/OCI Instant Client 11.2.0.3.0 Oracle Multimedia Locator RDBMS Files 11.2.0.3.0 Precompiler Required Support Files 11.2.0.3.0 Oracle Core Required Support Files 11.2.0.3.0 Sample Schema Data 11.2.0.3.0 Oracle Starter Database 11.2.0.3.0 Oracle Message Gateway Common Files 11.2.0.3.0 Oracle XML Query 11.2.0.3.0 XML Parser for Oracle JVM 11.2.0.3.0 Oracle Help For Java 4.2.9.0.0 Installation Plugin Files 11.2.0.3.0 Enterprise Manager Common Files 10.2.0.4.3 Expat libraries 2.0.1.0.1 Deinstallation Tool 11.2.0.3.0 Oracle Quality of Service Management (Client) 11.2.0.3.0 Perl Modules 5.10.0.0.1 JAccelerator (COMPANION) 11.2.0.3.0 Oracle Containers for Java 11.2.0.3.0 Perl Interpreter 5.10.0.0.2 Oracle Net Required Support Files 11.2.0.3.0 Secure Socket Layer 11.2.0.3.0 Oracle Universal Connection Pool 11.2.0.3.0 Oracle JDBC/THIN Interfaces 11.2.0.3.0 Oracle Multimedia Client Option 11.2.0.3.0 Oracle Java Client 11.2.0.3.0 Character Set Migration Utility 11.2.0.3.0 Oracle Code Editor 1.2.1.0.0I PL/SQL Embedded Gateway 11.2.0.3.0 OLAP SQL Scripts 11.2.0.3.0 Database SQL Scripts 11.2.0.3.0 Oracle Locale Builder 11.2.0.3.0 Oracle Globalization Support 11.2.0.3.0 SQL*Plus Files for Instant Client 11.2.0.3.0 Required Support Files 11.2.0.3.0 Oracle Database User Interface 2.2.13.0.0 Oracle ODBC Driver 11.2.0.3.0 Oracle Notification Service 11.2.0.3.0 XML Parser for Java 11.2.0.3.0 Oracle Security Developer Tools 11.2.0.3.0 Oracle Wallet Manager 11.2.0.3.0 Cluster Verification Utility Common Files 11.2.0.3.0 Oracle Clusterware RDBMS Files 11.2.0.3.0 Oracle UIX 2.2.24.6.0 Enterprise Manager plugin Common Files 11.2.0.3.0 HAS Common Files 11.2.0.3.0 Precompiler Common Files 11.2.0.3.0 Installation Common Files 11.2.0.3.0 Oracle Help for the Web 2.0.14.0.0 Oracle LDAP administration 11.2.0.3.0 Buildtools Common Files 11.2.0.3.0 Assistant Common Files 11.2.0.3.0 Oracle Recovery Manager 11.2.0.3.0 PL/SQL 11.2.0.3.0 Generic Connectivity Common Files 11.2.0.3.0 Oracle Database Gateway for ODBC 11.2.0.3.0 Oracle Programmer 11.2.0.3.0 Oracle Database Utilities 11.2.0.3.0 Enterprise Manager Agent 10.2.0.4.3 SQL*Plus 11.2.0.3.0 Oracle Netca Client 11.2.0.3.0 Oracle Multimedia Locator 11.2.0.3.0 Oracle Call Interface (OCI) 11.2.0.3.0 Oracle Multimedia 11.2.0.3.0 Oracle Net 11.2.0.3.0 Oracle XML Development Kit 11.2.0.3.0 Database Configuration and Upgrade Assistants 11.2.0.3.0 Oracle JVM 11.2.0.3.0 Oracle Advanced Security 11.2.0.3.0 Oracle Internet Directory Client 11.2.0.3.0 Oracle Enterprise Manager Console DB 11.2.0.3.0 HAS Files for DB 11.2.0.3.0 Oracle Net Listener 11.2.0.3.0 Oracle Text 11.2.0.3.0 Oracle Net Services 11.2.0.3.0 Oracle Database 11g 11.2.0.3.0 Oracle OLAP 11.2.0.3.0 Oracle Spatial 11.2.0.3.0 Oracle Partitioning 11.2.0.3.0 Enterprise Edition Options 11.2.0.3.0 ----------------------------------------------------------------------------- Instantiating scripts for add node (Tuesday, November 15, 2016 5:47:24 PM CET) . 1% Done. Instantiation of add node scripts complete Copying to remote nodes (Tuesday, November 15, 2016 5:47:27 PM CET) ............................................................................................... 96% Done. Home copied to new nodes Saving inventory on nodes (Tuesday, November 15, 2016 5:53:09 PM CET) . 100% Done. Save inventory complete WARNING: 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. /softw/app/oracle/product/11.2.0.3/root.sh #On nodes mogubedb11n3 To 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 /softw/app/oracle/product/11.2.0.3 was successful. Please check '/tmp/silentInstall.log' for more details. */ [root@mogubedb11n3 11.2.0.3]# /softw/app/oracle/product/11.2.0.3/root.sh [root@mogubedb11n3 11.2.0.3]# tail -100f /softw/app/oracle/product/11.2.0.3/install/root_mogubedb11n3_2016-11-15_17-56-41.log /* Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /softw/app/oracle/product/11.2.0.3 Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Finished product-specific root actions. */ -- Creamos el tablespace de UNDO para el nuevo nodo CREATE UNDO TABLESPACE "UNDOTBS3" DATAFILE SIZE 100M; -- Añadimos los parametros necesarios en el init create pfile='/tmp/initPRUEBA1.ora' from spfile; alter system set instance_number=3 scope=spfile sid='PRUEBA3'; alter system set thread=3 scope=spfile sid='PRUEBA3'; alter system set undo_tablespace='UNDOTBS3' scope=spfile sid='PRUEBA3'; -- Creamos los redos. ALTER DATABASE ADD LOGFILE THREAD 3 GROUP 5 ('+DATA','+RECO') SIZE 50M; ALTER DATABASE ADD LOGFILE THREAD 3 GROUP 6 ('+DATA','+RECO') SIZE 50M; ALTER DATABASE ENABLE PUBLIC THREAD 3 ; -- Añadimos la instancia como recurso del cluster. srvctl add instance -d PRUEBA -i PRUEBA3 -n mogubedb11n3 scp initPRUEBA1.ora mogubedb11n3:$PWD/initPRUEBA3.ora srvctl stop database -d PRUEBA srvctl start database -d PRUEBA -- Estado de los servicios /* Resource Name Resource Type Target State Node State Details ----------------------------------- ------------------ ------------ ------------ ---------------- --------------- ora.CRS.dg diskgroup ONLINE ONLINE mogubedb11n1 ora.CRS.dg diskgroup ONLINE ONLINE mogubedb11n2 ora.CRS.dg diskgroup ONLINE ONLINE mogubedb11n3 ora.DATA.dg diskgroup ONLINE ONLINE mogubedb11n1 ora.DATA.dg diskgroup ONLINE ONLINE mogubedb11n2 ora.DATA.dg diskgroup ONLINE ONLINE mogubedb11n3 ora.DATOS.dg diskgroup ONLINE ONLINE mogubedb11n1 ora.DATOS.dg diskgroup ONLINE ONLINE mogubedb11n2 ora.DATOS.dg diskgroup ONLINE ONLINE mogubedb11n3 ora.LISTENER.lsnr Listener ONLINE ONLINE mogubedb11n1 ora.LISTENER.lsnr Listener ONLINE ONLINE mogubedb11n2 ora.LISTENER.lsnr Listener ONLINE ONLINE mogubedb11n3 ora.LISTENER_SCAN1.lsnr SCAN Listener ONLINE ONLINE mogubedb11n1 ora.RECO.dg diskgroup ONLINE ONLINE mogubedb11n1 ora.RECO.dg diskgroup ONLINE ONLINE mogubedb11n2 ora.RECO.dg diskgroup ONLINE ONLINE mogubedb11n3 ora.asm ASM ONLINE ONLINE mogubedb11n1 Started ora.asm ASM ONLINE ONLINE mogubedb11n2 Started ora.asm ASM ONLINE ONLINE mogubedb11n3 Started ora.cvu cvu OFFLINE OFFLINE ora.gsd Gbl Svc Daemon OFFLINE OFFLINE ora.gsd Gbl Svc Daemon OFFLINE OFFLINE ora.gsd Gbl Svc Daemon OFFLINE OFFLINE ora.mogubedb11n1.vip Cluster VIP ONLINE ONLINE mogubedb11n1 ora.mogubedb11n2.vip Cluster VIP ONLINE ONLINE mogubedb11n2 ora.mogubedb11n3.vip Cluster VIP ONLINE ONLINE mogubedb11n3 ora.net1.network Network (VIP) ONLINE ONLINE mogubedb11n1 ora.net1.network Network (VIP) ONLINE ONLINE mogubedb11n2 ora.net1.network Network (VIP) ONLINE ONLINE mogubedb11n3 ora.oc4j OC4J ONLINE ONLINE mogubedb11n1 ora.ons Ora Notif Svc ONLINE ONLINE mogubedb11n1 ora.ons Ora Notif Svc ONLINE ONLINE mogubedb11n2 ora.ons Ora Notif Svc ONLINE ONLINE mogubedb11n3 ora.prueba.batch.svc service ONLINE ONLINE mogubedb11n1 ora.prueba.db database ONLINE ONLINE mogubedb11n1 Open ora.prueba.db database ONLINE ONLINE mogubedb11n2 Open ora.prueba.db database ONLINE ONLINE mogubedb11n3 Open ora.scan1.vip SCAN VIP ONLINE ONLINE mogubedb11n1 */
Deja un comentario