- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Start boot with disk mirror.
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
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
04-28-2006 01:59 AM
04-28-2006 01:59 AM
Start boot with disk mirror.
How they know, I make mirror in my server.
I have one doubts.
How I make to qualify the mirror record in reboot of the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:09 AM
04-28-2006 02:09 AM
Re: Start boot with disk mirror.
prompt> path
prompt> hpux boot disk(2/4.0.0)
You can also set your alternate boot disk with:
prompt> path alt hardware_address
If it's an integrity, you can use EFI to add a boot option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:18 AM
04-28-2006 02:18 AM
Re: Start boot with disk mirror.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=640487
To verify that it worked you can run:
# lvlnboot -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:19 AM
04-28-2006 02:19 AM
Re: Start boot with disk mirror.
# setboot
to view your settings.
This is an example:
# setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Now do a "ioscan -fnCdisk" to identify the hardware path to your bootdisks (you already know the divice files.
set the alternate boot path like:
# setboot -a 0/1/1/0.1.0
and check with "setboot" again.
Autoboot and Autosearch should be set to on.
If you want your system is starting even a disk is failed, set the "-lq" (quorum" option in the AUTO file.
remember, this was done by a line like
# mkboot -a "boot vmunix -lq" /dev/rdsk/c2t1d0s1
You can check the AUTO file on both disks with
# # efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:23 AM
04-28-2006 02:23 AM
Re: Start boot with disk mirror.
Ineed know, how to do, after reboot, when begin the SO, and bring any seconds for begining the SO, by Primary disk.
I need beginig by alternate disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:26 AM
04-28-2006 02:26 AM
Re: Start boot with disk mirror.
example:
# setboot -h 0/1/1/0.1.0
# setboot -a 0/1/1/0.1.0
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:28 AM
04-28-2006 02:28 AM
Re: Start boot with disk mirror.
Do a lvdisplay -v /dev/vg00/lvol* and check if the lvols are mirored, the fifth line tells you if the lvols are mirrored
Mirror copies 1
This confirms your VG00 is mirrored, similarly u can find if ur other volume groups are mirrored
do a lvlnboot -v
u will get output as below, it shows 2 boot disk c3t2d0 and c4t2d0.
You can do a ioscan -fnC disk and find the h/w path of the disks.
execute the setboot command it will tell you which is primary and the alternate path.
you can alter the primary and alternate paths with the same command setboot -p path -a path.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t2d0 (0/0/3/1.2.0) -- Boot Disk
/dev/dsk/c4t2d0 (0/0/4/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t2d0
/dev/dsk/c4t2d0
Root: lvol3 on: /dev/dsk/c3t2d0
/dev/dsk/c4t2d0
Swap: lvol2 on: /dev/dsk/c3t2d0
/dev/dsk/c4t2d0
Dump: lvol2 on: /dev/dsk/c3t2d0, 0
Hope this helps
REgds,
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:43 AM
04-28-2006 02:43 AM
Re: Start boot with disk mirror.
Thanks , for you help.
But i need know...
How do I controle the boot at start time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 02:55 AM
04-28-2006 02:55 AM
Re: Start boot with disk mirror.
You need to interrupt the autoboot process and interact with PDC and then ISL inorder to boot through the alt boot disk.
You need to reboot server from console, after PDC selftests server will prompt you to "press any key" to stop the autoboot process.
press any key to interrupt auto boot process.
at PDC menu, type 'bo alt' to boot from the alternate boot device.
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:00 AM
04-28-2006 03:00 AM
Re: Start boot with disk mirror.
Assuming you have set the primary and alternate boot paths as mentioned by other people and you have PA-RISC system
Shutdown your system
Now start the system and while starting press and hold the Escape key when it displays "To stop selection process, press and hold ESCAPE key."
Now you will come to BCH menu
Main Menu: Enter Command >
Type boot alt [ to indicate boot from alternate path]
Test the system and again shutdown and boot normally.
Also read the manual,
http://docs.hp.com/en/B2355-90950/ch05s01.html#bgejgjjh
Regards,
Ninad
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 04:34 AM
04-28-2006 04:34 AM
Re: Start boot with disk mirror.
My SO is HP-UX 11.23.
I´m maybe lost, yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 06:07 AM
04-28-2006 06:07 AM
Re: Start boot with disk mirror.
Now start the EFI shell. You will get a prompt like
fs0>
now you have to navigate to the *right* disk, probably fs2>
(this is a bit complicated to find, because you will have to understand the output of the command "map")
by typing
>cd fs2
now it's similar to good old DOS style
fs2>dir
locate and start the file "hpux.efi"
This will start the HP-UX loader and the OS.
For all details refer to your user guide.
Easier solution is to navigate using the boot menu.
Make the alternate boot path static by configure the path in the start menu (boot options) or like mentioned earlier while the OS is running.
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!