In oracle, 11.2 RAC installs a new host to identify the old storage-3-configure the old Storage Database

Source: Internet
Author: User
Tags file permissions

Install the Oracle 11.2.0.4 database software and execute root. sh. This is nothing special.
Then, we need to modify the ORACLE binary file permissions of oracle RDBMS so that the oracle database process can obtain the ASM disk group.
[Root @ lunar5 ~] # Su-grid
[Grid @ lunar5 ~] $ ORACLE_HOME/bin/setasmgidwrap o =/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
[Grid @ lunar5 ~] $ Ll/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
-Rwsr-s -- x 1 oracle asmadmin 239626689 Feb 15/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
[Grid @ lunar5 ~] $
Note: Here/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle is the ORACLE_HOME for installing oracle rdbms.
Then, add the database to CRS and start the database:
[Oracle @ lunar5 ~] $ Srvctl add database-d lunar-n lunar5-o $ ORACLE_HOME-p + DATADG2/LUNAR/PARAMETERFILE/spfile.272.892409049-s OPEN-y AUTOMATIC-a "TEMPDG, DATADG1, DATADG2, DATADG3 "-t IMMEDIATE
[Oracle @ lunar5 ~] $
Check the configuration of the database in ocr:
[Oracle @ lunar5 ~] $ Srvctl config database-d lunar
Database unique name: lunar
Database name: lunar5
Oracle home:/u01/app/oracle/product/11.2.0.4/dbhome_1
Oracle user: oracle
Spfile: + DATADG2/LUNAR/PARAMETERFILE/spfile.272.892409049
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: lunar
Database instances:
Disk Groups: TEMPDG, DATADG1, DATADG2, DATADG3
Mount point paths:
Services:
Type: RAC
Database is administrator managed
[Oracle @ lunar5 ~] $
Start the database:
[Oracle @ lunar5 ~] $ Srvctl start database-d lunar
[Oracle @ lunar5 ~] $
Check the crs status:
[Root @ lunar5 ~] # Crsctl status res-t
--------------------------------------------------------------------------------
Name target state server STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
Ora. DATADG1.dg
ONLINE lunar5
Ora. DATADG2.dg
ONLINE lunar5
Ora. DATADG3.dg
ONLINE lunar5
Ora. LISTENER. lsnr
ONLINE lunar5
Ora. TEMPDG. dg
ONLINE lunar5
Ora. asm
ONLINE lunar5 Started
Ora. gsd
OFFLINE lunar5
Ora. net1.network
ONLINE lunar5
Ora. ons
ONLINE lunar5
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
Ora. LISTENER_SCAN1.lsnr
1 ONLINE lunar5
Ora. cvu
1 ONLINE lunar5
Ora. lunar. db
1 ONLINE lunar5 Open
Ora. lunar5.vip
1 ONLINE lunar5
Ora. Productname
1 ONLINE lunar5
Ora. scan1.vip
1 ONLINE lunar5
[Root @ lunar5 ~] #
So far, the entire process of identifying the old storage RAC (mainly recognition ASM) with the new host is complete. If it is a file system environment, it is much simpler than this, and all ASM can be omitted.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.