SlideShare a Scribd company logo
step by step install oracle 10gR2 rac
       +ASM on windows using vmware
操作系统 : windows 2003 server 企业版
安 装 软 件 包 :10G 集 群 软 件 包 10201_clusterware_win32.zip 数 据 库 软 件 包
10201_database_win32.zip

1.安装第一个节点 windows 2003 虚拟机 .....................................................................................1
2.编辑 c:windowssystem32driversetchosts.................................................................................2
3.设置两个网卡 ip 地址...................................................................................................................3
4.配置共享磁盘................................................................................................................................3
5.安装另外个节点 2.......................................................................................................................11
6.启动两个节点后 看互相是否能 ping 通...................................................................................11
7.安装 clustware 集群软件 ............................................................................................................12
8. Install the Database Software and Create an ASM Instance .......................................................27
9.dbca 创建集群数据库 ................................................................................................................36




1.安装第一个节点 windows 2003                                                        虚拟机

 用 vmware 添加 5 块虚拟硬盘,
 1,2 两块做 ocr 和 voting disk, 3,4,5 三块做 asm 存储,并且添加一块网卡

1.在虚拟机配置文件中 rac1.vmx 文件 加入以下内容 设定两节点可以

    共享磁盘

disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.sharedBus = "VIRTUAL"

scsi1:1.present = "TRUE"
scsi1:1.mode = "independent-persistent"
scsi1:1.fileName = "e:sharedocr.vmdk"
scsi1:1.deviceType = "Disk"
scsi1:1.redo = ""

scsi1:2.present = "TRUE"
scsi1:2.mode = "independent-persistent"
scsi1:2.fileName = "e:sharedvotingdisk.vmdk"
scsi1:2.deviceType = "Disk"
scsi1:2.redo = ""

scsi1:3.present = "TRUE"
scsi1:3.mode = "independent-persistent"
scsi1:3.fileName = "e:sharedasm1.vmdk"
scsi1:3.deviceType = "Disk"
scsi1:3.redo = ""

scsi1:4.present = "TRUE"
scsi1:4.mode = "independent-persistent"
scsi1:4.fileName = "e:sharedasm2.vmdk"
scsi1:4.deviceType = "plainDisk"
scsi1:4.redo = ""

scsi1:4.present = "TRUE"
scsi1:4.mode = "independent-persistent"
scsi1:4.fileName = "e:sharedasm3.vmdk"
scsi1:4.deviceType = "Disk"
scsi1:4.redo = ""




2.编辑 c:windowssystem32driversetchosts

  加入以下内容
127.0.0.1     localhost
# Public
192.168.3.152 rac1.localdomain rac1
192.168.3.155 rac1.localdomain rac2
#Private
192.168.0.101  rac1-priv.localdomain rac1-priv
192.168.0.102  rac2-priv.localdomain rac2-priv
#Virtual
192.168.2.111  rac1-vip.localdomain rac1-vip
192.168.2.112  rac2-vip.localdomain rac2-vip
3.设置两个网卡 ip 地址

         Rac1 节点 public 为 192.168.3.152,Private 为 192.168.0.101

        设置完成后,点 网上邻居 右键属性 菜单栏上的 高级设置

        选择适配器与绑定 把 public 的 list 放到最前面


4.配置共享磁盘

  设置共享盘自动加载
  C:diskpart
  Diskpart>automount enable
  Diskpart>exit
  When the server restarts, open the "Computer Management" dialog (Start > All Programs >
  Administrative Tools > Computer Management) and click on the Disk Management tree
  node. This action should initiate the "Initialize and Convert Disk Wizard". Click the "Next"
  button to continue.




Iinitialize all 5 disks by clicking the "Next" button.
Don't convert any of the disks. Make sure all 5 disks are unchecked, then "Next" button.




Complete the process by clicking the "Finish" button.
Right-click on "Disk 1" and select the "New Partition..." option to start the "New Partition
  Wizard".




Click the "Next" button to continue.
Select the "Extended partition" option, then click the "Next" button.




Accept the default partition size by clicking the "Next" button.
Complete the partition by clicking the "Finish" button.




The partition will now be displayed with a green bar. Right-click on the partition and select the
"New Logical Drive" option to restart the "New Partition Wizard".
Click the "Next" button to continue.




Accept the "Logical drive" option by clicking the "Next" button.
Accept the default partition size by clicking the "Next" button.




