Revision [2227]
Last edited on 2009-02-25 03:28:36 by WikiAdminAdditions:
Configure the shared vmdk file as SCSI 1:x (OS on SCSI 0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Then you need to create a vmdk file **on the console** with the **thick** option.
Deletions:
Revision [2225]
Edited on 2009-02-25 00:15:41 by WikiAdminAdditions:
==Poor man's shared storage==
One can use a shared vmdk file on ESX servers as shared storage.
Configure the shared vmdk file as SCSI 1:x (OS on SCSI 0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Then you need to create a vmdk file *on the console* with the *thick* option.
If you are even lower on budget and ends up with an ESXi server, this will require additional work. Running concole commands on ESXi server: Go to the console of the box or put a kvm on, at the yellow screen, press ALT-F1 then enter "unsupported". You will get a password prompt where you can login with your root password. Ref: http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
fdisk /dev/sdb
mkfs.ocfs2 /dev/sdb1
/dev/sdb1 /san ocfs2 _netdev,datavolume 0 0
One can use a shared vmdk file on ESX servers as shared storage.
Configure the shared vmdk file as SCSI 1:x (OS on SCSI 0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Then you need to create a vmdk file *on the console* with the *thick* option.
If you are even lower on budget and ends up with an ESXi server, this will require additional work. Running concole commands on ESXi server: Go to the console of the box or put a kvm on, at the yellow screen, press ALT-F1 then enter "unsupported". You will get a password prompt where you can login with your root password. Ref: http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
fdisk /dev/sdb
mkfs.ocfs2 /dev/sdb1
/dev/sdb1 /san ocfs2 _netdev,datavolume 0 0
Deletions:
Configure the shared vmdk file as SCSI1:x (OS on SCSI0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Now apparently you also need to format it with the "thick" option. Since I have an ESXi box, I haven't figured out how that is possible.
- Running concole commands on ESXi server: Go to the console of the box or put a kvm on, at the yellow screen, press ALT-F1 then enter "unsupported". You will get a password prompt where you can login with your root password. Ref: http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
Not sure if this is necessary
%%(text;vmware config)
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
scsi1.sharedBus = "virtual"
/dev/vg0/ocvol1 /san ocfs2 _netdev,datavolume 0 0
Revision [2224]
Edited on 2009-02-24 23:42:44 by WikiAdminAdditions:
Configure the shared vmdk file as SCSI1:x (OS on SCSI0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Now apparently you also need to format it with the "thick" option. Since I have an ESXi box, I haven't figured out how that is possible.
- Running concole commands on ESXi server: Go to the console of the box or put a kvm on, at the yellow screen, press ALT-F1 then enter "unsupported". You will get a password prompt where you can login with your root password. Ref: http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
- Running concole commands on ESXi server: Go to the console of the box or put a kvm on, at the yellow screen, press ALT-F1 then enter "unsupported". You will get a password prompt where you can login with your root password. Ref: http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
Deletions:
Revision [2222]
Edited on 2009-02-24 09:22:09 by WikiAdminAdditions:
Configure the shared vmdk file as SCSI1:x (OS on SCSI0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Now apparently you also need to format it with the "thick" option. Since I have an ESXi box, I haven't figured out how that is possible. This link talks about ssh access to ESXi server http://forum.advance.homelinux.net/index.php?topic=8172.0 will try it out tomorrow.
On ESX, one should be able to enable that option by:
On ESX, one should be able to enable that option by:
Deletions:
Revision [2221]
Edited on 2009-02-24 09:16:21 by WikiAdminAdditions:
Configure the shared vmdk file as SCSI1:x (OS on SCSI0:x). An additional SCSI controller will be added. From the properties of that new SCSI controller, select "Virtual" such that the vmdk file can be shared among guests. Now apparently you also need to format it with the "thick" option. Since I have an ESXi box, I haven't figured out how that is possible. On ESX, one should be able to enable that option by:
vmkfstools -a lsilogic -d thick -c 250000m /vmfs/volumes/FileStore/fs/fs-home.vmdk
Not sure if this is necessary
vmkfstools -a lsilogic -d thick -c 250000m /vmfs/volumes/FileStore/fs/fs-home.vmdk
Not sure if this is necessary
Deletions:
Revision [2220]
Edited on 2009-02-24 09:00:45 by WikiAdminAdditions:
Configure the shared vmdk file as SCSI1 (OS on SCSI0)
%%(text;vmware config)
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
scsi1.sharedBus = "virtual"
%%(text;vmware config)
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
scsi1.sharedBus = "virtual"
Revision [2219]
Edited on 2009-02-24 08:56:35 by WikiAdminAdditions:
This should be done to a shared storage, and be done from one node only. I'm trying to see if it is possible to use VMWare's vmdk file as a shared storage. So far out of luck :(