- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- want to build different 0/S on different h/w path
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
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
05-22-2003 08:02 AM
05-22-2003 08:02 AM
Thanks for your suggestion and your time.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:10 AM
05-22-2003 08:10 AM
Re: want to build different 0/S on different h/w path
To boot off the alternate volume, you'll probably need to intervene ato boot time off the console.
Interupt at the 10 second prompt.
sea
bo p#
replace # with the number of the alternate boot drive.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:17 AM
05-22-2003 08:17 AM
Re: want to build different 0/S on different h/w path
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x83717cffe265d711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:19 AM
05-22-2003 08:19 AM
SolutionBut if you are talking about the same internal and external disks which you now use as 11i root disks (mirrors), then you need to break the mirror. Then determine which one you wanted as 11i and which as 11.0. If you have additional disks, you can make mirror disks too.
In both cases, you may vgimport all VGs and disks, create mount points and access your data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:40 AM
05-22-2003 08:40 AM
Re: want to build different 0/S on different h/w path
currently, my o/s is mirroring to the same device, both of my internal and external are currently on 11.i O/S. Now I want to take the
external disk and boot it to 11.0? As you mention, I have to break the mirror to do so, would you give me more details. Once the mirror has broken, the external disk is available for other usuage. do I have to do anything to it? such pvcreate -f -B etc???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:46 AM
05-22-2003 08:46 AM
Re: want to build different 0/S on different h/w path
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t2d0
==> Repeat for all other vg00 LVs.
# vgreduce vg00 /dev/dsk/c2t2d0
# lvlnboot -v
==> Check to make sure they are gone (the mirrored LVs).
If you're loading 11.0 from the CD onto c2t2d0, there is no need to run pvcreate prior to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:50 AM
05-22-2003 08:50 AM
Re: want to build different 0/S on different h/w path
But to answer your question, yes you need to follow certain steps to accomplish the task. Read this thread which was opened by me a while ago (read the steps to break the mirror, vg backups, lvreduce, free disk etc):
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf1c5a2db8513d6118ff40090279cd0f9,00.html
You may not require all the steps, but you will get a good idea what to do!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:53 AM
05-22-2003 08:53 AM
Re: want to build different 0/S on different h/w path
so once the lvreduce of the mirror is done,
reboot the system, and interrupt the boot prompt and give it the h/w path of the disk that was reduce from vg00?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 09:03 AM
05-22-2003 09:03 AM
Re: want to build different 0/S on different h/w path
No, the order of lvreduce is not important. However the order of lvextend is important because when you mirror you got to make sure /,/stand and pri-swap are contigous. In lvreduce you're "deleting" them so the order should not matter.
==> Boot prompt ..
Yes give it the hw path of the disk that was reduced (or removed) from the 11i vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 09:09 AM
05-22-2003 09:09 AM
Re: want to build different 0/S on different h/w path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 10:25 AM
05-22-2003 10:25 AM
Re: want to build different 0/S on different h/w path
1. lvreduce -m 0 for all lvol in vg00
2. vgreduce the disk in vg00
3. lvlnboot to make sure it has only 1 disk
4. vgexport -m map file to a different system
5. vgdisplay and bdf to check
6. load 11.0 on the free device
------------
my next questions are :
- so currently, i have two different O/S on 2 separate h/w paths. I now want to mirror these vg00 in case i need to do any patch update or anythings. I should be able to do this using the procedure on how to create mirror for vg00. Because of your forum, i was successfully doing that.
- this might be a silly question, but i got to ask :
as for single 0/s , we have 2 h/w path the primary and the secondary using mirror to mirror the os. so one can boot to either the primary and secondary disk to the same 0/s.
since, now i have configure 2 dual boot on the same system, I should be able to mirror the O/S ?
so for example :
- currently boot O/S 11i on the primary boot,
then do lvextend for mirroring. set the alternative boot device, and reboot the sytem to tetst whether or not it works
- now I want to boot the 0/s to 11.0, reboot
the system, interrupt the boot prompt , and now i can give it the hardware path for the disk that has the 11.0 0/s on it and boot it from there? Is this correct? Once it has booted successfully i can mirror this 0/s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 10:42 AM
05-22-2003 10:42 AM
Re: want to build different 0/S on different h/w path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 10:42 AM
05-22-2003 10:42 AM
Re: want to build different 0/S on different h/w path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 10:45 AM
05-22-2003 10:45 AM
Re: want to build different 0/S on different h/w path
For your questions, if I understand it correctly, then you can do that. Boot from 11i, make your mirror disk. Boot from 11.00 make your mirror disk. You cannot make mirror to the disk which you are using for booting from another OS. If all of them are seperate disks, you are goot to go.
I would make sure that I will have a good recovery tape before doing all these.