Customizing How Oracle Clusterware Manages Oracle RAC Databases

r2->
r2->
r2->crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.demo.db application ONLINE ONLINE r2
ora....o1.inst application ONLINE OFFLINE
ora....o2.inst application ONLINE ONLINE r2
ora....R1.lsnr application ONLINE OFFLINE
ora.r1.gsd application ONLINE OFFLINE
ora.r1.ons application ONLINE OFFLINE
ora.r1.vip application ONLINE ONLINE r2
ora....R2.lsnr application ONLINE ONLINE r2
ora.r2.gsd application ONLINE ONLINE r2
ora.r2.ons application ONLINE ONLINE r2
ora.r2.vip application ONLINE ONLINE r2
r2->srvctl config database -d demo -a
r1 demo1 /u01/app/oracle/product/10.2.0/db_1
r2 demo2 /u01/app/oracle/product/10.2.0/db_1
DB_NAME: demo
ORACLE_HOME: /u01/app/oracle/product/10.2.0/db_1
SPFILE: /u01/oradata/demo/demo_spfile
DOMAIN: null
DB_ROLE: null
START_OPTIONS: null
POLICY: AUTOMATIC
ENABLE FLAG: DB ENABLED
r2->
r2->

srvctl modify database d database_name -y policy_name

srvctl add database -d database_name -y policy_name

from:oracle 10g rac admin guide : ch5-7

你可能感兴趣的:(database)