Unix Technical Forum

Share disk ?

This is a discussion on Share disk ? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I would like share one fiber disk between on two servers HP-UX 11. The first server with read write ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 06:10 PM
nicolas
 
Posts: n/a
Default Share disk ?

I would like share one fiber disk between on two servers HP-UX 11. The
first server with read write access and the second server with only
read access.

It's possible, with or without lvm ?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 06:10 PM
Ken Green
 
Posts: n/a
Default Re: Share disk ?

nicolas wrote:

> I would like share one fiber disk between on two servers HP-UX 11. The
> first server with read write access and the second server with only
> read access.
>
> It's possible, with or without lvm ?
>
> Thanks


With LVM you could have one system accessing the volume group
in normal read/write mode, and the other system with the volume group
activated read only.

You need to wire the disks upto both systems. Set it all up normally on
the first system, then on the second system you need to use vgimport to
let the system know about the disks, then activate the VG using
vgchange -a r vgname


Accessing the disks is the easy bit.

The difficult bit is what data are you trying to access, and how are
you going to synchronise the accesses. If you are hoping for normal
filesystem access then it is not going to work. Lots of the filesystem
stuff is happening in memory on a live system, so what you see on
disk is not going to be quite what you want. Raw disk access is no
problem.

The next major release of HP-UX on the roadmap (the one after
HP-UX 11.23)is supposed to be adding the DEC clustering technology
so you might get filesystem access at that point.

Otherwise you back to network filesystems like NFS :-(


Cheers

Ken


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 06:10 PM
HP_BRS
 
Posts: n/a
Default Re: Share disk ?

Agree. In addition to the fact that most of the current filesystem
info will be in memory, if you do an fsck on the second system of the
filesystem that is already mounted on the first, the results will not
be pretty.

HP_BRS


Ken Green <Ken.Green@kgcc.co.uk> wrote in message news:<3F71F51C.A4A6C0F7@kgcc.co.uk>...
> nicolas wrote:
>
> > I would like share one fiber disk between on two servers HP-UX 11. The
> > first server with read write access and the second server with only
> > read access.
> >
> > It's possible, with or without lvm ?
> >
> > Thanks

>
> With LVM you could have one system accessing the volume group
> in normal read/write mode, and the other system with the volume group
> activated read only.
>
> You need to wire the disks upto both systems. Set it all up normally on
> the first system, then on the second system you need to use vgimport to
> let the system know about the disks, then activate the VG using
> vgchange -a r vgname
>
>
> Accessing the disks is the easy bit.
>
> The difficult bit is what data are you trying to access, and how are
> you going to synchronise the accesses. If you are hoping for normal
> filesystem access then it is not going to work. Lots of the filesystem
> stuff is happening in memory on a live system, so what you see on
> disk is not going to be quite what you want. Raw disk access is no
> problem.
>
> The next major release of HP-UX on the roadmap (the one after
> HP-UX 11.23)is supposed to be adding the DEC clustering technology
> so you might get filesystem access at that point.
>
> Otherwise you back to network filesystems like NFS :-(
>
>
> Cheers
>
> Ken

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 06:10 PM
Ken Green
 
Posts: n/a
Default Re: Share disk ?

HP_BRS wrote:

> Agree. In addition to the fact that most of the current filesystem
> info will be in memory, if you do an fsck on the second system of the
> filesystem that is already mounted on the first, the results will not
> be pretty.
>
> HP_BRS


You've got no sense of adventure :-)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com