Select the "Do not assign a drive letter or drive path" option, then click the "Next" button.
Select the "Do not format this partition" option, then cclick the "Next" buttonhe "Next"




                                                                                  butto
Complete the logical drive by clicking the "Finish" button.
The drive should now be displayed as a healthy drive with a blue bar.
Repeat the previous partitioning steps for the remaining 4 disks.
The shared disks are now configured.




5.安装另外个节点 2

    关闭这个虚拟机 复制一份 改名为 rac2 修改机器名 为 rac2
    public 网卡地址为 192.168.3.155 私有网卡为 192.168.0.102 在启动虚拟机 RAC2 时选
    择 copy it 按钮



6.启动两个节点后 看互相是否能 ping 通

ping -c 3 rac2-priv
ping –c 3 rac1-priv
ping –c 3 rac1
ping –c 3 rac2

和访问默认共享是否可以
192.168.3.155c$
192.168.3.152c$
在做 rac 安装时 远程复制需要用上
7.安装 clustware 集群软件

Start the RAC1 and RAC2 virtual machines. The Oracle Clusterware for Windows is very
sensitive, so before you start, check the network connection setup on each machine again.
Remove and extra network adapters, rename the connections appropriately and check the
nodes ping correctly. Make sure your network configuration matches the Checking Network
Requirements section of the documentation.


Start the Oracle installer on RAC1.




On the "Welcome" screen, click the "Next" button.
Accept the default inventory location by clicking the "Next" button.




Enter the appropriate name and path for the Oracle Home and click the "Next" button.
Wait while the prerequisite checks are done. If you have any failures correct them and retry the
tests before clicking the "Next" button.
The "Specify Cluster Configuration" screen shows only the RAC1 node in the cluster. Click the
"Add" button to continue.




Enter the details for the RAC2 node and click the "OK" button.




Click the "Next" button to continue.
The "Specific Network Interface Usage" screen defines how each network interface will be
used. Highlight the "public" interface and click the "Edit" button.
Set the "public" interface type to "Public" and click the "OK" button.




Leave the "private" interface as private and click the "Next" button.




On the "Cluster Configuration Storage" screen, highlight disk 1 and click the "Edit" button.
Select the "Place OCR(Primary) on this Partition" option and click the "OK" button.




Highlight disk 2 and click the "Edit" button. Select the "Place Voting Disk on this Partition"
option and click the "OK" button.
On the "Cluster Configuration Storage" screen, click the "Next" button and ignore the
redundancy warnings by clicking the "OK" button.




On the "Summary" screen, click the "Install" button to continue.
Wait while the installation takes place.




Wait while the configuration assistants run.
The VIPCA will fail, so click the "OK" button on the resulting error screen.




Click the "Next" button and accept the subsequent warning, then click the "Exit" button to leave
the installer.
On the RAC1 virtual machine, run the VIPCA manually by issuing the following commands in a
command prompt.
cd c:oracleproduct10.2.0crsbin
vipca.bat
Click the "Next" button on the VIPCA welcome screen.
Highlight the "public" interface and click the "Next" button.




Enter the vitual IP alias and address for each node. Once you enter the first alias, the
remaining values should default automatically. Click the "Next" button to continue.
Accept the summary information by clicking the "Finish" button.




Wait until the configuration is complete, then click the "OK" button.
Accept the VIPCA results by clicking the "Exit" button.




The status of the finished cluster can be checked by running the cluvfy.bat script as shown
below.
C:oracleproduct10.2.0crsBIN>cluvfy.bat stage -post crsinst -n rac1,rac2

Performing post-checks for cluster services setup
Checking node reachability...
Node reachability check passed from node "rac1".
Checking user equivalence...
User equivalence check passed for user "Administrator".
Checking Cluster manager integrity...
Checking CSS daemon...
Daemon status check passed for "CSS daemon".
Cluster manager integrity check passed.
Checking cluster integrity...
Cluster integrity check passed
Checking OCR integrity...
Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.
Uniqueness check for OCR device passed.
Checking the version of OCR...
OCR of correct Version "2" exists.
Checking data integrity of OCR...
Data integrity check for OCR passed.
OCR integrity check passed.
Checking CRS integrity...
Checking daemon liveness...
Liveness check passed for "CRS daemon".
Checking daemon liveness...
Liveness check passed for "CSS daemon".
Checking daemon liveness...
Liveness check passed for "EVM daemon".
Checking CRS health...
CRS health check passed.
CRS integrity check passed.
Checking node application existence...
Checking existence of VIP node application (required)
Check passed.
Checking existence of ONS node application (optional)
Check passed.
Checking existence of GSD node application (optional)
Check passed.
Post-check for cluster services setup was successful.


