Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

how do I share filesystem on cluster

 
SOLVED
Go to solution
Highlighted

how do I share filesystem on cluster

Hello,

Is it possible to mount an SLVM filesystem on 2 cluster nodes at the same time? I have SLVM and Oracle RAC w/ shared raw partitions working ok. However I have other shared disks that I would like to slvm and put a filesystem on and mount r/w on both nodes at the same time. Can I do it? I don't really see instruction how. I tried it but the files created on one node were not visible on the other node. And the mount on 2nd node complained that volume was dirty, etc. Please advise. I'm fairly new to MC/SG environment.

Thanks and regards,

Chuck Davis
8 REPLIES 8
Highlighted
James Murtagh
Honored Contributor

Re: how do I share filesystem on cluster

Hi,

I'm afraid you can't do this with standard filesystems at the moment. There is no way for the kernels on both servers to synchronise and prevent file/metadata corruption.

However, you could always use HA NFS for this?

Regards,

James.
Highlighted
Ashwani Kashyap
Honored Contributor

Re: how do I share filesystem on cluster

At this time HPUX doesnot have this feature . You will have to wait until they finish porting some of these features from true64 and vms to hpux .
Highlighted
Vincent Fleming
Honored Contributor
Solution

Re: how do I share filesystem on cluster

As of today, you can mount the FS on the second server Read Only, but not Read/Write. It's an optional feature, which at the moment, I forget the name of.

Anyway, it's true that clustered filesystems are part of True64 (AFS), and are being ported to HP-UX. Last I heard, it should be available in late '03 or early '04.

Meanwhile, I would suggest using NFS to get the same effect, even if the performance is not as good as directly mounting the device.

Good luck,

Vince
No matter where you go, there you are.
Highlighted
Vincent Fleming
Honored Contributor

Re: how do I share filesystem on cluster

Because someone just sent me an email questioning this, here's a link to Veritas' website on this product (by the way, it's called File Sharing Option, or FSO):

http://www.veritas.com/products/category/ProductAddOnDetail.jhtml?productId=filesharingoptionhpux

Vince
No matter where you go, there you are.

Re: how do I share filesystem on cluster

Thanks for the info. No wonder I couldn't find documentation on it! I may give a try at the RO mount option on 2nd node. That would probably be sufficient good for our purposes.

Regards,

Chuck Davis
Highlighted
Vincent Fleming
Honored Contributor

Re: how do I share filesystem on cluster

Nooooooo!!!!

You *need* this optional poroduct for the second node to mount the filesystem. Please read the docs carefully, as you can panic your system mounting the filesystem RO (or any way) without this product!!!!

Good luck,

Vince
No matter where you go, there you are.
Highlighted
A. Clay Stephenson
Acclaimed Contributor

Re: how do I share filesystem on cluster

I concur with Vincent without the FSO addon to VxFS even a second read-only mount will yield inconsistant results. The 2nd system will be clueless about the 1st system's buffer cache. Sharing can only work if all the hosts mount the filesystem read-only (unless you purchase the Veritas add-on). It allows one box to be read-write and multiple other hosts to mount RO and still keep the various system buffer caches consistant. You could, of course, opt to use an NFS mount.
If it ain't broke, I can fix that.
Highlighted

Re: how do I share filesystem on cluster

Thanks for the clarification. I expected there would be buffer issues but I my initial consideration (now abandoned) would have been for a fairly static filesystem with maybe the occasional sync if things looked weird. As for now, I will setup nfs between the nodes. I look forward to having the cluster file system available in the future since w/ nfs one node is dependent on the other (and we didn't buy the HA nfs product which may(?) help resolve the dependency).

Thanks again for the help!

Chuck Davis