P. 1
Oracle10gRACOnWindows2003

Oracle10gRACOnWindows2003

|Views: 13|Likes:
Published by baluazad

More info:

Published by: baluazad on Sep 07, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

09/12/2010

pdf

text

original

OBE Home > Database 10g > Single Instance > Installation > RAC/ASM Installing Oracle Database 10g on Windows Using

Real Application Clusters (RAC) and Automated Storage Management (ASM) Purpose 'This module describes how to install Oracle Database 10g on a Windows two-node cluster, using Real Application Clusters (RAC) and Automated Storage Management (ASM). The example in this lesson uses Oracle Database 10g Standard Edition, however the installation process is similar to Oracle Database 10g Enterprise Edition. Topics This chapter discusses the following topics: Overview Prerequisites Configure Disk System Install Cluster Ready Services Stamp the Logical Drives for ASM Install Oracle Database 10g with Real Application Clusters Verify Valid Path Name Exists on Both Nodes Review your Installation in Oracle Enterprise Manager Database Control Viewing Screenshots Place the cursor on this icon to display all screenshots. You can also place the cursor on each icon to see only the screenshot associated with it. Overview Back to Topic List The installation has two phases. In the first phase, you install and configure the Cluster Ready Services (CRS) software. In the second phase, you install the Oracle Database with RAC software. Prerequisites Back to Topic List In order to make sure that the installation is successful, you need to check the following requirements: Software Web Browser Hardware Disk Space Network Software Back to List The software requirements for Oracle Real Application Clusters 10g are: Requirement Value System 32-bit Architecture Operating System Windows 2000 with service pack 1 or higher or Windows Server 2003 Network Protocol TCP/IP To check that the requirements above have been met, perform the following steps:

1. 2.

Click Start > Settings > Control Panel. Double click System. You notice that the operating system requirements have been met.

Note: In order to perform the installation, you need the CDROMs for Oracle Cluster Services and Oracle Database 10g. Web Browser Back to List The following Web browsers are supported for iSQL*Plus and Oracle Enterprise Manager Database Control: Netscape Navigator 4.78, 4.79, 7.01, or 7.1.0 Microsoft Internet Explorer 5.5 with service pack 1 Microsoft Internet Explorer 6.0 with serviced pack 2 To check that the requirements above have been met, perform the following steps: Open your browser and select Help > About <your browser>. 1. 2. You notice that a supported web browser version has been installed.

Hardware Back to List To ensure that both nodes in the cluster meet the minimum requirements to install Oracle Database 10g Real Application Clusters, perform the following steps: Check the physical RAM size is at least 512 MB. Click Start > Settings > Control Panel. 1. Double click System. 2. You notice that the memory requirements have been met.

3.

Confirm the size of the configured swap space is at least twice the physical RAM size which in this case is 2MB. Click Start > Settings > Control Panel. Double click System, then click the Advanced tab. Click Performance Options.

4.

5.

Notice that the Virtual Memory is set to 2GB. Click Change.

6.

Notice that the Maximum size is set to 4GB or twice the physical RAM size. Click OK 3 times.

perform the following steps: Open My Computer and right-click on the drive you are verifying and click Properties. For performance and availability reasons. other than Network Attached Storage (NAS). . The requirements for Oracle Real Application Clusters 10g installation and database creation are: Requirement Free Space Needed Location Ancillary Oracle 100 MB on both nodes Any local system drive files Temporary Space 50 MB on both nodes Any local system drive Cluster Ready 500 MB on both nodes Any local system drive but must be Services software the same named drive on both nodes Database software 1 GB on both nodes Any local system drive but must be the same named drive on both nodes Database files 7 GB Shared disks To confirm you have the required amount of free disk space available. you should use at least two shared disks for your database files. The shared disks must be attached to both nodes in your cluster and both nodes must be able to read and write to them. Any shared disks supported by your hardware vendor. can be used. your database files must be stored on disks that are shared by both nodes in your cluster. 1.Disk Space Back to List To support your Real Application Clusters database.

