<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mirroring root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497116#M654952</link>
    <description>John&lt;BR /&gt;&lt;BR /&gt;The others have given you the command - here's the syntax to set your alternate boot path to match your mirror boot disk&lt;BR /&gt;&lt;BR /&gt;setboot -a 10/0.5.0&lt;BR /&gt;&lt;BR /&gt;You can change them at anytime while the system is running.&lt;BR /&gt;&lt;BR /&gt;To verify the contents of your AUTO file on your bootable disks execute the following:&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c0t5d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;The - is standarc out and should show something like: hpux&lt;BR /&gt;or&lt;BR /&gt;hpux -lq (10/0.5.0;0)/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;If you are on 10.20 or above (maybe even 10.X) you do not need to specify any path or kernel. So "hpux -lq"  would suffice.&lt;BR /&gt;&lt;BR /&gt;Repeat for your other disk&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c0t6d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;You can also verify that the LIF area is populated with the HPUX and ISL and other things needed to boot a system by using the following commands:&lt;BR /&gt;&lt;BR /&gt;lifls -l /dev/rdsk/c0t6d0&lt;BR /&gt;lifls -l /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;You do not need the -l option - works like ls.&lt;BR /&gt;&lt;BR /&gt;I think you are in good shape, just need to change that alternate boot path to match your disk.&lt;BR /&gt;&lt;BR /&gt;I don't know about the rest of you but I usually leave Autosearch OFF (yours is ON).&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Peggy</description>
    <pubDate>Thu, 22 Feb 2001 03:53:44 GMT</pubDate>
    <dc:creator>Peggy Fong</dc:creator>
    <dc:date>2001-02-22T03:53:44Z</dc:date>
    <item>
      <title>Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497113#M654949</link>
      <description>I went back to check my system after reading the document KBAN00000036 Mirrored Root Disks -- common misconceptions.  This is what I found.  When I run the setboot command it returns:&lt;BR /&gt;&lt;BR /&gt;Primary bootpath : 10/0.6.0&lt;BR /&gt;Alternate bootpath : 10/12/5.0.0&lt;BR /&gt;&lt;BR /&gt;Autoboot is ON (enabled)&lt;BR /&gt;Autosearch is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;The command lvlnboot -v returns:&lt;BR /&gt;&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c0t5d0 (10/0.5.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Dump: standswap on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 1 &lt;BR /&gt;&lt;BR /&gt;I tried to run the mkboot command to set the alternate disk to be c0t5d0 but it does not change the output of setboot.&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (10/0.5.0;0)/stand/vmunix" /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;Must I recreate vg00 from scratch?  I checked both of my servers and they each show this configuration.  The strange thing is that one of the servers does not have a device at address 10/12/5.0.0 yet it shows up in the setboot.  I think I must have missed a step somewhere.</description>
      <pubDate>Thu, 22 Feb 2001 00:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497113#M654949</guid>
      <dc:creator>John Pyle</dc:creator>
      <dc:date>2001-02-22T00:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497114#M654950</link>
      <description>You should be fine.  Running the mkboot command only makes the disk you specify bootable.  It does not set the alternate boot disk path.  Therre is a command you can run to do that, but since I'm at home I can't research the command.  That has to be set manually.  You can also set the alternate boot path when you reboot the system by interupting the boot.&lt;BR /&gt;&lt;BR /&gt;When you interupt the boot it also lets you boot from a different disk if your boot paths are not correct.  If your primary boot disks fails, then you will have to interact with the boot anyway since it will not automatically boot from the alternate boot path.&lt;BR /&gt;&lt;BR /&gt;As long as lvlnboot shows that both disks are boot disks, and vgdisplay shows that all lvols are synced, then you are fine.  &lt;BR /&gt;&lt;BR /&gt;You do NOT need to recreate VG00 from scratch.</description>
      <pubDate>Thu, 22 Feb 2001 00:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497114#M654950</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-02-22T00:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497115#M654951</link>
      <description>Hi John:&lt;BR /&gt;&lt;BR /&gt;See the man pages (1M) for 'setboot'. 'setboot' allows you to set (or display) the alternate boot path; the primary boot path; to enable/disable autosearch and/or to enable/disable autoboot.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Feb 2001 00:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497115#M654951</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-22T00:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497116#M654952</link>
      <description>John&lt;BR /&gt;&lt;BR /&gt;The others have given you the command - here's the syntax to set your alternate boot path to match your mirror boot disk&lt;BR /&gt;&lt;BR /&gt;setboot -a 10/0.5.0&lt;BR /&gt;&lt;BR /&gt;You can change them at anytime while the system is running.&lt;BR /&gt;&lt;BR /&gt;To verify the contents of your AUTO file on your bootable disks execute the following:&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c0t5d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;The - is standarc out and should show something like: hpux&lt;BR /&gt;or&lt;BR /&gt;hpux -lq (10/0.5.0;0)/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;If you are on 10.20 or above (maybe even 10.X) you do not need to specify any path or kernel. So "hpux -lq"  would suffice.&lt;BR /&gt;&lt;BR /&gt;Repeat for your other disk&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c0t6d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;You can also verify that the LIF area is populated with the HPUX and ISL and other things needed to boot a system by using the following commands:&lt;BR /&gt;&lt;BR /&gt;lifls -l /dev/rdsk/c0t6d0&lt;BR /&gt;lifls -l /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;You do not need the -l option - works like ls.&lt;BR /&gt;&lt;BR /&gt;I think you are in good shape, just need to change that alternate boot path to match your disk.&lt;BR /&gt;&lt;BR /&gt;I don't know about the rest of you but I usually leave Autosearch OFF (yours is ON).&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Peggy</description>
      <pubDate>Thu, 22 Feb 2001 03:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497116#M654952</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-02-22T03:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497117#M654953</link>
      <description>mkboot makes the bootarea of the disk and does not set the boot path. &lt;BR /&gt;As mentioned you use setboot to change your primary and alternate boot paths when the system starts. (You can also change these values by stopping the boot within 10 seconds when you first switch on your system).&lt;BR /&gt;If you have loaded the DIAGNOSTICS pack you may have a difference when you perform the lifls -l /dev/rdsk/c0t5d0 and c0t6d0 disks. If you seem to be missing some files try these commands on the disk with the missing files to update the lif info:&lt;BR /&gt;&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;&lt;BR /&gt;mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c0t(5 or 6)d0.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2001 08:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497117#M654953</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2001-02-22T08:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497118#M654954</link>
      <description>In your mail you say that you are trying to set the alternate path.  Why are you using mkboot for that? shouldn't you be using the 'setboot -a altenate path' command to set this?</description>
      <pubDate>Thu, 22 Feb 2001 10:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root/m-p/2497118#M654954</guid>
      <dc:creator>unixdaddy</dc:creator>
      <dc:date>2001-02-22T10:33:37Z</dc:date>
    </item>
  </channel>
</rss>

