SlideShare a Scribd company logo
1 of 36
Download to read offline
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

What's hot

Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008
o12
 
Advanced NDISTest options
Advanced NDISTest optionsAdvanced NDISTest options
Advanced NDISTest options
Yan Vugenfirer
 
Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...
sreeharsha43
 

What's hot (20)

High Availability with Windows Server Clustering and Geo-Clustering
High Availability with Windows Server Clustering and Geo-ClusteringHigh Availability with Windows Server Clustering and Geo-Clustering
High Availability with Windows Server Clustering and Geo-Clustering
 
Command reference nos-v3_5
Command reference nos-v3_5Command reference nos-v3_5
Command reference nos-v3_5
 
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
 
QEMU Development and Testing Automation Using MS HCK - Anton Nayshtut and Yan...
QEMU Development and Testing Automation Using MS HCK - Anton Nayshtut and Yan...QEMU Development and Testing Automation Using MS HCK - Anton Nayshtut and Yan...
QEMU Development and Testing Automation Using MS HCK - Anton Nayshtut and Yan...
 
Platform administration guide-nos_v3_5
Platform administration guide-nos_v3_5Platform administration guide-nos_v3_5
Platform administration guide-nos_v3_5
 
Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
Advanced NDISTest options
Advanced NDISTest optionsAdvanced NDISTest options
Advanced NDISTest options
 
Exadata db node update
Exadata db node updateExadata db node update
Exadata db node update
 
Dataguard broker and observerst
Dataguard broker and observerstDataguard broker and observerst
Dataguard broker and observerst
 
Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...
 
vSAN Performance and Resiliency at Scale
vSAN Performance and Resiliency at ScalevSAN Performance and Resiliency at Scale
vSAN Performance and Resiliency at Scale
 
Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012
 
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
 
Enterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - InstallationEnterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - Installation
 
9adcab7c 1 crash
9adcab7c 1 crash9adcab7c 1 crash
9adcab7c 1 crash
 
Percona XtraDB 集群文档
Percona XtraDB 集群文档Percona XtraDB 集群文档
Percona XtraDB 集群文档
 
setting up v ms
 setting up v ms setting up v ms
setting up v ms
 
Advanced rac troubleshooting
Advanced rac troubleshootingAdvanced rac troubleshooting
Advanced rac troubleshooting
 
How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3 How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3
 

Viewers also liked

Oracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_shortOracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_short
Kyle Hailey
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
Yogiji Creations
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
Kernel Training
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Oracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspackOracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspack
Kyle Hailey
 
Oracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ashOracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ash
Kyle Hailey
 
Oracle 10g rac_overview
Oracle 10g rac_overviewOracle 10g rac_overview
Oracle 10g rac_overview
Robel Parvini
 
Oracle 10g Performance: chapter 05 waits intro
Oracle 10g Performance: chapter 05 waits introOracle 10g Performance: chapter 05 waits intro
Oracle 10g Performance: chapter 05 waits intro
Kyle Hailey
 

Viewers also liked (20)

Oracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_shortOracle 10g Performance: chapter 00 intro live_short
Oracle 10g Performance: chapter 00 intro live_short
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Oracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsOracle DB Performance Tuning Tips
Oracle DB Performance Tuning Tips
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Oracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspackOracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspack
 
SQL Tuning and VST
SQL Tuning and VST SQL Tuning and VST
SQL Tuning and VST
 
Message Queue (MQ) Testing
Message Queue (MQ) TestingMessage Queue (MQ) Testing
Message Queue (MQ) Testing
 
Oracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ashOracle 10g Performance: chapter 01 ash
Oracle 10g Performance: chapter 01 ash
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle 10g rac_overview
Oracle 10g rac_overviewOracle 10g rac_overview
Oracle 10g rac_overview
 
Creating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere MqCreating Queue Manager and Queue's in IBM WebSphere Mq
Creating Queue Manager and Queue's in IBM WebSphere Mq
 
Sending and receiving messages in mq queues
Sending and receiving messages in mq queuesSending and receiving messages in mq queues
Sending and receiving messages in mq queues
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 
Oracle 10g Performance: chapter 05 waits intro
Oracle 10g Performance: chapter 05 waits introOracle 10g Performance: chapter 05 waits intro
Oracle 10g Performance: chapter 05 waits intro
 
Database Performance Tuning Introduction
Database  Performance Tuning IntroductionDatabase  Performance Tuning Introduction
Database Performance Tuning Introduction
 
Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)
 

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

Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vm
Ron Morgan
 
OpenWRT manual
OpenWRT manualOpenWRT manual
OpenWRT manual
fosk
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Anar Godjaev
 
rgpv 7th sem for it & cs Cloud computing lab record
rgpv 7th sem for it & cs Cloud computing lab recordrgpv 7th sem for it & cs Cloud computing lab record
rgpv 7th sem for it & cs Cloud computing lab record
naaaaz
 

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

Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vm
 
Creating a windows dual node cluster v1.0
Creating a windows dual node cluster v1.0Creating a windows dual node cluster v1.0
Creating a windows dual node cluster v1.0
 
OpenWRT manual
OpenWRT manualOpenWRT manual
OpenWRT manual
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
 
Installation Errors PSCAD v4.2 PSCAD X4 (v4.3, v4.4, v4.5, v4.6)
Installation Errors PSCAD v4.2 PSCAD X4 (v4.3, v4.4, v4.5, v4.6)Installation Errors PSCAD v4.2 PSCAD X4 (v4.3, v4.4, v4.5, v4.6)
Installation Errors PSCAD v4.2 PSCAD X4 (v4.3, v4.4, v4.5, v4.6)
 
Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210Fcm rapid-install-11122-1634210
Fcm rapid-install-11122-1634210
 
install k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bitinstall k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bit
 
Install
InstallInstall
Install
 
Metasploitable
MetasploitableMetasploitable
Metasploitable
 
Lab: Installation of Xilkernel on Xilinx Spartan 3E Starter board
Lab: Installation of Xilkernel on Xilinx Spartan 3E Starter boardLab: Installation of Xilkernel on Xilinx Spartan 3E Starter board
Lab: Installation of Xilkernel on Xilinx Spartan 3E Starter board
 
[文件] 華創造型SERVER安裝過程記錄 -V6R2016X 安裝流程
[文件] 華創造型SERVER安裝過程記錄 -V6R2016X 安裝流程[文件] 華創造型SERVER安裝過程記錄 -V6R2016X 安裝流程
[文件] 華創造型SERVER安裝過程記錄 -V6R2016X 安裝流程
 
The Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideThe Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study Guide
 
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
 
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linuxOracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
 
cynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guidecynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guide
 
Rhel5 guide-i731
Rhel5 guide-i731Rhel5 guide-i731
Rhel5 guide-i731
 
Ns-2.35 Installation
Ns-2.35 InstallationNs-2.35 Installation
Ns-2.35 Installation
 
Linux Crash Dump Capture and Analysis
Linux Crash Dump Capture and AnalysisLinux Crash Dump Capture and Analysis
Linux Crash Dump Capture and Analysis
 
5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterp5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterp
 
rgpv 7th sem for it & cs Cloud computing lab record
rgpv 7th sem for it & cs Cloud computing lab recordrgpv 7th sem for it & cs Cloud computing lab record
rgpv 7th sem for it & cs Cloud computing lab record
 

Recently uploaded

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

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 创建即可 完成