153
RAC Installation Lab RAC Installation Lab Installing and Installing and Configuring a Real Configuring a Real Application Cluster on Application Cluster on Windows Server 2003 Windows Server 2003

RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Embed Size (px)

Citation preview

Page 1: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

RAC Installation LabRAC Installation LabInstalling and Configuring Installing and Configuring a Real Application Cluster a Real Application Cluster on Windows Server 2003on Windows Server 2003

IntroductionIntroduction This exercise will guide you step-by-This exercise will guide you step-by-

step through a Real Application step through a Real Application Cluster InstallCluster Install

Your instructor will provide you with Your instructor will provide you with pertinent information about pertinent information about hardware software and settings to hardware software and settings to useuse

The servers are already configured The servers are already configured with Microsoft Windows Server 2003with Microsoft Windows Server 2003 OS configuration steps are provided as OS configuration steps are provided as

documentation and do not have to be documentation and do not have to be performed until first notedperformed until first noted

The patch installation section is optional The patch installation section is optional and may be omitted for time and may be omitted for time considerationsconsiderations

Pre-installation System Pre-installation System RequirementsRequirements Processors Processors

Pentium III + or equivalent 500 MHz + for Windows Pentium III + or equivalent 500 MHz + for Windows 2003 32-bit version2003 32-bit version

EM64T or AMD Opteron processor required for Windows EM64T or AMD Opteron processor required for Windows 2003 X64 version2003 X64 version

Itanium2 processor required for IA64 versionItanium2 processor required for IA64 version

RAM 512 MB (1 GB + strongly recommended)RAM 512 MB (1 GB + strongly recommended) Virtual Memory Initial Size 200 MB Maximum Virtual Memory Initial Size 200 MB Maximum

Size 400 MBSize 400 MB 17 GB storage minimum on each node for Oracle 17 GB storage minimum on each node for Oracle

software installsoftware install 7 GB shared storage minimum for database 7 GB shared storage minimum for database

installinstall Video Adapter 256 colorVideo Adapter 256 color

Pre-installation Software Pre-installation Software RequirementsRequirements Windows 2003 Server Standard Windows 2003 Server Standard

Enterprise or Datacenter Edition Enterprise or Datacenter Edition (depending on CPU and Memory (depending on CPU and Memory requirements)requirements)

32-bit version of OS required for Oracle 9i32-bit version of OS required for Oracle 9i 32-bit or 64-bit version of OS for Oracle 32-bit or 64-bit version of OS for Oracle

10g10g Uninstall unused Java SDK or Java RuntimeUninstall unused Java SDK or Java Runtime Uninstall old Oracle software (if not Uninstall old Oracle software (if not

upgrading)upgrading) With regedit manually remove Oracle-related With regedit manually remove Oracle-related

folders under HKEY_LOCAL_MACHINE -gt folders under HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SYSTEM -gt ControlSet001 ControlSet002 and SYSTEM -gt ControlSet001 ControlSet002 and CurrentControlSetCurrentControlSet

Prepare ServersPrepare Servers

Inventory all hardware and softwareInventory all hardware and software Place all hardware components in a rackPlace all hardware components in a rack Install HBAs and NICs in PCI slotsInstall HBAs and NICs in PCI slots Upgrade system BIOS and component Upgrade system BIOS and component

BIOS and firmwareBIOS and firmware Connect all cables (leave storage Connect all cables (leave storage

disconnected)disconnected) Select F2 (setup) on reboot and verify that Select F2 (setup) on reboot and verify that

CD drive is first in the boot order CD drive is first in the boot order

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 2: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

IntroductionIntroduction This exercise will guide you step-by-This exercise will guide you step-by-

step through a Real Application step through a Real Application Cluster InstallCluster Install

Your instructor will provide you with Your instructor will provide you with pertinent information about pertinent information about hardware software and settings to hardware software and settings to useuse

The servers are already configured The servers are already configured with Microsoft Windows Server 2003with Microsoft Windows Server 2003 OS configuration steps are provided as OS configuration steps are provided as

documentation and do not have to be documentation and do not have to be performed until first notedperformed until first noted

The patch installation section is optional The patch installation section is optional and may be omitted for time and may be omitted for time considerationsconsiderations

Pre-installation System Pre-installation System RequirementsRequirements Processors Processors

Pentium III + or equivalent 500 MHz + for Windows Pentium III + or equivalent 500 MHz + for Windows 2003 32-bit version2003 32-bit version

EM64T or AMD Opteron processor required for Windows EM64T or AMD Opteron processor required for Windows 2003 X64 version2003 X64 version

Itanium2 processor required for IA64 versionItanium2 processor required for IA64 version

RAM 512 MB (1 GB + strongly recommended)RAM 512 MB (1 GB + strongly recommended) Virtual Memory Initial Size 200 MB Maximum Virtual Memory Initial Size 200 MB Maximum

Size 400 MBSize 400 MB 17 GB storage minimum on each node for Oracle 17 GB storage minimum on each node for Oracle

software installsoftware install 7 GB shared storage minimum for database 7 GB shared storage minimum for database

installinstall Video Adapter 256 colorVideo Adapter 256 color

Pre-installation Software Pre-installation Software RequirementsRequirements Windows 2003 Server Standard Windows 2003 Server Standard

Enterprise or Datacenter Edition Enterprise or Datacenter Edition (depending on CPU and Memory (depending on CPU and Memory requirements)requirements)

32-bit version of OS required for Oracle 9i32-bit version of OS required for Oracle 9i 32-bit or 64-bit version of OS for Oracle 32-bit or 64-bit version of OS for Oracle

10g10g Uninstall unused Java SDK or Java RuntimeUninstall unused Java SDK or Java Runtime Uninstall old Oracle software (if not Uninstall old Oracle software (if not

upgrading)upgrading) With regedit manually remove Oracle-related With regedit manually remove Oracle-related