C:oracleproduct10.2.0crsBIN>
8. Install the Database Software and Create an ASM

     Instance

Start the RAC1 and RAC2 virtual machines, login to RAC1 and start the Oracle installer.




On the "Welcome" screen, click the "Next" button.




Select the "Enterprise Edition" option and click the "Next" button.
Enter the name and path for the Oracle Home and click the "Next" button.




Select the "Cluster Installation" option and make sure both RAC nodes are selected, then click
the "Next" button.




Wait while the prerequisite checks are done. If you have any failures correct them and retry the
tests before clicking the "Next" button.
Select the "Configure Automatic Storage Management (ASM)" option, enter the SYS password
for the ASM instance, then click the "Next" button.
Select the "External" redundancy option (no mirroring) and click the "Stamp Disks..." button.




Select the "Add or change label" option and click the "Next" button.




Highlight disks 3-5 and click the "Next" button. Remember, disk0 is the OS, disk1 is the OCR
location and disk2 is the voting disk.
Confirm your selection by clicking the "Next" button




Complete the disk stamp by clicking the "Finish" button.
Select the candidate disks and click the "Next" button.




On the "Summary" screen, click the "Install" button to continue.
Wait while the database software installs.




Once the installation is complete, wait while the configuration assistants run
When the installation is complete, click the "Exit" button to leave the installer..




The database software installation and ASM creation step is now complete.
9.dbca 创建集群数据库

下面一步就是用 dbca 来创建数据库,选择集群和 asm 存储,data diskgroup 创建即可
完成

More Related Content

PDF
Linux kernel debugging
PPTX
Linux SD/MMC device driver
PDF
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started
PPT
Oracle 10g Performance: chapter 00 intro live_short
PDF
Oracle database performance tuning
PPTX
Oracle DB Performance Tuning Tips
PPTX
Oracle database performance tuning
PPTX
Oracle Oracle Performance Tuning
Linux kernel debugging
Linux SD/MMC device driver
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started
Oracle 10g Performance: chapter 00 intro live_short
Oracle database performance tuning
Oracle DB Performance Tuning Tips
Oracle database performance tuning
Oracle Oracle Performance Tuning

Viewers also liked (20)

PPTX
Top 10 tips for Oracle performance (Updated April 2015)
PPTX
Oracle sql high performance tuning
PDF
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
PPT
Oracle 10g Performance: chapter 00 statspack
PPTX
SQL Tuning and VST
PPTX
Message Queue (MQ) Testing
PPT
Oracle 10g Performance: chapter 01 ash
PDF
Oracle Performance Tuning Fundamentals
PPT
Oracle 10g rac_overview
ODP
Creating Queue Manager and Queue's in IBM WebSphere Mq
PPTX
Sending and receiving messages in mq queues
PPT
Database performance tuning and query optimization
PPT
Oracle 10g Performance: chapter 05 waits intro
PPSX
Database Performance Tuning Introduction
PDF
Performance tuning and optimization (ppt)
PDF
Websphere MQ admin guide
PPSX
Oracle 11g R2 RAC implementation and concept
DOCX
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
PDF
Websphere MQ (MQSeries) fundamentals
PPTX
Oracle performance tuning_sfsf
Top 10 tips for Oracle performance (Updated April 2015)
Oracle sql high performance tuning
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Oracle 10g Performance: chapter 00 statspack
SQL Tuning and VST
Message Queue (MQ) Testing
Oracle 10g Performance: chapter 01 ash
Oracle Performance Tuning Fundamentals
Oracle 10g rac_overview
Creating Queue Manager and Queue's in IBM WebSphere Mq
Sending and receiving messages in mq queues
Database performance tuning and query optimization
Oracle 10g Performance: chapter 05 waits intro
Database Performance Tuning Introduction
Performance tuning and optimization (ppt)
Websphere MQ admin guide
Oracle 11g R2 RAC implementation and concept
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Websphere MQ (MQSeries) fundamentals
Oracle performance tuning_sfsf
Ad

