<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.isonoe.net/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Wiki Help</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/"/>
    <id>http://wiki.isonoe.net/</id>
    <updated>2011-02-27T18:11:32+01:00</updated>
    <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
<link rel="self" type="application/atom+xml" href="http://wiki.isonoe.net/feed.php" />
    <entry>
        <title>Mise en place de PVOPS sur un DomU Debian - créée</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/xen/pvops?rev=1298651053&amp;do=diff"/>
        <published>2011-02-25T17:24:13+01:00</published>
        <updated>2011-02-25T17:24:13+01:00</updated>
        <id>http://wiki.isonoe.net/xen/pvops?rev=1298651053&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -1 +1,85 @@
+ ====== Mise en place de PVOPS sur un DomU Debian ======
  
+ ===== Dans le DomU (Debian Squeeze) =====
+ 
+   * Faire une règle udev pour permettre à Grub de bien s'installer (en fait faire un alias de xvda2 vers xvda &amp;quot;tout court&amp;quot;). Pour cela :
+ &amp;lt;code&amp;gt;# nano /etc/udev/rules.d/99_persistent-local.rules 
+ 
+ KERNEL==&amp;quot;xvda2&amp;quot;, SUBSYSTEMS==&amp;quot;xen&amp;quot;, DRIVERS==&amp;quot;vbd&amp;quot;, SUBSYSTEM==&amp;quot;block&amp;quot;, NAME=&amp;quot;xvda&amp;quot;
+ &amp;lt;/code&amp;gt;
+ Il est nécessaire de redémarrer le DomU.
+ 
+   * Puis, il faut installer le noyau &amp;quot;classique&amp;quot; (sans instructions Xen spécifiques mais avec PVOPS, donc &amp;gt; à 2.6.31), puis Grub pour permettre le choix de l'OS au boot (attention, pas de Grub2)
+ &amp;lt;code&amp;gt;# aptitude install linux-image-2.6.32-5-amd64 grub-legacy&amp;lt;/code&amp;gt;
+ 
+ &amp;lt;code&amp;gt;# grub-install hd0
+ update-grub&amp;lt;/code&amp;gt;
+ Vous pouvez arrêter la VM.
+ 
+ ===== Dans le DomU (Ubuntu Hardy) =====
+ 
+   * Récupérer les paquets suivants :
+ 
+ http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/linux-headers-2.6.32-020632-generic_2.6.32-020632_amd64.deb
+ 
+ http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/linux-headers-2.6.32-020632_2.6.32-020632_all.deb
+ 
+ http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/linux-image-2.6.32-020632-generic_2.6.32-020632_amd64.deb
+ 
+   * Ajouter le dépôt PPA suivant (pour une dépendance nécessaire) dans /etc/apt/sources.list :
+ &amp;lt;code&amp;gt;deb http://aptproxy.vial.fr:9999/ppa.launchpad.net/danmbox/ppa/ubuntu hardy main&amp;lt;/code&amp;gt;
+ 
+   * Et installer le paquet nécessaire avant le noyal (et grub au passage) :
+ &amp;lt;code&amp;gt;aptitude install wireless-crda grub&amp;lt;/code&amp;gt;
+ 
+   * Le noyal :
+ &amp;lt;code&amp;gt;dpkg -i linux-*&amp;lt;/code&amp;gt;
+ 
+   * Modification xvda de udev pour grub :
+ &amp;lt;code&amp;gt;nano /etc/udev/rules.d/99_persistent-local.rules
+ KERNEL==&amp;quot;xvda2&amp;quot;, SUBSYSTEMS==&amp;quot;xen&amp;quot;, DRIVERS==&amp;quot;vbd&amp;quot;, SUBSYSTEM==&amp;quot;block&amp;quot;, NAME=&amp;quot;xvda&amp;quot;
+ &amp;lt;/code&amp;gt;
+ 
+ Reboot !
+ 
+   * Le device map :
+ &amp;lt;code&amp;gt;nano /boot/grub/device.map
+ (hd0)   /dev/xvda
+ &amp;lt;/code&amp;gt;
+ 
+   * Grub à proprement parler :
+ &amp;lt;code&amp;gt;grub-install hd0
+ update-grub&amp;lt;/code&amp;gt;
+ 
+   * ACHTUNG ACHTUNG !! Conf .cfg du DomU METTRE EN PREMIER xvda2 dans les disques :
+ &amp;lt;code&amp;gt;
+ bootloader  = '/usr/lib/xen-4.0/bin/pygrub'
+ #kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
+ #ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
+ disk        = [
+                   'phy:/dev/vg_xen/vforge5-disk-snap,xvda2,w',
+                   'phy:/dev/vg_xen/vforge5-swap,xvda1,w',
+               ]
+ 
+ 
+ &amp;lt;/code&amp;gt;
+ 
+ ===== Dans le Dom0 =====
+   * Modifiez la conf de la VM comme ceci :
+ &amp;lt;code&amp;gt;
+ bootloader  = '/usr/lib/xen-4.0/bin/pygrub'
+ 
+ #kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
+ #ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
+ &amp;lt;/code&amp;gt;
+ 
+ ATTENTION :!:
+ Pour que pygrub fonctionne il faut mettre en premier le disque système (et pas le swap), sinon Boot loader didn't return any data !
+ 
+ 
+ Puis lancez la VM :
+ &amp;lt;code&amp;gt;xm create -c mavm.cfg&amp;lt;/code&amp;gt;
+ 
+ ===== Au final =====
+ Vous pouvez supprimer l'ancien noyau xenifié dans le DomU, grâce à apt, via la commande suivante : 
+ &amp;lt;code&amp;gt; # aptitude purge linux-image-2.6.32-5-xen-amd64&amp;lt;/code&amp;gt;

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>Xen</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/xen/accueil?rev=1298651047&amp;do=diff"/>
        <published>2011-02-25T17:24:07+01:00</published>
        <updated>2011-02-25T17:24:07+01:00</updated>
        <id>http://wiki.isonoe.net/xen/accueil?rev=1298651047&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -9,6 +9,5 @@
    * [[Installation de Xen sous Debian Etch]].
    * [[Installation de Xen sous Debian Lenny]].
    * [[Compilation et installation de Xen 3.4 sous Debian Lenny]].
    * [[Administration de Xen]].