folders under HKEY_LOCAL_MACHINE -gt folders under HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SYSTEM -gt ControlSet001 ControlSet002 and SYSTEM -gt ControlSet001 ControlSet002 and CurrentControlSetCurrentControlSet

Prepare ServersPrepare Servers

Inventory all hardware and softwareInventory all hardware and software Place all hardware components in a rackPlace all hardware components in a rack Install HBAs and NICs in PCI slotsInstall HBAs and NICs in PCI slots Upgrade system BIOS and component Upgrade system BIOS and component

BIOS and firmwareBIOS and firmware Connect all cables (leave storage Connect all cables (leave storage

disconnected)disconnected) Select F2 (setup) on reboot and verify that Select F2 (setup) on reboot and verify that

CD drive is first in the boot order CD drive is first in the boot order

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 3: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Pre-installation System Pre-installation System RequirementsRequirements Processors Processors

Pentium III + or equivalent 500 MHz + for Windows Pentium III + or equivalent 500 MHz + for Windows 2003 32-bit version2003 32-bit version

EM64T or AMD Opteron processor required for Windows EM64T or AMD Opteron processor required for Windows 2003 X64 version2003 X64 version

Itanium2 processor required for IA64 versionItanium2 processor required for IA64 version

RAM 512 MB (1 GB + strongly recommended)RAM 512 MB (1 GB + strongly recommended) Virtual Memory Initial Size 200 MB Maximum Virtual Memory Initial Size 200 MB Maximum

Size 400 MBSize 400 MB 17 GB storage minimum on each node for Oracle 17 GB storage minimum on each node for Oracle

software installsoftware install 7 GB shared storage minimum for database 7 GB shared storage minimum for database

installinstall Video Adapter 256 colorVideo Adapter 256 color

Pre-installation Software Pre-installation Software RequirementsRequirements Windows 2003 Server Standard Windows 2003 Server Standard

Enterprise or Datacenter Edition Enterprise or Datacenter Edition (depending on CPU and Memory (depending on CPU and Memory requirements)requirements)

32-bit version of OS required for Oracle 9i32-bit version of OS required for Oracle 9i 32-bit or 64-bit version of OS for Oracle 32-bit or 64-bit version of OS for Oracle

10g10g Uninstall unused Java SDK or Java RuntimeUninstall unused Java SDK or Java Runtime Uninstall old Oracle software (if not Uninstall old Oracle software (if not

upgrading)upgrading) With regedit manually remove Oracle-related With regedit manually remove Oracle-related

folders under HKEY_LOCAL_MACHINE -gt folders under HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SYSTEM -gt ControlSet001 ControlSet002 and SYSTEM -gt ControlSet001 ControlSet002 and CurrentControlSetCurrentControlSet

Prepare ServersPrepare Servers

Inventory all hardware and softwareInventory all hardware and software Place all hardware components in a rackPlace all hardware components in a rack Install HBAs and NICs in PCI slotsInstall HBAs and NICs in PCI slots Upgrade system BIOS and component Upgrade system BIOS and component

BIOS and firmwareBIOS and firmware Connect all cables (leave storage Connect all cables (leave storage

disconnected)disconnected) Select F2 (setup) on reboot and verify that Select F2 (setup) on reboot and verify that

CD drive is first in the boot order CD drive is first in the boot order

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 4: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Pre-installation Software Pre-installation Software RequirementsRequirements Windows 2003 Server Standard Windows 2003 Server Standard

Enterprise or Datacenter Edition Enterprise or Datacenter Edition (depending on CPU and Memory (depending on CPU and Memory requirements)requirements)

32-bit version of OS required for Oracle 9i32-bit version of OS required for Oracle 9i 32-bit or 64-bit version of OS for Oracle 32-bit or 64-bit version of OS for Oracle

10g10g Uninstall unused Java SDK or Java RuntimeUninstall unused Java SDK or Java Runtime Uninstall old Oracle software (if not Uninstall old Oracle software (if not

upgrading)upgrading) With regedit manually remove Oracle-related With regedit manually remove Oracle-related

folders under HKEY_LOCAL_MACHINE -gt folders under HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SOFTWARE and HKEY_LOCAL_MACHINE -gt SYSTEM -gt ControlSet001 ControlSet002 and SYSTEM -gt ControlSet001 ControlSet002 and CurrentControlSetCurrentControlSet

Prepare ServersPrepare Servers

Inventory all hardware and softwareInventory all hardware and software Place all hardware components in a rackPlace all hardware components in a rack Install HBAs and NICs in PCI slotsInstall HBAs and NICs in PCI slots Upgrade system BIOS and component Upgrade system BIOS and component

BIOS and firmwareBIOS and firmware Connect all cables (leave storage Connect all cables (leave storage

disconnected)disconnected) Select F2 (setup) on reboot and verify that Select F2 (setup) on reboot and verify that

CD drive is first in the boot order CD drive is first in the boot order

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 5: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Prepare ServersPrepare Servers

Inventory all hardware and softwareInventory all hardware and software Place all hardware components in a rackPlace all hardware components in a rack Install HBAs and NICs in PCI slotsInstall HBAs and NICs in PCI slots Upgrade system BIOS and component Upgrade system BIOS and component

BIOS and firmwareBIOS and firmware Connect all cables (leave storage Connect all cables (leave storage

disconnected)disconnected) Select F2 (setup) on reboot and verify that Select F2 (setup) on reboot and verify that

CD drive is first in the boot order CD drive is first in the boot order

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 6: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Preparing Windows Preparing Windows ServerServer

Disable Unnecessary ServicesDisable Unnecessary Services License Logging ServiceLicense Logging Service Remote Access Auto Connection Remote Access Auto Connection

