- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: two hosts write to same storage
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 11:37 PM
08-19-2004 11:37 PM
two hosts write to same storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 11:50 PM
08-19-2004 11:50 PM
Re: two hosts write to same storage
You could also think about a SAN (storage area networks), the problem with nfs shared disks is like you mention. If one of the hosts fails the share is gone.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 11:51 PM
08-19-2004 11:51 PM
Re: two hosts write to same storage
In this case the two nodes forming a cluster both provide NFS servers like behavior. if one goes down, then the other will provide NFS services - Highly available.
On the other hand, you do have an option of using MC/SG Volume Groups, right. is the cmlvmd daemon running on both servers ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2004 12:01 AM
08-20-2004 12:01 AM
Re: two hosts write to same storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2004 12:54 AM
08-20-2004 12:54 AM
Re: two hosts write to same storage
It's not possible to activate same volume group on two hosts. So only option is NFS.
In some case like Oracle RAC both nodes can write on same Volume but for File system i don't think it is possible.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2004 01:09 AM
08-20-2004 01:09 AM
Re: two hosts write to same storage
Although one can do this, it will inevitably lead to tremendous problems. The problem is that host A will have *no* idea that host B has not written it's buffer cache data to disk and will go ahead & read the disk. Eventually one host will update the inode table unexpectedly to the other which will then declare the filesystem corrupt.
You just cannot do this any other way than NFS.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2004 01:27 AM
08-20-2004 01:27 AM
Re: two hosts write to same storage
Alternatively if one node goes down, the cutover action can include umounting the NFS share and remounting the Disk directly.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2004 02:29 PM
08-20-2004 02:29 PM
Re: two hosts write to same storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2004 05:24 AM
08-21-2004 05:24 AM
Re: two hosts write to same storage
Today, with HP supported products, NFS or CIFS is the only way to do this.
In the next major release of HP-UX, 11i v3, we are planning on introducing a Clustered File System, which will allow all nodes in the cluster to simultaneously access a shared pool of storage. You could then use all of these servers in the cluster as one big NFS server and export the shared filesystems to remote clients. However, the nodes inside the cluster would all access the filesystem locally.
Other vendors may offer a clusterd filesystem solution today, but if they did you would have to work with them for support issues. The 11i v3 solution will be an HP provided, and supported, solution.
Hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2004 06:08 AM
08-21-2004 06:08 AM
Re: two hosts write to same storage
Making it useful for an application is hard. You need to higher level locking.
Since you mention 'nfs' i guess you are interested in file based access, not raw blocks.
Writing to a shared, static, pre-existing files from two nodes is relatively easy also.
Making is usefull for an application is harder. Again, external locking is needed.
Oracel essentially does this with it's OCFS.
This is a very light protocol to be sure the same space is not handed out twice and then the standard Oracle locking protects the blocks.
Writing lots of file from multiple nodes, but only accesses from one node at a time is relatively easy and requires little or no application code change. But is requires a good 'cluster file system'. The OCFS is one (free) possibility for limited use. Other commercial products exist (legato, ibm,...)
HP's VMS and Tru64 OSes have had cluster wide file systems for years. This code is (slowly) moving into hpux. Early performance results are very good (far out!), but availability is still also 'far out'.
You may want to clarify 'write to storage' for better help. Just plain file access? Shared file access? ..
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2004 02:51 AM
08-23-2004 02:51 AM
Re: two hosts write to same storage
The way we want it to work is that both systems share the storage and if one of the systems goes down then the storage is still available to the other.
With NFS, we have to at least stop the application to reconnect to the storage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2004 04:04 AM
08-23-2004 04:04 AM
Re: two hosts write to same storage
Please explain why you need to shut down the application and restart it after the package moves from one server to the other. Is this a file locking problem, or some other issue?
Thanks,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2004 08:44 AM
08-23-2004 08:44 AM
Re: two hosts write to same storage
If you have to use NFS, why not use a storage device that does it for you. NetApp has NAS storage that can be configured with HA hardware and gives you an NFS server. Still you have performance problems with you NFS connection like you mentioned.
We were having some problems in the past with uploading large files to an NFS NAS device.
It is covered by a thread started by Elmar P. Kolkman.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=400028
Elmar say's it's not solved but when we upgraded to HP-UX 11i it was solved, but maybe there are tips in the thread that helps in your case.
HTH,
Peter Geluk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2004 04:26 AM
08-24-2004 04:26 AM
Re: two hosts write to same storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2004 04:38 AM
08-24-2004 04:38 AM
Re: two hosts write to same storage
If by "share storage between hosts" you're implying a clustered file system, where all hosts directly attach to a shared storage pool and simultaneously access the storage while negotiating metadata to avoid corruption - HP doesn't offer anything like that yet. We plan to introduce that in 11i v3.
I'm still curious why you have to stop/start your application following an HA/NFS package migration. I know this used to be a common practice for applications that used file locking, but HP released an updated version of the HA/NFS product that resolves that problem by migrating file locks between NFS servers during a failover. That should allow applications using file locks to gracefully recover their locks after the package switch and avoid the need for restarting.
Is there some other reason why the application needs to be stopped and started? If so, perhaps there is a way to configure around that and still use NFS effectively until a Clustered FS solution is available.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