- 
- 
+   * [[PVOPS]].

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>ZFS sur Linux</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/zfs_sur_linux?rev=1298231149&amp;do=diff"/>
        <published>2011-02-20T20:45:49+01:00</published>
        <updated>2011-02-20T20:45:49+01:00</updated>
        <id>http://wiki.isonoe.net/zfs_sur_linux?rev=1298231149&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -36,4 +36,6 @@
  
  ==== Afficher un pool particulier ====
  &amp;lt;code&amp;gt;zpool status -v tank&amp;lt;/code&amp;gt;
  
+ ===== Bible de l'admin =====
+ http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfsadmin.pdf

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>Accueil</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/accueil?rev=1298230681&amp;do=diff"/>
        <published>2011-02-20T20:38:01+01:00</published>
        <updated>2011-02-20T20:38:01+01:00</updated>
        <id>http://wiki.isonoe.net/accueil?rev=1298230681&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -6,8 +6,9 @@
    * [[Lotus Notes Linux 8.0.1]]
    * [[Debian:]]
    * [[Arch Linux]]
    * [[LaTeX:]]
+   * [[ZFS sur Linux]]
    * [[Linux:]]
    * [[iSCSI:]]
    * [[DRBD:]]
    * [[Xen:]]

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>DRBD</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/drbd/accueil?rev=1265646987&amp;do=diff"/>
        <published>2010-02-08T17:36:27+01:00</published>
        <updated>2010-02-08T17:36:27+01:00</updated>
        <id>http://wiki.isonoe.net/drbd/accueil?rev=1265646987&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -82,4 +82,8 @@
  drbdadm -- --discard-my-data connect xen
  drbdadm primary xen
  &amp;lt;/code&amp;gt;
  