ManagerManager Remote Access Connection ManagerRemote Access Connection Manager Telephony ServiceTelephony Service

These are not necessary on an These are not necessary on an Oracle serverOracle server

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 7: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Preparing Windows Preparing Windows ServerServer Close unnecessary foreground Close unnecessary foreground

applicationsapplications Remove all applications from Startup Remove all applications from Startup

folders of Windows Server console folders of Windows Server console operators operators

Minimize the window when executing Minimize the window when executing long-running scripts from a command long-running scripts from a command prompt to prevent excessive window prompt to prevent excessive window repaints repaints

Disable screen savers which can Disable screen savers which can saturate the CPU If necessary choose saturate the CPU If necessary choose Blank ScreenBlank Screen

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 8: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Preparing Windows Preparing Windows ServerServer Apply the Latest reliable Service PackApply the Latest reliable Service Pack

In general Microsoft Service Packs improve In general Microsoft Service Packs improve performance and are desirableperformance and are desirable

However some new Service Packs can However some new Service Packs can interfere with Oracle Performance interfere with Oracle Performance

It is usually best to wait a few weeks until a It is usually best to wait a few weeks until a Service pack is known to be effective and Service pack is known to be effective and problem-freeproblem-free

Always install with an Uninstall folder so that Always install with an Uninstall folder so that the Service Pack can be reversed later if the Service Pack can be reversed later if necessarynecessary

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 9: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Preparing Windows Preparing Windows ServerServer Adjust Performance Adjust Performance

Options under Control Options under Control Panel -gt System -gt Panel -gt System -gt Advanced -gt Settings -Advanced -gt Settings -gt Advancedgt Advanced Set Processor Set Processor

scheduling to favor scheduling to favor background processesbackground processes

Set Memory usage to Set Memory usage to favor Programs over the favor Programs over the System cacheSystem cache

Set Virtual memory to 1-Set Virtual memory to 1-4 times the size of RAM 4 times the size of RAM If possible split the If possible split the memory across multiple memory across multiple physical disksphysical disks

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 10: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Preparing Windows Preparing Windows ServerServer Adjust Server Roles Adjust Server Roles

under Control Panel under Control Panel

-gt Administrative -gt Administrative Tools -gt Configure Tools -gt Configure Your Server WizardYour Server Wizard Set the Server Role Set the Server Role

as an Application as an Application ServerServer

Do not configure as a Do not configure as a File Server Print File Server Print Server or Primary or Server or Primary or Backup Domain Backup Domain ControllerController

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 11: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 12: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Key Network Tuning Key Network Tuning StepsSteps Remove unused network Remove unused network

protocolsprotocols Causes excess overheadCauses excess overhead Edit your Network Adapter Edit your Network Adapter

propertiesproperties Uninstall unused protocolsUninstall unused protocols

Always use static IP Always use static IP addresses for RACaddresses for RAC Select Properties for the Select Properties for the

TCPIP Protocol to editTCPIP Protocol to edit Do not use DHCPDo not use DHCP IP address Subnet mask IP address Subnet mask

Default gateway and Default gateway and Preferred and Alternate Preferred and Alternate DNS Server addresses are DNS Server addresses are requiredrequired

Should be a routable Should be a routable address for the Public address for the Public interface and a non-interface and a non-routable address for the routable address for the Private interfacePrivate interface

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 13: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Key Network Tuning StepsKey Network Tuning Steps

Edit Adapter and Edit Adapter and Binding settingsBinding settings Control Panel -gt Control Panel -gt

Network Settings -gt Network Settings -gt Advanced -gt Advanced -gt Advanced SettingsAdvanced Settings

Place the Public NIC Place the Public NIC firstfirst

Oracle uses the Oracle uses the gethostbyname gethostbyname function which function which returns the first IP returns the first IP address in the listaddress in the list

For multiple For multiple protocols place protocols place TCPIP firstTCPIP first

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 14: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Key Network Tuning StepsKey Network Tuning Steps It is important to be It is important to be

able to map server able to map server names to IP addresses names to IP addresses There are two ways to There are two ways to do thisdo this The network The network

administrator can administrator can create DNS entries for create DNS entries for the host namethe host name

You can create entries You can create entries in a local hosts file in a local hosts file (should not conflict (should not conflict with DNS entries)with DNS entries)

To create a local hosts To create a local hosts filefile Edit or create the Edit or create the

driveWindowsdriveWindowssystem32driversetcsystem32driversetchosts filehosts file

Add entries with the IP Add entries with the IP addresses the fully addresses the fully qualified host names qualified host names and the shortname and the shortname aliases (Public Private aliases (Public Private and Virtual)and Virtual)

Make sure the localhost Make sure the localhost line is entered exactly line is entered exactly as shownas shown

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 15: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

NOTE This is NOTE This is the first the first installation installation step that must step that must be performed be performed by the studentby the student

The The Distributed Distributed Transaction Transaction Coordinator Coordinator Service may Service may interfere with interfere with Oracle RAC Oracle RAC installationinstallation

Turn the Turn the service off for service off for the duration of the duration of the installthe install Go to Go to

Computer Computer Management Management -gt Services-gt Services

Right click on Right click on the Service the Service and choose and choose PropertiesProperties

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 16: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the General tab set In the General tab set Startup Type to ManualStartup Type to Manual

Click OKClick OK

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 17: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Distributed Transaction Coordinator Distributed Transaction Coordinator ServiceService

In the Services In the Services window window choose Stop choose Stop the servicethe service

Exit the Exit the Services Services windowwindow

Repeat the Repeat the entire entire procesure for procesure for the second the second cluster nodecluster node

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 18: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Connecting to iSCSI StorageConnecting to iSCSI Storage

On the desktop double On the desktop double click the iSCSI Initiator click the iSCSI Initiator iconicon

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the General tabon the General tab