.2. You notice that the disk space requirements have been met.

The virtual IP address and host name should also be registered in the domain name system (DNS). Both nodes need a network adapter configured for the public network. Communication between clients and the nodes in the cluster is across the public network. Both nodes need a separate network adapter configured for this private network.Network Back to List The two nodes in the cluster must be able to communicate with each other and with external clients using the TCP/IP protocol. Public vs. Support of interface name restrictions Names are case sensitive Names must not contain any multibyte language characters Public and private network interface names must be different from each other Name for each interface must be the same on both nodes Public and private IP addresses must be on different subnets . a virtual IP (VIP) address is also required for each of your nodes. This private network connects only the nodes in the cluster and cannot be accessed from outside the cluster. both nodes required an unused IP address that is compatible with the public network's subnet and netmask. CRS manages the VIP addresses for you. For communications between the instances running on the two nodes. A VIP address can be moved between nodes in case of a failure. To enable availability and failover. Support for two network adapters Public network interface used for client connections Private network interfaces used for communication between database instances 2. a private network is required. To support a virtual IP address. Private Network Both nodes must meet the following public and private network requirements: 1.

oracle.54 DNS viprca02.oracle. . click Start > Run. 2. A private IP address and optionally.3 Hosts file To configure or determine the IP addresses associated with your cluster nodes.185. An IP address and host name registered in the domain name system (DNS) for the public network interface 4.com Virtual 139.10.oracle. for example: 10. perform the following steps: Determine the IP addresses and names for your two public and two virtual IP addresses.us.55 DNS iwinrca01-node Private 10. Switch to your other node and perform steps 1 & 2 again.150.10.*. From this window. Make sure that the interface names match that on node one. Host Name Type IP Address Registered In iwinrca01.us.us.150.185.150. a private host name.oracle. Enter ipconfig and press enter.com Virtual 139.3. Confirm that the private IP addresses are listed in the %SystemRoot %\system32\drivers\etc\hosts file.201 DNS iwinrca02. You can use %SystemRoot%\system32\drivers\etc\hosts file on both nodes to associate private host names with private IP addresses. 3.168. Enter cmd and press enter.*. the public and virtual IP addresses and the private IP address for node two.*.10. On 1.150. the public and virtual IP addresses and the private IP address for node one.com Public 139. 4. for each private network interface.com Public 139.185.202 DNS viprca01.us. the first node. Note: Oracle recommends that you use private network IP addresses for these interfaces.10. You see the public and private network interface names.2 Hosts file iwinrca02-node Private 10. you can see the public and private network interface names.*.185.* or 192.

Confirm that the two nodes can actually communicate. On both nodes. execute ping using the IP address or alias name for the other node's private IP address and public IP address. Repeat this process on the other node.5. you need to perform the following tasks: . Configure Disk System Back to Topic List To configure the disk system.

2. Right-click on the first Disk drive and select Properties.Disable Write Caching Prepare Disks for Cluster Ready Services Prepare Disks for Data Storage Disable Write Caching Back to List To disable write caching. Device Manager > Disk Drives. Then click OK. . perform the following steps: Click Start > Settings > Control Panel > Administrative Tools > Computer Management > 1. Select the Disk Properties tab and uncheck Write cache enabled.

perform the following steps: Click Start > Settings > Control Panel > Administrative Tools > Computer Management. . CRS requires the following key files be located in logical drives on shared disks: Oracle Cluster Registry Voting Disk From one of the existing nodes of the cluster. Expand Storage and select Disk Management.3. 1. Prepare Disks for Cluster Ready Services Back to List Cluster Ready Services (CRS) provides overall management of the cluster activities. Repeat the previous step for all Disk Drives.

.2. Right-click in the free space area on Disk1 and select Create Logical Drive.

