Well - if you're IPLing off SCSI, there is one thing you should be aware
of:
The Z SCSI IPL code writes information into the IPL text of the load
device. This includes the FCP Device number, WWPN, and LUN. For the IPL to
work, this info cannot change between when the IPL text was written and
when it is actually IPLed. For example - you cannot IPL a linux from FCP
device 1A00, WWPN 50050762nnnnnnnn, LUN 5001000000000000 when the IPL text
was written using device 1A05.
This also means that when you clone the LUN with copy services, the new LUN
number will be different, and it probably ( I haven't actually tested this,
but Im sure it's the case ) won't IPL.
So - the Cloning will probably have to be done under Linux itself.
A recipe like this should work pretty well:
>From a running Linux system, set up the SCSI system so that it can see the
source lun A, and the target lun B
use dd to copy from the source to the target: dd if=/dev/sda of=/dev/sdb
mount the target somewhere
chroot into the target system
edit the zipl and scsi configuration files for the target system. might as
well edit the network config while youre at it...
make a new initrd with mkinitrd
run zipl to write the new IPL text out to disk.
exit chroot
unmount source and target
target is now IPLable
You could also use copy services instead of dd for that step - it will be a
little faster and use less Z cpu - but the rest of the sequence is the
same.
Jay Brenneman
Linux Test and Integration Center
T/L: 295 - 7745
Extern: 845 - 435 - 7745
[EMAIL PROTECTED]
"Seader, Cameron"
<[EMAIL PROTECTED]
er.com> To
Sent by: Linux on [EMAIL PROTECTED]
390 Port cc
<[EMAIL PROTECTED]
IST.EDU> Subject
Cloneing Linux Guests on FCP SCSI
25/10/2004 10:51
AM
Please respond to
Linux on 390 Port
Greetings,
We are migrating all systems to FCP SCSI, and before when we were under
DASD we could do cloning really easy with ddr. Is there a way now to clone
when you are under FCP SCSI? is there some doc out there that has a howto
for this? I guess its pretty much the same except you have to use copy
services, and then somehow you have to change the FCP map within the guest.
Any ideas?
-Cameron Seader
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390