---
title: 'Clusters with shared disk using VMware Server'
url: 'https://mo.homelinux.net/home/vmware-shared-disk'
markdown: 'https://mo.homelinux.net/home/vmware-shared-disk.md'
date: '2008-02-17'
description: 'If you want to try out some cluster configurations, VMWare server has a nice feature where you can share a vmdk between more than one VM, and since it support SCSI persistent reservations, you can truly simulate a real cluster. I have used this to deploy Redhat Cluster server as a test environment. Based'
taxonomy:
  category:
    - blog
  tag:
    - vmware
    - cluster
  archives_month:
    - feb_2008
  archives_year:
    - '2008'
---

# Clusters with shared disk using VMware Server

[ Home ](https://mo.homelinux.net/)      Clusters with shared disk using VMware Server    

## [Clusters with shared disk using VMware Server](https://mo.homelinux.net/home/vmware-shared-disk)

    17th Feb 2008   [vmware](https://mo.homelinux.net/tag:vmware#body-wrapper) [cluster](https://mo.homelinux.net/tag:cluster#body-wrapper)  

If you want to try out some cluster configurations, VMWare server has a nice feature where you can share a vmdk between more than one VM, and since it support SCSI persistent reservations, you can truly simulate a real cluster. I have used this to deploy Redhat Cluster server as a test environment.

Based on the documentation on the VMWare website, sharing a disk between multiple nodes can be achieved by creating a virtual disk, and then importing that disk into each virtual machine.
Once the disk is imported, you can add or modify the `scsiX.sharedBus = "virtual"` (X should match the controller that is used to host the shared disk) and `disk.locking = "false"` directives to the shared disk stanzas in each virtual machines vmx file.
Here is a sample:

```
scsi1.present = "TRUE"
scsi1.sharedBus = "virtual"
scsi1.virtualDev = "lsilogic"
scsi1:0.present = "TRUE"
scsi1:0.fileName = "shared_disk.vmdk"
disk.locking = "false"
```

This has served me well for testing and evaluation purposes for quite some time, though I provide ZERO guarantees that it will work in yours (and there is always the possibility that sharing disk between multiple nodes will corrupt data). I am documenting this here as a reference for myself, though feel free to use this information at your own risk.

 [ Previous Post](https://mo.homelinux.net/home/munin-unicode) [Next Post ](https://mo.homelinux.net/home/vmware-multipath)

#### Random Article

 [ I'm Feeling Lucky!](https://mo.homelinux.net/random)

#### Popular Tags

#### Archives

- [ 1 June 2006  ](https://mo.homelinux.net/archives_month:jun_2006)
- [ 1 August 2007  ](https://mo.homelinux.net/archives_month:aug_2007)
- [ 1 November 2007  ](https://mo.homelinux.net/archives_month:nov_2007)
- [ 2 February 2008  ](https://mo.homelinux.net/archives_month:feb_2008)
- [ 1 March 2008  ](https://mo.homelinux.net/archives_month:mar_2008)
- [ 1 July 2008  ](https://mo.homelinux.net/archives_month:jul_2008)
- [ 2 August 2008  ](https://mo.homelinux.net/archives_month:aug_2008)
- [ 1 September 2008  ](https://mo.homelinux.net/archives_month:sep_2008)
- [ 1 November 2008  ](https://mo.homelinux.net/archives_month:nov_2008)
- [ 1 February 2009  ](https://mo.homelinux.net/archives_month:feb_2009)
- [ 1 October 2009  ](https://mo.homelinux.net/archives_month:oct_2009)
- [ 1 August 2013  ](https://mo.homelinux.net/archives_month:aug_2013)
- [ 1 November 2014  ](https://mo.homelinux.net/archives_month:nov_2014)
- [ 2 March 2015  ](https://mo.homelinux.net/archives_month:mar_2015)
- [ 1 October 2015  ](https://mo.homelinux.net/archives_month:oct_2015)
- [ 1 December 2015  ](https://mo.homelinux.net/archives_month:dec_2015)
- [ 1 January 2016  ](https://mo.homelinux.net/archives_month:jan_2016)
- [ 1 March 2017  ](https://mo.homelinux.net/archives_month:mar_2017)
- [ 1 August 2017  ](https://mo.homelinux.net/archives_month:aug_2017)
- [ 2 June 2020  ](https://mo.homelinux.net/archives_month:jun_2020)
- [ 1 November 2020  ](https://mo.homelinux.net/archives_month:nov_2020)
- [ 1 December 2020  ](https://mo.homelinux.net/archives_month:dec_2020)
- [ 1 January 2021  ](https://mo.homelinux.net/archives_month:jan_2021)
- [ 1 February 2021  ](https://mo.homelinux.net/archives_month:feb_2021)
- [ 1 March 2021  ](https://mo.homelinux.net/archives_month:mar_2021)
- [ 1 April 2021  ](https://mo.homelinux.net/archives_month:apr_2021)
- [ 1 May 2021  ](https://mo.homelinux.net/archives_month:may_2021)
- [ 1 October 2021  ](https://mo.homelinux.net/archives_month:oct_2021)
- [ 1 February 2022  ](https://mo.homelinux.net/archives_month:feb_2022)
- [ 1 March 2022  ](https://mo.homelinux.net/archives_month:mar_2022)
- [ 1 May 2023  ](https://mo.homelinux.net/archives_month:may_2023)
- [ 1 December 2024  ](https://mo.homelinux.net/archives_month:dec_2024)
- [ 1 March 2025  ](https://mo.homelinux.net/archives_month:mar_2025)
- [ 1 March 2026  ](https://mo.homelinux.net/archives_month:mar_2026)

---

## Navigation

- Parent: [Home](https://mo.homelinux.net/index.md)
- Previous: [Multipath for one VM in VMware Server](https://mo.homelinux.net/home/vmware-multipath.md)
- Next: [munin on unicode system](https://mo.homelinux.net/home/munin-unicode.md)
