Step-to-Step Installation of 10G RAC on RedHat AS 3.0 – Single Node(二)
- Hardware Cluster Installation Mode:
Select "Cluster Installation"
Click "Select All" to select all servers: dbtest1
- Installation Type:
Select "Standard Edition".
- Product-specific Prerequisite Checks:
Make sure that the status of each Check is set to "Succeeded".
If openmotif shows a warning, ignore it.
- Database Configuration:
Select "Do not create a starter database".
[@more@]- Setup Privileges Window:
VIP Configuration Assistant Tool:
(This Assistant tool will come up only once when root.sh is executed the
first time in your RAC cluster)
- Network Interfaces: Selected both interfaces, eth0.
- Virtual IPs for cluster notes:
Node Name: dbtest1
IP Alias Name: dbvip
IP address: 192.168.203.244
Subnet Mask: 255.255.255.0
l Download and Apply Oracle 10G Software 10.1.0.3 Patch
Stop all services
1. Stop listener.
2. Stop instances on all nodes.
3. Stop ASM instance by: $ srvctl stop asm –n dbtest1
4. Stop node apps by: $ srvctl stop nodeapps –n dbtest1
5. Stop CRS by: # /etc/init.d/init.crs stop
l Creat a standalone database.
Setting Oracle environment variables.
$ echo export ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1 >> ~/.bash_profile
$ echo export PATH=$PATH:$ORACLE_HOME/bin >> ~/.bash_profile
$ . ~/.bash_profile
$ dbca
- Welcome Screen:
Select "Oracle Single Instance Database"
- Operations:
Select "Create Database"
- Database Templates:
Select "General Purpose".
- Database Identification:
Global Database Name: orcl
SID: orcl1
- Management Option:
Select "Use Database Control for Database Management".
- Database Credentials:
Select "Use the Same Password for All Accounts". Enter the password and
make sure the password does not start with a digit number.
- Storage Options:
Select "Automatic Storage Management (ASM)".
- Create ASM Instance:
Enter the SYS password for the ASM instance.
Select the default parameter file (IFILE):
"{ORACLE_BASE}/admin/+ASM/pfile/init.ora"
At this point DBCA will create and start the ASM instance on all RAC nodes.
Click OK to create and start the ASM instance.
- ASM Disk Groups:
- Click "Create New"
Create Disk Group Window:
- Click "Change Disk Discovery Path".
- Enter "ORCL:VOL*" for Disk Discovery Path.
The discovery string for finding ASM disks must be prefixed with "ORCL:", and in my example the ASM disks VOL1.
- Enter Disk Group Name: ORCL_DATA1
- Check the candidate: "ORCL:VOL1".
- Check the new created disk group "ORCL_DATA1".
- Database File Locations:
Select "Use Oracle-Managed Files"
Database Area: +ORCL_DATA1
- Recovery Configuration:
Don’t select any recovery options.
- Database Services:
Click "Add" and enter a Service Name: I entered "orcltest".
Select TAF Policy "Basic".
l Convert Database to RAC
Shutdown database orcl1
$ cd $ORACLE_HOME/dbs
$ mv initorcl1.ora initorcl.ora
Edit initorcl.ora as following:
SPFILE='+ORCL_DATA1/orcl/spfileorcl1.ora'
*.shared_pool_size = 65M
*.cluster_database = TRUE
*.cluster_database_instances = 4
orcl1.instance_name = orcl1
orcl2.instance_name = orcl2
orcl1.instance_number = 1
orcl2.instance_number = 2
*.service_names = "orcl"
orcl1.thread = 1
orcl2.thread = 2
orcl1.local_listener = "(address=(protocol=tcp)(host=192.168.203.219)(port=1521))"
orcl1.remote_listener = "(address=(protocol=tcp)(host=192.168.203.219)(port=1522))"
orcl2.local_listener = "(address=(protocol=tcp)(host=192.168.203.219)(port=1522))"
orcl2.remote_listener = "(address=(protocol=tcp)(host=192.168.203.219)(port=1521))"
orcl1.undo_tablespace = UNDOTBS1
orcl2.undo_tablespace = UNDOTBS2
$ ln –s initorcl.ora initorcl1.ora
$ ln –s initorcl.ora initorcl2.ora
$ export ORACLE_SID=orcl1
$ sqlplus “/ as sysdba”
SQL> startup
SQL> @$ORACLE_HOME/rdbms/admin/catclust.sql
Recreate control file if you defined maxinstances to be 1 when you created the single instance database.
SQL> alter database add logfile thread 2 group 4 size 10M, group 5 size 10M, group 6 size 10M;
SQL> alter database enable public thread 2;
SQL> create undo tablespace undotbs2 datafile size 25MB;
SQL> exit;
$ export ORACLE_SID=orcl2
$ sqlplus “/ as sysdba”
SQL> startup
SQL> exit;
l Patch Oracle 10G Standard Edition for TAF
Shutdown all instances (orcl1 and orcl2).
Shutdown ASM instance by run /u01/crs/oracle/product/10.1.2/crs/bin/crs_stop –all.
Download patch 2617419 and 3549731 from metalink.
$ cd /tmp
$ unzip p2617419_10102_GENERIC.zip
$ cp –r OPatch $ORACLE_HOME
$ unzip p3549731_10102_LINUX.zip
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/41224/viewspace-780988/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Step-to-Step Installation of 10G RAC on RedHat AS 3.0 – Single Node(qiangtang)Redhat
- rac one node、Single Instance HA(SIHA)、Oracle Restart的概念OracleREST
- oracle10g rac__靜默安裝_silent node installationOracle
- Oracle 10g installationOracle 10g
- oracle 10G RAC for redhat as5.3 安裝說明Oracle 10gRedhat
- Redhat 5.4 + ASM + RAW+ Oracle 10g RAC 安裝文件RedhatASMOracle 10g
- Oracle RAC 10g Installation on Oracle Enterprise Linux Using VMware ServerOracleLinuxServer
- oracle 10g rac for linux redhat 5.3 安裝常見問題Oracle 10gLinuxRedhat
- RAC加入新節點 - Add Node to Your Oracle RAC 10g Cluster on LinuxOracleLinux
- Solaris 10下遷移10G RAC (二)
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]RESTDatabase
- [RAC]ORACLE Database 10g RAC for Administrators學習筆記(二)OracleDatabase筆記
- 【OCM】Oracle Database 10g: RAC for Administrators(二)OracleDatabase
- VMWARE+linux+oracle 10g RAC 之二LinuxOracle 10g
- Convert a Single-Instance to RAC with ASMASM
- RMAN遷移資料庫(rac or single)資料庫
- 10g rac asm 恢復到 單例項(二)ASM單例
- Oracle RAC 10g for Solaris環境解除安裝(二)Oracle
- 3.Hadoop Single Node Cluster安裝Hadoop
- Other two network issues in the installation of Oracle RAC DBOracle
- 11.2.0.4 rac + redhat server 6.2RedhatServer
- RAC轉換至RAC One Node
- Migrate database from single instance to Oracle RACDatabaseOracle
- hadoop官網翻譯第二天Setting up a Single Node Cluster.Hadoop
- Install oracle 10G in redhat 5.1Oracle 10gRedhat
- 10g RAC on AIXAI
- RedHat 安裝11g racRedhat
- 9i RAC轉換為SINGLE例項
- ORACLE 10G Client For Linux RedHat 6.2Oracle 10gclientLinuxRedhat
- Step-By-Step Installation of 9i RAC on IBM AIXIBMAI
- Step-By-Step Installation of RAC with RAW Datafiles on Windows 2000Windows
- Oracle 10g RAC NFSOracle 10gNFS
- Oracle 10g RAC TAFOracle 10g
- 【RAC】Oracle 10g RAC 重建控制檔案Oracle 10g
- root.sh Fails on the First Node for 11gR2 GI InstallationAI
- oracle rconfig convert single instance to rac databaseOracleDatabase
- oracle 9i single instance convert to rac databaseOracleDatabase
- Redhat AS 4安裝Oracle 10g 10.2.0.3.0RedhatOracle 10g