• No results found

Oracle 11gR2 two node step by step installation guide on Linux using Virtual Box 4.1.4

N/A
N/A
Protected

Academic year: 2021

Share "Oracle 11gR2 two node step by step installation guide on Linux using Virtual Box 4.1.4"

Copied!
39
0
0

Loading.... (view fulltext now)

Full text

(1)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 1

Oracle 11gR2 two node step by step installation

guide on Linux using Virtual Box 4.1.4

Mohamed Azar.

Database Administrator, Blogger, Contributor, Book Reviewer http://mohamedazar.wordpress.com

(2)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 2

Please check my rac install guide on vmware server, If you have question.

http://mohamedazar.wordpress.com/2011/07/27/oracle-11gr2-two-node-

real-application-cluster-installation-step-by-step-guide-on-linux-using-vmware-server/

Step 1: Pre-requisites

Before Start my installation, the below recommanded Memory Configuration needed for you. In this case onle you can smoothly install RAC .

If you’re plan to Install Two node RAC on your virtual machine, Each node want atleast minimum 2GB RAM as per Oracle 11gR2 Installation recommand. So you need atelast minimum 6GB RAM for your laptop. 4 GB for Virtual Machine, remaining for your windows .

Step 2: Download Software Download VMware Server and Install

http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0?hl=en&rlz=&q=vm ware%20server%20download&aq=f&aqi=g10&aql=&oq=

Download Oracle Enterprise Linux 32 Bit https://edelivery.oracle.com/linux Download Oracle Software

Grid Infrastructure and Database Software

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linuxsoft-085393.html

Step 3: Install Oracle Enterprise Linux on Virtual Box 4.1.4 Open Virtual Box.

(3)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 3

Select 2GB RAM minimum Create new hard disk

(4)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 4

Choose hard disk location

Start Linux Installation…

(5)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 5

IP Address Configuration

(6)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 6

Here subnetmask is 255.255.255.0

(7)

Mohamed Azar || http://mohamedazar.wordpress.com

(8)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 8

(9)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 9

Linux Installation completed successfully. Install Guest Additions

(10)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 10

After installed guest additions successfully, just restart the server. Oracle Installation Prerequisites.

(11)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 11

Edit Hosts (Public ipaddress 192.68.2.102 for racnode2, not 182)

Kernel Parameter /etc/sysctl.conf

(12)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 12

/etc/pam.d/login

cat /etc/selinux/config

The Oracle Cluster Time Synchronization Service (ctssd) can synchronize the times of the RAC nodes. In this case we will reconfigure NTP.

(13)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 13

Directory create

Bash_profile as oracle user. [root@racnode1 ~]# su - oracle [oracle@ racnode1 ~]$vi .bash_profile

(14)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 14

Shutdown NODE 1 machine.

[root@racnode1 ~]#shutdown –h now

Create three shared Disk

(15)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 15

Do It as same again procedure for other remaining Disks.

(16)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 16

(17)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 17

[root@racnode1 ~]#shutdown –h now

Manually clone the racnode1.vdi disk using the following commands on the host server.

Create the "racnode2" virtual machine in VirtualBox in the same way as you did for

"racnode1", with the exception of using an existing racnode2.vdi virtual hard drive.

Add two network adapters.

(18)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 18

Attach shared disks to racnode2 machine.

(19)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 19

(20)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 20

Edit .bash_profile for racnode2.

(21)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 21

Ping ipaddress both node

ssh configure racnode1

(22)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 22

racnode1

(23)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 23

Cluvfy pre –requisites check

11gR2 we would probably use the "runcluvfy.sh" utility in the clusterware root directory to check the prerequisites have been met.

(24)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 24

(25)

Mohamed Azar || http://mohamedazar.wordpress.com

(26)

Mohamed Azar || http://mohamedazar.wordpress.com

(27)

Mohamed Azar || http://mohamedazar.wordpress.com

(28)

Mohamed Azar || http://mohamedazar.wordpress.com

(29)

Mohamed Azar || http://mohamedazar.wordpress.com

(30)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 30

(31)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 31

(32)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 32

Grid Infrastructure installation completed successfully. Database Software Install

(33)

Mohamed Azar || http://mohamedazar.wordpress.com

(34)

Mohamed Azar || http://mohamedazar.wordpress.com

(35)

Mohamed Azar || http://mohamedazar.wordpress.com

(36)

Mohamed Azar || http://mohamedazar.wordpress.com

(37)

Mohamed Azar || http://mohamedazar.wordpress.com

(38)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 38

Run the above root scripts on both node.

Check whether the created database on both node working properly or not. racnode1

(39)

Mohamed Azar || http://mohamedazar.wordpress.com

DBA, Blogger, Contributor, Book Reviewer Page 39

References

Related documents

A Technical Foundation shows you the creation of blocks through to plans and patterns for making specific designs, where seam allowance is only added onto pattern examples, blocks

FIGURE 7 | Relationship between plant shoot growth rate from panicle initiation (PI) to flowering (FLO) and plant panicle dry weight at maturity of the parent (black symbol) and the

Since cortisol treatment had no effect on gene expression of GR or 11 β-hydroxysteroid dehydrogenase enzyme isoforms in the placenta, maternal or fetal liver, the maternal and

For a 6-month intervention period, patients in a medical intensive care unit who had indwelling urinary catheters were evaluated daily by using criteria for appropriate

member of the group are indifferent to the increase in the demand for funds. If instead the addition of a borrower decreases the amount of funds available to the other borrowers,

Plants trans- ferred from Industrial are: Pardies (France) and Köping (Sweden). Total property, plant and equipment transferred to Production is NOK 2,974 million, of which NOK

Relative distance from the speaker to the referent object itself is a factor to which demonstrative form selection is sensitive, according to the Control Space Model, because the

TF 11 : Formation with Specialization and Research in Health at the Work and Environment in Africa; Assistance to occupational hygiene graduate programmes in developing countries