This is the size that you want for the Oracle Cluster Registry logical drive. . 4. Click Next. The Create Partition Wizard appears.3. Enter 100MB for the size for the first logical partition. 5. Click Next. Click Next. The partition type you want to create is Logical Drive.

Choose the option Do not format this partition and click Next.6. . Choose the option Do not assign a drive letter or drive path and click Next. 7.

Repeat the previous steps to create a second logical drive of 20 MB for the Voting disk . Review your selections and click Finish.8. The logical drive was created. 9.

Repeat the steps you performed in the previous section to create the two logical drives. To prepare each logical drive. Prepare Disks for Database Storage Back to List You need to configure disk storage for use with Automatic Storage Management (ASM). be of equal size and include as much of the free space on the disk as possible.10 . Check the two nodes in the cluster to make sure the partitions are visible on both and none of the Oracle partitions have drive letters assigned. perform the following steps: In this example. To prepare the shared disks you identified in the Disk Space prerequisite. ASM storage consists of one or more disk groups. you need to create two or more logical drives. each on a different shared disk. each of which spans multiple disks. Disk1. only one Disk is available so two additional logical drives were created on 1. . All of the partitions you create for your ASM disk groups must be at least 7 GB. for a total of at least 7 GB.

. click Next. 2. Install Cluster Ready Services Back to Topic List To install the Cluster Ready Services.exe from the Oracle Cluster Ready Services CD-ROM. perform the following steps: Run setup. 1.Note: the amount of disk space to be used is in megabytes so you need to enter the amount accordingly. When the Welcome page appears.

. At the Specify File Locations page. Then click Next. enter the name of your Oracle Home and directory where you want the files placed.3. Make sure you enter a location on the drive that contains the free space that you identified previously.

Accept the default of English on the Language Selection page and click Next. 4.Note: If this is your first Oracle Installation. you will receive the Specify Inventory directory page which provides the location where Oracle will store its inventory of installed products. . Accept the default and click Next.

Note: you may need to click next more than once to go to the next page. enter a Cluster Name. . and your public and private node name for both nodes. On the Cluster Configuration page. Then click Next.5.

the Universal Installer displays a list of cluster-wide interfaces. Select Public for the first Local Area Connection interface and Private for the Local Area Connection 2 interface and click Next. On the Specify Network Interface Usage page. .6.

7. . On the Select Disk Formatting Options page. choose the options Do not format any logical drives and click Next.

.8.Oracle Cluster Registry (OCR) page. On the Disk Configuration . choose the partition's disk number to hold the OCR (100 MB) and click Next.

On the Disk Configuration .9. choose the partition's disk number to hold the voting disk (20 MB) and click Next.Voting Disk page. .

10 . . Review the list of products that will be installed and click Install.

The progress window appears.11 . .

12 . . The Configuration Assistants page appears.

13 . . Click Exit then Yes to terminate the Universal Installer. the End of Installation page appears. After the configuration tools complete their processing.

To stamp the logical drives for ASM. perform the following steps: Run <CRS_home>\BIN\asmtoolg. 1.exe. . the logical drives used to store your database files must be stamped with an ASM header using asmtoolg.Stamp the Logical Drives for ASM Back to Topic List To enable disk discovery during the database install. All disk names created by the tool begin with the prefix ORCLDISK for identification purposes.

.2. Accept the default to Add or change label and click Next.

On the Stamp Disks page. Click Next. 4. select a disk to stamp and optionally modify the prefix.3. Click Finish. . 5. Then click Next.

perform the following steps: Run setup. Note: Alternatively. you could have selected both disks the first time through. Repeat the steps above for the second logical disk. Install Oracle Database 10g with Real Application Clusters Back to Topic List To install the Oracle Database 10g with RAC.6.exe from the Oracle Database 10g CD-ROM. 1. .

click Next. . When the Welcome page appears.2.

