- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot/Root disk Mirroring
Categories
Company
Local Language
Forums
Discussions
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
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
12-07-2003 09:20 PM
12-07-2003 09:20 PM
Boot/Root disk Mirroring
The Essential LV's in the Volume Group VG00 is mirrored.
How to check whether alternate boot disk is enabled or not? If not the procedure to implement alternate Boot disk enabling.
Please tell what would be system status if the disk through which system is booted, would the system be in the stable operating mode because all the LV' are mirrored.
Thanks
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2003 09:27 PM
12-07-2003 09:27 PM
Re: Boot/Root disk Mirroring
#lvdisplay -v /dev/vg00/lvolXX
you would notice status for each PE seen under Logical extents.
#setboot
to display whether autoboot is on and the alternate boot path.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2003 09:29 PM
12-07-2003 09:29 PM
Re: Boot/Root disk Mirroring
You can also have a look to "lvlnboot -v /dev/vg00"
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2003 09:42 PM
12-07-2003 09:42 PM
Re: Boot/Root disk Mirroring
best way is
#lvdisplay -v
#lvlnboot
and
booting parameters
like auto boot should be enable
and Auto file of both mirrored disk
-lq argument should be there so in case of one disk fail it can boot from other disk.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2003 09:47 PM
12-07-2003 09:47 PM
Re: Boot/Root disk Mirroring
you may refer to Knowledge Base, DocId: KBRC00002335 on enable autoboot:
At the isl prompt, enter autoboot:
ISL> autoboot
Enter ON or OFF:on
Verify the content of the auto-execute file.
ISL> lsautofl
....... This should return something like:
Auto-execute file contains:
hpux
If needed, create the autofile.
This can be done at the command line or at the isl prompt....
At the isl prompt:
ISL> hpux set autofile
At the command line:
#mkboot -a <"auto string"> /dev/dsk/
Note: auto string = "hpux" or "hpux -lq" for mirrored root drive
And "device file" is for the boot device
------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 12:55 AM
12-08-2003 12:55 AM
Re: Boot/Root disk Mirroring
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c28t5d0 (0/0/0/3/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
If you don't see 2 Boot Disk's then your mirror is NOT bootable.
To recreate from scratch:
Mirror the root lvols:
pvcreate -B /dev/rdsk/c3t6d0
vgextend /dev/vg00 /dev/dsk/c3t6d0
mkboot -l /dev/rdsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:02 AM
12-08-2003 01:02 AM
Re: Boot/Root disk Mirroring
Following are the details. So the alternate boot disk is bootable. Please tell what would be system status if the disk through which system booted is failed , would the system be in the stable operating mode or not.
# lvlnboot -v /dev/vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t11d0 (8/12.11.0)
/dev/dsk/c2t3d0 (10/0.3.0)
/dev/dsk/c2t5d0 (10/0.5.0) -- Boot Disk
/dev/dsk/c7t14d0 (10/8.14.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Root: lvol3 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Swap: lvol2 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Dump: lvol2 on: /dev/dsk/c2t5d0, 0
Dump: lv_swap2 on: /dev/dsk/c2t3d0, 1
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:07 AM
12-08-2003 01:07 AM
Re: Boot/Root disk Mirroring
Rgds..Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:09 AM
12-08-2003 01:09 AM
Re: Boot/Root disk Mirroring
Also, if you needed to reboot, you would need to boot from the other disk (so set tit up as the alternate boot path, and set both boot paths with the "-lq" parameter so that each can be used to boot even if the othe ris not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:22 AM
12-08-2003 01:22 AM
Re: Boot/Root disk Mirroring
Is not the system automatically bootable from other disk in case of a boot disk failure?
If not please what needs to be done in details.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:47 AM
12-08-2003 01:47 AM
Re: Boot/Root disk Mirroring
The alternate boot disk dev/dsk/c7t14d0 is in a HASS A3312A enclosure. Is it going to be a problem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 02:31 AM
12-08-2003 02:31 AM
Re: Boot/Root disk Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:24 AM
12-08-2003 03:24 AM
Re: Boot/Root disk Mirroring
I think you must have created the mirror with hpux -lm specified. so that it will boot without a quorum, since the primary mirror would be down.
someone correct me if Im wrong... or else your system will stop at the ISL prompt wating for you to type: hpux -lm on the boot device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:44 AM
12-08-2003 03:44 AM
Re: Boot/Root disk Mirroring
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtYdZ should be issued for both the prmary and alternate boot disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:46 AM
12-08-2003 03:46 AM
Re: Boot/Root disk Mirroring
no points here...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:55 AM
12-08-2003 03:55 AM
Re: Boot/Root disk Mirroring
The disk is on b1 slot of the HASS array. SO the following command should be enough for enabling the auto boot from either of the disk during the reboot even either of the disks is failed.
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c2t5d0 /dev/dsk/c7t14d0
Can this be run during the system being used?
Thanks
system being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 04:01 AM
12-08-2003 04:01 AM
Re: Boot/Root disk Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 11:26 PM
12-08-2003 11:26 PM
Re: Boot/Root disk Mirroring
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c2t5d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c7t14d0
The above should do it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 01:13 AM
12-10-2003 01:13 AM
Re: Boot/Root disk Mirroring
The following are the current config. Should this to be run 'mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c2t5d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c7t14d0' to make the system bootable from either of the disk in case the other disk fails.
______________
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t11d0 (8/12.11.0)
/dev/dsk/c2t3d0 (10/0.3.0)
/dev/dsk/c2t5d0 (10/0.5.0) -- Boot Disk
/dev/dsk/c7t14d0 (10/8.14.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Root: lvol3 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Swap: lvol2 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Dump: lvol2 on: /dev/dsk/c2t5d0, 0
Dump: lv_swap2 on: /dev/dsk/c2t3d0, 1
[ccprod01]: /root
# lifcp /dev/rdsk/c2t5d0:AUTO -
hpux -lq
[ccprod01]: /root
# lifcp /dev/rdsk/c7t14d0:AUTO -
hpux (;0)/stand/vmunix
[ccprod01]: /root
# echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disc(10/0.5.0;0)/stand/vmunix ----/dev/rdsk/c2t5d0
[ccprod01]: /root
______________
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 09:54 PM
12-10-2003 09:54 PM
Re: Boot/Root disk Mirroring
The following are the current config.
______________
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume
Group:
/dev/dsk/c1t11d0 (8/12.11.0)
/dev/dsk/c2t3d0 (10/0.3.0)
/dev/dsk/c2t5d0 (10/0.5.0) -- Boot Disk
/dev/dsk/c7t14d0 (10/8.14.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Root: lvol3 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Swap: lvol2 on: /dev/dsk/c2t5d0
/dev/dsk/c7t14d0
Dump: lvol2 on: /dev/dsk/c2t5d0, 0
Dump: lv_swap2 on: /dev/dsk/c2t3d0, 1
# lifcp /dev/rdsk/c2t5d0:AUTO -
hpux -lq
# lifcp /dev/rdsk/c7t14d0:AUTO -
hpux (;0)/stand/vmunix
# echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disc(10/0.5.0;0)/stand/vmunix ----/dev/rdsk/c2t5d0
______________
Should the following to be run to make the system bootable from either of the disk in case the other disk fails.
'mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c2t5d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c7t14d0
Thanks