Results 1 to 8 of 8
Hi everyone,
I had a setup which consists of two linux devices with a shared storage.
Application on linux device needs to write to shared disks, and changes made on ...
- 06-14-2011 #1
Shared Storage
Hi everyone,
I had a setup which consists of two linux devices with a shared storage.
Application on linux device needs to write to shared disks, and changes made on shared disk from one linux machine should immediately be visible to other linux machine
i made fstab entry for shared disk as fallows
i am assuming that sync will immediately push data to harddisk with out storing data in cache, so that changes will be visible on other linux machine immediately.Code:/dev/sdb1 /mnt/share ext3 rw,suid,dev,exec,auto,users,sync 1 1
But i cannot achieve required things by doing as above
Changes are visible if i un-mount and re-mount hard disk again
Can anyone help me in resolving this issue.
Thanking in advancelife is the greatest opportunity that the nature had given you
- 06-14-2011 #2
ext3 is *not* meant to be used on a shared storage.
This setup *will* lead to corrupted data.
- Apart from cluster file systems such as Global File System 2 ,
- you could go for a "network raid" with DRBD
- or try the inotify way in userspace via LsyncdYou must always face the curtain with a bow.
- 06-14-2011 #3
- 06-15-2011 #4
hi
According to requirement i had installed RHEL-6 on server. On top of it i installed KVM hypervisor and then installed two RHEL virtual machines. I need a shared storage which can serve both virtual machines. Virtual machines will do both read and write operations.
Can anyone suggest me how to make setup for shared storage.
Do i need to setup NFS for this or can i make it with normal hard disklife is the greatest opportunity that the nature had given you
- 06-15-2011 #5
Can you explain in detail, what kind of data needs to be on both VMs?
As IO is one of the most common bottlenecks anyway, it usually pays to sync data to multiple spindles,
instead of concentrating multiple VMs on one..You must always face the curtain with a bow.
- 06-15-2011 #6
oracle application will be writing some files on to shared storage
but as it's just a lab setup i made simple setup and i think there will not be much of disk activity.
data written by one oracle application from virtual machine on shared storage need to be accessed by oracle application on other virtual machine and vice-verselife is the greatest opportunity that the nature had given you
- 06-15-2011 #7
RAC comes to mind
RAC DocumentationYou must always face the curtain with a bow.
- 06-17-2011 #8


Reply With Quote