Click the Change button Click the Change button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 19: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Initiator Node In the Initiator Node Name Change window Name Change window set the Initiator node set the Initiator node name to iqnclusterna name to iqnclusterna where n is the cluster where n is the cluster numbernumber

Click OK Click OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 20: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCS Initiator In the iSCS Initiator Properties window click Properties window click on the Discovery tabon the Discovery tab

Click on the Add buttonClick on the Add button

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 21: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the Add Target Portal In the Add Target Portal window enter vic-iscsi in window enter vic-iscsi in the IP address or DNS the IP address or DNS name fieldname field This is the name of the This is the name of the

Windows 2003 Storage Windows 2003 Storage ServerServer

Click OKClick OK

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 22: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Connecting to iSCSI StorageConnecting to iSCSI Storage

In the iSCSI Initiator In the iSCSI Initiator Properties window click Properties window click on the Log On buttonon the Log On button In the next window In the next window

select the option to logon select the option to logon at boot timeat boot time

Click OKClick OK In the Properties window In the Properties window

the Status should now the Status should now read Connectedread Connected

Click OKClick OK Repeat the entire Repeat the entire

procedure for the second procedure for the second cluster nodecluster node

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 23: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Disable Write Caching on the DiskDisable Write Caching on the Disk

It is important It is important to make sure to make sure that OS Write that OS Write Caching is Caching is disableddisabled When a When a

system system failure failure occurs OS occurs OS Write Write caching may caching may ldquostrandrdquo ldquostrandrdquo commited commited writes at the writes at the OS levelOS level

This can This can cause data cause data corruptioncorruption

Go to Control Go to Control Panel -gt Panel -gt System -gt System -gt Hardware -gt Hardware -gt Device Device ManagerManager

Click on Disk Click on Disk DrivesDrives

Right click on Right click on the first iSCSI the first iSCSI diskdisk

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 24: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Disable Write Caching on the DiskDisable Write Caching on the Disk

In the SCSI Disk Device In the SCSI Disk Device Properties window click Properties window click on the Policies tabon the Policies tab

Make sure the ldquoEnable Make sure the ldquoEnable write caching on the write caching on the diskrdquo option is NOT diskrdquo option is NOT checkedchecked

Click OKClick OK Repeat the procedure on Repeat the procedure on

the second node if the second node if necessarynecessary

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 25: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

It is necessary It is necessary to present the to present the disk devices disk devices to Oracle as to Oracle as Logical DisksLogical Disks ASM ASM

accesses accesses the raw the raw devices devices through the through the asmlib layerasmlib layer

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Storage -gt gt Storage -gt Disk Disk ManagementManagement

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 26: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

The first time into The first time into the Disk the Disk Management Management interface the interface the Initialize and Initialize and Convert Disk Convert Disk Wizard appearsWizard appears

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 27: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Initialize window to Initialize window make sure that all make sure that all available disks are available disks are checkedchecked

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 28: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Select Disks In the Select Disks to Convert to Convert window make window make sure NO disks are sure NO disks are selectedselected

Click NextClick Next

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 29: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

The ldquoCompleting The ldquoCompleting the Initialize and the Initialize and Convert Disk Convert Disk Windowrdquo is Windowrdquo is displayeddisplayed

Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 30: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the smaller disk smaller disk that HAS NOT that HAS NOT already been already been partitionedpartitioned

Choose New Choose New PartitionPartition

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 31: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

The New Partition The New Partition Wizard is displayedWizard is displayed

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 32: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the New Partition In the New Partition Wizard window Wizard window choose Extended choose Extended PartitionPartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 33: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size window leave the window leave the Partition size at the Partition size at the maximum (default)maximum (default)

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 34: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Finishclick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 35: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the Extended Extended Partition just Partition just createdcreated

Select Use Select Use Logical DriveLogical Drive

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 36: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the ldquoWelcome to In the ldquoWelcome to the New Partition the New Partition Wizardrdquo window Wizardrdquo window click Nextclick Next

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 37: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Select In the Select Partition Type Partition Type window select window select Logical driveLogical drive

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 38: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Specify In the Specify Partition Size Partition Size Window set the Window set the Partition size to 100 Partition size to 100 MBMB

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 39: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the ldquoAssign Drive In the ldquoAssign Drive Letter or Pathrdquo window Letter or Pathrdquo window select Do not assign a select Do not assign a drive letter or drive pathdrive letter or drive path

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 40: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Format In the Format Partition window Partition window select Co not select Co not format this format this partitionpartition

Click NextClick Next

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 41: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the ldquoCompleting In the ldquoCompleting the New Partition the New Partition Wizardrdquo window Wizardrdquo window Click FinishClick Finish

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 42: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Create Logical DisksCreate Logical Disks

In the Disk In the Disk Management Management window right window right click on the click on the unallocated unallocated space to the space to the right of the just right of the just created Logical created Logical DriveDrive

Use the Use the remaining remaining space to create space to create another logical another logical drive with no drive with no drive letter and drive letter and no formattingno formatting

On the two On the two remaining remaining unallocated unallocated drives repeat drives repeat the instructions the instructions to create an to create an Extended Extended partition and partition and Logical drive Logical drive for the entire for the entire disksdisks

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 43: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Enable Disk AutomountingEnable Disk Automounting

It is important It is important that Disk that Disk automounting automounting be set up be set up before before beginning the beginning the clusterware clusterware install or the install or the install will failinstall will fail

Open a Open a Command Tool Command Tool windowwindow

Enter the Enter the following following commandscommandsdiskpartexediskpartexeautomount automount

enableenableexitexit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 44: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloMS_RAC_Class_Downloads directoryads directory

At the same time open At the same time open a Windows Explorer a Windows Explorer window to the same window to the same directory and unzip the directory and unzip the clusterware zip fileclusterware zip file

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpre runcluvfybat stage ndashpre

