- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shared LVM
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
Discussions
Discussions
Forums
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
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
тАО07-27-2000 05:41 AM
тАО07-27-2000 05:41 AM
shared LVM
I was surprised to see similiar messages relating to the exact thing I am working on. We too do not use Lock manager and/or service gaurd. Why? Well it is not a failover system. We want our t600 and our n4000 to share disk on a huge array via fiber to alow for fast file movement between the systems.
I did the exact list of steps listed in one of the responses here. (ie, vgexport map, ftp, vgimport etc). the bizzare thing is on system b(with read only access) the FS does not seem to get updated unless I unmount and re-mount. I have try the various sync commands with no luck.
What really confuses me is that it would seem to me that this requirement of sharing disk space via fibre and two machines is not that rare of a request yet HP does not seem to be able to give me any clear direction as to the most reliable(ie right) way of doing it. We basically need the space as a temp dumping ground for HUGE flat files for the other system to pick up. It sounds like we are in for alot of management and very light treading in this type of uncontrolled environment...possibly sys admins nightmare? I would love to hear of any experiences others may have had with this type of situation.
Thanks
Rick Tweedy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2000 06:06 AM
тАО07-27-2000 06:06 AM
Re: shared LVM
Can you utilise MirrorDisk and split off a copy or can you use a particular filesystem that is written by node A, unmounted then mounted and read by node B?
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2000 06:49 AM
тАО07-27-2000 06:49 AM
Re: shared LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2000 07:52 AM
тАО07-27-2000 07:52 AM
Re: shared LVM
How about contacting Veritas for a possible solution. They may have something that allows moving data through the fiber channel. See http://www.veritas.com/us/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2000 10:29 AM
тАО07-27-2000 10:29 AM
Re: shared LVM
I have never tested concurrent access without ServiceGuard, though. An interesting problem. Are you using an intelligent storage array? they often have their own caching which might account for what you are seeing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2000 12:50 AM
тАО07-28-2000 12:50 AM
Re: shared LVM
Don't try reading a filesystem on one box while you're writing to it on another though as you are almost bound to get inconsistencies in the structure.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2000 05:58 AM
тАО07-28-2000 05:58 AM
Re: shared LVM
The problem is being sent to the HP Expert team, so we shall see what they have to say on it.
I was not here when the planning occurred but for some reason it was never thought of to simply put a fiber backbone between the two boxes and use NFS. I think at this point that will be our solution but as usual the show must go on. In the mean time I think what I will do is using scripts make sure only one box is mounted at a time. Problem with that is mount can only be done by a superuser and there is no gaurantees that when the switch is needed there will not be someone sitting idle in a mounted dir preventing the umount from happening.
The concept is this a data warehouse/mart environment. HUGE(150gb) flat files are pulled from mainframe, loaded into warehouse on box A, processed and a subset of data is extracted to flat files for import on box B. From what I know this process will be happening on an irregular basis, maybe 20 times a day, maybe once a week. Yuck!
There is no way we can bog the network down with this kinda movement which is why the FC60/fibre came into play. As well it was decided that we could use the same sort of mounts to provide the ability to backup data to the readonly boxes silo.
The updates on the Readonly box still confuses me. Why does this system not know that the dirs have been updated? Is it because it is a readonly mount so the system assumes the contents will not change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2000 07:12 AM
тАО07-28-2000 07:12 AM
Re: shared LVM
You say you are using a huge disk array, an EMC or XP256 or the like I assume.
You say you issue the sync command on your server. That would flush the data from the buffer cache on the server. The data would then be resident in the cache on the disk array. As far as your first server is concerned the data is "committed", written to disk, the I/O is complete. Your array knows that that data in the cache is used by the first server. I doubt that the array is smart enough to know that the second server also wants that same data.
So, until the data gets destaged from cache to the disk, the second server probably will not see it.
The second server read request will look in buffer cache on the server. If the data is not there the read request goes to the disk subsystem. The array is handling a new read request from the second server and first looks in cache. But, it does not know it is looking for data associated with the first server. So, it has to go to disk. The data may still be in cache from the server one write and not physically written to disk yet.
As far as I know there is no sync command for the array. Unless there is cache pressure on the array, forcing it to destage, that data may sit in cache indefinitely.
Run that by the HP folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2000 10:10 AM
тАО07-28-2000 10:10 AM
Re: shared LVM
The other potential culprit, of course, is read cache on the 2nd server. If a read to the disk (for purpose of an ls, for example) has occured, that data will also be stored in cache. It will remain in cache until purged by other data requests. The sync command flushes cached writes to disk, but it does not affect read cache. To the system, that data is unchanged on disk since the initial mount/read request. I do not know of any way to force the system to forego cahce and read from disk. Perhpas someone else has a technique for accomplishing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2000 02:45 PM
тАО07-28-2000 02:45 PM
Re: shared LVM
So, to make sure that the read-only system gets a current view of the array, perform the steps in this order:
1. Make sure all systems have the array unmounted.
2. Mount the array from system A.
3. Write the data to the array from system A.
4. Unmount the array from system A.
5. Mount the array from system B.
6. Read the data using system B.
7. Unmount the array from system B.
There are some software packages appearing on the market that will enable simultaneous access to data on an array from multiple hosts, but as far as I know only Veritas has this available for HP-UX at this time.