The Name and Path in the Destination section should be different than what you specified when you installed the Cluster Ready Services. At the Specify File Locations page. enter the name of your Oracle Home and directory where you want the files placed. Then click Next.3. Make sure you enter a location on the drive that contains the free space that you identified previously. .

is always selected. the local node. the Cluster Installation mode is selected by default. On the Specify Hardware Cluster Installation Mode page. from which you are running the Universal Installer. . In addition.4. Select the additional node that is to be part of this installation session and click Next.

then a warning is displayed. examine the installation log file: \Program Files\Oracle\Inventory\logs\installActions<date_time>. On the Select Installation Type page. . To resolve problems. select the Standard Edition option and click Next.Note: if the Universal Installer detects a network problem on any node that you have included in this installation.log 5.

On the Select Database Configuration page. accept the default options to create a General Purpose starter database and click Next. .6.

.7. you can change the default names for your database and character set. On the Specify Database Configuration Options page. Check the Create database with sample schemas option and click Next.

. accept the default option and click Next.8. On the Select Database Management Option page.

. select Automatic Storage Management (ASM) and click Next. On the Specify Database File Storage Option page.9.

select Enable Automated Backups.Note: the other options are only supported by the Enterprise Edition. Automatic Storage Management is selected by default. On the Specify Backup and Recovery Options page. 10 . enter the name and password of your current windows session user. Then click Next. . In the Backup Job Credentials section.

On the Configure Automatic Storage Management page. The Universal Installer lists only the partitions for logical drives located on disks that have been stamped with asmtoolg.11 . Then click Next. check the column for each disk that you prepared for your ASM disk groups. .

On the Specify Database Schema Passwords page. enter and confirm passwords for all of the privileges database accounts and click Next.12 . .

.13 . review the list of software components that will be installed. On the Summary page. Then click Install.

The progress window appears. .14 .

. Click Next. the Welcome page for the Virtual IP Configuration Assistant. When the installation completes.15 .

On the Network Interfaces page. If you select your private NIC.16 . your cluster will not function correctly. select the network interface card (NIC) to which you want to assign your VIP address. . Then click Next. Note: Make sure your public NIC is selected for this purpose.

. review your entries and click Finish.17 . enter the virtual IP (VIP) addresses you identified in the Network prerequisites section and click Next. 18 . On the Summary page. On the Virtual IPs for Cluster Nodes page.

. A Configuration Assistant Progress Dialog page appears. When the configuration completes.19 . click OK. 20 .

then scroll down to the bottom of the page and click Exit. . Review the results.21 . The Configuration Results window appears.

22 . The Database Configuration Assistant progress window appears. . the Net Configuration Assistant and Database Configuration Assistant will run. 23 . After you exit from the VIPCA.

The installation was successful.24 . . Click Exit then Yes to terminate the Universal Installer. 25 . 26 . The cluster database instances on both nodes are being started. click OK. When the Database creation is complete.

Make sure that the value is set to <Oracle Home>\bin. . then add the value to the start of the path variable definition. Select the Path variable. perform the following steps: Click Start > Settings > Control Panel > System > Advanced > Environment Variables. 1.Verify Valid Path Name Exists on Both Nodes Back to Topic List To verify the path names on both nodes. If the variable does not contain the value.

. Repeat the previous step for your other node.<domain>:5500/em Enter sys/oracle as SYSDBA and click Login. http://<hostname>. perform the following steps: Open a browser and enter the following URL: 1.2. Review your Installation in Oracle Enterprise Manager Database Control Back to Topic List To review the results of your installation.

2. In the General section. You see that your cluster database is up with 2 instances. click the link next to Cluster. .

and the Oracle Enterprise Manager components for Database Control. Scroll down to see the list of hosts. . The Cluster Database is up. an Oracle Net Services listener.3. 4. You have just completed the creation of a two-node RAC database in which both nodes have an Oracle Instance.

Place the cursor on this icon to hide all screenshots. .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->