crsinst ndashn crsinst ndashn cluster1acluster1bcluster1acluster1b

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 45: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Cluster Verification ScriptCluster Verification Script

The script results are The script results are shown to the rightshown to the right

The script will partially The script will partially fail due to a failure of fail due to a failure of the vip interfacethe vip interface Oracle does not Oracle does not

endorse using public endorse using public networks that begin networks that begin with ldquo1010rdquo or with ldquo1010rdquo or ldquo1921681rdquoldquo1921681rdquo

You can workaround You can workaround this limitationthis limitation

Make sure that there Make sure that there ae no other errorsae no other errors

Close the command Close the command windowwindow

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 46: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

Open a Open a Windows Windows Explorer Explorer windowwindow

In the In the clusterware clusterware directory directory double click double click the setupexe the setupexe filefile

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 47: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Welcome In the Welcome window click window click NextNext

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 48: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Specify In the Specify Home Details Home Details window accept window accept the default path the default path for the cluster for the cluster homehome

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 49: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all prerequisite test prerequisite test are passedare passed

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 50: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Specify In the Specify Cluster Cluster Configuration Configuration window click the window click the Edit buttonEdit button

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 51: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the ldquoModify a node in In the ldquoModify a node in the existing clusterrdquo the existing clusterrdquo window edit the Public window edit the Public Private and Virtual host Private and Virtual host namesnames Note that the names on Note that the names on

these clusters use these clusters use underscores NOT dashesunderscores NOT dashes

Note that the Public and Note that the Public and VIP names are fully VIP names are fully qualified but the Private qualified but the Private host name is not fully host name is not fully qualifiedqualified

Click OKClick OK

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 52: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

Use the Add Use the Add button to enter button to enter the Node Names the Node Names for the second for the second nodenode

Carefully check Carefully check the names the names before before proceedingproceeding

Click NextClick Next

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 53: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the ldquoSpecify In the ldquoSpecify Network Network Interface Usagerdquo Interface Usagerdquo window click on window click on the Public the Public Interface NameInterface Name

Click EditClick Edit

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 54: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

For the Public Interface For the Public Interface Name choose an Name choose an Interface Type of PublicInterface Type of Public

Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 55: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the Private click on the Private Interface NameInterface Name

Click EditClick Edit Set the Interface Type to Set the Interface Type to

PrivatePrivate Click OKClick OK

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 56: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the ldquoSpecify Network In the ldquoSpecify Network Interface Usagerdquo window Interface Usagerdquo window click on the iscsi Interface click on the iscsi Interface NameName

Click EditClick Edit Set the Interface Type to Set the Interface Type to

Do Not UseDo Not Use

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 57: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Configuration Storage window Storage window click on the click on the Available Disk Available Disk that has that has approximately approximately 100MB and is 100MB and is currently unusedcurrently unused

Click NextClick Next

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 58: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Specify Disk In the Specify Disk Configuration Configuration window check the window check the box to place the box to place the OCR(Primary) on this OCR(Primary) on this partitionpartition

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 59: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Cluster In the Cluster Configuration Storage Configuration Storage window select the window select the line for the smaller line for the smaller disk that you createddisk that you created

Click EditClick Edit In the Specify Disk In the Specify Disk

Configuration Configuration window Click the box window Click the box next to Place Voting next to Place Voting Disk on this PartitionDisk on this Partition

Clcik OKClcik OK

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 60: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

You will receive a You will receive a warning that Oracle warning that Oracle recommends a mirror recommends a mirror disk for the OCR Since disk for the OCR Since you are using externally you are using externally redundant disks this is redundant disks this is not necessarynot necessary

Click OKClick OK

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 61: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click InstallInstall

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 62: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Install In the Install window window installation installation progress is progress is shownshown

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 63: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

The The Configuration Configuration Assistants Assistants window is window is displayeddisplayed

Make sure that Make sure that the assistants the assistants located above located above the Virtual the Virtual Private IP Private IP Configuration Configuration Assistant do not Assistant do not failfail Talk to your Talk to your

instructor if instructor if you have a you have a failure in the failure in the first section of first section of the the Configuration Configuration AssistantsAssistants

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 64: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

The VIPCA assistant will The VIPCA assistant will failfail This is expected since This is expected since

we are using a ldquo1010rdquo we are using a ldquo1010rdquo public networkpublic network

Click OKClick OK

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 65: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

Open a Open a Command Command Prompt Prompt windowwindow

Change Change directories to directories to CoracleCoracleproductproduct1020crsbin1020crsbin

Run the Run the following following commandcommandvipcabat ndash vipcabat ndash

nodelist nodelist ldquoclusternaclldquoclusternaclusternbrdquousternbrdquo

Where n is your Where n is your cluster cluster numbernumber

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 66: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

The VIP The VIP Configuration Configuration Assistant Assistant appearsappears

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 67: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the next In the next window select window select the Public the Public interfaceinterface

Click on the Click on the Select All buttonSelect All button

Click NextClick Next

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 68: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the next In the next window click in window click in the IP Alias name the IP Alias name for the first nodefor the first node

Enter the fully Enter the fully qualified name qualified name for the VIP for the VIP interface on the interface on the first nodefirst node Make sure to Make sure to

use an use an underscore in underscore in the namethe name

Click in the Click in the Subnet Mask fieldSubnet Mask field Change the Change the

Subnet Mask to Subnet Mask to 25525525202552552520

Enter information Enter information for the second for the second node if not auto-node if not auto-completedcompleted

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 69: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the Summary In the Summary window click window click FinishFinish

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 70: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

Status for cluster service Status for cluster service startup is shownstartup is shown

Click OKClick OK

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 71: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the In the Configuration Configuration Results window Results window click Exitclick Exit

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 72: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Install ClusterwareInstall Clusterware

