Operating System - HP-UX
1823310 Members
3099 Online
109653 Solutions
New Discussion юеВ

Mirroring without using Mirror/UX License-HPUX B.11.23

 
J.Kimbrell
Advisor

Mirroring without using Mirror/UX License-HPUX B.11.23

Is there a way to mirror without using Mirror/UX License?
Not many resources here so was wondering if there was a way to have a live mirror without spending money....
6 REPLIES 6
J.Kimbrell
Advisor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

Sorry, forgot to put in the specs;
HP=UX B.11.23

thx.
RickT_1
Valued Contributor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

Hello,

If your controllers support it you can do hardware mirroring.

Rick
Mel Burslan
Honored Contributor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

I am with Rick on this one. If you have a SAS drive cage on your server (assuming it is an RX series hardware not an RP) you can utilize the RAID controller of this SAS enclosure.
________________________________
UNIX because I majored in cryptology...
J.Kimbrell
Advisor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

Well, one disk, one spare, no raid.
Trying to get the mirrordisk/ux but it may
be a hard sell to the mgr.
Any other ideas? Any opensource out there that would do it?
Mel Burslan
Honored Contributor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

not as good as mirrordisk but you can set up rsync

assuming you are using LVM, create a second vg (just to have a clear cut boundary that is, otherwise you can just create more logical volumes under vg00 if you wish) On this second vg, create logical volumes other than swap and probably /tmp (I always took contents of /tmp as disposable at any time, it might be different for you though) identical to their counterparts on vg00. Mount logical volumes under a top level mount point something like

/mirror/var
/mirror/usr
etc...

rsync -av /usr/ /mirror/usr
rsync -av /var/ /mirror/var
etc...

and run these commands at certain but frequent intervals using cron. After the initial sync, they should not take any more than a minute or two unless there a massive change in data in one of these volumes, which is highly unlikely, given the source is vg00, i.e. the system volumes.

mind you, this disk will not be able to boot, but you at least will have the latest copies of your system configuration files and files people have placed on vg00 for a faster recovery time.

But, in my opinion, mirrorUX should not be a hard sell to any manager, who considers their IT infrastructure as a business critical object. If it is not, then, well, if it is down for an extended period of time, who cares.
________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: Mirroring without using Mirror/UX License-HPUX B.11.23

What is the server model?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!