- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sharing a logical volume
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-24-2004 04:18 AM
08-24-2004 04:18 AM
I've got two 3440 servers running HP-UX 11.11 and connected to a DS2405 disk enclosure.
I wonder how to share data.
Do I need to declare logical volumes on each server ?
Thanks,
Olivier
Solved! Go to Solution.
- 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: sharing a logical volume
NFS. Export it other node and mount. If set up properly could serve your purpose.
MCSG(Service Guard)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2004 04:27 AM
08-24-2004 04:27 AM
Re: sharing a logical volume
Are you talking about sharing a file system on both systems for simultaneous access? If so, this is really only supported for read-only access. If you're going to be doing write access, there would be nothing to stop both systems from corrupting each other's data.
A supported way of sharing volumes between systems is to use ServiceGuard to manage the filesystem and move it between systems if one of them becomes unavailable. You could then use NFS to access the filesystem on the client where the filesystem is not currently locally mounted.
Again, you *could* use vgexport/vgimport to create the same logical volume on both systems and potentially have both servers accessing the same disks simultaneously, but you'll be taking your chances with disk corruption.
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]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2004 04:32 AM
08-24-2004 04:32 AM
Re: sharing a logical volume
Make the available one system and export them to all so that they can mount and use the data's out there.
It is good to keep the secured / allowable users to access the data. See the exportfs man page so that, you can allocate permission for the data to the machines.
NFS is the best way to share and use data's.
HTH.
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2004 04:40 AM
08-24-2004 04:40 AM
SolutionBut as mentioned above, you should not activate the volume group for write access on both the machines at the same time.
This is mainly becoz the HP-UX kernel doesnt have any kind of mechanism to communicate/sync up the filesystem metadata changes to a kernel running in an another system except ofcourse, with the exception of using NFS (Network File system).
You can enable the volume group in rw mode in one node and only r-mode in another mode. But again there is a school of thought that even this can lead to the data corruption.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2004 03:12 AM
08-25-2004 03:12 AM
Re: sharing a logical volume
If your disks have multiple paths and are visible on both nodes in a cluster, you can put them in shared cluster mode.
Make vg05 shared:
vgchange -c y -S y vg05
Make vg05 active:
vgchange -a y vg05
Deactivate vg05
vgchnage -a n vg05
Turn sharing off for vg05
vgchange -c n -S n vg05
You will most likely corrupt your data if you donâ t do this right. Youâ ll need to have a lock disk and a lot of other things setup prior to doing this. Make sure you have good backups and you read the docs.
If you just want to have an exclusive disk for each machine then share them off to the other machine, you could use samba, NFS, or any other of the tools out there. I actually use rsyncd for syncing directories on some machines.
I hope this was helpful. Good lu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2004 03:21 AM
08-25-2004 03:21 AM
Re: sharing a logical volume
On node1:
vgexport -pvs -m /tmp/node1_vg05.map /dev/vg05
**The -p option will preview, so your vg will not be lost on node1**
Copy this map to node2 (FTP, RCP, etc... you choose)
On node2:
mkdir /dev/vg05
mknod group c 64 0x050000
**Do not duplicate numbers on the same node.**
vgimport -v -s -m /tmp/node1_vg05.map /dev/vg05
Then do all the vgchanges I mentioned before.
Good luck!
-Brian.