- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Move OS to Jamaica disks
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
03-03-2003 09:50 PM
03-03-2003 09:50 PM
Move OS to Jamaica disks
Can I preconfigure the target vg00 on the Jamaica disks by attaching them to a test system (K460), copy data from vg00 on the V onto vg00 on the test system by fbackup/frestore file systems before the downtime window. In the downtime window, when the disks are attached to the V box, all I need to do is vgexport vg00 on the internal disks and then vgimport vg00 with those Jamaica disks, make the disks bootable, and then reboot teh V box from the new disks?
Thanks for your input in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 10:28 PM
03-03-2003 10:28 PM
Re: Move OS to Jamaica disks
My first preference would be to mirror the disk to vg00 and break the mirror, shift the disk(Jamaica), But here the hardware architecture of machine to which you are shifting (jamaica) disk must be identical to that of machine from which you copied or else machine with jamaica disk wouldn't boot(/etc/lvmtab file)and also this requires MirrorDisk/UX product. If you don't have this, my next preferenece would be to use Ignite, and finally fbackup and frestore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 10:30 PM
03-03-2003 10:30 PM
Re: Move OS to Jamaica disks
1> pvcreate -B /dev/rdsk/xyz
2> vgextend /dev/vg00 /dev/dsk/xyz
3> mkboot /dev/rdsk/xyz
4> mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/xyz
-a auto_file_string If the -a option is specified, mkboot
creates an autoexecute file AUTO on
device, if none exists. mkboot deposits
auto_file_string in that file. If this
string contains spaces, it must be quoted
so that it is a single parameter.
or use
4> mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/xyz
5> lvextend -m 2 /dev/vg00/lvol1 /dev/dsk/xyz -do this for all the lvols on root disk.
6> lvlnboot -R
7> lvlnboot -v To check if you see both the disks as boot disk.
boot the box off the new disks prior to reducing the old volumes and or breaking the mirrors.
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
03-04-2003 01:05 AM
03-04-2003 01:05 AM
Re: Move OS to Jamaica disks
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:41 AM
03-04-2003 08:41 AM
Re: Move OS to Jamaica disks
I still use /opt/ignite/bin/make_recovery -Avi
because i didn't look for the equivalent options for make_tape_recovery yet.
I guess you have the mirror-ux option then swapping the vg00 disks is an option. You don't need much downtime in this case.
Select the 4 disks. I suggest to use disks on different controllers for example
/dev/dsk/c5t6d0 /dev/dsk/c5t5d0
/dev/dsk/c8t6d0 /dev/dsk/c8t5d0
step 1) make_recovery
step 2) connect hass cabinets maybe you want to shutdown for this to avoid a crash due to a scsi bus hangup.
step 3) ioscan -fnC disk
step 4) insf -e -C disk
step 5) locate the disks you want to use for vg00
step 6)
pvcreate -B /dev/dsk/c5t6d0
pvcreate -B /dev/rdsk/c8t6d0
pvcreate /dev/rdsk/c5t5d0
pvcreate /dev/rdsk/c8t5d0
if you use used disks it possible you also need the -f option.
step 7)
mkboot /dev/rdsk/c5t6d0
mkboot /dev/rdsk/c8t6d0
step 8)
vgextend vg00 /dev/dsk/c5t6d0 /dev/dsk/c5t5d0
step 9)
for lv in `find /dev/vg00 -type b`
do
lvextend -m 2 $lv
done
step 10)
for lv in `find /dev/vg00 -type b`
do
lvreduce -m 1 $lv
done
step 11)
vgreduce vg00
step 12) repeat step 8 and 9 for other set of disks.
step 13) repeat step 10 and 11 for the other old disk
step 14)
lvlnboot -r and -b and -s. See man lvlnboot for details.
step 15)
mkboot -a "hpux -lq" /dev/rdsk/c5t6d0
mkboot -a "hpux -lq" /dev/rdsk/c8t6d0
that should do it but check if you didn't forgot something. The lvextend cmd's take some time but you don't need down time.
I recommend a reboot to check if everything works. You probably have to alter the primary and alternate boot path during the IPL stage
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 12:49 PM
03-04-2003 12:49 PM
Re: Move OS to Jamaica disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:51 AM
03-06-2003 08:51 AM
Re: Move OS to Jamaica disks
If you needed to reuse those old drives right away the Ignite option is probably the quickest. And it works very well.
Like many questions here, it all depends.