LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-04-2009, 01:24 AM   #1
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Rep: Reputation: 16
How to create clusters of two linux guest on VMware server.


Hi

My query is how do i create two RHEL linux guests as RHEL cluster server.
As i know in for creating cluster of two physical linux boxes I need a SAN storage, fence device and RHEL cluster suite. But is it possible in VMware server as i want to setup on my home desktop pc.

Thanks & RGD
Charanjit Singh
 
Old 07-04-2009, 08:52 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by cj_cheema View Post
Hi

My query is how do i create two RHEL linux guests as RHEL cluster server.
As i know in for creating cluster of two physical linux boxes I need a SAN storage, fence device and RHEL cluster suite. But is it possible in VMware server as i want to setup on my home desktop pc.

Thanks & RGD
Charanjit Singh
Hi,

this is the link: http://www.vmware.com/support/gsx25/...nable_gsx.html (same for VMware server)

Basically you need to edit the .vmx file under the host machine, then add those things to get shared scsi bus. (Windows/Linux does not matter)

You don't need any HW to do that. My first cluster was runnig on my laptop with an external HDD. 4 machines with 2Gb ram.

So the important things are these:

- scsi1.sharedBus = "virtual"
- scsi1:1.shared = "true"
- disk.locking = "false"

It worked for me when I tested Exchange 2003 and SQL server 2004.
The nodes were able to swap the disks and I still were able to use the main cluster with the node1's data on the shared disk on node2 and the quorum disk too.

So it is good.

Laz
 
Old 09-11-2009, 11:04 AM   #3
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Thanks but tell me one thing how do i activate fence device in virtual machine as without fence guest machine will not fence any other provision to use this share disk as fence device in RHEL 5.
 
Old 09-21-2009, 06:08 AM   #4
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Anybody could help me ... As OK computer44 I have successfully created shared vmdk I am able to relocate my cluster between two VMware RHEL guests. But how do I enable fencing in VMware workstations please help....


Thanks
Charanjit Singh
 
Old 09-21-2009, 06:15 AM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
refer these
http://www.linuxquestions.org/questi...vmware-754791/
http://www.linuxquestions.org/questi...luster-755834/
 
Old 09-22-2009, 05:09 AM   #6
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by cj_cheema View Post
Anybody could help me ... As OK computer44 I have successfully created shared vmdk I am able to relocate my cluster between two VMware RHEL guests. But how do I enable fencing in VMware workstations please help....


Thanks
Charanjit Singh
Hi,
Just the server able to use the shared disks properly. The workstation does not able to do that.

Actually I have not use the workstation for quiet a while but that was the main reason to change it to the server one.

Laz
 
  


Reply

Tags
cluster, rhel, server, vmware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration to access internet from vmware(host=winXP, guest on vmware=linux-5) afz_linux Linux - Newbie 3 12-30-2008 12:20 AM
vmware-server: host linux, guest winxp, usb mouse doesn't work hedpe Linux - Software 5 09-08-2008 04:41 AM
Can CentOS 5 run as guest OS on VMWare server satimis Linux - General 1 10-05-2007 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration