1. 程式人生 > >oracle 11g rac2 刪除節點&新增節點

oracle 11g rac2 刪除節點&新增節點

刪除參考:

http://pandarabbit.blog.163.com/blog/static/20928414420136410848968/  

grid user------------------

rac2-> srvctl disable -l listener -n rac2
rac2-> $ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES={rac2}" -local
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 4094 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oracle/oraInventory
The Oracle home '/u01/app/11.2.0/grid' could not be updated as it does not exist.
'UpdateNodeList' failed.


rac2-> more /etc/oraInst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall
rac2-> su - oracle
Password: 
rac2-> $ORACLE_HOME/deinstall/deinstall -local
-bash: /u01/app/oracle/product/11.2.0/db_1/db10g/deinstall/deinstall: No such file or directory
rac2-> vi .bash_profile
# .bash_profile


# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi


# User specific environment and startup programs


PATH=$PATH:$HOME/bin


export PATH
export PS1="`/bin/hostname -s`-> "
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=node1.localdomain
export ORACLE_SID=d10g2
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1/db11g
#export ORA_CRS_HOME=$ORACLE_BASE/product/11.2.0/db_1/crs10g
export ORACLE_UNQNAME=db10g
export ORACLE_TERM=xterm
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH:$ORA_CRS_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export EDITOR=vi
export LANG=en_US
export NLS_LANG=american_america.AL32UTF8
export NLS_DATE_FORMAT='yyyy/mm/dd hh24:mi:ss'
umask 022
~
~
~
".bash_profile" 31L, 863C written                                                                                                  
rac2-> exit
logout
rac2-> su - oracle
Password: 
rac2-> $ORACLE_HOME/deinstall/deinstall -local
--原來我根本沒有安裝
[
[email protected]
~]# /u01/app/11.2.0/grid/   
[[email protected] ~]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Network exists: 1/192.168.2.0/255.255.255.0/eth1, type static
VIP exists: /rac1-vip/192.168.2.51/192.168.2.0/255.255.255.0/eth1, hosting node rac1
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
PRKO-2439 : VIP does not exist.


PRKO-2313 : VIP rac2 does not exist.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.DATA11G.dg' on 'rac2'
CRS-2673: Attempting to stop 'ora.DG10.dg' on 'rac2'
CRS-2677: Stop of 'ora.DG10.dg' on 'rac2' succeeded
CRS-2677: Stop of 'ora.DATA11G.dg' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac2'
CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac2'
CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'rac2'
CRS-2677: Stop of 'ora.crf' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'
CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
[
[email protected]
~]# ps -ef|grep grid
root      8516  5640  0 16:39 pts/1    00:00:00 grep grid

[[email protected] ~]# 

--rac1
rac1-> id     
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)
rac1-> $ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES={rac1}" CRS=true


Starting Oracle Universal Installer...


Checking swap space: must be greater than 500 MB.   Actual 4070 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
rac1-> 

&&&&&&&&&&

rac1-> $ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES={rac2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac2-vip}"

Performing pre-checks for node addition 
Checking node reachability...
Node reachability check passed from node "rac1"


Checking user equivalence...
User equivalence check passed for user "grid"

WARNING: 
Node "rac2" 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 4038 MB    Passed
Oracle Universal Installer, Version 11.2.0.4.0 Production
Copyright (C) 1999, 2013, Oracle. All rights reserved.

Performing tests to see whether nodes rac2 are available
............................................................... 100% Done.

.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
   Source: /u01/app/11.2.0/grid
   New Nodes
Space Requirements
   New Nodes
      rac2
         /: Required 3.31GB : Available 9.97GB
Installed 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.1 
      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 (Saturday, October 11, 2014 5:26:07 PM CST)
.                                                                 1% Done.
Instantiation of add node scripts complete


Copying to remote nodes (Saturday, October 11, 2014 5:26:13 PM CST)
...............................................................................................                                 96% Done.
Home copied to new nodes