Similar to Step By Step Install Oracle 10g Rac Asm On Windows (20)

PDF
Presentation Template - NCOAUG Conference Presentation - 16 9
PPTX
RAC-Installing your First Cluster and Database
PDF
Rac on NFS
PDF
Racsig rac internals
PPTX
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
PDF
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
DOC
Oracle10g rac course_contents
PDF
Oracle RAC Online Training.pdf
PDF
Oracle 11g R2 RAC setup on rhel 5.0
PPTX
tow nodes Oracle 12c RAC on virtualbox
PDF
Oracle cluster installation with grid and iscsi
PPT
01_Architecture_JFV14_01_Architecture_JFV14.ppt
PDF
Create your oracle_apps_r12_lab_with_less_than_us1000
PDF
Oracle RAC Online Training.pdf
PDF
Scaling paypal workloads with oracle rac ss
PPTX
Shareplex Presentation
PDF
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
PPTX
Oracle Real Application Cluster ( RAC )
DOC
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
PDF
Clustering Enhancements
Presentation Template - NCOAUG Conference Presentation - 16 9
RAC-Installing your First Cluster and Database
Rac on NFS
Racsig rac internals
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
Oracle10g rac course_contents
Oracle RAC Online Training.pdf
Oracle 11g R2 RAC setup on rhel 5.0
tow nodes Oracle 12c RAC on virtualbox
Oracle cluster installation with grid and iscsi
01_Architecture_JFV14_01_Architecture_JFV14.ppt
Create your oracle_apps_r12_lab_with_less_than_us1000
Oracle RAC Online Training.pdf
Scaling paypal workloads with oracle rac ss
Shareplex Presentation
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle Real Application Cluster ( RAC )
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Clustering Enhancements
Ad

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Spectral efficient network and resource selection model in 5G networks
The Rise and Fall of 3GPP – Time for a Sabbatical?
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectral efficient network and resource selection model in 5G networks

