Shared FS


 
Thread Tools Search this Thread
Operating Systems AIX Shared FS
# 1  
Old 05-04-2011
Shared FS

I am working on project that need shared access to the FS from 2 AIX HACMP nodes.

This FS is created on a SAN disk and the VG that includes this FS is active on node A.

What options do I have so that this FS can also be accessed from Node B ?

We don't have GPFS, so that is not a option. I can do NFS mount, but we tend to stay away from NFS due to mount issues.
# 2  
Old 05-06-2011
Quote:
Originally Posted by mk8570
We don't have GPFS, so that is not a option. I can do NFS mount, but we tend to stay away from NFS due to mount issues.
I fear that there is no other way to achieve what you want. The problem is that the disk driver/file system level is simply not designed to allow for simultaneous access. You have to either have an application software on top (like a DB, which will coordinate parallel read/write processes to a common data set) or a specialized driver/protocol - like NFS. Either way you have only one system being responsible for data being read and written (on the FS level), not two.

I hope this helps (understanding, sadly, not solving the problem).

bakunin
# 3  
Old 05-06-2011
NFS

Thanks for the response.

This is for a Message Broker project with the Multi Instance feature, eliminating the need for HACMP.

Required is that it needs a reliable shared FS, and redbooks are recommending NFS V4.

My dilemaa is if I get the FS allocated to 1 server (Node A) and NFS mount it to both the nodes.

My config is Node A (MQ/MB) Node B (MQ/MB). If Node A is NFS server can Node B also configured as NFS server to provide redundancy?

What happens when the NFS server (Node A) that goes down.?

I have tried to go thru the forums and the redbooks but I am not able to get a example of this .
# 4  
Old 05-13-2011
These two nodes, now are they in an HACMP cluster or not? If so nothing easier than what you ask for. You put that NFS share into a shared VG on SAN and mount it eg. in /sharedFS_jfs2 on the home node where the VG is active. Through cluster NFS exports and statements in the RG definition you export it to both nodes. On both nodes then you mount homenode:/sharedFS_jfs2 to /sharedFS and have the share available on both sides with the same path. = NFS cross mounts.
Of course the service IP of $homenode needs to be part of the RG as well, so in case it fails over to nodeB that system will still be able to access the share. Having the VG with the same major number on both nodes eliminates the need for remounts after failover... The RG needs to varyon VGs and mount file systems before starting TCPIP related stuff like the exporting.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

2. Red Hat

shared object

Hi, I would like to create a shared object ( .so). This shared object 1. uses the functions from a library. 2. Also it should be able to use the global variable in an app To achieve this what should I do ? 1) To use the functions in the library should I give the -ld option while... (1 Reply)
Discussion started by: rvan
1 Replies

3. Shell Programming and Scripting

See shared folder

Hello, I want to list all shared folder in terminal in local. I haven't found the command for, i'm on bash in mac os x. Thanks (2 Replies)
Discussion started by: protocomm
2 Replies

4. UNIX for Advanced & Expert Users

shared pointers

I am new to shared pointer conceot in C++ and hence require some clarification: For example: class A { public: virtual ~A() { } int x; }; typedef boost::shared_ptr<A>... (1 Reply)
Discussion started by: uunniixx
1 Replies

5. UNIX for Advanced & Expert Users

Shared Memory

Hi, Using ipcs we can see shared memory, etc.. details. How can I add/remove shared memory(command name)? Thanks, Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies

6. Programming

Shared memory for shared library

I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability. Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies

7. Programming

Shared memory in shared library

I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
Discussion started by: DreamWarrior
12 Replies

8. Programming

Can FD's be shared between threads?

Hello, Can a FD (file desc.) from a pipe(...); call be shared between a thread? / Henrik (2 Replies)
Discussion started by: ne2000
2 Replies

9. Linux

Shared Libraries

How do i make a library shared say i have a library a.so which i have just compiled. I want to make it shared how do i make it Next Queation is what is the difference between a.so.0 a.so.1 a.so.2 & a.so :rolleyes: (1 Reply)
Discussion started by: wojtyla
1 Replies

10. UNIX for Advanced & Expert Users

Shared Objects

Hi. Does anyone know by how much a text size of an executable(on ibm) would grow if you link one shared object(library)? Is it a constant number or it depends on a .so that is linked? (3 Replies)
Discussion started by: Yura
3 Replies
Login or Register to Ask a Question