- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- bootable disk replacement
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
Discussions
Discussions
Forums
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
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-03-2009 01:00 AM
тАО12-03-2009 01:00 AM
Our customer had an rp4440 server running HPUX 11i v1 (2005).
The primary and alternate bootable disks (2x73GB) are mirrored using MirrorDisk software.
The customer wants to replace the above disks by 2x 300GB disks (P/N: AD263A)without re-installing HPUX from scratch.
What is the safest and fastest procedure to replace the disks and extend the file systems containing data.
Thanks and Regards
Roger
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:12 AM
тАО12-03-2009 01:12 AM
Re: bootable disk replacement
backup your OS with make_tape_recovery ( if you have dds tape). and restore to 300 GB disk.
after restore complete. you must do mirror for new disk.
Regards
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:13 AM
тАО12-03-2009 01:13 AM
Re: bootable disk replacement
the safest way is to make it from ignite tape/server ( install the new configuration to the new disks )
it could be done online, there is a procedure for this, but you need to destroy the mirror, and from the time you will have SPOF on the HW level ( disks will be not mirrored. ), this procedure isn't officially supported be HP.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:15 AM
тАО12-03-2009 01:15 AM
Re: bootable disk replacement
me not much aware about MirrorDisk software specified. But in gerneral senario you can break the mirror and remove the alternate disk then you can insert new disk (300gb) and recreate the mirror. Once shink will be completed you can try to boot the system with alternative disk.
If system boot up properly so you can try same thing with primary disk.
Please note:- file system size remain same.
Viney
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:18 AM
тАО12-03-2009 01:18 AM
Re: bootable disk replacement
check this link, if you like to extend some file systems online.
http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:20 AM
тАО12-03-2009 01:20 AM
Re: bootable disk replacement
Best way to do these is ignite. Take ignite backup and restore on the one of the new disks, verfiy and then mirror it to other new disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:25 AM
тАО12-03-2009 01:25 AM
Re: bootable disk replacement
1- Using tape drive :
- should i break the mirroring
- in case we did not break the mirroring
could i restore the backup to new disk
, extend some file systems and mirror
the second new disk.
2- No tape drive :
- how can i copy the current disk to new
new disks.
- should i break the mirroring status
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2009 01:33 AM
тАО12-03-2009 01:33 AM
Solution1- Using tape drive :
- should i break the mirroring
- in case we did not break the mirroring
could i restore the backup to new disk
, extend some file systems and mirror
the second new disk.
if yuo have a tape drive, make a backup to tape, don;t break the mirror, shutdown the server, remove the old original disks, and put there the new 300 GB disks, boot from tape, and use advanced tape of installation.
If you need to make some FS resize changes, you can do it, ( don't orget use only one disk ) and them start the restoration, after the system will be restored, boot the new installed OS from the disk, check the installation, /etc/rc.log ..... use swverify \*, to see if all parts of SW are in good confition. and them mirror the system to the second disk.
2- No tape drive :
- how can i copy the current disk to new
new disks.
- should i break the mirroring status
plan a downtime for the system, shutdown all app, and them you could break the mirror, lvreduce / vgreduce, and them add your new disk and remirror it.
mikap
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2009 07:02 AM
тАО12-04-2009 07:02 AM
Re: bootable disk replacement
c1t1d0 free disk as an example
1. Create a new VG vgroot with c1t1d0:
# pvcreate -B /dev/rdsk/c1t1d0 (don├в t forget the ├в B option!)
# mkdir /dev/vgroot
# ll /dev/*/group (check for unused minor number)
# mknod /dev/vgroot/group c 64 0x010000
# vgcreate vgroot /dev/dsk/c1t1d0
2. Create LVs for boot, swap and root (in that order). Use at least the same size as in
your original root VG:
# lvcreate -C y -r n vgroot
# lvextend -L 100 /dev/vgroot/lvol1 (e.g. 100 MB for /stand)
# lvcreate -C y -r n vgroot
# lvextend -L 512 /dev/vgroot/lvol2 (e.g. 512 MB pri. swap)
# lvcreate -C y -r n vgroot
# lvextend -L 200 /dev/vgroot/lvol3 (e.g. 200 MB for /)
3. Configure LIF and BDRA on c1t1d0 (see the LIF/BDRA Configuration Procedure).
4. Create LVs for /usr, /opt, /var, /tmp, /etc, /home, etc. Use at least the same size
as in your original root VG:
# lvcreate vgroot
# lvextend -L 500 /dev/vgroot/lvol4
...
5. Create the file systems:
# newfs -F hfs /dev/vgroot/rlvol1
# newfs -F vxfs /dev/vgroot/rlvol3
# newfs -F vxfs /dev/vgroot/rlvol4
...
6. Mount the file systems:
# mkdir /new_root /new_usr /new_stand ├в ┬ж (Create mount points)
# mount /dev/vgroot/lvol1 /new_stand
# mount /dev/vgroot/lvol3 /new_root
# mount /dev/vgroot/lvol4 /new_usr
...
7. Copy the data, e.g. using find(1) with cpio(1):
# cd /
# find . -xdev -depth | cpio -pvdlmax /new_root
# cd /stand
# find . -xdev -depth | cpio -pvdlmax /new_stand
# cd /usr
# find . -xdev -depth | cpio -pvdlmax /new_usr
...
Chapter 16 LVM
July 2003 Chapter 16 / Page 39
8. Modify the fstab in /new_root/etc. Replace occurences of vg00 with vgroot:
# vi /new_root/etc/fstab
/dev/vgroot/lvol1 /stand hfs defaults 0 0 (new boot LV)
/dev/vgroot/lvol3 / vxfs delaylog 0 0 (new root LV)
/dev/vgroot/lvol4 /usr vxfs delaylog 0 0 (new /usr LV)
9. Change the device files for the root disk in /stand/bootconf to c1t1d0:
# vi /stand/bootconf
l /dev/dsk/c1t1d0
10. Configure disk c1t1d0 as boot path in stable storage and boot from it:
# setboot -b
# shutdown -r 0
11. When the system comes up again, backup vgroot├в s LVM Configuration:
# vgcfgbackup vgroot
12. And finally remove the old root VG if desired:
# vgchange -a n vg00
# vgexport vg00
If you like to rename vgroot to vg00:
1. Boot to LVM maintenance mode:
ISL> hpux ├в lm
2. Export vgroot and import it as vg00:
# vgexport vgroot
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000 (we import vg00 with minor 0)
# vgimport vg00 /dev/dsk/c1t1d0
3. Activate vg00 and mount the files ystems:
# vgchange -a y vg00
# mount /dev/vg00/lvol3 /
# mount /dev/vg00/lvol1 /stand
# mount /dev/vg00/lvol4 /usr
...
Chapter 16 LVM
July 2003 Chapter 16 / Page 40
4. Modify the fstab. Replace vgroot with vg00 again:
# vi /etc/fstab
5. Reboot:
# shutdown -r 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 03:16 AM
тАО12-07-2009 03:16 AM
Re: bootable disk replacement
Thank you very much for your concern.
Could you tell me how to configure LIF and BDRA on the new disk.
Regards
Roger