- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scsi path change 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
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
тАО02-24-2004 08:00 PM
тАО02-24-2004 08:00 PM
scsi path change mirroring
I have to change a D330 with a D370 server.
The internal HD's are mirrored to an external
Hass-Tower. Now beginn's my problem, because
the D370 has an another scsi-hw-path for the external devices.
What is the best way to change the path ??
For the data-hd's i want to do:
umount /var/mqm
lvreduce -m 0 /dev/kal/mqm /dev/dsk/c1t15d0
vgreduce /dev/kal /dev/dsk/c1t15d0
Reboot with the new server and tehen
vgextend /dev/kal /dev/dsk/c4t15d0
..
..
But what is the best way for the vg00 ??
Thank's
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 08:05 PM
тАО02-24-2004 08:05 PM
Re: scsi path change mirroring
Since the hardware differs i would try to create an ignite tape and try to restore it on the D370.If that does not work well go for a clean install.
If the server is installed correct connect the external devices and use vgscan to import those vg's.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 08:05 PM
тАО02-24-2004 08:05 PM
Re: scsi path change mirroring
The best way (if you have a tape device ) is ignite, create a ignite tape and boot/install from tape on the D370.
During the install you can change the VG00 conf in the advanced optins.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 08:08 PM
тАО02-25-2004 08:08 PM
Re: scsi path change mirroring
Create LVM-maps for the external vgs for safety, recover from ignite if possible.
Probably that's it, worst case would be importing via mapfiles.
(*thinking*)
simply do install the new server from ignite, shutdown, connect the HAS and boot up. There should nothing more to be done, I think. (I'm not complete awake, though :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 08:36 PM
тАО02-25-2004 08:36 PM
Re: scsi path change mirroring
Why not just export the volume groups from one machine and import them on the other?
"vgexport -m mapfile -s vgwhatever"
ftp the mapfile to the new machine.
"vgimport -m mapfile -s vgwhatever"
It doesn't matter about the device names or anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 10:06 PM
тАО02-25-2004 10:06 PM
Re: scsi path change mirroring
you could change the HW path, too, if it would make sense. So did i for a SG environment with one external jamaica storage.
Asuming on 1st machine
# ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | grep ext_bus
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
ext_bus 3 8/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
and on 2nd
haley # ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | grep ext_bus
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
ext_bus 0 8/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
the device files on machine 1 would be c1t.d.,
on machine 2 c4t.d.
Well, this can be changed with the help of
UXSGKBRC00005958
Title: Changing I/O Instance Numbers On A ServiceGuard Server
The document above also requires this document:
KBRC00004879
Title: How to change the instance numbers of ext_bus and dev files
To change from c1t.d. on machine 1 to c4t.d.,
you could vgexport all c1t.d. devices, change the HW path with
# ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | awk '{print $3, $1, $2}' > /newcfg
change (assuming the card is in slot 8/8)
8/8 ext_bus 1
to
8/8 ext_bus 4
do a
# init 1
# /sbin/ioinit -f /newcfg -r
The machine would reboot now.
Check the /etc/lvmtab.
Then you have to vgimport on c4t.d. all your disks from c1t.d. .
That should be the state on the D330 you would have on the D370, too.
But do a backup (full ignite) before, it is a potential risk.
You would need about 1/2 h for exporting, changing, rebooting and importing.
After that, you could shutdown the machine again, switch all of the disks in the correct configured slots on machine 2 (SCSI ID's must be the same for the adequate slot).
But, as i told before, think about the need of the same path's, it is more cosmetic.
But if nothing goes wrong, there wouldn't be any need to use the ignite.
A second possibility:
Try if your machine boots without the internal (boot) disks (bo alt).
Break (reduce) the mirror, vgexport the unneeded disk.
(Or simulate an error, draw the internal disks and boot them on the D370.
Let SAM vgimport on D370 this disk (specify options and mound directories). Do so for all disks (without mirror).
You would get 2 Machines with one set of disks, on D330 without mirror or with failed mirrors.
Reboot D370 when done.
Recreate mirrors after reboot (put further disks in). You can get a script for mirroring all of the disks automatically from me, but it will run some hours, depending on the size.
I hope i didn't forget anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 10:10 PM
тАО02-25-2004 10:10 PM
Re: scsi path change mirroring
# ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | grep ext_bus
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
ext_bus 1 8/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
and on 2nd
haley # ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | grep ext_bus
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
ext_bus 4 8/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
the device files on machine 1 would be c1t.d.,
on machine 2 c4t.d