summaryrefslogtreecommitdiffstats
path: root/docs/ka_method/html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ka_method/html')
-rw-r--r--docs/ka_method/html/duplication.html74
1 files changed, 37 insertions, 37 deletions
diff --git a/docs/ka_method/html/duplication.html b/docs/ka_method/html/duplication.html
index de9d870a1..bed0d1e83 100644
--- a/docs/ka_method/html/duplication.html
+++ b/docs/ka_method/html/duplication.html
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>Clone a node/computer using KA method</title><link rel="stylesheet" href="styleguibo.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="#id2243211" title="Clone a node/computer using KA method" /><link rel="next" href="#id2506023" title="1. Clone a computer over the network" /></head><body><div xml:lang="en" class="article" title="Clone a node/computer using KA method" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id2243211"></a>Clone a node/computer using KA method</h2></div></div><hr /></div><div class="toc"><dl><dt><span class="sect1"><a href="#id2506023">1. Clone a computer over the network</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2506044">1.1. KA method</a></span></dt><dt><span class="sect2"><a href="#id2435194">1.2. HOW it works</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2434894">1.2.1. Steps</a></span></dt><dt><span class="sect3"><a href="#id2506455">1.2.2. Needed files</a></span></dt></dl></dd><dt><span class="sect2"><a href="#id2506508">1.3. Step 1: PXE, TFTP, DHCPD services</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2506544">1.3.1. PXE parameters on server</a></span></dt><dt><span class="sect3"><a href="#id2506625">1.3.2. TFTP server</a></span></dt><dt><span class="sect3"><a href="#id2506656">1.3.3. PXE configuration</a></span></dt><dt><span class="sect3"><a href="#id2506668">1.3.4. DHCPD configuration</a></span></dt></dl></dd></dl></dd><dt><span class="sect1"><a href="#id2506821">2. Setup a node as a golden node</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2506827">2.1. The rescue.sqfs file</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2506883">2.1.1. ka-d.sh</a></span></dt><dt><span class="sect3"><a href="#id2506929">2.1.2. replication.conf</a></span></dt><dt><span class="sect3"><a href="#id2506940">2.1.3. fdisk_to_desc</a></span></dt><dt><span class="sect3"><a href="#id2506969">2.1.4. gen_modprobe_conf.pl</a></span></dt><dt><span class="sect3"><a href="#id2506992">2.1.5. ka-d-client</a></span></dt><dt><span class="sect3"><a href="#id2507027">2.1.6. ka-d-server</a></span></dt><dt><span class="sect3"><a href="#id2507076">2.1.7. ka_replication.sh</a></span></dt><dt><span class="sect3"><a href="#id2507100">2.1.8. store_log.sh</a></span></dt><dt><span class="sect3"><a href="#id2507128">2.1.9. bootable_flag.sh</a></span></dt><dt><span class="sect3"><a href="#id2507140">2.1.10. make_initrd_grub</a></span></dt><dt><span class="sect3"><a href="#id2507163">2.1.11. make_initrd_lilo</a></span></dt><dt><span class="sect3"><a href="#id2507186">2.1.12. prepare_node.sh</a></span></dt><dt><span class="sect3"><a href="#id2507211">2.1.13. send_status.pl</a></span></dt><dt><span class="sect3"><a href="#id2507234">2.1.14. status_node.pl</a></span></dt></dl></dd></dl></dd><dt><span class="sect1"><a href="#id2507254">3. The golden node, KA server</a></span></dt><dt><span class="sect1"><a href="#id2507401">4. KA client node</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2507406">4.1. PXE server (kamethod)</a></span></dt><dt><span class="sect2"><a href="#id2507443">4.2. Stage1 KA method, node waiting stage2 </a></span></dt><dt><span class="sect2"><a href="#id2507490">4.3. Stage2, the duplication process</a></span></dt><dt><span class="sect2"><a href="#id2507559">4.4. Prepare the node</a></span></dt><dt><span class="sect2"><a href="#id2507585">4.5. PXE server to local boot</a></span></dt></dl></dd><dt><span class="sect1"><a href="#id2507603">5. Step by step from scratch KA duplication</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2507638">5.1. Golden node side</a></span></dt><dt><span class="sect2"><a href="#id2507781">5.2. KA client side</a></span></dt><dt><span class="sect2"><a href="#id2508568">5.3. Post duplication process</a></span></dt></dl></dd></dl></div><div class="sect1" title="1. Clone a computer over the network"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2506023"></a>1. Clone a computer over the network</h2></div></div></div><p>
- 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).
- </p><p>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.</p><div class="sect2" title="1.1. KA method"><div class="titlepage"><div><div><h3 class="title"><a id="id2506044"></a>1.1. KA method</h3></div></div></div><p>
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>Clone a node/computer using KA method</title><link rel="stylesheet" href="styleguibo.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="#id2727560" title="Clone a node/computer using KA method" /><link rel="next" href="#id2990359" title="1. " /></head><body><div xml:lang="en" class="article" title="Clone a node/computer using KA method" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id2727560"></a>Clone a node/computer using KA method</h2></div></div><hr /></div><div class="toc"><dl><dt><span class="sect1"><a href="#id2990359">1. </a></span></dt><dt><span class="sect1"><a href="#id2990363">2. Clone a computer over the network</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2990385">2.1. KA method</a></span></dt><dt><span class="sect2"><a href="#id2990774">2.2. HOW it works</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2990779">2.2.1. Steps</a></span></dt><dt><span class="sect3"><a href="#id2990850">2.2.2. Needed files</a></span></dt></dl></dd><dt><span class="sect2"><a href="#id2990905">2.3. Step 1: PXE, TFTP, DHCPD services</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2990941">2.3.1. PXE parameters on server</a></span></dt><dt><span class="sect3"><a href="#id2991022">2.3.2. TFTP server</a></span></dt><dt><span class="sect3"><a href="#id2991053">2.3.3. PXE configuration</a></span></dt><dt><span class="sect3"><a href="#id2991065">2.3.4. DHCPD configuration</a></span></dt></dl></dd></dl></dd><dt><span class="sect1"><a href="#id2991171">3. Setup a node as a golden node</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2991177">3.1. The rescue.sqfs file</a></span></dt><dd><dl><dt><span class="sect3"><a href="#id2991233">3.1.1. ka-d.sh</a></span></dt><dt><span class="sect3"><a href="#id2991266">3.1.2. replication.conf</a></span></dt><dt><span class="sect3"><a href="#id2991278">3.1.3. fdisk_to_desc</a></span></dt><dt><span class="sect3"><a href="#id2991307">3.1.4. gen_modprobe_conf.pl</a></span></dt><dt><span class="sect3"><a href="#id2991330">3.1.5. ka-d-client</a></span></dt><dt><span class="sect3"><a href="#id2991365">3.1.6. ka-d-server</a></span></dt><dt><span class="sect3"><a href="#id2991414">3.1.7. ka_replication.sh</a></span></dt><dt><span class="sect3"><a href="#id2991438">3.1.8. store_log.sh</a></span></dt><dt><span class="sect3"><a href="#id2991466">3.1.9. bootable_flag.sh</a></span></dt><dt><span class="sect3"><a href="#id2991477">3.1.10. make_initrd_grub</a></span></dt><dt><span class="sect3"><a href="#id2991500">3.1.11. make_initrd_lilo</a></span></dt><dt><span class="sect3"><a href="#id2991523">3.1.12. prepare_node.sh</a></span></dt><dt><span class="sect3"><a href="#id2991549">3.1.13. send_status.pl</a></span></dt><dt><span class="sect3"><a href="#id2991572">3.1.14. status_node.pl</a></span></dt></dl></dd></dl></dd><dt><span class="sect1"><a href="#id2991591">4. The golden node, KA server</a></span></dt><dt><span class="sect1"><a href="#id2991740">5. KA client node</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2991746">5.1. PXE server (kamethod)</a></span></dt><dt><span class="sect2"><a href="#id2991783">5.2. Stage1 KA method, node waiting stage2 </a></span></dt><dt><span class="sect2"><a href="#id2991830">5.3. Stage2, the duplication process</a></span></dt><dt><span class="sect2"><a href="#id2991899">5.4. Prepare the node</a></span></dt><dt><span class="sect2"><a href="#id2991925">5.5. PXE server to local boot</a></span></dt></dl></dd><dt><span class="sect1"><a href="#id2991942">6. Step by step from scratch KA duplication</a></span></dt><dd><dl><dt><span class="sect2"><a href="#id2991977">6.1. Golden node side</a></span></dt><dt><span class="sect2"><a href="#id2992121">6.2. KA client side</a></span></dt><dt><span class="sect2"><a href="#id2992907">6.3. Post duplication process</a></span></dt></dl></dd></dl></div><div class="sect1" title="1. "><div class="titlepage"></div>CLONING WILL ERASE ALL CLIENT NODES DATA !</div><div class="sect1" title="2. Clone a computer over the network"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2990363"></a>2. Clone a computer over the network</h2></div></div></div><p>
+ 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.
+ </p><p>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.</p><div class="sect2" title="2.1. KA method"><div class="titlepage"><div><div><h3 class="title"><a id="id2990385"></a>2.1. KA method</h3></div></div></div><p>
With KA method you can quickly duplicate a node using a <span class="bold"><strong>desc</strong></span>
file describing partitions. KA method only duplicate data on partitions, so if you have 80go HDD disk, and
only 10go on it, KA only duplicates 10go, and not the whole disk. KA method doesn't not support RAID software.
</p><p>
Drawbacks:
</p><p>
- </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>KA method doesn't support RAID software</p></li><li class="listitem"><p>you can only clone Linux filesystems (if you want to duplicate another kinf of FS, it's up to you to modify the scripts)</p></li></ul></div><p>
- </p></div><div class="sect2" title="1.2. HOW it works"><div class="titlepage"><div><div><h3 class="title"><a id="id2435194"></a>1.2. HOW it works</h3></div></div></div><div class="sect3" title="1.2.1. Steps"><div class="titlepage"><div><div><h4 class="title"><a id="id2434894"></a>1.2.1. Steps</h4></div></div></div><p>
+ </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>KA method doesn't support RAID software (use dolly to do that)</p></li><li class="listitem"><p>all data on client nodes are erased</p></li><li class="listitem"><p>you need a PXE, DHDCP and TFTP server</p></li><li class="listitem"><p>you must re-create same partition table as the golden node (even if size can differ)</p></li><li class="listitem"><p>even if it has been tested, it's still an experimental method</p></li><li class="listitem"><p>cloning script are old, and need a full rewrite</p></li><li class="listitem"><p>now it's only works with the Mandriva installer (need to patch it to support a KA method)</p></li><li class="listitem"><p>if a node crash while doing a duplication, the duplication process stop (or became very unstable)</p></li><li class="listitem"><p>using fdisk to erase and re-format the HDD is not a good way to proceed</p></li><li class="listitem"><p>UUID support is not really done (fstab use old /dec/sdX)</p></li><li class="listitem"><p>you can only clone Linux filesystems (if you want to duplicate another kinf of FS, it's up to you to modify the scripts)</p></li><li class="listitem"><p>of course various other things !</p></li></ul></div><p>
+ </p></div><div class="sect2" title="2.2. HOW it works"><div class="titlepage"><div><div><h3 class="title"><a id="id2990774"></a>2.2. HOW it works</h3></div></div></div><div class="sect3" title="2.2.1. Steps"><div class="titlepage"><div><div><h4 class="title"><a id="id2990779"></a>2.2.1. Steps</h4></div></div></div><p>
The clone process works in three steps
- </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>PXE boot to retrieve stage1</strong></span>: the computer boot on PXE mode, retrieve <span class="bold"><strong>vmlinuz</strong></span> and an <span class="bold"><strong>initrd</strong></span> image. The computer is in <span class="bold"><strong>stage1</strong></span> mode, and is able to get the stage2 throug KA. Network is up.</p></li><li class="listitem"><p><span class="bold"><strong>get stage2</strong></span>: the computer gets the stage2 with the KA method. The <span class="bold"><strong>stage2</strong></span> 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.</p></li><li class="listitem"><p><span class="bold"><strong>Duplication process</strong></span>: 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)</p></li></ul></div></div><div class="sect3" title="1.2.2. Needed files"><div class="titlepage"><div><div><h4 class="title"><a id="id2506455"></a>1.2.2. Needed files</h4></div></div></div><p>
+ </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>PXE boot to retrieve stage1</strong></span>: the computer boot on PXE mode, retrieve <span class="bold"><strong>vmlinuz</strong></span> and an <span class="bold"><strong>initrd</strong></span> image. The computer is in <span class="bold"><strong>stage1</strong></span> mode, and is able to get the stage2 throug KA. Network is up.</p></li><li class="listitem"><p><span class="bold"><strong>get stage2</strong></span>: the computer gets the stage2 with the KA method. The <span class="bold"><strong>stage2</strong></span> 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.</p></li><li class="listitem"><p><span class="bold"><strong>Duplication process</strong></span>: 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)</p></li></ul></div></div><div class="sect3" title="2.2.2. Needed files"><div class="titlepage"><div><div><h4 class="title"><a id="id2990850"></a>2.2.2. Needed files</h4></div></div></div><p>
All needed files are available in Mandriva Linux cooker.
</p><p>
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>install/stage2/rescue.sqfs</strong></span>: this is the stage2 file with all needed files to detect and probe modules, and launch the third step of the duplication process. This file will be used on the golden node.</p></li><li class="listitem"><p><span class="bold"><strong>isolinux/alt0/vmlinuz</strong></span>: linux kernel, needed in the <span class="bold"><strong>/var/lib/tftpboot/X86PC/linux/images/</strong></span> directory of the PXE server</p></li><li class="listitem"><p><span class="bold"><strong>isolinux/alt0/all.rdz</strong></span>: stage1 and all needed modules and tools.</p></li></ul></div><p>
- </p></div></div><div class="sect2" title="1.3. Step 1: PXE, TFTP, DHCPD services"><div class="titlepage"><div><div><h3 class="title"><a id="id2506508"></a>1.3. Step 1: PXE, TFTP, DHCPD services</h3></div></div></div><p>
+ </p></div></div><div class="sect2" title="2.3. Step 1: PXE, TFTP, DHCPD services"><div class="titlepage"><div><div><h3 class="title"><a id="id2990905"></a>2.3. Step 1: PXE, TFTP, DHCPD services</h3></div></div></div><p>
To easily clone a computer node, we use PXE technology to boot a <span class="bold"><strong>kernel</strong></span>, and an <span class="bold"><strong>initrd</strong></span> image wich contains all needed modules for network and media storage. Documentation about PXE can be found here: <a class="ulink" href="http://people.mandriva.com/~aginies/doc/pxe/" target="_top">PXE doc</a>. Please, keep in mind setting such services can <span class="bold"><strong>DISTURB</strong></span> your current network architecture.
- </p><div class="sect3" title="1.3.1. PXE parameters on server"><div class="titlepage"><div><div><h4 class="title"><a id="id2506544"></a>1.3.1. PXE parameters on server</h4></div></div></div><p>
+ </p><div class="sect3" title="2.3.1. PXE parameters on server"><div class="titlepage"><div><div><h4 class="title"><a id="id2990941"></a>2.3.1. PXE parameters on server</h4></div></div></div><p>
Mandriva Linux installer supports various methods to install a computer. With PXE configuration file you can specify wich method you want to use to install your node, or add a specific option at boot prompt. Edit your default PXE configuration file to add your custom entry (<span class="bold"><strong>/var/lib/tftpboot/X86PC/linux/pxelinux.cfg/default</strong></span>).
</p><p>
</p><pre class="screen">
@@ -40,7 +40,7 @@ label kamethod
At boot prompt no you can boot:
</p><p>
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>DEFAULT local</strong></span>: default boot will be local one, change it with the name of a <span class="bold"><strong>LABEL</strong></span></p></li><li class="listitem"><p><span class="bold"><strong>local</strong></span>: boot local</p></li><li class="listitem"><p><span class="bold"><strong>kamethod</strong></span>: automatic mode, get stage2 through <span class="bold"><strong>KA</strong></span>. Network interface is set to eth0. Auto setup the network with DHCP, and use the KA technology to launch the replication method.</p></li></ul></div><p>
- </p></div><div class="sect3" title="1.3.2. TFTP server"><div class="titlepage"><div><div><h4 class="title"><a id="id2506625"></a>1.3.2. TFTP server</h4></div></div></div><p>
+ </p></div><div class="sect3" title="2.3.2. TFTP server"><div class="titlepage"><div><div><h4 class="title"><a id="id2991022"></a>2.3.2. TFTP server</h4></div></div></div><p>
TFTP server should be activated in <span class="bold"><strong>/etc/xinetd.d/tftp</strong></span> file, and the <span class="bold"><strong>xinetd</strong></span> service started.
</p><p>
</p><pre class="screen">
@@ -57,7 +57,7 @@ service tftp
cps= 100 2
flags= IPv4
}</pre><p>
- </p></div><div class="sect3" title="1.3.3. PXE configuration"><div class="titlepage"><div><div><h4 class="title"><a id="id2506656"></a>1.3.3. PXE configuration</h4></div></div></div><p>
+ </p></div><div class="sect3" title="2.3.3. PXE configuration"><div class="titlepage"><div><div><h4 class="title"><a id="id2991053"></a>2.3.3. PXE configuration</h4></div></div></div><p>
</p><pre class="programlisting">
# which interface to use
interface=eth0
@@ -97,7 +97,7 @@ tftpdbase=/
# domain=guibland.com
domain=
</pre><p>
- </p></div><div class="sect3" title="1.3.4. DHCPD configuration"><div class="titlepage"><div><div><h4 class="title"><a id="id2506668"></a>1.3.4. DHCPD configuration</h4></div></div></div><p>
+ </p></div><div class="sect3" title="2.3.4. DHCPD configuration"><div class="titlepage"><div><div><h4 class="title"><a id="id2991065"></a>2.3.4. DHCPD configuration</h4></div></div></div><p>
IE of an <span class="bold"><strong>/etc/dhcpd.conf</strong></span> configuration file. Change <span class="bold"><strong>IPADDR_TFTP</strong></span> with the IP address of the TFTP serrver, and the <span class="bold"><strong>NET</strong></span> value. Don't forget to adjust the <span class="bold"><strong>domain-name</strong></span> and the <span class="bold"><strong>domain-name-servers</strong></span>.
</p><p>
</p><pre class="screen">
@@ -183,7 +183,7 @@ subnet NET.0 netmask 255.255.255.0 {
range NET.30 NET.40;
}
}</pre><p>
- </p></div></div></div><div class="sect1" title="2. Setup a node as a golden node"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2506821"></a>2. Setup a node as a golden node</h2></div></div></div><div class="sect2" title="2.1. The rescue.sqfs file"><div class="titlepage"><div><div><h3 class="title"><a id="id2506827"></a>2.1. The rescue.sqfs file</h3></div></div></div><p>
+ </p></div></div></div><div class="sect1" title="3. Setup a node as a golden node"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2991171"></a>3. Setup a node as a golden node</h2></div></div></div><div class="sect2" title="3.1. The rescue.sqfs file"><div class="titlepage"><div><div><h3 class="title"><a id="id2991177"></a>3.1. The rescue.sqfs file</h3></div></div></div><p>
You need the rescue disk (wich contains the <span class="bold"><strong>/ka</strong></span> directory),
Just extract this file, and copy all directory in <span class="bold"><strong>/mnt/ka</strong></span>.
</p><p>
@@ -197,7 +197,7 @@ bin/ dev/ etc/ ka/ lib/ modules/ proc/ sbin/ squashfs-root/ tmp/ usr/
</pre><p>
</p><p>
Go in the <span class="bold"><strong>/mnt/ka/ka</strong></span> directory, and see all new files available. All those files are needed to do a <span class="bold"><strong>KA</strong></span> duplication process. We will explain now the rule of each of them. You can modify all them, those files will be copied in the directory <span class="bold"><strong>/tmp/stage2</strong></span> of the client node of the duplication process (second step).
- </p><div class="sect3" title="2.1.1. ka-d.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2506883"></a>2.1.1. ka-d.sh</h4></div></div></div><p>
+ </p><div class="sect3" title="3.1.1. ka-d.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2991233"></a>3.1.1. ka-d.sh</h4></div></div></div><p>
This is the master script to declare a node as a golden node. This script takes a lot of arguments. This script should be run
on the host wich have the <span class="bold"><strong>/mnt/ka</strong></span> directory.
</p><pre class="screen">
@@ -213,38 +213,38 @@ bin/ dev/ etc/ ka/ lib/ modules/ proc/ sbin/ squashfs-root/ tmp/ usr/
-r 'grub|lilo' : choose the bootloader (you can add mkinitrd options)
ie: ka-d.sh -n 3 -p sda /tmp/desc -X 'sdb|sdc' -r 'grub --with=ata_piix --with=piix'</pre><p>
- </p></div><div class="sect3" title="2.1.2. replication.conf"><div class="titlepage"><div><div><h4 class="title"><a id="id2506929"></a>2.1.2. replication.conf</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.2. replication.conf"><div class="titlepage"><div><div><h4 class="title"><a id="id2991266"></a>3.1.2. replication.conf</h4></div></div></div><p>
This file contains all variables needed by other scripts. It also tries to get information like IP address.
- </p></div><div class="sect3" title="2.1.3. fdisk_to_desc"><div class="titlepage"><div><div><h4 class="title"><a id="id2506940"></a>2.1.3. fdisk_to_desc</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.3. fdisk_to_desc"><div class="titlepage"><div><div><h4 class="title"><a id="id2991278"></a>3.1.3. fdisk_to_desc</h4></div></div></div><p>
This script generate the description table of the hard drive disk in the <span class="bold"><strong>/tmp/desc</strong></span> file.
This file must follow some rules: one line per partition, with two fields : type of partition and size in megabytes.
The type can be linux, swap, extended. Other types can be obtained by appending their hexadecimal number to 'type'.
For example linux is the same as type83. The size is either a number of megabytes, or the keyword fill (to take all
available space). The logical partitions must have the logical keyword. Do a <span class="bold"><strong>man ka-d</strong></span> for more help.
- </p></div><div class="sect3" title="2.1.4. gen_modprobe_conf.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2506969"></a>2.1.4. gen_modprobe_conf.pl</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.4. gen_modprobe_conf.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2991307"></a>3.1.4. gen_modprobe_conf.pl</h4></div></div></div><p>
This script creates a basic output like the content of the<span class="bold"><strong>/etc/modprobe.conf</strong></span> file. Drawbacks
this file must be updated for each new modules available in the kernel (based on the <span class="bold"><strong>kernel/list_modules.pm</strong></span> file).
- </p></div><div class="sect3" title="2.1.5. ka-d-client"><div class="titlepage"><div><div><h4 class="title"><a id="id2506992"></a>2.1.5. ka-d-client</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.5. ka-d-client"><div class="titlepage"><div><div><h4 class="title"><a id="id2991330"></a>3.1.5. ka-d-client</h4></div></div></div><p>
The <span class="bold"><strong>ka-d-client</strong></span> binary file is used to get stage2 with the <span class="bold"><strong>KA</strong></span> method, and after get the whole system. The important argument is the <span class="bold"><strong>-s</strong></span> session name. A <span class="bold"><strong>KA</strong></span> can only connect to a specific session (getstage2, kainstall ...). The code source is available in the ka-deploy SRPM.
- </p></div><div class="sect3" title="2.1.6. ka-d-server"><div class="titlepage"><div><div><h4 class="title"><a id="id2507027"></a>2.1.6. ka-d-server</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.6. ka-d-server"><div class="titlepage"><div><div><h4 class="title"><a id="id2991365"></a>3.1.6. ka-d-server</h4></div></div></div><p>
The <span class="bold"><strong>ka-d-server</strong></span> binary file is used to be a <span class="bold"><strong>KA</strong></span> golden node server. Like the <span class="bold"><strong>ka-d-client</strong></span> the session arguments is an important parameter (<span class="bold"><strong>-s session_name</strong></span>). The session name will be <span class="bold"><strong>getstage2</strong></span> to retrieve the stage2 (after the PXE boot) and will be <span class="bold"><strong>kainstall1</strong></span> at duplication process step. If you want to do more than one duplication process of nodes at the same time, you should synchronize the ka_sesion name between the server and the client. The code source is available in the ka-deploy SRPM.
- </p></div><div class="sect3" title="2.1.7. ka_replication.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2507076"></a>2.1.7. ka_replication.sh</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.7. ka_replication.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2991414"></a>3.1.7. ka_replication.sh</h4></div></div></div><p>
Script launched on the <span class="bold"><strong>KA</strong></span> client (after getting stage2 and probing modules), to do the full process of the <span class="bold"><strong>Ka</strong></span> duplication.
This script call other scripts to prepare the node (prepare_node.sh), configure the bootloader (make_initrd_grub or make_initrd_lilo).
- </p></div><div class="sect3" title="2.1.8. store_log.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2507100"></a>2.1.8. store_log.sh</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.8. store_log.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2991438"></a>3.1.8. store_log.sh</h4></div></div></div><p>
Basic script to store the log of the <span class="bold"><strong>KA</strong></span> duplication process on an FTP server. Adjust to feet your need, and uncomment the line <span class="bold"><strong>#store_log.sh</strong></span> in the <span class="bold"><strong>/mnt/ka/ka/ka_replication.sh</strong></span> file.
- </p></div><div class="sect3" title="2.1.9. bootable_flag.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2507128"></a>2.1.9. bootable_flag.sh</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.9. bootable_flag.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2991466"></a>3.1.9. bootable_flag.sh</h4></div></div></div><p>
Script to set bootable an HDD using fdisk. First arg must be the HDD device.
- </p></div><div class="sect3" title="2.1.10. make_initrd_grub"><div class="titlepage"><div><div><h4 class="title"><a id="id2507140"></a>2.1.10. make_initrd_grub</h4></div></div></div><p>
- Restore and reload the Grub bootloader in the <span class="bold"><strong>/mnt/disk</strong></span> directory. It's a very basic script, and perhaps use the <span class="bold"><strong>restore_bootloader</strong></span> of the Mandriva Linux Rescue should be a better idea.</p></div><div class="sect3" title="2.1.11. make_initrd_lilo"><div class="titlepage"><div><div><h4 class="title"><a id="id2507163"></a>2.1.11. make_initrd_lilo</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.10. make_initrd_grub"><div class="titlepage"><div><div><h4 class="title"><a id="id2991477"></a>3.1.10. make_initrd_grub</h4></div></div></div><p>
+ Restore and reload the Grub bootloader in the <span class="bold"><strong>/mnt/disk</strong></span> directory. It's a very basic script, and perhaps use the <span class="bold"><strong>restore_bootloader</strong></span> of the Mandriva Linux Rescue should be a better idea.</p></div><div class="sect3" title="3.1.11. make_initrd_lilo"><div class="titlepage"><div><div><h4 class="title"><a id="id2991500"></a>3.1.11. make_initrd_lilo</h4></div></div></div><p>
Restore and reload the lilo bootloader in the <span class="bold"><strong>/mnt/disk</strong></span> directory. Again it's a very basic script, perhaps we should use the <span class="bold"><strong>restore_bootloader</strong></span> of the Mandriva Linux Rescue.
- </p></div><div class="sect3" title="2.1.12. prepare_node.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2507186"></a>2.1.12. prepare_node.sh</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.12. prepare_node.sh"><div class="titlepage"><div><div><h4 class="title"><a id="id2991523"></a>3.1.12. prepare_node.sh</h4></div></div></div><p>
This script remove in the futur system the old network's udev rules, old dhcp cache files, launch the script <span class="bold"><strong>gen_modprobe_conf.pl</strong></span> to regenerate an up to date <span class="bold"><strong>/etc/modprobe.conf</strong></span> in the new system, and launch the script to restore the bootloader. If you want to do more action on the installed, system, you can modify this script.
- </p></div><div class="sect3" title="2.1.13. send_status.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2507211"></a>2.1.13. send_status.pl</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.13. send_status.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2991549"></a>3.1.13. send_status.pl</h4></div></div></div><p>
Very basic perl script to open the port 12345, and paste the content of the <span class="bold"><strong>/tmp/ka*</strong></span> file. It also permit the execution of commands on node, if user send a message from the golden node with the <span class="bold"><strong>exec</strong></span> prefix.
- </p></div><div class="sect3" title="2.1.14. status_node.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2507234"></a>2.1.14. status_node.pl</h4></div></div></div><p>
+ </p></div><div class="sect3" title="3.1.14. status_node.pl"><div class="titlepage"><div><div><h4 class="title"><a id="id2991572"></a>3.1.14. status_node.pl</h4></div></div></div><p>
Script to connect to a client node, first arg must be the IP address of the node. You can run command on the node with the <span class="bold"><strong>exec</strong></span> prefix.
- </p></div></div></div><div class="sect1" title="3. The golden node, KA server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2507254"></a>3. The golden node, KA server</h2></div></div></div><p>
+ </p></div></div></div><div class="sect1" title="4. The golden node, KA server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2991591"></a>4. The golden node, KA server</h2></div></div></div><p>
Now, it is time to build a description of the node partitions. You can use the script <span class="bold"><strong>/mnt/ka/ka/fdisk_to_desc</strong></span> as root user, or your favorite text editor,
you can write a file like this one:
</p><p>
@@ -289,13 +289,13 @@ Socket 5 on port 30764 on node40.guibland.com ready.
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>-r "grub --with=jfs --with=ata_piix"</strong></span>: use grub bootloader and <span class="bold"><strong>--with=jfs --with=piix</strong></span> mkinitrd option in the chrooted system after the <span class="bold"><strong>KA</strong></span> deploiement</p></li><li class="listitem"><p><span class="bold"><strong>-n nb_nodes</strong></span>: specify how many nodes are clients</p></li><li class="listitem"><p><span class="bold"><strong>-p sda desc</strong></span>: specify the name of the hdd</p></li><li class="listitem"><p><span class="bold"><strong>-x /tmp</strong></span>: exclude <span class="bold"><strong>/tmp</strong></span> directory</p></li><li class="listitem"><p><span class="bold"><strong>-X sdb</strong></span>: exclude <span class="bold"><strong>sdb</strong></span> hdd for the duplication</p></li></ul></div><p>
</p><p>
Now the golden node is waiting for clients nodes to start replication.
- </p></div><div class="sect1" title="4. KA client node"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2507401"></a>4. KA client node</h2></div></div></div><div class="sect2" title="4.1. PXE server (kamethod)"><div class="titlepage"><div><div><h3 class="title"><a id="id2507406"></a>4.1. PXE server (kamethod)</h3></div></div></div><p>
+ </p></div><div class="sect1" title="5. KA client node"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2991740"></a>5. KA client node</h2></div></div></div><div class="sect2" title="5.1. PXE server (kamethod)"><div class="titlepage"><div><div><h3 class="title"><a id="id2991746"></a>5.1. PXE server (kamethod)</h3></div></div></div><p>
We have to configure the PXE to boot by default on <span class="bold"><strong>kamethod</strong></span>.
To do this just edit <span class="bold"><strong>/var/lib/tftpboot/X86PC/linux/pxelinux.cfg/default</strong></span> and set
<span class="bold"><strong>DEFAULT</strong></span> to kamethod:
</p><pre class="screen">DEFAULT kamethod</pre><p>
So, next time a node boots, the PXE server will force the node to boot using the kamethod entry.
- </p></div><div class="sect2" title="4.2. Stage1 KA method, node waiting stage2"><div class="titlepage"><div><div><h3 class="title"><a id="id2507443"></a>4.2. Stage1 KA method, node waiting stage2 </h3></div></div></div><p>
+ </p></div><div class="sect2" title="5.2. Stage1 KA method, node waiting stage2"><div class="titlepage"><div><div><h3 class="title"><a id="id2991783"></a>5.2. Stage1 KA method, node waiting stage2 </h3></div></div></div><p>
Now, you boot all remaining nodes. The replication process
will start once all nodes are up and waiting on the <span class="bold"><strong>KA</strong></span>
screen.
@@ -304,7 +304,7 @@ Socket 5 on port 30764 on node40.guibland.com ready.
server the message <span class="bold"><strong>Can't reach a valid KA server</strong></span> will appear.
Each node will try five times to reach the <span class="bold"><strong>KA</strong></span> server, after that the node will reboot.
As the node boots on <span class="bold"><strong>kamethod</strong></span>, it will retry until it finds it.
- </p></div><div class="sect2" title="4.3. Stage2, the duplication process"><div class="titlepage"><div><div><h3 class="title"><a id="id2507490"></a>4.3. Stage2, the duplication process</h3></div></div></div><p>
+ </p></div><div class="sect2" title="5.3. Stage2, the duplication process"><div class="titlepage"><div><div><h3 class="title"><a id="id2991830"></a>5.3. Stage2, the duplication process</h3></div></div></div><p>
Once all the nodes have found the <span class="bold"><strong>KA</strong></span> server, the first
duplication process will start. This step duplicates the
<span class="bold"><strong>stage2</strong></span> from the <span class="bold"><strong>/mnt/ka</strong></span> directory
@@ -315,7 +315,7 @@ Socket 5 on port 30764 on node40.guibland.com ready.
Nodes will rewrite their partition table, then format their filesystems (ReiserFs, XFS,
ext2/3/4, JFS). All new partitions will be mounted in the <span class="bold"><strong>/mnt/disk</strong></span> directory.
Then, the drive duplication process will begin. On a fast Ethernet switch you can reach speeds of 10MBytes/sec.
- </p></div><div class="sect2" title="4.4. Prepare the node"><div class="titlepage"><div><div><h3 class="title"><a id="id2507559"></a>4.4. Prepare the node</h3></div></div></div><p>
+ </p></div><div class="sect2" title="5.4. Prepare the node"><div class="titlepage"><div><div><h3 class="title"><a id="id2991899"></a>5.4. Prepare the node</h3></div></div></div><p>
At the end of the duplication process, each node will
chroot its partitions and rebuild its <span class="bold"><strong>/boot/initrd.img</strong></span>,
and <span class="bold"><strong>/etc/modprobe.conf</strong></span> files.
@@ -323,12 +323,12 @@ Socket 5 on port 30764 on node40.guibland.com ready.
SCSI drives and adjusting its network card driver. Before
rebooting, each node reinstalls lilo/grub. All your node are
now ready, and are clone of master node.
- </p></div><div class="sect2" title="4.5. PXE server to local boot"><div class="titlepage"><div><div><h3 class="title"><a id="id2507585"></a>4.5. PXE server to local boot</h3></div></div></div><p>
+ </p></div><div class="sect2" title="5.5. PXE server to local boot"><div class="titlepage"><div><div><h3 class="title"><a id="id2991925"></a>5.5. PXE server to local boot</h3></div></div></div><p>
Don't forget to change the default PXE boot to <span class="bold"><strong>local</strong></span>
so node after replication will boot localy.
- </p></div></div><div class="sect1" title="5. Step by step from scratch KA duplication"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2507603"></a>5. Step by step from scratch KA duplication</h2></div></div></div><p>We will use a PIV 3gz box as golden node, with a SATA hard drive, and an Intel 82540EM Gigabit Ethernet Controller card. This golden box will be the: PXE, DHCPD, TFTP server. Client nodes are</p><p>
+ </p></div></div><div class="sect1" title="6. Step by step from scratch KA duplication"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id2991942"></a>6. Step by step from scratch KA duplication</h2></div></div></div><p>We will use a PIV 3gz box as golden node, with a SATA hard drive, and an Intel 82540EM Gigabit Ethernet Controller card. This golden box will be the: PXE, DHCPD, TFTP server. Client nodes are</p><p>
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>basic PIV 2.8gz, with a Realtek Semiconductor 8139 network card, and a IDE hard drive disk</p></li><li class="listitem"><p>PE2650 dual XEON 2.4gz, SCSI Hard Drive disk, and NetXtreme BCM5701 Gigabit Ethernet cards</p></li></ul></div><p>
- </p><p>Both nodes are configured to boot on their network card.</p><div class="sect2" title="5.1. Golden node side"><div class="titlepage"><div><div><h3 class="title"><a id="id2507638"></a>5.1. Golden node side</h3></div></div></div><p>
+ </p><p>Both nodes are configured to boot on their network card.</p><div class="sect2" title="6.1. Golden node side"><div class="titlepage"><div><div><h3 class="title"><a id="id2991977"></a>6.1. Golden node side</h3></div></div></div><p>
Prepapre the golden node, install all needed tools.
</p><p>
</p><pre class="programlisting">
@@ -951,7 +951,7 @@ Total data sent = 792 Megs, in 25445 packets
Transfer time = 69.904 seconds, throughput = 11.343 Mbytes/second
The pipeline was emptied in 4.002 seconds
</pre><p>
- </p></div><div class="sect2" title="5.2. KA client side"><div class="titlepage"><div><div><h3 class="title"><a id="id2507781"></a>5.2. KA client side</h3></div></div></div><p>
+ </p></div><div class="sect2" title="6.2. KA client side"><div class="titlepage"><div><div><h3 class="title"><a id="id2992121"></a>6.2. KA client side</h3></div></div></div><p>
To get the log of the client node, launch <span class="bold"><strong>/mnt/ka/ka/status_node.pl IPADD</strong></span> on the golden node.
</p><pre class="programlisting">
[root@node42 ka]# status_node.pl 10.0.1.111
@@ -1188,7 +1188,7 @@ Total data received = 788 Megs (10.796 Mbytes/sec); BUF :0M End of data flow
10.0.1.111&gt; ftp: connect: Connection refused
10.0.1.111&gt; Local directory now /tmp
10.0.1.111&gt; Not connected.
-</pre></div><div class="sect2" title="5.3. Post duplication process"><div class="titlepage"><div><div><h3 class="title"><a id="id2508568"></a>5.3. Post duplication process</h3></div></div></div><p>Now client nodes reboots, so we have to switch PXE to a local boot.</p><p>
+</pre></div><div class="sect2" title="6.3. Post duplication process"><div class="titlepage"><div><div><h3 class="title"><a id="id2992907"></a>6.3. Post duplication process</h3></div></div></div><p>Now client nodes reboots, so we have to switch PXE to a local boot.</p><p>
</p><pre class="programlisting">
[root@node42 ka]# vi /var/lib/tftpboot/X86PC/linux/pxelinux.cfg/default
DEFAULT local
e - finish-install: o do ask again language (got wrongly disabled in 10.6.8) - harddrake service: o backup xorg.conf before falling back to safe driver (#37182) Version 10.6.8 - 24 January 2008 - bootloader-config, diskdrake: o look for LVM PV on non partitioned disk before looking for DOS partition_table (esp. for lilo which puts the DOS magic) - drakbug: o make "Please describe what you were doing when it crashed" more visible and force people to write something in before opening bugzilla - mygtk2: make sure users of ::no_ugtk_init (eg: drakbug) do catch exceptions in callbacks Version 10.6.6 - 22 January 2008 - bootloader-config: o fix root=xxx parameter for "/" on lvm using UUID= in fstab (#36542) - adapt to perl 5.10.0 Version 10.6.5 - 14 January 2008 - drakboot: o fix handling root=UUID=xxx when modifying a bootloader entry (#36788) Version 10.6.4 - 14 January 2008 - localedrake, drakx-finish-install: o fix proposing Belgium when lang is "nl" and locales-fr is not installed (same for Canada with lang "fr" and locales-en not installed) (#36413) Version 10.6.3 - 9 January 2008, by Thierry Vignaud - handle new drivers: atl2 (ethernet), snd-virtuoso - bootloader-config: o fix regression introduced in 10.5.7: do not create alt_xxx entries when adding a new entry in bootloader - harddrake: o allow to set zero values in module options (#26515) o make "Run config tool" available again (#34794) o mark the service as interactive, so that package requests are displayed with parallell init o check that media are not USB keys before auto-configuring them (#34568) - drakupdate_fstab: o never set "sync" option, use default fs options from drakx (#35204) o remove --no-flag option, the "kudzu" option has not been written for ages - drakbug: o report crash messages in the bug report only when --incident is used (and not when tools explicitely run drakbug with --report) Version 10.6 - 11 December 2007, by Thierry Vignaud - handle new drivers: o ethernet: fec_mpc52xx, niu o gigabit: tehuti o pata: pata_cs5536 o sata: sata_fsl o wireless: b43, b43legacy, iwlwifi, libertas_cs, p54pci, p54usb - localedrake: o adjust Uzbek locale (cf locales-uz change) Version 10.5.7 - 6 December 2007, by Thierry Vignaud - handle new drivers: e1000e, snd-oxygen, snd-pcsp - bootloader-config: o do not drop entries "failsafe" and "linux-nonfb" when removing a kernel - localedrake: o adapt to cooker: scim-tables-skim is now skim-scim-tables o restrict the proposed input-methods for each language - bootloader: o when reading existing menu.lst, keep verbatim entries for which the device has no mount-point o handle "alien" grub entries that will be kept verbatim (#23591) o handle "root (hd...)" for menu.lst entries (#23591) (nb: when writing, "root ..." will not be used) - diskdrake: o drop "Undo", "Restore partition table", "Save partition table" (preparing to switch to libparted) o fix garbaged error messages when umounting fs o disallow "Use for loopback" when the partition used for loopback is not formatted (#35535) o always display the {info} field of the drive (not only in expert mode) Version 10.5.3 - 9 November 2007, by Pascal "Pixel" Rigaux - bootloader-config: o do not create "linux" entries for xen kernels, but "xen" entries instead - localedrake: o fix handling variant together with charset (eg: uz.UTF-8@Latn) (#35090) - drakbug: o prevent altering tool and the like when catching a bug (#35241) Version 10.5.2 - 6 November 2007, by Thierry Vignaud - diskdrake: o add support for ext4 - drakbug: o keep buggy process around so that we can run gdb on it (if perl segfaulted) o report gdb trace if possible - harddrake: detect storage and various controllers before anything else (so that storage devices get detected at first boot on live) Version 10.5.1 - 31 October 2007, by Thierry Vignaud - bootloader-config: o bootloader-config must not need network::network from libdrakx-net o if drakx-kbd-mouse-x11 is not installed, simply don't add bootsplash instead of dying - fix buttons order under KDE when using compiz (by detecting kde-window-decorator) - drakclock/finish-install: disable DPMS and screensaver when setting time, not to blank monitor (#17031) Version 10.5.0 - 15 October 2007, by Thierry Vignaud - localedrake: o do propose "Suisse" after selecting french language (#34675) - draksec: o fix switching from "no_password" to "_password" (#34490) Version 10.4.239 - 5 October 2007, by Thierry Vignaud - finish-install: fix release notes window size Version 10.4.237 - 5 October 2007, by Olivier "blino" Blin - fix installed modules detection (#34478) - fix version reported by drakfont & harddrake - when checking dkms module packages, check that modules are either available in urpmi media, or already installed (fix detection in live) - add shadow 'in' around Gtk2::SimpleList widgets Version 10.4.235 - 4 October 2007, by Thierry Vignaud - diskdrake --fileshare o install nautilus-filesharing if nautilus is installed (#34262) - finish-install: use translations for network step Version 10.4.234 - 4 October 2007, by Olivier "blino" Blin - finish-install: use translations for keyboard and 3D steps Version 10.4.232 - 4 October 2007, by Olivier "blino" Blin - add helper to get kernel module path (to be used in draklive) Version 10.4.231 - 3 October 2007, by Nicolas Vigier - wizards : o don't report a crash when an error prevent the wizard from running (#34371) Version 10.4.230 - 3 October 2007, by Thierry Vignaud - drakboot --boot: o if there is a /boot, check /boot instead of "/" to allow grub or not Version 10.4.226 - 2 October 2007, by Thierry Vignaud - drakauth: o install lib64sasl2-plug-gssapi on x86_64 (instead of libsasl2-plug-gssapi) - draksec o make authentication items be aligned - add ath5k module in wireless category Version 10.4.225 - 1 October 2007, by Thierry Vignaud - diskdrake: o bugfix 10.4.162: allow "LVM" on RAID (#34359) o improved wrapping of mount option descriptions (#19848) Version 10.4.222 - 28 September 2007, by Olivier "blino" Blin - allow interactive::gtk frontends to ask for a directory - allow interactive::gtk frontends not to pop wait messages Version 10.4.221 - 28 September 2007, by Olivier "blino" Blin - add back ipw3945 module in wireless modules list - allow to detect VirtualBox guest systems - add acpi-cpufreq support for some Intel CPUs (family 6 model 15) (from Herton Ronaldo Krzesinski, #30208) Version 10.4.217 - 27 September 2007, by Thierry Vignaud - localedrake: o allow to choose countries like "Angola" which have no locale (en_AO) in the "best" countries (alas it won't be remembered, will only be used in kde settings for now) - finish-install: o display nicer HTML release notes rather than raw text version Version 10.4.213 - 26 September 2007, by Thierry Vignaud - drakbug o don't report a non existant crash when run w/o --error o when unable to access X11, just print the backtrace on the console - draksec: o add a right delegation tab o display arrows for tabs Version 10.4.210 - 24 September 2007, by Thierry Vignaud - diskdrake o fix "Add to LVM" - drakclock: o fix race on ugtk2->exit that causes a crash (#33894) - drakfont: o handle fontpath.d o size font directory list dialog Version 10.4.209 - 22 September 2007, by Olivier "blino" Blin - make formatXiB() handle negative numbers (for rpmdrake) - service_harddrake: o auto-configure CD-Rom drives in fstab again (even if it prevents KDE media manager from unmounting them), to be consistent with install which actually configures CD-Rom drives in fstab Version 10.4.208 - 21 September 2007, by Olivier "blino" Blin - service_harddrake: o do not auto-configure CD-Rom drives in fstab, it fordbids umounting with hal (install does not configure them in fstab either) o automatically configure harddisks - finish-install: o write autologin settings after user creation only (so that home is set and exists, should partly fix GNOME autologin) o config first user to autologin if USER_AUTOLOGIN_FIRST is "yes" o read gdm autologin settings - drakupdate_fstab: allow to configure harddisks Version 10.4.207 - 21 September 2007, by Thierry Vignaud - drakboot: o create .dmrc with mode 0644 for gdm (#33774) - harddrake: o fix listing DVD/CD as them and as unknown (#33366) o stop offering to run drakxtv - localedrake: o default input method is now scim-bridge (#32138) Version 10.4.203 - 19 September 2007, by Thierry Vignaud - diskdrake: o "Clear All" defaults to LVM on full disk if drive is >4TB o do not allow partitions bigger than 2TB-1 on DOS MBR, nor partitions starting above 2TB-1 - bootloader-config: o handle /boot/xxx files on linux raid1 - fix getting UUID on mdmadm (eg: md0) devices - getInputDevices(): keep "Bus=..." for drakx-kbd-mouse-x11 Version 10.4.202 - 17 September 2007, by Thierry Vignaud - localedrake menu entries (#32941): o hide system config o make them more understandable Version 10.4.200 - 17 September 2007, by Thierry Vignaud - only run "chksession -l" if needed - bootloader-config: o --rebuild-initrds: don't choke on kernel files which have no version in file name (#28772) - drakboot: o boot entrie list uses ellipsis rather than scroll bar - harddrake2: o display model & vendor for SCSI devices too Version 10.4.198 - 16 September 2007, by Thierry Vignaud - fix a crash - localedrake: o install scim-bridge-qt4 if KDE4 is installed Version 10.4.197 - 15 September 2007, by Thierry Vignaud - diskdrake: o fix typo breaking reading fstab with UUID= entries - localedrake: o enable to select 'scim-bridge' as IM o install needed packages for skim o install scim-qtimm for scim default config o remove extra SCIM combinations (simpler) Version 10.4.195 - 14 September 2007, by Thierry Vignaud - distinct exceptions from segfaults, thus restoring catching SIGSEGV and preventing looping while segfaulting again - fix loading of tifm_sd module (#18237) - run_program layer: enable to drop privileges through setuid() - drakbug: o run the regular user browser (#33522) Version 10.4.193 - 13 September 2007, by Thierry Vignaud - drakbug: o better behaviour when resizing o use a TextView instead of Label so that text is selectable (see #33023) o better formatting - draksound: o prevent stupid & useless "driver for your sound card is unlisted" o no more need to: * list OSS/ALSA alternatives if none * sync with list_modules Version 10.4.192 - 12 September 2007, by Olivier "blino" Blin - localedrake o drop support for iiimf - list jmicron driver in disk/ide - library: have "defaults" mount option instead of empty string (for rescue) - service_harddrake: drop snd-usb-audio blacklist, now done with a modprobe.d file Version 10.4.190 - 5 September 2007, by Thierry Vignaud - display a warning when capslock is enabled and entering a password (#33028) Version 10.4.188 - 4 September 2007, by Thierry Vignaud - hardware detection layer: o add support for tape device again (#31073) o enumerate generic SCSI devices again - diskdrake o add a comment (a la ubuntu) in fstab when using UUID= - harddrake o detect PS2 to USB converters as keyboards o display an identifier for generic SCSI devices o list generic SCSI devices Version 10.4.184 - 3 September 2007, by Thierry Vignaud - diskdrake o support for UUID in filesystems (and UUID=... in fstab) Version 10.4.183 - 31 August 2007, by Pascal "Pixel" Rigaux - bootloader-config o handle new naming of vmlinuz flavors: vmlinuz-<version>-<flavor>-Xmdv instead of vmlinuz-<version>-Xmdv<flavor> o always use "linux" short name instead of "linux-<flavor>" (since the long name is quite nice nowadays) - assume system is a laptop if it contains some "Intel Corporation|Mobile" devices (fix Samsung Q1U detection, #32967) - draksound, harddrake service: o enable snd-ac97-codec power_save=1 option if installed on laptop (#32213) Version 10.4.181 - 29 August 2007, by Thierry Vignaud - fix plural translating for C locale - diskdrake: o fix displaying umount error message (#32273) o write mdadm.conf when it is modified (#32360) (a nicer fix would be to write it when needed, not so soon, but it's harder) o change the legend and the colors per partition o fix action "Type" on a software raid (eg: dm0) Version 10.4.172 - 21 August 2007, by Olivier "blino" Blin - ignore wmaster* devices when detecting wireless interfaces - misc mygtk2 updates Version 10.4.170 - 20 August 2007, by Thierry Vignaud - use '_' in modules names Version 10.4.169 - 14 August 2007, by Thierry Vignaud - adduserdrake, finish-install: o create only one user o fix checking user info (#32517) - diskdrake: o add support for 'relatime' mount option o kill support for 'nodiratime' mount option o in fstab, have "xxx" instead of "defaults,xxx" Version 10.4.167 - 11 August 2007, by Thierry Vignaud - fix plural translations (#32505) - 'ibm_acpi' driver was replaced by 'thinkpad_acpi (#31606) Version 10.4.166 - 11 August 2007, by Thierry Vignaud - do a normal die if drakbug is not present - make Gtk2::MDV::CellRendererPixWithLabel RTL aware (#32450) Version 10.4.163 - 9 August 2007, by Pascal "Pixel" Rigaux - for XFdrake: use update-alternatives command instead doing things by hand (this uses --set, new feature of update-alternatives) (#32362) - harddrake: o display the PCI domain too o handle nvidia-current.ko (Anssi Hannula) Version 10.4.162 - 08 August 2007, by Thierry Vignaud - fix fetching translations from "libDrakX-standalone" domain (#32402) - diskdrake: o do not show partition types which have no associated filesystem for LVM LV (#32326) Version 10.4.161 - 06 August 2007, by Thierry Vignaud - drakbug: o exceptions with "\n" are considered normal ways to quit and thus do not fire up drakbug (eg: #32292) - diskdrake: o restore progress bar when formatting ext3 Version 10.4.160 - 06 August 2007, by Thierry Vignaud - diskdrake: o add support for "nodiratime" mount option o fix range max value >2TB when creating a partition (useful for LVs >2TB) - drakxservices: describe a few more services (#18612) Version 10.4.159 - 06 August 2007, by Thierry Vignaud - diskdrake: o allow setting "flush" option (for vfat) - drakbug: do not report "wizcancel" exceptions (#32308) Version 10.4.157 - 03 August 2007, by Thierry Vignaud - report real version on --help - drakbug: o report version of drakbug - list iwl3945/iwl4965 modules (and unlist ipw3945) - logdrake: o display "save" & "quit" button when run from the control center Version 10.4.156 - 02 August 2007, by Thierry Vignaud - localedrake: o adapt configuration of consolefonts for kbd - logdrake: o fix crash if /var/log/explanations doesn't exist (#32234) Version 10.4.153 - 02 August 2007, by Thierry Vignaud - drakbug: o ask people to report lspcidrake -v output rather than lspci since it's more usefull to us o display the program that actually crashed and the error message o do not fire on exceptions in eval { } o do not loop if drakbug crashes o put full backtrace on bugzilla, not only last call point Version 10.4.152 - 01 August 2007, by Thierry Vignaud - drakbug: o add --error option in order to provide a backtrace o fix crashing on unknown programs o fix passing several options o prefill description too and hint the reporter how to provide usefull data - report ordinary crash (unhandled exceptions, not seg faults) on bugzilla too Version 10.4.151 - 01 August 2007, by Thierry Vignaud - bootloader-config: handle vmdefault and vmdisable lilo.conf options (#26456) - diskdrake: drop "Rescue partition table" feature (was based on rescuept which has been dropped in util-linux, but was quite bad compared to testdisk anyway) - drakauth: fix bogus string (#10776) - drakbug: o basic adaption to new bugzilla (#31995) o display Mandriva Online for mdkapplet in the "select mandriva tool" field o prefill default summary with the name of the actual program which crashed - draksec: improve explanations (#6969) - drakups: adapt to new nut doc path (blino) Version 10.4.145 - 9 July 2007, by Pascal "Pixel" Rigaux - modify usbWacom() for mousedrake (conflicts with drakx-kbd-mouse-x11 < 0.19) Version 10.4.144 - 05 July 2007, by Thierry Vignaud - service_harddrake: o do not bother configure old Xorg conf files anymore o log right driver we're switching to from fglrx o factorize code handling switch for both ati & nvidia Version 10.4.143 - 04 July 2007, by Thierry Vignaud - centralize common textdomains in a single common place, thus ensuring they'll be binded (#31580) - diskdrake: o fix resizing's faillures due to udev's race when writing the partition table (deleting then recreating the nodes leaves a race window...) - service_harddrake: o do not enable fglrx libraries when disabling fglrx... o only log "switch xorg driver" & do actual GL config if we do need it o really log when switching from fglrx to another driver Version 10.4.140 - 27 June 2007, by Thierry Vignaud - merge "ide" and "all_ide" categories since we now use fully modularized ide drivers - bootloader-config: o configure ide-controller in modprobe.conf for upgrading to kernels with modularized ide drivers Version 10.4.139 - 27 June 2007, by Thierry Vignaud - add mandrake_release_info() function Version 10.4.138 - 21 June 2007, by Thierry Vignaud - add support for snd-cmi8788 driver - do not package drakautoinst (#27860) - draksound: o prevent "unlisted driver" error for snd-aoa, snd-cs5530, snd-echo3g, snd-usb-caiaq & snd-usb-usx2y drivers - harddrake UI: o stop scannerdrake from fooling us about scanners and from leading us to display twice the same device (#31182) Version 10.4.136 - 12 June 2007, by Thierry Vignaud - diskdrake o fix 1.9TB displayed as 1TB - drakboot -boot o update splash when changing framebuffer resolution (#27470) - harddrake UI: o add a class for biometric sensors (fingerprint for now) (#31182) Version 10.4.135 - 08 June 2007, by Thierry Vignaud - interactive layer: o enable to override default size with Gtk+ frontend - drakfont: o do not misbelieve a font is already installed if substring of another font name o simplify finding windows fonts o finding windows fonts is now really case insensitive Version 10.4.134 - 06 June 2007, by Thierry Vignaud - drakfont: o fix crash (#28016) o fix enumerating fonts on old windows (#28016) Version 10.4.133 - 05 June 2007, by Thierry Vignaud - bootloader-config: o handle kernel-xen-uptodate (#31154) - drakfont: fix crash Version 10.4.132 - 05 June 2007, by Thierry Vignaud - fix some UTF8 issue (#31067) (notably drakbug) - hw support: o handle snd-cs5530 driver - progress bar wait_message: ensure it doesn't go crazy when asked to update with the same fraction (eg #30090) - diskdrake: o when formatting ntfs don't zero partition (#30928) - drakfont: o do see fuse-mounted or ntfs-3g windows partitions (ffixxx, #28016) o try different cases on windows partitions (based on ffixxx suggestion, #28016) - drakhelp: o fix .mozilla dir as root when it doesn't exists (#29775) - draksec: o make the help dialog clearer about default values (#24159) - harddrake GUI: o fix USB UPS detection logic (whitelist supported hardware) - harddrake service: o drop support for kernel-2.4.x Version 10.4.131 - 18 May 2007, by Thierry Vignaud - bug fix for rpmdrake: pkgs.pm file was missing - diskdrake: o fix resizing's failures due to udev race when writing the partition table Version 10.4.130 - 16 May 2007, by Thierry Vignaud - bootloader-config: do create /boot/initrd-xxx.img when there is no bootloader (#30771 comment #21) - create udev nodes configuration file in /etc/udev/devices.d/ instead of conf.d (used for modem and mouse) - diskdrake: o use "mkfs.ext3" instead of "mkfs.ext2 -J" (to have dir_index & resize_inode features) (cf Frederik Himpe 23 Apr 2007 mail on cooker) o fix ext3 formatting with label and progress bar (#30032) - localedrake: don't call grub-gfxmenu when used by simple user Version 10.4.127 - 30 March 2007, by Olivier "blino" Blin - don't configure /etc/kde/kdm/kdmrc if it doesn't exist (other kdmrc.rpmnew will be created, many important values will be missing) - finish-install: source mandriva-release profile script to get correct gtk theme (Frederic Crozat) Version 10.4.126 - 29 March 2007, by Olivier "blino" Blin - use pci_domain when matching sysfs device and computing sysfs device path Version 10.4.125 - 29 March 2007, by Olivier "blino" Blin - fix multiple detection of PCI network cards with the same driver (#29688) Version 10.4.123 - 26 March 2007, by Olivier "blino" Blin - blacklist ax*, rose*, nr*, bce* and scc* Hamradio devices when detecting network interfaces (#28776) - harddrake service: fallback on the right driver for ATI gfx cards when fglrx module is missing - introduce shared bootloader functions so that draklive-install and drakboot add correct command line parameters (such as resume=) - use grub by default (noticeable in One install) Version 10.4.121 - 23 March 2007, by Thierry Vignaud - interactive::curses: o handle multi-line labels, and wrap too long labels (#29060) - do not use bold&big for advanced_messages (fixes authentication choice being big & ugly, #28676) Version 10.4.118 - 22 March 2007, by Thierry Vignaud - diskdrake: o minimal support for switching from ntfs to ntfs-3g o move ntfs in the list of "important" filesystems - enable to set up 32bit media on x86_64 - fix lang configuration in KDE by writting it in current profile Version 10.4.117 - 21 March 2007, by Thierry Vignaud - detect all known TV cards (#29633) - harddrake service: o load modules for DVB & TV cards (#29633) o switch ATI cards to free driver if binary driver isn't installed - use http://api.mandriva.com/mirrors/$type.$version.$arch instead of simply $version.$arch (useful to differentiate CorpoDesktop4) Version 10.4.116 - 19 March 2007, by Thierry Vignaud - handle more drivers (dvb, ethernet, gigabit, ide, pcmcia, sata, sound, tv, usb hosts, wan, webcam, wireless) - diskdrake: handle mkntfs - localedrake: remove error running grub-gfxmenu when /boot/gfxmenu doesn't exit Version 10.4.114 - 16 March 2007, by Thierry Vignaud - do not load anymore floppy module (#23158, #25975, #28911, #29280) - fix testing success exit of child processes (mdkapplet) - localedrake: set grub gfxmenu language Version 10.4.113 - 16 March 2007, by Pascal "Pixel" Rigaux - drakboot --boot: allow choosing a non-installed bootloader (ease switching from lilo to grub) - use grub-gfxmenu comand to configure /boot/gfxmenu for grub Version 10.4.112 - 15 March 2007, by Thierry Vignaud - die on downloading mirror list faillure - log using mirror API into explanations Version 10.4.110 - 15 March 2007, by Thierry Vignaud - add sizing dialog support for rpmdrake - do not buggily use speedstep-centrino on Core2 duo, but use it on P4M (as initially intended?) (blino) Version 10.4.108 - 13 March 2007, by Thierry Vignaud - load tifm_sd if needed (#25133) - drakbug: o fix finding package for keyboarddrake o fix managing --incident MandrivaUpdate o menudrake was replaced by drakmenustyle o some tools were splited out of drakxtools; enable to lookup the proper package Version 10.4.105 - 9 March 2007, by Thierry Vignaud - configure "tifm_7xx1" driven card_reader (#25133) - enhance wrapping in some dialogs Version 10.4.104 - 7 March 2007, by Thierry Vignaud - do not bother configure old modutils - handle SD cards (#24054) - harddrake2: list SD card readers in their own category Version 10.4.102 - 6 March 2007, by Thierry Vignaud - diskdrake in text mode: when choosing a partition, "Empty space on hdx" instead of "Empty" (#29087) - harddrake service: o adapt to new nvidia drivers (#29052) o when switching from nvidia to nv, do setup gl_conf alternative - symlinkf_update_alternatives: remove broken files for missing slave files (useful for not having a broken /etc/modprobe.d/nvidia.conf (XFdrake))