LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to create clusters of two linux guest on VMware server. (https://www.linuxquestions.org/questions/linux-server-73/how-to-create-clusters-of-two-linux-guest-on-vmware-server-737648/)

cj_cheema 07-04-2009 01:24 AM

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

okcomputer44 07-04-2009 08:52 AM

Quote:

Originally Posted by cj_cheema (Post 3596230)
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. :eek:

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

cj_cheema 09-11-2009 11:04 AM

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.

cj_cheema 09-21-2009 06:08 AM

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

kirukan 09-21-2009 06:15 AM

refer these
http://www.linuxquestions.org/questi...vmware-754791/
http://www.linuxquestions.org/questi...luster-755834/

okcomputer44 09-22-2009 05:09 AM

Quote:

Originally Posted by cj_cheema (Post 3691476)
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


All times are GMT -5. The time now is 02:30 PM.