<?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: Setting up alternate boot path. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566697#M646977</link>
    <description>Dayanard&lt;BR /&gt;&lt;BR /&gt;The suggestion above about setboot is correct but you also need to do a few more things&lt;BR /&gt;&lt;BR /&gt;I'll assume you JUST have 1 disk in vg00, primary disk /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;1 - Create the mirror disk, bootable, say /dev/rdsk/c2t6d0 is the mirror&lt;BR /&gt;pvcreate -B[f] /dev/dsk/c2t6t0&lt;BR /&gt;&lt;BR /&gt;2 - Put LVM boot info stuff into lif area&lt;BR /&gt;mkboot -l /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;3 - Make sure the AUTO file is correct &lt;BR /&gt;mkboot -a "hpux -lq" /dev/dsk/c1t6d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/dsk/c2t6d0&lt;BR /&gt;Check string "hpux -lq" in in both AUTO files&lt;BR /&gt;lifcp /dev/dsk/c1t6d0:AUTO -&lt;BR /&gt;lifcp /dev/dsk/c2t6d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;4 - As above answers do "setboot"&lt;BR /&gt;&lt;BR /&gt;5 - Mirror vg00&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 ...&lt;BR /&gt;:&lt;BR /&gt;do this for all LV's.  ** MAKE SURE lvol1, 2 &amp;amp; 3 are done in that order (else it will not boot!!!)&lt;BR /&gt;&lt;BR /&gt;You could stop here, but I also install LIF area diagnostics on both disks (the OnLineDiag bundle I believe)&lt;BR /&gt;&lt;BR /&gt;6 -&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;mkboot -b ./updatediaglif -p ISL -p AUTO -p HPUX -p LABEL -p PAD /dev/dsk/c1t6d0&lt;BR /&gt;mkboot -b ./updatediaglif -p ISL -p AUTO -p HPUX -p LABEL -p PAD ./dev/dsk/c2t6d0&lt;BR /&gt;The -p "Preserves" the lif file so do not forget it!!&lt;BR /&gt;&lt;BR /&gt;Check it&lt;BR /&gt;lifls /dev/dsk/c1t6d0&lt;BR /&gt;lifls /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Tim</description>
    <pubDate>Mon, 20 Aug 2001 13:58:46 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2001-08-20T13:58:46Z</dc:date>
    <item>
      <title>Setting up alternate boot path.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566694#M646974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We are have L-Class servers with identical HDD space, with one as a bootable disk. I've created a bootable tape and i want to restore on the other disk and test it. Is this possible.&lt;BR /&gt;&lt;BR /&gt;My qts. are&lt;BR /&gt;&lt;BR /&gt;1) How do i activate the other disk, when i restore the ignite tape.&lt;BR /&gt;2) how do i boot from the alternate disk.&lt;BR /&gt;&lt;BR /&gt;I presume that setboot command is used for doing the same. Can someone guide me on the same.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dayanand Naik.</description>
      <pubDate>Sat, 18 Aug 2001 04:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566694#M646974</guid>
      <dc:creator>Dayanand Naik</dc:creator>
      <dc:date>2001-08-18T04:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up alternate boot path.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566695#M646975</link>
      <description>Dayanand,&lt;BR /&gt;&lt;BR /&gt;If the other disk is not part of the root volume group, then there is no problem. If it is, I would suggest you to reduce it from the volume group configuration and then prepare the make_recovery tape. However, after booting from the tape, you need to go through interactive process where you will get an option of specifying your boot disk and you can specify your other disk. To be on safer side, I would take out the original boot disk so that it will not get messed up during the recovery. &lt;BR /&gt;&lt;BR /&gt;I presume you are doing this to test the ignite tape. Otherwise, you can mirror the logical volumes and make it bootable. &lt;BR /&gt;&lt;BR /&gt;Need more details on setting up mirror boot disk?&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 18 Aug 2001 05:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566695#M646975</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-18T05:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up alternate boot path.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566696#M646976</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First of all do a make_recovery of the first disk and note down the hwpath (I assume you don't want to overwrite what's on there right now) Then reboot the machine and boot off of the tape and interrupt the install of the ignite and there you will have options to change/specify your new root disk (would be handy if you already know the hwpath of the 2nd disk- this is a good practice to change/extend the partition size for /stand or / filesystems as well)&lt;BR /&gt;&lt;BR /&gt;=====&lt;BR /&gt;To set bootpaths when at the BCH(when you interrupt the boot process)&lt;BR /&gt;path pri &lt;HWPATH&gt;&lt;BR /&gt;path alt &lt;HWPATH&gt;&lt;BR /&gt;&lt;BR /&gt;=====&lt;BR /&gt;To set primary and alternate bootpaths (once you are in multi-user mode)&lt;BR /&gt;&lt;BR /&gt;setboot -p &lt;PRIMARY hwpath=""&gt; -a &lt;ALTERNATE hwpath=""&gt;&lt;BR /&gt;&lt;BR /&gt;============&lt;BR /&gt;once you are booted, to determine which disk you are booted off of,&lt;BR /&gt;echo boot_string/S|adb /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;I am RU&lt;/ALTERNATE&gt;&lt;/PRIMARY&gt;&lt;/HWPATH&gt;&lt;/HWPATH&gt;</description>
      <pubDate>Sat, 18 Aug 2001 05:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566696#M646976</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-18T05:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up alternate boot path.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566697#M646977</link>
      <description>Dayanard&lt;BR /&gt;&lt;BR /&gt;The suggestion above about setboot is correct but you also need to do a few more things&lt;BR /&gt;&lt;BR /&gt;I'll assume you JUST have 1 disk in vg00, primary disk /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;1 - Create the mirror disk, bootable, say /dev/rdsk/c2t6d0 is the mirror&lt;BR /&gt;pvcreate -B[f] /dev/dsk/c2t6t0&lt;BR /&gt;&lt;BR /&gt;2 - Put LVM boot info stuff into lif area&lt;BR /&gt;mkboot -l /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;3 - Make sure the AUTO file is correct &lt;BR /&gt;mkboot -a "hpux -lq" /dev/dsk/c1t6d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/dsk/c2t6d0&lt;BR /&gt;Check string "hpux -lq" in in both AUTO files&lt;BR /&gt;lifcp /dev/dsk/c1t6d0:AUTO -&lt;BR /&gt;lifcp /dev/dsk/c2t6d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;4 - As above answers do "setboot"&lt;BR /&gt;&lt;BR /&gt;5 - Mirror vg00&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 ...&lt;BR /&gt;:&lt;BR /&gt;do this for all LV's.  ** MAKE SURE lvol1, 2 &amp;amp; 3 are done in that order (else it will not boot!!!)&lt;BR /&gt;&lt;BR /&gt;You could stop here, but I also install LIF area diagnostics on both disks (the OnLineDiag bundle I believe)&lt;BR /&gt;&lt;BR /&gt;6 -&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;mkboot -b ./updatediaglif -p ISL -p AUTO -p HPUX -p LABEL -p PAD /dev/dsk/c1t6d0&lt;BR /&gt;mkboot -b ./updatediaglif -p ISL -p AUTO -p HPUX -p LABEL -p PAD ./dev/dsk/c2t6d0&lt;BR /&gt;The -p "Preserves" the lif file so do not forget it!!&lt;BR /&gt;&lt;BR /&gt;Check it&lt;BR /&gt;lifls /dev/dsk/c1t6d0&lt;BR /&gt;lifls /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 20 Aug 2001 13:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566697#M646977</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2001-08-20T13:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up alternate boot path.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566698#M646978</link>
      <description>HI&lt;BR /&gt;To test the recovery tape, first create the recovery tape with interactive option.&lt;BR /&gt;#make_tape_recovery -a /dev/rmt/0mn -A -v -I&lt;BR /&gt;&lt;BR /&gt;Make sure the other disk (to be tested with) is not part of any active volume groups.&lt;BR /&gt;&lt;BR /&gt;After booting from the recovery tape, go through interactive process where you will get an option of specifying your target boot disk and where you can specify your other disk. &lt;BR /&gt;&lt;BR /&gt;The set boot command helps in setting the primary and al. boot paths, mainly in mirror configurations.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2001 15:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-alternate-boot-path/m-p/2566698#M646978</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-08-20T15:24:49Z</dc:date>
    </item>
  </channel>
</rss>