In the End of In the End of Installation Installation window click window click ExitExit

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 73: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Cluster Verification ScriptCluster Verification Script

Open a Command Tool Open a Command Tool windowwindow

Change directories to Change directories to the class the class MS_RAC_Class_DownloaMS_RAC_Class_Downloads directoryds directory

In the command In the command window change window change directories to locate the directories to locate the clusterwarecluvfy clusterwarecluvfy directorydirectory

Run the following Run the following commandcommandruncluvfybat stage ndashpost runcluvfybat stage ndashpost

crsinst ndashn crsinst ndashn clusternaclusternbclusternaclusternb

Where n is your cluster Where n is your cluster numbernumber

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 74: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

Before using ASM Before using ASM for storage the for storage the disks must be disks must be stampedstamped Open a Windows Open a Windows

Explorer windowExplorer window Change Change

directories to the directories to the MS_RAC_Class_DoMS_RAC_Class_Downloads directorywnloads directory

Right click the Right click the database zip file database zip file and choose the and choose the Extract all files Extract all files optionoption

Change Change directories to the directories to the database asmtool database asmtool directorydirectory

Double-click the Double-click the asmtoolgexe fileasmtoolgexe file

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 75: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

In the next wndow select In the next wndow select the Add or change label the Add or change label windowwindow

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 76: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

Click on the first Click on the first available file of size available file of size 9985 MB9985 MB Make sure that you Make sure that you

do not write over do not write over existing Oracle disks existing Oracle disks check with your check with your instructor to be sureinstructor to be sure

Change the prefix to Change the prefix to CLASSDATACLASSDATA

Click NextClick Next

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 77: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

In the Stamp Disks In the Stamp Disks window click Nextwindow click Next

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 78: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

In the next window In the next window click on the Finish click on the Finish buttonbutton

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 79: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Using the asmtoolg toolUsing the asmtoolg tool

Repeat the procedure Repeat the procedure to stamp ASM disks to stamp ASM disks this time choosing the this time choosing the next unused disknext unused disk

Set the prefix to Set the prefix to CLASSFLASHCLASSFLASH

Click NextClick Next In the next window In the next window

click Finishclick Finish

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 80: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories to directories to the class the class MS_RAC_ClassMS_RAC_Class_Downloads _Downloads directorydirectory

Double-click Double-click the setupexe the setupexe filefile

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 81: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Welcome In the Welcome window Choose window Choose NextNext

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 82: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Select In the Select Installation Type Installation Type window choose window choose CustomCustom There are There are

useful useful Windows-Windows-specific specific administrative administrative tools that are tools that are not installed by not installed by defaultdefault

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 83: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Home Details Home Details window make window make sure the Path is sure the Path is to the db_1 to the db_1 directorydirectory

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 84: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Specify In the Specify Hardware Hardware Cluster Cluster Installation Installation Mode window Mode window make sure all make sure all nodes are nodes are selectedselected

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 85: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Available In the Available Product Product Components Components window click the window click the Oracle Windows Oracle Windows Interfaces Interfaces 102010 option102010 option Select Oracle Select Oracle

Administration Administration Assistant for Assistant for Windows Windows 1021010210

Select Select Counters for Counters for Windows Windows Performance Performance Monitor Monitor 102010102010

Deselect any Deselect any other Oracle other Oracle Windows Windows Interfaces Interfaces optionsoptions

Check the iSQL Check the iSQL Plus 102010 Plus 102010 optionoption

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 86: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Product-In the Product-Specific Specific Prerequisite Prerequisite Checks window Checks window make sure all make sure all pre-requisite pre-requisite checks are checks are successfulsuccessful

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 87: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Create In the Create Database Database window choose window choose Install database Install database Software onlySoftware only

Click NextClick Next

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 88: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Summary In the Summary window choose window choose InstallInstall

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 89: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the Install In the Install window window installation installation progress is progress is displayeddisplayed

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 90: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

In the End of In the End of Installation Installation window read window read the notes then the notes then click Exitclick Exit

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 91: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

On the second node On the second node open a Command open a Command Prompt windowPrompt window

Change directories to Change directories to the Coracleproductthe Coracleproduct1020db_1bin 1020db_1bin directorydirectory

Run the commandRun the commandselecthomebatselecthomebat

Exit the windowExit the window

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 92: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

Before Before installing the installing the 102020 102020 patch all patch all Oracle services Oracle services need to be need to be stoppedstopped

Go to Control Go to Control Panel -gt Panel -gt Computer Computer Management -Management -gt Servicesgt Services

Stop each Stop each Oracle service Oracle service in orderin order Windows will Windows will

manage manage dependenciedependenciess

Exit the Exit the window when window when finishedfinished

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 93: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

On the taskbar at the On the taskbar at the bottom of the Windows bottom of the Windows session right-click and session right-click and select Task Managerselect Task Manager

Locate all onsexe Locate all onsexe processes (there are processes (there are usually at least two) and usually at least two) and click the End Process click the End Process button for each processbutton for each process

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 94: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database SoftwareInstalling Database Software

Ignore the warning to Ignore the warning to end processes and click end processes and click YesYes

Exit the Task ManagerExit the Task Manager

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 95: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Windows Windows Explorer Explorer windowwindow

Change Change directories directories to the class to the class MS_RAC_ClaMS_RAC_Class_Downloass_Downloads directoryds directory

Right click Right click the the 102020 102020 patch zip patch zip file and file and choose the choose the Extract all Extract all files optionfiles option

Change Change directories directories to the patch to the patch directory directory that is that is generatedgenerated

