Jonathan, > What's the current "best practices" cloning solution for z/Linux under > z/VM?
"What Brad said." (I started replying before Brad did, but now the entire weekend is almost burned - better late than never I guess.) I started to write - a Linux shell script is included with, and hopefully well described in, "z/VM and Linux on IBM System z: The Virtualization Cookbook for SLES10" (and also for RHEL 5). See linuxvm.org/present There's a tar file named virt-cookbook-S10.tgz (-RH5.tgz) - the link is right below the link to the PDF. Disclaimer: The code is not supported and has been only lightly tested - but it has had a few bug fixes and *seems to be* relatively stable. It does it's work from the Linux side. The VM guys like to do their work on the VM side, while the Linux/UNIX guys feel more at home on Linux - so if you're a Linux/UNIX guy, you'll be more at home with this model. Currently clone.sh copies a shut down (golden) image of Linux from a different minidisk on the virtual machine on which it running to a target user ID whose disk is linked read/write (MR). It reads the network info from a parameter file that has to be in CMS format on a read-only 191 disk. The script actually reads *two* parameter files: the source and target. It first tries to copy the golden image with FLASHCOPY and if that fails, it drops back to dasdfmt and dd. After the disk is copied the root file system is temporarily mounted and the configuration files with the networking info (under /etc) are modified. SSH keys are regenerated and key-based authentication is set up. Then the user ID is XAUTOLOGged and if all goes well, the new clone is on the network within a minute. We are hoping to modify the process so: (A) there are two disks copied not one (100 and 101) (B) logical volumes are used (though the script doesn't need to know this as the disks are copied at the minidisk, not the file system level) (C) there is a source user ID, rather than requiring that the golden Linux image exist on the system that is running the clone script (this allows for multiple golden images) Hope this helps. "Mike MacIsaac" <[EMAIL PROTECTED]> (845) 433-7061 ---------------------------------------------------------------------- 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