Windows Server R2 Virtual machine installation Oracle RAC detailed (GRID)

Source: Internet
Author: User
Tags net time

First, the preparatory work

1. Download grid and Oracle.

2, two virtual machines.

3. Assign 7 IP addresses to two virtual machines, which will be explained later in detail. 2 of these are for external access (this article uses 10.1.1.110 and 10.1.1.111), 2 as the mapped IP (same segment as the first two IPs) (this article uses 10.1.1.112 and 10.1.1.113), two for the heartbeat between two virtual machines (this article uses 192.168.1.1 and 192 .168.1.2), one as scan-cluster (this article uses 10.1.1.114).

4, Storage: This article uses the form of external storage, assigned to 5 parts, of which OCR and FRA occupy 1 parts, data occupy 3 parts, follow-up installation deployment.

5, modify the computer name (this article named 10.1.1.110 PtDB-1, named 10.1.1.111 for ptDB-2)

6. Add IP configuration:

Also configure the IP properties of the 10.1.1.111.

7, rename the network card name, according to the following path to open the Internet connection, right-click to modify the network card name:

8, modify the Hosts file, directory for C:\WINDOWS\SYSTEM32\DRIVERS\ETC, add the content:

10.1.1.110 ptDB-1
10.1.1.111 ptDB-2

10.1.1.112 PTDB-1-VIP
10.1.1.113 PTDB-2-VIP

192.168.1.1 Ptdb-1-pri
192.168.1.2 Ptdb-2-pri

10.1.1.114 Scan-cluster

9, Test network connectivity:

You can use the ping command of Windows.

Ping ptDB-1

Ping ptDB-2

Ping Ptdb-1-pri

Ping Ptdb-2-pri

The above command should be able to ping through.

Ping Ptdb-1-vip

Ping Ptdb-2-vip

Ping Scan-cluster

The above command should be ping-only, just to see if the returned IP is returned correctly.

10. Storage initialization

Go to Disk Management

Right-click to create a new simple volume

Next

The store is used for OCR and the next step

Do not assign a drive letter, next

Do not format this volume, the next step

Complete.

The other 4 volumes are shown above. As a result:

11. Log in to another virtual machine (10.1.1.111), go to Disk Management, rescan disk

If a drive letter appears, you need to delete it.

12. Turn on "Automatically mount all new volumes", and two servers execute commands:

13. Load the blank volume folder

Create a new 5 empty folder under the C drive on both servers:

14. Hang 5 new volumes in the 5 blank folders above

Mount OCR, right-click the first new volume, select "Change Drive letter and path"

Add to

Load a blank NTFS folder, browse

Select the blank folder you just created

All the way, the same steps to complete the other mounts, sequentially ocr=>data1=>data2=>data3=>fra.

When you are finished, create a new blank folder as follows:

Share the C and D drives, in order to implement a RAC that installs two servers on one server, that is, after the RAC installer installs the grid on one server, copy the installation files to another server and install them. This step is the Setup program, remember that you can not execute the installation files on both servers, see Chapter Two.

15, synchronization time, 10.1.1.111 on the implementation of net time \\ptDB-1 view PtDB-1

16. Set up sharing, using the net USE command:

Second, install the grid

1. Double-click setup.exe

2. Display the installation page, next

3. Advanced Installation

4, select the product language, the next step

5. Modify the cluster name and scan name

6. Adding a RAC node

7. Specify the network interface

8. Using ASM

9. Mark Disk

10. Select the first ASM block for OCR

The name changes to OCR, including the disk group name for that and the previous step.

The end result is as follows:

11. Set ASM Password

12. Do not use IPMI

13. Select the installation directory

14. Prerequisite Check

15. Complete

16, Waiting for installation

17. Complete Installation

Windows Server R2 Virtual machine installation Oracle RAC detailed (GRID)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.