Documente Academic
Documente Profesional
Documente Cultură
Topology:
1 Openfiler (SAN) & 2 node
Openfiler:
Hardware: Hostname: Openfiler. HDD: sda 30G, sdb 70G eth0: 192.168.1.195 /24 gateway: 192.168.1.1 eth1: 192.168.2.195 /24
NODE 1
NODE2
Oracle RedHat 5 Sda 30G Eth0: 192.168.1.152 /24 Eth1: 192.168.2.152 /24 Racdb Racdb2 Racnode2
Hardware
OS HDD NIC SID Instance Hostname Oracle RedHat 5 Sda 30G Eth0: 192.168.1.151 /24 Eth1: 192.168.2.151 /24 Racdb Racdb1 Racnode1
Deploying: Steps:
1. Run DBCA from remaining node:
root$ xhost + root$ su - grid oracle$ export DISPLAY=:0.0 oracle$ dbca
Select [Oracle Real Application Clusters database]-> Next Select [Instance Management]->Next Select [Delete Instance] ->Next Select database , then , enter SYS and SYS' password ->Next. Select instance what you want to remove, and click Next. Click OK when prompted. Check if the instance is removed from cluster
oracle$ srvctl config database -d racnode2 Output: Database unique name: racdb Database name: racdb Oracle home: /u01/app/oracle/product/11.2.0/db_1 Oracle user: oracle Spfile: +DATA/racdb/spfilerac11g2.ora Domain: mua60s.vn Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: racdb Database instances: racnode1 Disk Groups: DATA,FLASH Mount point paths: Services: Type: RAC Database is administrator managed
Stop LISTENER:
grid $ srvctl stop listener -l LISTENER -n racnode2
Racnode 1:
<HOME NAME="OraDb11g_home1" LOC="/opt/app/oracle/product/11.2.0/dbhome_1" TYPE="O" IDX="2"> <NODE_LIST> <NODE NAME="racnode1"/> <NODE NAME="racnode2"/> </NODE_LIST> </HOME>
oracle$ cd $ORACLE_HOME/deinstall
./deinstall -local
Example output:
rac4 rac5 Active Active Unpinned Unpinned
Example Output:
Performing post-checks for node removal Checking CRS integrity... CRS integrity check passed Node removal check passed Post-check for node removal was successful.