> My task and problem is not: having to bring a device online, and yes,
we
> are running on kernel 2.6.

You don't say whether you're running under VM or not, but if you are,
there is a much easier way to accomplish this task. 
 
> We worked out a method to clone the system (for different purposes,
> involving different DASD and networking hardware)
> . But we do not do this by the known clone procedure that involves
mount-
> and-modify the copied system as to DASD and
> network-scripts (see PS). Our method consists of
> 1. a fake initramdisk with changed DASD addresses that can be accessed
via
> boot menu parameter
> 2. a network script in init.d that routes to different
/network-scripts/-
> directories with the
> appropriate (different) configuration depending on a parameter given
to
> the system at IPL time
> also via (modified) boot menu

Make all the CP directory entries for your Linux guests have the same
virtual address for all the minidisks and attach them in the CP
directory or have the guest IPL CMS first and set things up in the
PROFILE EXEC. Much easier to control and if you're clever about it, you
can change them all in one place for DR based on the system ID. You can
link a completely different set of disks as long as you use the same
virtual addresses that you put into the initramd.

Wrt to network, use an internal DHCP server that responds only to
specific MAC addresses, and assign a specific MAC address to each
adapter when you define the virtual NIC (either in the CP directory or
in the PROFILE EXEC).

In those cases, no changes at all are necessary inside Linux (and if you
use the PROFILE EXEC method, you can supply a parameter to PROFILE and
get the same effect with much less effort -- eg, PROFILE without a parm
is the normal setup, PROFILE TEST gives you a test setup, etc. 

----------------------------------------------------------------------
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

Reply via email to