Saving inventory on nodes (Saturday, October 11, 2014 5:33:08 PM CST)
.                                                               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.
/u01/app/11.2.0/grid/root.sh #On nodes rac2
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 /u01/app/11.2.0/grid was successful.
Please check '/tmp/silentInstall.log' for more details.

[[email protected] ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 


The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid


Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 


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.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster


Last login: Sat Oct 11 17:24:51 2014 from 192.168.175.1
[[email protected] ~]# ps -ef|grep grid
root      4550     1  2 17:43 ?        00:00:03 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
grid      5098     1  0 17:43 ?        00:00:00 /u01/app/11.2.0/grid/bin/oraagent.bin
grid      5111     1  0 17:43 ?        00:00:00 /u01/app/11.2.0/grid/bin/mdnsd.bin
grid      5126     1  0 17:43 ?        00:00:00 /u01/app/11.2.0/grid/bin/gpnpd.bin
grid      5141     1  1 17:43 ?        00:00:01 /u01/app/11.2.0/grid/bin/gipcd.bin
root      5145     1  0 17:43 ?        00:00:01 /u01/app/11.2.0/grid/bin/orarootagent.bin
root      5182     1  3 17:43 ?        00:00:04 /u01/app/11.2.0/grid/bin/osysmond.bin
root      5187     1  2 17:43 ?        00:00:03 /u01/app/11.2.0/grid/jdk/jre/bin/java -Xms64m -Xmx256m -classpath /u01/app/11.2.0/grid/tfa/rac2/tfa_home/jar/RATFA.jar:/u01/app/11.2.0/grid/tfa/rac2/tfa_home/jar/je-4.0.103.jar:/u01/app/11.2.0/grid/tfa/rac2/tfa_home/jar/ojdbc6.jar oracle.rat.tfa.TFAMain /u01/app/11.2.0/grid/tfa/rac2/tfa_home
root      5197     1  0 17:43 ?        00:00:01 /u01/app/11.2.0/grid/bin/cssdmonitor
root      5230     1  0 17:43 ?        00:00:01 /u01/app/11.2.0/grid/bin/cssdagent
grid      5244     1  1 17:43 ?        00:00:02 /u01/app/11.2.0/grid/bin/ocssd.bin 
root      5320     1  3 17:43 ?        00:00:03 /u01/app/11.2.0/grid/bin/ologgerd -m rac1 -r -d /u01/app/11.2.0/grid/crf/db/rac2
root      5365     1  0 17:43 ?        00:00:00 /u01/app/11.2.0/grid/bin/octssd.bin reboot
grid      5403     1  0 17:43 ?        00:00:00 /u01/app/11.2.0/grid/bin/evmd.bin
grid      5444     1  0 17:44 ?        00:00:00 asm_pmon_+ASM2
grid      5448     1  0 17:44 ?        00:00:00 asm_psp0_+ASM2
grid      5452     1  1 17:44 ?        00:00:00 asm_vktm_+ASM2
grid      5458     1  0 17:44 ?        00:00:00 asm_gen0_+ASM2
grid      5462     1  0 17:44 ?        00:00:00 asm_diag_+ASM2
grid      5466     1  0 17:44 ?        00:00:00 asm_ping_+ASM2
grid      5470     1  0 17:44 ?        00:00:00 asm_dia0_+ASM2
grid      5474     1  0 17:44 ?        00:00:00 asm_lmon_+ASM2
grid      5478     1  0 17:44 ?        00:00:00 asm_lmd0_+ASM2
grid      5482     1  0 17:44 ?        00:00:00 asm_lms0_+ASM2
grid      5488     1  0 17:44 ?        00:00:00 asm_lmhb_+ASM2
grid      5492     1  0 17:44 ?        00:00:00 asm_mman_+ASM2
grid      5496     1  0 17:44 ?        00:00:00 asm_dbw0_+ASM2
grid      5500     1  0 17:44 ?        00:00:00 asm_lgwr_+ASM2
grid      5504     1  0 17:44 ?        00:00:00 asm_ckpt_+ASM2
grid      5508     1  0 17:44 ?        00:00:00 asm_smon_+ASM2
grid      5512     1  0 17:44 ?        00:00:00 asm_rbal_+ASM2
grid      5516     1  0 17:44 ?        00:00:00 asm_gmon_+ASM2
grid      5520     1  0 17:44 ?        00:00:00 asm_mmon_+ASM2
grid      5524     1  0 17:44 ?        00:00:00 asm_mmnl_+ASM2
grid      5528     1  0 17:44 ?        00:00:00 asm_lck0_+ASM2
grid      5560     1  0 17:44 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
root      5566     1  2 17:44 ?        00:00:01 /u01/app/11.2.0/grid/bin/crsd.bin reboot
grid      5578     1  0 17:44 ?        00:00:00 oracle+ASM2_ocr (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5583     1  0 17:44 ?        00:00:00 asm_asmb_+ASM2
grid      5588     1  0 17:44 ?        00:00:00 oracle+ASM2_asmb_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5592     1  0 17:44 ?        00:00:00 asm_o000_+ASM2
grid      5596     1  0 17:44 ?        00:00:00 oracle+ASM2_o000_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5611     1  0 17:44 ?        00:00:00 asm_fd00_+ASM2
grid      5667  5403  0 17:44 ?        00:00:00 /u01/app/11.2.0/grid/bin/evmlogger.bin -o /u01/app/11.2.0/grid/evm/log/evmlogger.info -l /u01/app/11.2.0/grid/evm/log/evmlogger.log
grid      5706     1  1 17:44 ?        00:00:00 /u01/app/11.2.0/grid/bin/oraagent.bin
root      5710     1  1 17:44 ?        00:00:00 /u01/app/11.2.0/grid/bin/orarootagent.bin
grid      5754     1  0 17:44 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5771     1  0 17:44 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5775     1  0 17:44 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid      5801     1  0 17:44 ?        00:00:00 /u01/app/11.2.0/grid/opmn/bin/ons -d
grid      5802  5801  0 17:44 ?        00:00:00 /u01/app/11.2.0/grid/opmn/bin/ons -d
root      6037  5969  0 17:45 pts/1    00:00:00 grep grid
[[email protected] ~]# su- grid

rac1->  ./addNode.sh "CLUSTER_NEW_NODES={rac2}"


Performing pre-checks for node addition 


Checking node reachability...
Node reachability check passed from node "rac1"




Checking user equivalence...
User equivalence check passed for user "oracle"


WARNING: 
Node "rac2" 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 4023 MB    Passed
Oracle Universal Installer, Version 11.2.0.4.0 Production
Copyright (C) 1999, 2013, Oracle. All rights reserved.




Performing tests to see whether nodes rac2 are available
............................................................... 100% Done.


..
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
   Source: /u01/app/oracle/product/11.2.0/db_1/db11g
   New Nodes
Space Requirements
   New Nodes
      rac2
         /u01/app/oracle/product/11.2.0/db_1: Required 3.99GB : Available 11.28GB
Installed 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.1 
      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 (Saturday, October 11, 2014 6:11:22 PM CST)
.                                                                 1% Done.
Instantiation of add node scripts complete


Copying to remote nodes (Saturday, October 11, 2014 6:11:36 PM CST)
...............................................................................................                                 96% Done.
Home copied to new nodes


Saving inventory on nodes (Saturday, October 11, 2014 6:32:16 PM CST)
.                                                               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.
/u01/app/oracle/product/11.2.0/db_1/db11g/root.sh #On nodes rac2
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 /u01/app/oracle/product/11.2.0/db_1/db11g was successful.
Please check '/tmp/silentInstall.log' for more details.




rac2-> exit
logout
You have new mail in /var/spool/mail/root
[[email protected] ~]# /u01/app/oracle/product/11.2.0/db_1/db11g/root.sh
Performing 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/db_1/db11g


Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 


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.




 01:16:28
 
 
srvctl add database -d d10g -o /u01/app/oracle/product/11.2.0/db_1/db11g -c RAC -p +DG10/d10g/spfiled10g.ora -y automatic -a DG10


Last login: Sat Oct 11 22:57:27 2014 from 192.168.175.1
[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl delete serverpool  ora.d10g 
[[email protected] ~]# 


PRCS-1007 : Server pool d10g already exists
PRCR-1086 : server pool ora.d10g is already registered
rac1-> srvctl config database -d d10g
PRCD-1120 : The resource for database d10g could not be found.
PRCR-1001 : Resource ora.d10g.db does not exist
rac1-> srvctl add database -d d10g -o /u01/app/oracle/product/11.2.0/db_1/db11g -c RAC -p +DG10/d10g/spfiled10g.ora -y automatic 
PRCS-1007 : Server pool d10g already exists
PRCR-1086 : server pool ora.d10g is already registered
rac1-> srvctl add database -d d10g -o /u01/app/oracle/product/11.2.0/db_1/db11g -c RAC -p +DG10/d10g/spfiled10g.ora -y automatic 




srvctl add instance -d d10g1 -i devdb1 -n rac1
 
 
rac1-> srvctl add instance -d d10g -i d10g1 -n rac1
rac1-> srvctl add instance -d d10g -i d10g2 -n rac2

一個晚上的 實驗思路。。

相關推薦

oracle 11g rac2 刪除節點&新增節點

刪除參考:http://pandarabbit.blog.163.com/blog/static/20928414420136410848968/   grid user------------------ rac2-> srvctl disable -l liste

10G RAC刪除新增節點

假設rac有兩個節點rac1和rac2,rac2發生物理損壞重灌系統,重新將rac2加入叢集 1. 在rac1節點執行對rac2節點資源的停止任務,一定要手動執行停止操作,即使顯示offline [[email protected] ~]$ crs_sta

jQuery刪除新增節點

jQuery刪除子節點的方法總結:(用ul中的li作為例子)        1、remove()              $('ul li').remove():li節點本身及其所有後代節點都被刪除;

【jquery】刪除節點 新增節點 找兄弟節點

 一些簡單的內容, 加深印象 記錄下來: $().empty(); //該方法會刪除當前節點下的所有子節點,請注意當前節點不會 被刪除 $().remove(); //該方法會刪除當前節點下的所有子節點,請注意 當前節點會 被刪除 $().append('<

11g R2 節點系統重建後,刪除節點新增節點 過程和問題解決

故障現象: http://www.santongit.com/thread-12327-1-1.html    一個RAC資料庫,兩個節點,RedHat 6.3_X64的系統,因為業務問題,節點2的伺服器的系統進行了重灌。   現需要重建節點2

Oracle 11g rac 新增節點測試

[轉]https://blog.csdn.net/shiyu1157758655/article/details/60877076 前期準備: 作業系統設定OS版本必須相同,檢查核心引數,系統記憶體、CPU、檔案系統大小、swap空間等。建立必要的使用者及組使用者及使用者組UID及GID必須跟其他節點相同

windows下11g rac刪除新增節點

首先是刪:1 dbca刪節點 rac1,按提示刪除即可,其中需要輸入sys密碼crsctl unpin css -n rac12#執行完grid使用者檢視資源池,此時rac2已經不在serverpool裡,接下來繼續刪除cluster資訊srvctl config serverpoolcd /此處grid安裝

Oracle】RAC刪除節點

集群 lease gravity 刪除 配置信息 click csdn word 5.6 環境: OS:OEL5.6 RAC:10.2.0.1.0 眼下有rac1。rac2。rac3三個節點,下面是刪除rac3節點的具體過程 1.刪除rac3節點上的數據庫實

redis叢集新增節點刪除節點

redis叢集新增節點 1、主節點:如果新增的是主節點,那麼我們需要建立一個空節點,然後將某些雜湊槽移動到這個空節點裡面。 2、從節點:如果新增的是從節點,我們也需要建立一個空節點,然後把這個新節點設定成叢集中某個主節點的複製品。 新增節點: 1、首先把需要新增的節點啟動 建立7

redis群集節點刪除新增

redis叢集介紹 多個redis節點實現網路互連,資料共享所有節點都是一主一從(或一主多從),其中從不提供服務,僅作為備份備用,保證redis資料的安全性不支援同時處理多個鍵,redis叢集寫入資料是向叢集裡隨機寫入的(比如raid5磁碟陣列格式),因為redis叢集需要把鍵平均分佈在各個節點上,併發量很

Oracle 11g rac新增刪除叢集資料庫

部落格文章除註明轉載外,均為原創。轉載請註明出處。本文連結地址:http://blog.chinaunix.net/uid-31396856-id-5790357.html好記性不如爛筆頭,     記錄新增叢集資料庫和刪除叢集資料庫的關鍵步驟:主要是通過srvctl命令來管理叢集的

Openshift 節點新增刪除

  1.節點新增 在新節點上編輯yum源/etc/yum.repo.d/ocp.repo /etc/hosts在主和節點上都加上相應資訊 編輯host檔案,加入 [OSEv3:children] masters nodes etcd new_nodes [new_nodes] no

kafka 新增節點或者刪除節點

擴充套件您的群集 將伺服器新增到Kafka叢集很簡單,只需為它們分配一個唯一的代理ID並在新伺服器上啟動Kafka即可。但是,這些新伺服器不會自動分配任何資料分割槽,因此除非將分割槽移動到它們,否則在建立新主題之前它們不會執行任何工作。因此,通常在將計算機新增到群集時,您需要將一些現有資料遷移到

JavaScript HTML DOM 元素 (節點)新增,編輯,刪除

createElement,createTextNode,appendChild,insertBefore,removeChild,replaceChild createElement 以下程式碼是用於建立 <p> 元素: var para = document.crea

redis cluster 新增 刪除 重分配 節點

比如現有cluster分別擁有A、B、C 三個master節點,對應的slave節點分別為A1、B1、C1,假如需要加機器為節點D、D1分別為master和slave,已經將D、D1分別加入cluster中,那redis會自動將A、B、C中部分的槽均勻遷移到D上嗎?還是需要自己手動去遷移?驗證了一下槽是要

Redis叢集cluster 節點 新增 刪除 重分配

此部落格主要是轉載講解redis叢集中節點的新增和刪除 redis叢集請檢視: redis cluster配置好,並執行一段時間後,我們想新增節點,或者刪除節點,該怎麼辦呢。 一,redis cluster命令列 //叢集(cluster) CLUSTER INF

關於Redis的cluster叢集刪除節點後再次新增節點

在cluster不小心刪除某個節點後再加入節點是個很麻煩的事(刪除之前先把cluster分配的hashslot給重新分配一下(很重要))通過 redis-trib.rb del-node 你的節點地址 bd5a40a6ddccbd46a0f4a2208eb25d2453c2a

redis cluster 叢集配置示例: 建立, 新增節點, 重新分片, 刪除節點

1 redis叢集搭建 Redis 從3.0.0正式版開始官方支援叢集,  下面開始做一個叢集配置的示例. [[email protected] ~]# tar xf redis-3.2.0.tar.gz [[email protected]

redis叢集節點新增刪除、重新分配slot實戰

1、搭建好redis叢集 參考我的博文 http://blog.csdn.net/nuli888/article/details/52134117 下面操作都在同臺機子server1 192.168.1.198上操作 2、檢視現有節點 [[email protec

Redis學習筆記七——向叢集節點新增刪除和分配slot

上邊文章講了如何搭建redis叢集,這邊文章講叢集節點的新增、刪除和重新分配slot。 1、新增節點 新增節點:redis-trib.rb add-node 192.168.72.100:7006