Doubleick Doubleick the the setupexe setupexe filefile

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 96: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 97: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window make window make sure that you sure that you choose the choose the CLUSTER home CLUSTER home (not the default)(not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 98: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster all cluster nodes are nodes are chosen by chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 99: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 100: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window ignore window ignore the note to shut the note to shut down servicesdown services You will need You will need

to run the post-to run the post-patch batch filepatch batch file

Click ExitClick Exit

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 101: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

Open a Open a Command Command Prompt Prompt windowwindow

Run the post-Run the post-patch batch patch batch file (this may file (this may take a while)take a while)Coracle1020Coracle1020

crsinstallcrsinstallpatch102batpatch102bat

Exit the Exit the windowwindow

Repeat the Repeat the procedure on procedure on the second the second nodenode

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 102: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

Start the patch a Start the patch a second timesecond time This time This time

database database software will be software will be patchedpatched

In the Welcome In the Welcome window click window click NextNext

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 103: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the Specify In the Specify Home Details Home Details window choose window choose the ORIGINAL the ORIGINAL DATABASE DATABASE home (this is home (this is not the default)not the default)

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 104: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the ldquoSpecify In the ldquoSpecify Hardware Hardware Cluster Cluster Installation Installation Moderdquo window Moderdquo window all cluster nodes all cluster nodes are chosen by are chosen by defaultdefault

Click NextClick Next

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 105: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the Summary In the Summary window click window click InstallInstall

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 106: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Installing Database Patch SoftwareInstalling Database Patch Software

In the End of In the End of Installation Installation window click window click ExitExit

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 107: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gtNet Tools -gtNet Configuration Configuration AssistantAssistant

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 108: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Cluster select Cluster configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 109: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click the Select all click the Select all nodes buttonnodes button

Click the Next buttonClick the Next button

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 110: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window select Listener select Listener configurationconfiguration

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 111: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Addclick Add

Click nextClick next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 112: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default Listener nameListener name

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 113: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default protocol of TCPprotocol of TCP

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 114: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window accept the default accept the default port number of 1521port number of 1521

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 115: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window answer No to answer No to configuring another configuring another listenerlistener

Click NextClick Next

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 116: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Configuring the Network ListenerConfiguring the Network Listener

In the next window In the next window click Finishclick Finish

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 117: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

From the Start From the Start menu choose menu choose Oracle- Oracle- OraDb10g_hoOraDb10g_home1 -gt me1 -gt Configuration Configuration and Migration and Migration Tools -gt Tools -gt Database Database Configuration Configuration AssistantAssistant

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 118: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Welcome Welcome window window select select Oracle Oracle Real Real Application Application Clusters Clusters databasedatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 119: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the next In the next window window select select Create a Create a DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 120: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the Node In the Node Selection Selection window window click the click the Select All Select All buttonbutton

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 121: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database Templates Templates window window select select Custom Custom DatabaseDatabase

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 122: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database IdentificatioIdentification window n window enter enter MSnDB MSnDB where n is where n is your cluster your cluster numbernumber

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 123: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the ManagemeManagement Options nt Options window window select the select the ldquoConfigure ldquoConfigure the the Database Database with with Enterprise Enterprise Managerrdquo Managerrdquo optionoption

Do not alter Do not alter any of the any of the other other default default optionsoptions

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 124: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database Credentials Credentials window for window for classroom classroom purposes purposes your your instructor instructor will suggest will suggest a common a common password password for all for all databasesdatabases

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 125: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Storage Storage Options Options window window select the select the Automatic Automatic Storage Storage ManagemeManagement (ASM) nt (ASM) optionoption

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 126: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Create ASM Create ASM Instance Instance window window enter the enter the class class chosen chosen password password for the ASM for the ASM instanceinstance

Choose the Choose the Create Create initializatioinitialization n parameter parameter file (IFILE) file (IFILE) optionoption An spfile An spfile

will be will be created created anywayanyway

Click NextClick Next

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 127: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

A message appears A message appears telling you that the ASM telling you that the ASM instance will be started instance will be started

Click OKClick OK

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 128: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window click click Create Create NewNew

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 129: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSDATA0DATA0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSDATACLASSDATA

Enter an ASM Name Enter an ASM Name of CLASSDATAof CLASSDATA

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 130: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window select select Create NewCreate New

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 131: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the Create Disk In the Create Disk Group window Group window check the box to check the box to the left of the the left of the ORCLDISKCLASSORCLDISKCLASSFLASH0FLASH0 disk path disk path

Enter a Disk Group Enter a Disk Group Name of Name of CLASSFLASHCLASSFLASH

Enter an ASM Name Enter an ASM Name of CLASSFLASHof CLASSFLASH

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 132: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the ASM In the ASM Disk Disk Groups Groups window window check the check the boxes next boxes next to both to both ASM disk ASM disk groupsgroups

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 133: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database File File Locations Locations window window choose Use choose Use Oracle-Oracle-Managed Managed FilesFiles

Enter Enter +CLASSDAT+CLASSDATA hereA here

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 134: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Recovery Recovery ConfiguratiConfiguration window on window select select Specify Specify Flash Flash Recovery Recovery AreaArea

Click oClick o

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 135: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

110110

TextText

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 136: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

111111

TextText

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 137: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Recovery Recovery Configuration Configuration window window select the select the Specify Flash Specify Flash Recovery Area Recovery Area optionoption

For Flash For Flash Recovery Recovery Area enter Area enter +CLASSFLASH+CLASSFLASH

For Flash For Flash Recovery Area Recovery Area Size enter Size enter 99809980

Select the Select the Enable Enable Archiving Archiving optionoption

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 138: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database Content Content window window deselect all deselect all options options except the except the Enterprise Enterprise Manager Manager RepositoryRepository This will This will

make make database database creation creation fasterfaster

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 139: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database Services Services window window click on click on AddAdd

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 140: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the Add a Service In the Add a Service window type in a service window type in a service namename DO NOT use exactly the DO NOT use exactly the

same name as the same name as the databasedatabase

Click OKClick OK

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 141: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the DatabasDatabase e Services Services window window set each set each instance instance as as PreferrePreferredd

Set the Set the TAF TAF Policy Policy as Basicas Basic

Click Click NextNext

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 142: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the InitializatiInitialization on ParameterParameters window s window Take a Take a look at look at the the Memory Memory tabtab

The The defaults defaults will be will be used hereused here

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 143: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

Also take a Also take a look at the look at the Sizing tabSizing tab

We will use We will use the default the default settings for settings for Block Size Block Size (8 KB ndash (8 KB ndash transactiontransactional) and al) and ProcessesProcesses

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 144: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Connection Connection Mode tab Mode tab we will use we will use the default the default of of Dedicated Dedicated Server Server ModeMode

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 145: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Database Database Storage Storage window window ake a look ake a look at the at the Tablespace Tablespace Parameters Parameters and Redo and Redo Log Log parametersparameters

We will We will take the take the defaultsdefaults

Click NextClick Next

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 146: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

In the In the Creation Creation Options Options window window Check Check Create Create DatabaseDatabase

Also set up Also set up the Save as the Save as a Database a Database Template Template optionoption

Also check Also check the the Generate Generate Database Database Creation Creation ScriptsScripts

Click FinishClick Finish

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 147: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

A sample template A sample template is displayedis displayed You may optionally You may optionally

save it to an HTML save it to an HTML filefile

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 148: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when the template is when the template is createdcreated

Click OKClick OK

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 149: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

A message is displayed A message is displayed when script generation is when script generation is completedcompleted

Click OKClick OK

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 150: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

The progress of the The progress of the database install is database install is displayeddisplayed

This may take more than This may take more than one hour to completeone hour to complete

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 151: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

A screen is displayed A screen is displayed when the database has when the database has been createdbeen created You have the option to You have the option to

unlock additional unlock additional accounts at this timeaccounts at this time

The URL for Database The URL for Database Control is also Control is also diasplayeddiasplayed

Click ExitClick Exit

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 152: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

Creating a DatabaseCreating a Database

After you exit the After you exit the instances are started on instances are started on each nodeeach node

A window shows you the A window shows you the status of instance startupstatus of instance startup

That finishes the RAC That finishes the RAC Installation LabInstallation Lab

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153
Page 153: RAC Installation Lab Installing and Configuring a Real Application Cluster on Windows Server 2003

copy 2005 Microsoft Corporation All rights reservedThis presentation is for informational purposes only Microsoft makes no warranties express or implied in this summary

  • RAC Installation Lab
  • Introduction
  • Pre-installation System Requirements
  • Pre-installation Software Requirements
  • Prepare Servers
  • Preparing Windows Server
  • Slide 7
  • Slide 8
  • Slide 9
  • Slide 10
  • Key Network Tuning Steps
  • Slide 12
  • Key Network Tuning Steps
  • Slide 14
  • Distributed Transaction Coordinator Service
  • Slide 16
  • Slide 17
  • Connecting to iSCSI Storage
  • Slide 19
  • Slide 20
  • Slide 21
  • Slide 22
  • Disable Write Caching on the Disk
  • Slide 24
  • Create Logical Disks
  • Slide 26
  • Slide 27
  • Slide 28
  • Slide 29
  • Slide 30
  • Slide 31
  • Slide 32
  • Slide 33
  • Slide 34
  • Slide 35
  • Slide 36
  • Slide 37
  • Slide 38
  • Slide 39
  • Slide 40
  • Slide 41
  • Slide 42
  • Enable Disk Automounting
  • Cluster Verification Script
  • Slide 45
  • Install Clusterware
  • Slide 47
  • Slide 48
  • Slide 49
  • Slide 50
  • Slide 51
  • Slide 52
  • Slide 53
  • Slide 54
  • Slide 55
  • Slide 56
  • Slide 57
  • Slide 58
  • Slide 59
  • Slide 60
  • Slide 61
  • Slide 62
  • Slide 63
  • Slide 64
  • Slide 65
  • Slide 66
  • Slide 67
  • Slide 68
  • Slide 69
  • Slide 70
  • Slide 71
  • Slide 72
  • Slide 73
  • Using the asmtoolg tool
  • Slide 75
  • Slide 76
  • Slide 77
  • Slide 78
  • Slide 79
  • Installing Database Software
  • Slide 81
  • Slide 82
  • Slide 83
  • Slide 84
  • Slide 85
  • Slide 86
  • Slide 87
  • Slide 88
  • Slide 89
  • Slide 90
  • Slide 91
  • Slide 92
  • Slide 93
  • Slide 94
  • Installing Database Patch Software
  • Slide 96
  • Slide 97
  • Slide 98
  • Slide 99
  • Slide 100
  • Slide 101
  • Slide 102
  • Slide 103
  • Slide 104
  • Slide 105
  • Slide 106
  • Configuring the Network Listener
  • Slide 108
  • Slide 109
  • Slide 110
  • Slide 111
  • Slide 112
  • Slide 113
  • Slide 114
  • Slide 115
  • Slide 116
  • Creating a Database
  • Slide 118
  • Slide 119
  • Slide 120
  • Slide 121
  • Slide 122
  • Slide 123
  • Slide 124
  • Slide 125
  • Slide 126
  • Slide 127
  • Slide 128
  • Slide 129
  • Slide 130
  • Slide 131
  • Slide 132
  • Slide 133
  • Slide 134
  • 110
  • 111
  • Slide 137
  • Slide 138
  • Slide 139
  • Slide 140
  • Slide 141
  • Slide 142
  • Slide 143
  • Slide 144
  • Slide 145
  • Slide 146
  • Slide 147
  • Slide 148
  • Slide 149
  • Slide 150
  • Slide 151
  • Slide 152
  • Slide 153