From fc3f88a8b3d6620fc70358225fe9eb7ca44da0bb Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Fri, 7 May 2010 12:53:26 +0000 Subject: add mode info/warning --- docs/ka_method/doc-duplication.xml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'docs/ka_method/doc-duplication.xml') diff --git a/docs/ka_method/doc-duplication.xml b/docs/ka_method/doc-duplication.xml index 9a5ac94af..7faf60b89 100644 --- a/docs/ka_method/doc-duplication.xml +++ b/docs/ka_method/doc-duplication.xml @@ -1,13 +1,14 @@
- Clone a node/computer using KA method + Clone a node/computer using KA method + CLONING WILL ERASE ALL CLIENT NODES DATA ! Clone a computer over the network - Goal of duplication is to easily deploy a computer over network without taking care of numbers of computer. In this documentation, we call golden node the node we want to clone. - We can duplicate SCSI or IDE hard drive, and duplication support multiple filesystem (reiserfs, ext2, ext3, ext4, xfs, jfs). + Goal of duplication is to easily deploy a computer over network without taking care of numbers of computer. In this documentation, we call golden node the node we want to clone. We can duplicate SCSI or IDE hard drive, and duplication support multiple filesystem (reiserfs, ext2, ext3, ext4, xfs, jfs). + This method came from a very old project called CLIC, and was used under IGGI project, all Mandrake Clustering products, and now it is used under XtreemOS project. Now it should be available in 2010 spring, and all futur product. - WARNING: all data on client nodes will be ERASED ! We duplicate partitions of HDD' golden node, and the process will do an fdisk command on the client node, so ALL YOUR DATA will be erased on client nodes. + WARNING: all data on client nodes will be ERASED ! We duplicate partitions of HDD's golden node, and the process will do an fdisk command on the client node, so ALL YOUR DATA will be erased on client nodes. KA method @@ -20,8 +21,18 @@ - KA method doesn't support RAID software - you can only clone Linux filesystems (if you want to duplicate another kinf of FS, it's up to you to modify the scripts) + KA method doesn't support RAID software (use dolly to do that) + all data on client nodes are erased + you need a PXE, DHDCP and TFTP server + you must re-create same partition table as the golden node (even if size can differ) + even if it has been tested, it's still an experimental method + cloning script are old, and need a full rewrite + now it's only works with the Mandriva installer (need to patch it to support a KA method) + if a node crash while doing a duplication, the duplication process stop (or became very unstable) + using fdisk to erase and re-format the HDD is not a good way to proceed + UUID support is not really done (fstab use old /dec/sdX) + you can only clone Linux filesystems (if you want to duplicate another kinf of FS, it's up to you to modify the scripts) + of course various other things ! @@ -34,7 +45,7 @@ PXE boot to retrieve stage1: the computer boot on PXE mode, retrieve vmlinuz and an initrd image. The computer is in stage1 mode, and is able to get the stage2 throug KA. Network is up. - get stage2: the computer gets the stage2 with the KA method. The stage2 contains all necessary tools to recognize your hardware (the most important things is to detect your HDD and your network card), and all necessary tools to finalize the cloning process. + get stage2: the computer gets the stage2 with the KA method. The stage2 contains all necessary tools to recognize your hardware (the most important things is to detect your HDD and your network card), and all necessary tools/scripts to finalize the cloning process. Duplication process: the computer auto-probes needed modules to be able to access the HDD. A basic log server is launched on the client node to be able to run command and get status of the KA duplication process. The computer reconfigure the modprobe.conf and restore the booloader (grub or lilo) -- cgit v1.2.1