Step By Step Install Oracle 10g Rac Asm On Windows

  • 1. step by step install oracle 10gR2 rac +ASM on windows using vmware 操作系统 : windows 2003 server 企业版 安 装 软 件 包 :10G 集 群 软 件 包 10201_clusterware_win32.zip 数 据 库 软 件 包 10201_database_win32.zip 1.安装第一个节点 windows 2003 虚拟机 .....................................................................................1 2.编辑 c:windowssystem32driversetchosts.................................................................................2 3.设置两个网卡 ip 地址...................................................................................................................3 4.配置共享磁盘................................................................................................................................3 5.安装另外个节点 2.......................................................................................................................11 6.启动两个节点后 看互相是否能 ping 通...................................................................................11 7.安装 clustware 集群软件 ............................................................................................................12 8. Install the Database Software and Create an ASM Instance .......................................................27 9.dbca 创建集群数据库 ................................................................................................................36 1.安装第一个节点 windows 2003 虚拟机 用 vmware 添加 5 块虚拟硬盘, 1,2 两块做 ocr 和 voting disk, 3,4,5 三块做 asm 存储,并且添加一块网卡 1.在虚拟机配置文件中 rac1.vmx 文件 加入以下内容 设定两节点可以 共享磁盘 disk.locking = "FALSE" diskLib.dataCacheMaxSize = "0" diskLib.dataCacheMaxReadAheadSize = "0" diskLib.dataCacheMinReadAheadSize = "0" diskLib.dataCachePageSize = "4096" diskLib.maxUnsyncedWrites = "0" scsi1.present = "TRUE" scsi1.virtualDev = "lsilogic" scsi1.sharedBus = "VIRTUAL" scsi1:1.present = "TRUE" scsi1:1.mode = "independent-persistent" scsi1:1.fileName = "e:sharedocr.vmdk" scsi1:1.deviceType = "Disk"
  • 2. scsi1:1.redo = "" scsi1:2.present = "TRUE" scsi1:2.mode = "independent-persistent" scsi1:2.fileName = "e:sharedvotingdisk.vmdk" scsi1:2.deviceType = "Disk" scsi1:2.redo = "" scsi1:3.present = "TRUE" scsi1:3.mode = "independent-persistent" scsi1:3.fileName = "e:sharedasm1.vmdk" scsi1:3.deviceType = "Disk" scsi1:3.redo = "" scsi1:4.present = "TRUE" scsi1:4.mode = "independent-persistent" scsi1:4.fileName = "e:sharedasm2.vmdk" scsi1:4.deviceType = "plainDisk" scsi1:4.redo = "" scsi1:4.present = "TRUE" scsi1:4.mode = "independent-persistent" scsi1:4.fileName = "e:sharedasm3.vmdk" scsi1:4.deviceType = "Disk" scsi1:4.redo = "" 2.编辑 c:windowssystem32driversetchosts 加入以下内容 127.0.0.1 localhost # Public 192.168.3.152 rac1.localdomain rac1 192.168.3.155 rac1.localdomain rac2 #Private 192.168.0.101 rac1-priv.localdomain rac1-priv 192.168.0.102 rac2-priv.localdomain rac2-priv #Virtual 192.168.2.111 rac1-vip.localdomain rac1-vip 192.168.2.112 rac2-vip.localdomain rac2-vip
  • 3. 3.设置两个网卡 ip 地址 Rac1 节点 public 为 192.168.3.152,Private 为 192.168.0.101 设置完成后,点 网上邻居 右键属性 菜单栏上的 高级设置 选择适配器与绑定 把 public 的 list 放到最前面 4.配置共享磁盘 设置共享盘自动加载 C:diskpart Diskpart>automount enable Diskpart>exit When the server restarts, open the "Computer Management" dialog (Start > All Programs > Administrative Tools > Computer Management) and click on the Disk Management tree node. This action should initiate the "Initialize and Convert Disk Wizard". Click the "Next" button to continue. Iinitialize all 5 disks by clicking the "Next" button.
  • 4. Don't convert any of the disks. Make sure all 5 disks are unchecked, then "Next" button. Complete the process by clicking the "Finish" button.
  • 5. Right-click on "Disk 1" and select the "New Partition..." option to start the "New Partition Wizard". Click the "Next" button to continue.
  • 6. Select the "Extended partition" option, then click the "Next" button. Accept the default partition size by clicking the "Next" button.
  • 7. Complete the partition by clicking the "Finish" button. The partition will now be displayed with a green bar. Right-click on the partition and select the "New Logical Drive" option to restart the "New Partition Wizard".
  • 8. Click the "Next" button to continue. Accept the "Logical drive" option by clicking the "Next" button.
  • 9. Accept the default partition size by clicking the "Next" button. Select the "Do not assign a drive letter or drive path" option, then click the "Next" button.
  • 10. Select the "Do not format this partition" option, then cclick the "Next" buttonhe "Next" butto Complete the logical drive by clicking the "Finish" button.
  • 11. The drive should now be displayed as a healthy drive with a blue bar. Repeat the previous partitioning steps for the remaining 4 disks. The shared disks are now configured. 5.安装另外个节点 2 关闭这个虚拟机 复制一份 改名为 rac2 修改机器名 为 rac2 public 网卡地址为 192.168.3.155 私有网卡为 192.168.0.102 在启动虚拟机 RAC2 时选 择 copy it 按钮 6.启动两个节点后 看互相是否能 ping 通 ping -c 3 rac2-priv ping –c 3 rac1-priv ping –c 3 rac1 ping –c 3 rac2 和访问默认共享是否可以 192.168.3.155c$ 192.168.3.152c$ 在做 rac 安装时 远程复制需要用上
  • 12. 7.安装 clustware 集群软件 Start the RAC1 and RAC2 virtual machines. The Oracle Clusterware for Windows is very sensitive, so before you start, check the network connection setup on each machine again. Remove and extra network adapters, rename the connections appropriately and check the nodes ping correctly. Make sure your network configuration matches the Checking Network Requirements section of the documentation. Start the Oracle installer on RAC1. On the "Welcome" screen, click the "Next" button.
  • 13. Accept the default inventory location by clicking the "Next" button. Enter the appropriate name and path for the Oracle Home and click the "Next" button.
  • 14. Wait while the prerequisite checks are done. If you have any failures correct them and retry the tests before clicking the "Next" button.
  • 15. The "Specify Cluster Configuration" screen shows only the RAC1 node in the cluster. Click the "Add" button to continue. Enter the details for the RAC2 node and click the "OK" button. Click the "Next" button to continue.
  • 16. The "Specific Network Interface Usage" screen defines how each network interface will be used. Highlight the "public" interface and click the "Edit" button.
  • 17. Set the "public" interface type to "Public" and click the "OK" button. Leave the "private" interface as private and click the "Next" button. On the "Cluster Configuration Storage" screen, highlight disk 1 and click the "Edit" button.
  • 18. Select the "Place OCR(Primary) on this Partition" option and click the "OK" button. Highlight disk 2 and click the "Edit" button. Select the "Place Voting Disk on this Partition" option and click the "OK" button.
  • 19. On the "Cluster Configuration Storage" screen, click the "Next" button and ignore the redundancy warnings by clicking the "OK" button. On the "Summary" screen, click the "Install" button to continue.
  • 20. Wait while the installation takes place. Wait while the configuration assistants run.
  • 21. The VIPCA will fail, so click the "OK" button on the resulting error screen. Click the "Next" button and accept the subsequent warning, then click the "Exit" button to leave the installer.
  • 22. On the RAC1 virtual machine, run the VIPCA manually by issuing the following commands in a command prompt. cd c:oracleproduct10.2.0crsbin vipca.bat Click the "Next" button on the VIPCA welcome screen.
  • 23. Highlight the "public" interface and click the "Next" button. Enter the vitual IP alias and address for each node. Once you enter the first alias, the remaining values should default automatically. Click the "Next" button to continue.
  • 24. Accept the summary information by clicking the "Finish" button. Wait until the configuration is complete, then click the "OK" button.
  • 25. Accept the VIPCA results by clicking the "Exit" button. The status of the finished cluster can be checked by running the cluvfy.bat script as shown
  • 26. below. C:oracleproduct10.2.0crsBIN>cluvfy.bat stage -post crsinst -n rac1,rac2 Performing post-checks for cluster services setup Checking node reachability... Node reachability check passed from node "rac1". Checking user equivalence... User equivalence check passed for user "Administrator". Checking Cluster manager integrity... Checking CSS daemon... Daemon status check passed for "CSS daemon". Cluster manager integrity check passed. Checking cluster integrity... Cluster integrity check passed Checking OCR integrity... Checking the absence of a non-clustered configuration... All nodes free of non-clustered, local-only configurations. Uniqueness check for OCR device passed. Checking the version of OCR... OCR of correct Version "2" exists. Checking data integrity of OCR... Data integrity check for OCR passed. OCR integrity check passed. Checking CRS integrity... Checking daemon liveness... Liveness check passed for "CRS daemon". Checking daemon liveness... Liveness check passed for "CSS daemon". Checking daemon liveness... Liveness check passed for "EVM daemon". Checking CRS health... CRS health check passed. CRS integrity check passed. Checking node application existence... Checking existence of VIP node application (required) Check passed. Checking existence of ONS node application (optional) Check passed. Checking existence of GSD node application (optional) Check passed. Post-check for cluster services setup was successful. C:oracleproduct10.2.0crsBIN>
  • 27. 8. Install the Database Software and Create an ASM Instance Start the RAC1 and RAC2 virtual machines, login to RAC1 and start the Oracle installer. On the "Welcome" screen, click the "Next" button. Select the "Enterprise Edition" option and click the "Next" button.
  • 28. Enter the name and path for the Oracle Home and click the "Next" button. Select the "Cluster Installation" option and make sure both RAC nodes are selected, then click
  • 29. the "Next" button. Wait while the prerequisite checks are done. If you have any failures correct them and retry the tests before clicking the "Next" button.
  • 30. Select the "Configure Automatic Storage Management (ASM)" option, enter the SYS password for the ASM instance, then click the "Next" button.
  • 31. Select the "External" redundancy option (no mirroring) and click the "Stamp Disks..." button. Select the "Add or change label" option and click the "Next" button. Highlight disks 3-5 and click the "Next" button. Remember, disk0 is the OS, disk1 is the OCR location and disk2 is the voting disk.
  • 32. Confirm your selection by clicking the "Next" button Complete the disk stamp by clicking the "Finish" button.
  • 33. Select the candidate disks and click the "Next" button. On the "Summary" screen, click the "Install" button to continue.
  • 34. Wait while the database software installs. Once the installation is complete, wait while the configuration assistants run
  • 35. When the installation is complete, click the "Exit" button to leave the installer.. The database software installation and ASM creation step is now complete.
  • 36. 9.dbca 创建集群数据库 下面一步就是用 dbca 来创建数据库,选择集群和 asm 存储,data diskgroup 创建即可 完成