Académique Documents
Professionnel Documents
Culture Documents
Rac10gR2OnWindows........................................................................................................................................1
1. *Introduction.......................................................................................................................................1
1.0.1. Software required for install............................................................................................1
1.0.2. Processor Model.................................................................................................1
1.1. *Installation steps..........................................................................................................................................2
1.2. *Schematic....................................................................................................................................................2
1.2.1. Hardware/software configuration BEFORE Oracle software install............................................2
1.2.2. Hardware/software configuration AFTER Oracle software install..............................................3
1.3. *Installation Method.....................................................................................................................................3
2. *Prepare the cluster nodes for Oracle RAC.....................................................................................................4
2.1. User Accounts..................................................................................................................................4
2.2. Installing Using Windows Remote Desktop Client.........................................................................6
2.3. Environment Variables....................................................................................................................6
2.4. Networking......................................................................................................................................7
2.4.1. Network Ping Tests..........................................................................................................8
2.4.2. Network Adapter configuration.......................................................................................8
2.4.3. Network Adapter naming and binding order...................................................................8
2.4.4. Net Use Test...................................................................................................................11
2.4.5. Disable DHCP Media Sense..........................................................................................11
2.5. Remote Registry Connect...........................................................................................................................13
2.6. Stopping Services........................................................................................................................................17
2.7. Time Sync...................................................................................................................................................18
2.8. Stage the Oracle Software...........................................................................................................................18
2.9. CVU stage check.........................................................................................................................................19
3. *Prepare the shared storage for Oracle RAC.................................................................................................20
3.1. Shared Disk Layout........................................................................................................................20
3.2. Enable Automount.........................................................................................................................22
3.3. Clean the Shared Disks - Optional Step.........................................................................................22
3.4. Create Logical partitions inside Extended partitions.....................................................................23
3.4.1. View Created partitions.................................................................................................25
3.5. List Drive Letters........................................................................................................................................26
3.5.1. Remove Drive Letters.................................................................................................................26
3.5.2. List volumes on Second node.....................................................................................................28
3.6. View Disks using diskmgmt.msc................................................................................................................28
4. Oracle Clusterware Installation and Configuration.......................................................................................29
4.1. CVU Pre Oracle Clusterware install check....................................................................................29
4.2. Oracle Clusterware Install..............................................................................................................32
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs.........................58
4.2.2. Oracle Clusterware has been installed and configured correctly...................................65
5. Oracle Clusterware patching..........................................................................................................................65
5.1. Apply the latest major patchset......................................................................................................66
5.1.1. Install the patch software...............................................................................................66
5.1.2. Stop the Clusterware software on the first node............................................................72
5.1.3. Stop any other Clusterware processes...........................................................................73
5.1.4. run the patch102.bat file................................................................................................75
5.1.5. repeat on the other nodes in the cluster..........................................................................76
5.1.6. Application of the Oracle Clusterware major patchset is complete...............................77
5.2. Mini Patch...................................................................................................................................................77
6. Oracle ASM Home Software Install..............................................................................................................77
6.1. CVU check.....................................................................................................................................77
6.2. Oracle ASM Home Software Install..............................................................................................77
6.2.1. Oracle ASM software home has been installed.............................................................86
7. Oracle ASM Software Home Patching..........................................................................................................86
7.1. Apply the latest Major patchset.....................................................................................................87
7.2. Apply the latest Mini patch............................................................................................................95
i
Table of Contents
Rac10gR2OnWindows
7.3. The ASM home is patched successfully........................................................................................95
8. Oracle RAC Database Listener Creation.......................................................................................................95
8.1. Create Node specific network listeners..........................................................................................95
8.2. Completed Node specific network listeners creation...................................................................105
9. Oracle ASM Instance and diskgroup Creation............................................................................................105
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups........................................105
9.2. Completed creation of ASM Instance and add of the +DATA and +FLASH diskgroups..........130
10. Oracle RAC Database Home Software Install...........................................................................................130
10.1. CVU check.................................................................................................................................130
10.2. Oracle RAC Database Home Software Install...........................................................................130
10.2.1. Oracle RAC Database software home has been installed..........................................141
11. Oracle RAC Software Home Patching......................................................................................................141
11.1. Apply the latest Major patchset.................................................................................................142
11.2. Apply the latest Mini patch........................................................................................................150
11.3. The RAC Database home is patched successfully.....................................................................150
12. Oracle RAC Database Creation.................................................................................................................150
12.1. use DBCA to create the RAC database......................................................................................150
12.2. RAC database creation is complete...........................................................................................171
ii
Rac10gR2OnWindows
1. *Introduction
• For Microsoft Windows 2003 – Service Pack 2 is strongly recommended, do not run with SP1
• Base Oracle 10gR2 DVD
• The latest patchset (currently 10.2.0.4 available as patch 6810189 for x64)
• The latest mini patch (currently PATCH 34 available as patch 9393550 for x64) - These patches are
cumulative - The latest mini patch will have all previous mini patch components with it. Use Metalink
Note:373040.1 : 'How To Identify and Locate the Latest Windows MiniPatch For Your Patchset
Version'.
• The latest Oracle Cluster verify Utility (CVU) from here :
http://www.oracle.com/technology/products/database/clustering/cvu/cvu_download_homepage.html
• For Microsoft Windows 2008 – Service Pack 2 is strongly recommended, do not run with SP1
• Oracle Database 10g Release 2 (10.2.0.4.0) Enterprise/Standard Edition for Microsoft Windows Vista
x64 and Microsoft Windows Server 2008 x64
• The latest mini patch (currently PATCH 34 available as patch 9393550 for x64) - These patches are
cumulative - The latest mini patch will have all previous mini patch components with it. Use Metalink
Note:373040.1 : 'How To Identify and Locate the Latest Windows MiniPatch For Your Patchset
Version'.
• The latest Oracle Cluster verify Utility (CVU) from here :
http://www.oracle.com/technology/products/database/clustering/cvu/cvu_download_homepage.html
Do not mix Microsoft Operating Systems between nodes in a cluster. e.g Windows 2003 X64 on one node and
Windows 2003 64bit Itanium IA64 on another
This paper covers both 32bit and 64bit install. Please note that The OS Version of Oracle you install must
match the OS Chip Version.
•
♦ Windows 2003 32bit - you must install the 32bit versions of the Oracle software.
♦ Windows 2003 64bit X64 - you must install the 64bit X64 versions of the Oracle software.
♦ Windows 2003 64bit Itanium IA64 - you must install the 64bit Itanium IA64 versions of the
Oracle software.
•
♦ Windows 2008 32bit - you must install the 32bit versions of the Oracle software.
Rac10gR2OnWindows 1
♦ Windows 2008 64bit X64 - you must install the 64bit X64 versions of the Oracle software.
• Preparation
♦ Install the Oracle Clusterware (using the push mechanism to install on the other nodes in the
cluster)
♦ Patch the Clusterware to the latest patchset
• Establish ASM
1.2. *Schematic
The following is a schematic of the software & hardware layout of a 2-node RAC cluster. As explained in this
document the actual number of LUN’s required will vary depending on your mirroring requirements.
Notice that there are a number of LUNs presented to both machines from the shared storage.
• 5 of 270MB LUNs
• NTFS_RAW_ASM: The Oracle Cluster, ASM & Oracle Database Homes are established on the
local disk of each of the RAC nodes. The files required by Oracle Clusterware are on RAW partitions.
The database data-files are on ASM. The local Homes for Oracle Clusterware, ASM and RAC take up
a total of 6.5GB on each nodes' local disk filesystem.
It should be noted that there are 2 other popular installation configurations. This document does not cover
these methods:
• NTFS_RAW_RAW: The Oracle Cluster, ASM & Oracle Database Homes are established on the
local disk of each of the RAC nodes. The files required by Oracle Clusterware are on RAW partitions.
The database data-files are also on RAW.
• NTFS_OCFS_OCFS: The Oracle Cluster, ASM & Oracle Database Homes are established on the
local disk of each of the RAC nodes. The files required by Oracle Clusterware are on OCFS. The
database data-files are also on OCFS.
There are other possible combinations although Oracle recommends one of the above methods.
or you can 'Show' or 'Hide' all by selecting here : Show all Hide all
This installation routine presumes that you have a 2-node Windows cluster. There are a number of items that
require checking before the install commences. Getting this bit right will enhance your install experience.
1. User Accounts
2. Installing using Remote desktop client
3. Environment Variables
4. Networking
5. Remote Registry Connect
6. Stopping Services that might impact the installation process
7. Time sync
8. Stage the Oracle Software
9. Run CVU
It is essential that these items are checked and are configured correctly before the install commences.
Not using an administrator account that is explicitly declared by username in the Local administrators group
will cause the install to fail
Show the User Account setup information Hide the User Account setup information
1. Open a command prompt and type â–secpol.mscâ– to launch the Security Policy Console
management utility.
2. From the Local Security Settings console tree, click Local Policies, and then Security Options
3. Scroll down to and double-click User Account Control: Behavior of the elevation prompt for
administrators.
4. From the drop-down menu, select: Elevate without prompting (tasks requesting elevation will
automatically run as elevated without prompting the administrator)
5. Click OK to confirm the changes.
6. Repeat steps 1-5 on ALL cluster nodes.
You also must ensure that the Administrators group is listed under â–Manage auditing and security logâ–:
1. Open a command prompt and type â–secpol.mscâ– to launch the Security Policy Console
management utility.
2. Click on â–Local Policiesâ–
3. Click on â–User Rights Assignmentâ–
4. Locate and double click the â–Manage auditing and security logâ– in the listing of User Rights
Assignments.
5. If the Administrators group is NOT listed in the â–Local Security Settingsâ– tab, add the group now.
6. Click OK to save the changes (if changes were made).
7. Repeat steps 1-6 on ALL cluster nodes.
For Microsoft Windows 2008, the /admin parameter should be used instead of the /console parameter with
MS Terminal Services Client. From the Start-> run menu you must type mstsc /v:nodename /admin
For more information go here: http://support.microsoft.com/kb/947723
• TEMP=C:\WINDOWS\TEMP
• TMP=C:\WINDOWS\TEMP
and that the directory actually exists. You should check these values are the same on all nodes in the cluster.
The installer assumes that the local user and system user TMP & TEMP environment variables are the same.
It copies temporary binaries to remote nodes at that path. If they are not the same on all nodes the install will
fail.
Show the Enviroment Variable setup information Hide the Enviroment Variable setup information
• The public IP address, which should be recorded in hosts file on each node and, if available, DNS.
This IP Address should be bound to the public adapter before starting the install. It should be a static,
not DHCP, address
• The private IP address, which should be from a different subnet than the public IP address. This
address does not require registering in DNS but you should place an entry in the hosts file on each
node. This IP Address should be bound to the private adapter before starting the install. It should be a
static, not DHCP, address
• A VIP address, which should be from the same subnet as the public IP address and should be
recorded in DNS and the hosts file on each node. This IP Address should NOT be bound to the public
adapter before starting the install. Oracle Clusterware is responsible for binding this address. It should
be a static, not DHCP, address
If you do not have a DNS server then make sure both the public and the VIP addresses are entered into all the
relevant hosts files that are normally found in the %SystemRoot%\system32\drivers\etc\hosts
file.
127.0.0.1 localhost
10.10.10.11 winnode1 # Also in DNS if available
10.10.10.21 winnode2 # Also in DNS if available
2.4. Networking 7
10.10.10.51 winnode1-vip # Also in DNS if available
10.10.10.61 winnode2-vip # Also in DNS if available
192.168.10.11 winnode1-priv
192.168.10.21 winnode2-priv
It is important to confirm that networking is configured correctly before commencing install.
There are a series of 'ping' tests that should be completed, and then the network adapter binding order should
be checked. You should ensure that the public IP addresses resolve correctly and that the private addresses are
of the form 'nodename-priv' and resolve on both nodes via the hosts file.
Pinging Node1 from Node1 should return Node1's public IP address Pinging Node2 from Node1 should return
Node2's public IP address Pinging Node1 from Node2 should return Node1's public IP address Pinging Node2
from Node2 should return Node2's public IP address
Pinging Node1 private from Node1 should return Node1's private IP address Pinging Node2 private from
Node1 should return Node2's private IP address Pinging Node1 private from Node2 should return Node1's
private IP address Pinging Node2 private from Node2 should return Node2's private IP address
Pinging the VIP address at this point should fail. VIPs will be activated at the end of the Oracle Clusterware
install.
If any of the above tests fail you should fix name/address resolution by updating the DNS or local hosts files
on each node before continuing with the installation.
If your network adapters allow configuration you should make sure that they are configured for Full Duplex
and at the 'fastest' speed consistent among nodes. They should not be left to 'auto-negotiate'.
You must check the network adapter binding order. The public adapter must be listed first. Windows will
normally name the adapters "Local Area Connection" and "Local Area Connection 2". Take the opportunity to
rename the adapters on each node at this point. It is important the names used for each class of adapter be
consistent across all nodes.
For Microsoft Windows 2003: In the Control Panel double click on the Network (or Network & Dialup)
Connections icon.
For Microsoft Windows 2008: From the Start-> run menu you must type ncpa.cpl, and then click OK
Software gets distributed between the nodes via copying to the remote nodes from the local node. You should
ensure that this procedure will be successful by testing the net use command
On node1 issue the following command:
You should disable media sense. Media Sense allows Windows to uncouple an IP address from a card when
the link to the local switch is lost. You should disable this activity using the registry editor regedit.
• Oracle Database 10g Release 2 (10.2.0.4.0) Enterprise/Standard Edition for Microsoft Windows Vista
x64 and Microsoft Windows Server 2008 x64
• The latest mini patch : currently patch 34
If you download the software from OTN you will not get the integrated installer. You will have separate
downloads for :
Result: Node connectivity check passed for subnet "192.168.10.0" with node(s) w
WARNING:
Could not find a suitable set of interfaces for VIPs.
WARNING:
Could not find a suitable set of interfaces for the private interconnect.
Post-check for hardware and operating system setup was unsuccessful on all the
Notice the Shared Storage check failed: This is because this test cluster is using iSCSI and CVU cannot check
the ‘shared-ness’ of iSCSI disks. Also it could not automatically determine the distinct public and private
network adapters.
At least 2 empty partitions are required for the Oracle Clusterware install using external mirroring/redundancy
All of these partitions should be a minimum of 256MB each. Because of space used by extended and logical
partitions it is recommended that these LUNs be a minimum of 270MB. If you choose to use Oracle mirroring
you should ensure that the partitions created for the mirrors are on separate physical devices.
The first disk (Disk 0) is the local C: drive used for the software install. The Storage Administrator has
provisioned 14 LUNs from the shared disk array (Disk1 – Disk14)
In this document we will use the diskpart command line tool to manage these LUNs. You must create logical
drives inside of extended partitions for the disks to be used by Oracle Clusterware and Oracle ASM. There
must be no drive letters assigned to any of the Disks1 – Disk14 on any node. For MIcrosoft Windows 2003 it
is possible to use diskmgmt.msc instead of diskpart (as used in the following sections) to create these
partitions. For Microsoft Windows 2008, diskmgmt.msc cannot be used instead of diskpart to create these
partitions.
C:\>diskpart
DISKPART>AUTOMOUNT ENABLE
Repeat the above command on all nodes in the cluster
Check that none of the RAW partitions have drive letters assigned
or you can 'Show' or 'Hide' all by selecting here : Show all Hide all
Next we will install the Oracle Clusterware layer. Oracle Clusterware is an essential component of the Oracle
RAC database infrastructure. Oracle Clusterware does not require any other clustering software. There is no
need to install Microsoft Cluster Services (MSCS) software.
• The local drive that will host the Oracle Clusterware software
• The shared devices that will be used by Oracle Clusterware
• The public node names and IP addresses for the nodes to be used by the cluster
• The private node names and IP addresses for the nodes to be used by the cluster
• The Virtual Public IP names and IP addresses for the nodes to be used by the cluster
WARNING:
Could not find a suitable set of interfaces for VIPs.
WARNING:
Could not find a suitable set of interfaces for the private interconnect.
Start the installer by running setup.exe from the staged installation media.
• Action
♦ Click Next
♦ The OUI will name the Oracle Clusterware Home 'OraCr10g_home'. If you change this you
should make sure that the name you use is unique
♦ By default the Oracle installer will select the local drive with the most free space and will use
the path :\oracle\product\10.2.0\crs. If you change the drive you should make sure that there is
enough free space on the selected drive on all the nodes for the home (which is currently
some 600MB). As clusterware runs it will also create various log files inside the Clusterware
Home.
• Actions
♦ The installer will validate the state of the cluster before continuing. If there are issues you
should rectify them before continuing.
• Actions
♦ Click Next
♦ Each Cluster requires a name, this should be unique within your organization, The default is
'crs' you should change this to be unique within your organization
♦ This is where you specify details of all the nodes in the cluster. The installer will default
names for the node it is running on. You must add other nodes manually.
♦ Oracle defaults the names to 'nodename', 'nodename-priv', 'nodename-vip' be sure to modify
these names if needed using the 'Edit...' button
• Actions
◊ Public Node Name : must resolve via hosts and or DNS to the public IP address and
must be live
◊ Private Node Name : must resolve via hosts to the interconnect IP address and must
be live
◊ Virtual Host Name : must resolve via hosts and or DNS to a new IP address and must
not be live
◊ If these are not correct select the node entry and click Edit... to modify OR
♦ Click Add... to add more nodes to the cluster
♦ Here you specify the details of the node you wish to add to the cluster nodes list
• Actions
◊ Public Node Name : must resolve via hosts and or DNS to the public IP address and
must be live
◊ Private Node Name : must resolve via hosts to the interconnect IP address and must
be live
◊ Virtual Host Name : must resolve via hosts and or DNS to a new IP address and must
not be live
♦ Click OK to return to the node list for the cluster
♦ Click Next
♦ The installer lists all the Network adapters. You should have one Adapter correctly identified
as type 'Public' and at least one adapter correctly identified as type 'Private'. The installer will
try and guess the use of an adapter based on the IP address bound. If it guesses incorrectly
you must change the usage. Here it has guessed that all adapters are Private, which is
incorrect.
• Actions
♦ Here you specify the ‘Interface type’ Oracle will use this specific network for
• Actions
♦ Here we specify the shared storage devices that will be used by Oracle Clusterware. Ideally
you will have 2 devices for the OCR, Oracle will mirror to these devices to protect you from a
single OCR device failure. Also you will have a total of 3 vote devices to protect your cluster
from the failure of a single vote device.
♦ If you do not see partitions listed here that you expect to see - It may be because you had a
previous failed install and have not cleaned up correctly - see My Oracle Support
Note:341214.1 : How To clean up after a Failed (or successful) Oracle Clusterware
Installation on Windows for how to clean up a failed install.
• Actions
♦ Here you can see the usage for the first OCR device has been set
♦ Now we will set the usage for the second OCR device
• Actions
♦ Next we specify the devices to be used for the Oracle Clusterware vote disks
• Actions
♦ Now you can see that we have 2 OCR devices and 3 vote devices
• Actions
♦ Click Next
♦ Click Install
♦ none required
♦ none required
♦ the VIP Configuration assistant will fail if the public IP address is not from within a routable
range - we can fix this later.
• Actions
♦ Click OK
♦ here you can see that the installer shows the status canceled for the VIP Configuration
Assistant
• Actions
♦ Click Cancel
♦ The OUI detects that not all the assistants completed successfully
• Actions
♦ Click OK
♦ Click Exit
♦ Click Yes
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 58
• Notes
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 59
• Notes
♦ Click Next
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 60
• Notes
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 61
• Notes
♦ here we enter the IP Alias names for the virtual IP Addresses * Take care here to manually
enter both the IP Alias names
• Actions
♦ Enter the Alias name for the first node in the cluster
♦ Enter the Alias name for the second node in the cluster - repeat for all nodes in the cluster if
you have more than 2
♦ Click Next
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 62
• Notes
♦ Click Finish
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 63
• Notes
♦ The VIP, GSD, and ONS resources get configured inside Oracle Clusterware
• Actions
♦ none required
4.2.1. Run the VIP Configuration Assistant manually to configure the VIPs 64
• Notes
♦ Click Exit
For Microsoft Windows 2003, the current major patchset is 10.2.0.4 - available as part of patch 6810189
For Microsoft Windows 2008, 10.2.0.4 patchset fixes have been included in the Oracle Clusterware
installation. No patchset needs to be applied for Microsoft Windows 2008.
For both Microsoft Windows 2003 and Microsoft Windows 2008, you should apply the latest available mini
patch. The current mini patch is Patch 34 - available for x64 Windows as part of patch 9393550
So we need to :
• Apply the latest major patchset (only for Microsoft Windows 2003)
• Apply the latest mini patch
You should read the steps in the readme for the patch very carefully.
You should run setup from the base of the directory of the patchset on one node of the cluster only.
♦ Click Next
• Notes
♦ You should ensure that the Clusterware home is selected in the first drop down list box
♦ The installer should default the directory to the correct location
• Actions
♦ the installer detects that this is a clustered home and automatically selects all the nodes in the
cluster
• Actions
♦ Click Next
♦ Click Next
♦ Click Install
♦ the installer stages the patch on all the nodes in the cluster
• Actions
♦ No action required
♦ At the end of the install the installer lists the mandatory steps that must be completed to apply
this patch
• Actions
♦ Click exit
The software has been staged on each node but it has not yet been applied to the Clusterware homes
♦ You must stop all of the Oracle Clusterware Services using the services.msc applet
• Actions
◊ OracleObjectService
◊ OracleClusterVolumeService
◊ OracleCRService
◊ OracleCSService
◊ OracleEVMService
You will find that even though you appear to have stopped all the services the patch will fail unless you
complete the following
♦ Using Windows task Manager - you should locate the ons.exe processes
• Actions
♦ No Action Required
D:\>cd \oracle\product\10.2.0\crs\install
D:\oracle\product\10.2.0\crs\install>patch102.bat
Successful validation check of Oracle CRS services status
Successful binary patch of the D:\oracle\product\10.2.0\crs
Successful cleanup of patch subdirectory
D:\oracle\product\10.2.0\crs\inventory\Templates\install\patch102\bin\cluvfy.ba
D:\oracle\product\10.2.0\crs\inventory\Templates\install\patch102\bin\gsd.bat -
After completing the patch upgrade on the last node you should check the software and active versions:
• Notes
♦ Here we will create an ASM Software home on all the nodes in the cluster
• Actions
♦ Click Next
♦ This is where you specify the location of the ASM software home. Modify the Home name
and Home Path to include the word ASM. This makes it easier to identify later on. If you
change the path you should ensure that you do not use the exact same path as the Oracle
Clusterware home.
• Actions
♦ The installer has detected the presence of Oracle Clusterware and uses this to populate this
dialog box. To build a cluster which includes all nodes you must ensure that there are
check-boxes next to the node names.
• Actions
♦ The installer will then complete some Product-Specific Prerequisite checks. These should all
pass OK – as you have already run the CVU check.
• Actions
♦ Click Next
♦ We are going to install a Software only home and then subsequently configure the software
• Actions
♦ Click Install
♦ Here the installer copies the software to all nodes in the cluster
• Actions
♦ none required
♦ After the software install completes you will see this 'End of Installation' dialog
• Actions
♦ Click Exit
♦ Click Yes
• Apply the latest major patchset (only for Microsoft Windows 2003)
♦ For Microsoft Windows 2003, the current major patchset is 10.2.0.4 - available as part of
patch 6810189. Use the same staged patch as you used for the Oracle Clusterware Home.
♦ For Microsoft Windows 2008, 10.2.0.4 patchset fixes have been included in the Oracle
Clusterware installation. No patchset needs to be applied for Microsoft Windows 2008.
♦ For both Microsoft Windows 2003 and Microsoft Windows 2008, you should apply the latest
available mini patch. The current mini patch is Patch 34 - available for x64 Windows as part
of patch 9393550
• Notes
♦ Click Next
♦ You are patching the ASM home. you need to make sure this is selected in the drop down list
box
• Actions
♦ the installer detects that this is a clustered home and automatically selects all the nodes in the
cluster
• Actions
♦ Click Next
♦ Click Next
♦ Click Next
♦ Click Install
♦ The installer copies the patch to all the nodes in the cluster
• Actions
♦ No action required
♦ Click Exit
♦ Click Yes
♦ You must use the NETCA from the ASM home to create the listeners
• Actions
♦ From the start menu select Oracle - OraDb10g_home1->Configuration and Migration Tools
-> Net Configuration Assistant
♦ Netca detects that the Oracle Clusterware layer is running and offers Cluster or Single Node
configuration
• Actions
♦ Netca uses Oracle Clusterware to determine all the nodes in the cluster
• Actions
♦ Here you get the opportunity to name the listener – Do not change this. The listeners will
automatically be called LISTENER_nodename1 & LISTENER_nodename2. This is
important for RAC.
• Actions
♦ Click Next
♦ Oracle Net supports various network protocols, although TCP is the most common.
• Actions
♦ Ensure the Use the 'Standard port number of 1521' radio button is set
♦ Click Next
♦ After configuring the node listeners you get the opportunity to configure additional listeners
• Actions
♦ Click Finish
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups
♦ We use the DBCA from the ASM install to create the ASM instances
• Actions
♦ From the start menu select Oracle - OraASM10g_home1->Configuration and Migration Tools
-> Database Configuration Assistant
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 106
• Notes
♦ DBCA detects the Oracle Clusterware layer is running and offers to create either cluster or
single instance database
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 107
• Notes
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 108
• Notes
♦ You need to make sure you create ASM instances on all the cluster nodes
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 109
• Notes
♦ Here we specify the password for the ASM Oracle SYS user
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 110
• Notes
♦ Click OK
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 111
• Notes
♦ no action
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 112
• Notes
♦ ASM requires disks to be grouped together into diskgroups. This section will be used to
create 2 disk groups +DATA and +FLASH
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 113
• Notes
♦ At the moment no disks are visible They must be stamped before they appear in the Member
disk list.
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 114
• Notes
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 115
• Notes
♦ Here you can see a list of the devices visible to asmtool. The first 2 are the OS C: and D:
drives. The next 5 are the devices used by Oracle Clusterware. The next 9 disks are Candidate
devices for ASM usage. We are going to use the first 6 disks for the +DATA diskgroup
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 116
• Notes
♦ This is a summary of the actions asmtool will carry out for the DATA disks
• Actions
♦ Click Next
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 117
• Notes
♦ Click Finish
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 118
• Notes
♦ The ‘stamped’ disks are now visible. We need to stamp the remaining disks for the +FLASH
diskgroup
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 119
• Notes
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 120
• Notes
♦ You can see the same list as before. Notice the DATA diskgroup disk labels are visible.
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 121
• Notes
♦ This is a summary of the actions asmtool will carry out for the FLASH disks
• Actions
♦ Click Next
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 122
• Notes
♦ Click Finish
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 123
• Notes
♦ Now we will assign disks to specific diskgroups and create the DATA diskgroup
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 124
• Notes
♦ none
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 125
• Notes
♦ Here we can see the DATA diskgroup has been created and is mounted on 2/2 instances. We
now need to create the FLASH diskgroup.
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 126
• Notes
♦ Now we will assign disks to specific diskgroups and create the FLASH diskgroup
• Actions
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 127
• Notes
♦ none
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 128
• Notes
♦ Here we can see the DATA and FLASH diskgroups have been created and are mounted on
2/2 instances. This completed the ASM configuration.
• Actions
♦ Click Finish
9.1. Create ASM Instance and add the +DATA and +FLASH diskgroups 129
• Notes
♦ Click No
9.2. Completed creation of ASM Instance and add of the +DATA and
+FLASH diskgroups
Congratulations you have installed ASM, Network listeners and created 2 ASM diskgroups.
9.2. Completed creation of ASM Instance and add of the +DATA and +FLASH diskgroups 130
• Notes
♦ Here we will create a RAC Database Software home on all the nodes in the cluster
• Actions
♦ Click Next
♦ This is where you specify the location of the RAC Database software home. If you change the
path you should ensure that you do not use the exact same path as the Oracle Clusterware
home or the ASM Home.
• Actions
♦ The installer has detected the presence of Oracle Clusterware and uses this to populate this
dialog box. To build a cluster which includes all nodes you must ensure that that you check
the checkboxes next to the node names.
• Actions
♦ The installer will then complete some Product-Specific Prerequisite checks. These should all
pass OK – as you have already run the CVU check.
• Actions
♦ Click Next
♦ We are going to install a software only home and then subsequently configure the software
• Actions
♦ Click 'Install'
♦ Here the installer copies the software to all nodes in the cluster
• Actions
♦ none required
♦ After the software install completes you will see this 'End of Installation' dialog
• Actions
♦ Click Exit
♦ Click Yes
• Apply the latest major patchset (only for Microsoft Windows 2003)
♦ For Microsoft Windows 2003, the current major patchset is 10.2.0.4 - available as part of
patch 6810189. Use the same staged patch as you used for the Oracle Clusterware Home.
♦ For Microsoft Windows 2008, 10.2.0.4 patchset fixes have been included in the Oracle
Clusterware installation. No patchset needs to be applied for Microsoft Windows 2008.
♦ For both Microsoft Windows 2003 and Microsoft Windows 2008, you should apply the latest
available mini patch. The current mini patch is Patch 34 - available for x64 Windows as part
of patch 9393550
10.2.1. Oracle RAC Database software home has been installed 141
11.1. Apply the latest Major patchset
Start the installer by running setup.exe from the root of the patch directory on one of the nodes in the cluster
• Notes
♦ Click Next
♦ You are patching the RAC Database home. Make sure this is selected in the drop down list
box.
• Actions
♦ Select the RAC Database home in the drop down list box
♦ Click Next
♦ the installer detects that this is a clustered home and automatically selects all the nodes in the
cluster
• Actions
♦ Click Next
♦ Click Next
♦ Click Next
♦ Click Install
♦ The installer copies the patch to all the nodes in the cluster
• Actions
♦ No action required
♦ Click Exit
♦ Click Yes
♦ You must use the DBCA from the RAC database home – not the ASM home
♦ DBCA detects the Oracle Clusterware layer is running and offers to create either cluster or
single instance database
• Actions
♦ You need to make sure you create RAC database instances on all the cluster nodes
• Actions
♦ Now you specify the preface for the SIDs for the RAC database instances – recommendation
is to keep it simple
• Actions
♦ Enter ERI in the Global Database name, The SID should autofill
♦ Click Next
♦ Here you get to configure Oracle Enterprise Manager. If you have no Grid Control server then
the best method is to use dbcontrol as detailed here.
• Actions
♦ Here we specify the password for the Oracle Database users. In this example we are setting
the same password for all users. You should set a password scheme that meets your
requirements.
• Actions
♦ Here you specify where you would like your database datafiles stored. We are going to use
the ASM diskgroups we created earlier.
• Actions
♦ DBCA displays the diskgroups we previously created. We are going to use the DATA
diskgroup
• Actions
♦ Here we specify recovery configuration information. We are going to use a flash recovery
area.
• Actions
♦ Click Next
♦ Click Next
♦ Click Next
♦ A summary screen
• Actions
♦ Click Next
♦ none
♦ After the database is created the summary screen is displayed – note the URL provided for
Database Control
• Actions
♦ Click Exit
♦ none