+ Sur le nœud à NE PAS tuer mais à reconnecter tout de même :
+ &amp;lt;code&amp;gt;
+ drbdadm  connect xen
+ &amp;lt;/code&amp;gt;

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>Compilation et installation de Xen 3.4.2 sur Debian Lenny</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/xen/compilation_et_installation_de_xen_3.4_sous_debian_lenny?rev=1265624389&amp;do=diff"/>
        <published>2010-02-08T11:19:49+01:00</published>
        <updated>2010-02-08T11:19:49+01:00</updated>
        <id>http://wiki.isonoe.net/xen/compilation_et_installation_de_xen_3.4_sous_debian_lenny?rev=1265624389&amp;do=diff</id>
        <author>
            <name>Olivier Lambert</name>
        </author>
        <summary>&lt;pre&gt;
@@ -13,20 +13,30 @@
  4) Décompresser xen 3.4.2
  &amp;lt;code bash&amp;gt;tar -xvf xen-3.4.2.tar.gz&amp;lt;/code&amp;gt;
  
  5) dans le dossier décompressé, faire :
- &amp;lt;code bash&amp;gt;make xen
+ &amp;lt;code bash&amp;gt;
+ make xen
  
-  make tools
+ make tools
  
-  make stubdom
+ make stubdom
  &amp;lt;/code&amp;gt;
+ 
+ Attention, si derrière proxy, make stubdom utilise wget ! Faites donc un fichier .wgetrc à la racine de votre home et mettez :
+ &amp;lt;code&amp;gt;
+ http_proxy = http://proxy.toto.fr:3128/
+ use_proxy = on
+ #wait = 15
+ &amp;lt;/code&amp;gt;
+ 
   6) Puis :
- &amp;lt;code bash&amp;gt; make install-xen
+ &amp;lt;code bash&amp;gt;
+ make install-xen
  
-  make install-tools
+ make install-tools
  
-  make install-stubdom
+ make install-stubdom
  &amp;lt;/code&amp;gt;
  
  7) Dans grub (/boot/grub/menu.lst), créer une entrée :
  &amp;lt;code&amp;gt;

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>Configuration &quot;Desktop&quot; avec le bureau GNOME - ajout de CUPS</title>
        <link rel="alternate" type="text/html" href="http://wiki.isonoe.net/arch_linux/configuration_desktop_gnome?rev=1261400481&amp;do=diff"/>
        <published>2009-12-21T14:01:21+01:00</published>
        <updated>2009-12-21T14:01:21+01:00</updated>
        <id>http://wiki.isonoe.net/arch_linux/configuration_desktop_gnome?rev=1261400481&amp;do=diff</id>
        <author>
            <name>Jérémy Subtil</name>
        </author>
        <summary>&lt;pre&gt;
@@ -76,4 +76,36 @@
    * déconnectez-vous pour que les changements sur votre utilisateur prennent effet
    * redémarrez le démon ''samba''
      * entrez dans un terminal :
        * ''# /etc/rc.d/samba restart''
+ 
+ ===== CUPS =====
+ 
+ CUPS (Common Unix Printing System) est un système d'impression.
+ 
+ ==== Installation ====
+ 
+   * pour installer CUPS, entrez dans un terminal :
+     * ''# pacman -Sy cups''
+ 
+ Selon l'imprimante que vous utilisez, vous aurez également besoin d'installer l'un des pilotes suivants :
+   * ''gutenprint''
+   * ''foomatic-db'', ''foomatic-db-engine'', ''foomatic-db-nonfree'', ''foomatic-filters''
+   * ''hplip''
+   * ''splix''
+   * ''ufr2''
+   * ''cups-pdf''
+ 
+ ==== Lancement du démon ====
+ 
+   * pour lancer automatiquement le démon ''cups'' au démarrage, ouvrez ''/etc/rc.conf''
+     * ajoutez ''cups'' à la fin de votre liste de démons :
+       * ''DAEMONS=(syslog-ng !network … @cups)''
+   * pour lancer ''cups'' sans avoir à redémarrer votre système, entrez dans un terminal :
+     * ''# /etc/rc.d/cups start''
+ 
+ ==== Interface GNOME ====
+ 
+   * pour installer ''system-config-printer'' pour GNOME, entrez dans un terminal :
+     * ''# pacman -Sy system-config-printer-gnome''
+ 
+ L'application est désormais disponible via le menu Système &amp;gt; Administration &amp;gt; Impression.

&lt;/pre&gt;</summary>
    </entry>
</feed>

