Custom Search . . .

Tuesday, July 7, 2009

Vmware Cluster Configuration & Shared Storage Configuration.

PART II - Vmware Cluster Configuration & Shared Storage Configuration.

Continued from: Now we have two operating System (RAC1 & RAC2) and Operating Sytem name called (Linux1 & Linux2).


Now we have two guest operating system (say linux1 & linux2 ).


Vmware Cluster Configuration:


This RAC setup we are doing throw Vmware. So our cluster service managed by Vmware only. In both virtual machine we have .VMX file (this file manageing Vmware - Guest Operating System)

Here we need to edit/add some parameter.


ie..


config.version = "8"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Red Hat Enterprise Linux 4.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
Ethernet0.present = "TRUE"
displayName = "SR2"
guestOS = "rhel4"
priority.grabbed = "normal"
priority.ungrabbed = "normal"

scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d e9 4c 35 1c ad eb-8c d0 95 c3 25 fa 60 8d"
uuid.bios = "56 4d e9 4c 35 1c ad eb-8c d0 95 c3 25 fa 60 8d"
ide1:0.autodetect = "TRUE"
ethernet0.generatedAddress = "00:0c:29:fa:60:8d"
ethernet0.generatedAddressOffset = "0"

Ethernet1.present = "TRUE"

ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00:0c:29:fa:60:97"
ethernet1.generatedAddressOffset = "10"

Scsi1.present = "TRUE"
Scsi1.virtualDev = "lsilogic"
Scsi1.sharedBus = "VIRTUAL"

disk.locking = "FALSE“
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0“

scsi1:1.present = "TRUE"
scsi1:1.fileName = "H:\Virtual Machines\Shared-Vmware\OCR.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"

scsi1:2.present = "TRUE"
scsi1:2.fileName = "H:\Virtual Machines\Shared-Vmware\VOT.vmdk"
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"

scsi1:3.present = "TRUE"
scsi1:3.fileName = "H:\Virtual Machines\Shared-Vmware\ASM.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk"

scsi1:1.redo = ""
scsi1:2.redo = ""
scsi1:3.redo = ""

Ps: The above bold are very important vmware cluster configuration values.

Make sure the above bold are available/configured both guest operating system (linux1 & linux2)

Shared Storage Configuration:


Virtual Disk on Host

Virtual Disk on Guest

Virtual Device Node

Size (Gb)

Description

D:\Virtual Machines\Linux1\Red Hat Enterprise Linux 4.vmdk

/dev/sda

SCSI 0:0

40

/ mount point

H:\Virtual Machines\Shared-Vmware\OCR.vmdk

/dev/sdb1

SCSI 1:0

15

Raw disk

H:\Virtual Machines\Shared-Vmware\CRS.vmdk

/dev/sdc1

SCSI 1:2

15

Raw disk

H:\Virtual Machines\Shared-Vmware\ASM.vmdk

/dev/sdd1

SCSI 1:3

15

Raw Disk



This T abler column will explain about shared storage configuration & Architecture.

Next
PART III - Vmware Cluster Configuration & Shared Storage Configuration continue..

Feel free to post your comment and feedback. .... to babu.knb@gmail.com

Thursday, June 25, 2009

How to add new node in RAC Environment

Coming Soon.....

RAC Installation Using Vmware

This is document to explain how to install Real Application Cluster Using Vmware - PART I.



Pre-Request.

1. Operating System Windows XP SP4
2. Operating System Memory 4g

3. Process Intel Core 2 duo - 4 cpu process
4. Install Vmware Server (Vmware workstation not support RAC)
5. Guest Operating Sytem "Red Hat Enterprise Linux 4 AS"

The above screen shot explain about configuration. Before starting RAC configuration you need to follow below steps.

1. Using Vmware Server Create new Vmware Machine (name called RAC1) ( Make sure add only one default hard disk and add two network card (network card should be bridge mode))

2. Once you create V-Machine (RAC1-Node1). Install Red Hat Linux 4 AS

3. Once you successfully completed red hat linux guest operating system in RAC1. Also Install Vmware tools in your guest operating system.

Please install all rpm packages for oracle releated.

Find RPM Installation details

Using the above link configure /etc/sysctl.conf kernel packages.

4. The below screen teach about your shared devices

As per shared storage architecture add few hard disk in your guest operating system (RAC1).

1. Select RAC1 inventory; -> right clck > select hard disk > create new virtual disk > SCSI > Disk Size (say 15G) -> > Hard Disk Name (say CRS) -> Advanced > Virtual Device Node - When you add new hard disk for storage purpose; this disk name and type should be different from your Guest Operating System hard disk & type.

Ex:

1. Guest Operating System Hard Disk type - SCSI 0:0 series
2. Shared Storage Disk type should be - SCSI 1:0 series.

-> Also select "Independent-Persistent" this is help for cluster configuration.

PS: Repeat above process to create OCR , ASM1, ASM2, ASM3 hard disk . Pls look the below screen shot.


5. Now SHUTDOWN your Guest Operating System ( I Mean RAC1). Just copy (manual copy) your RAC1 and create one more duplicate (like RAC2 using RAC1)

Now we have two operating System (RAC1 & RAC2) and Operating Sytem name called (Linux1 & Linux2).

Next Part II .... Vmware Cluster Configuration & Shared Storage Configuration.

PS: Please post your feedback/comments.