Proxmox

Cette page décrit une configuration basique pour mettre en place un hyperviseur Proxmox ainsi que des VMs avec IP publique (failover), des VMs nattés ainsi que des VMs privées.

Configuration OVH

Pour pouvoir mettre en place une IP FailOver sur une VM, il faut suivre le guide suivant: http://guides.ovh.com/DedieMac

Configuration de l'hyperviseur

Cette partie regroupe la configuration serveur.

Packets

Les packets installés par défaut sont les suivants:
ii  adduser                                3.112+nmu2                             add and remove users and groups
ii  apache2                                2.2.16-6+squeeze8                      Apache HTTP Server metapackage
ii  apache2-mpm-prefork                    2.2.16-6+squeeze8                      Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                          2.2.16-6+squeeze8                      utility programs for webservers
ii  apache2.2-bin                          2.2.16-6+squeeze8                      Apache HTTP Server common binary files
ii  apache2.2-common                       2.2.16-6+squeeze8                      Apache HTTP Server common files
ii  apt                                    0.8.10.3+squeeze1                      Advanced front-end for dpkg
ii  apt-listchanges                        2.85.7+squeeze1                        package change history notification tool
ii  apt-utils                              0.8.10.3+squeeze1                      APT utility programs
ii  aptitude                               0.6.3-3.2+squeeze1                     terminal-based package manager (terminal interface only)
ii  at                                     3.1.12-1+squeeze1                      Delayed job execution and batch processing
ii  attr                                   1:2.4.44-2                             Utilities for manipulating filesystem extended attributes
ii  base-files                             6.0squeeze6                            Debian base system miscellaneous files
ii  base-passwd                            3.5.22                                 Debian base system master password and group files
ii  bash                                   4.1-3                                  The GNU Bourne Again SHell
ii  bash-completion                        1:1.2-3                                programmable completion for the bash shell
ii  bc                                     1.06.95-2                              The GNU bc arbitrary precision calculator language
ii  bind9                                  1:9.7.3.dfsg-1~squeeze8                Internet Domain Name Server
ii  bind9-host                             1:9.7.3.dfsg-1~squeeze8                Version of 'host' bundled with BIND 9.X
ii  bind9utils                             1:9.7.3.dfsg-1~squeeze8                Utilities for BIND
ii  bridge-utils                           1.4-5                                  Utilities for configuring the Linux Ethernet bridge
ii  bsd-mailx                              8.1.2-0.20100314cvs-1                  simple mail user agent
ii  bsdmainutils                           8.0.13                                 collection of more utilities from FreeBSD
ii  bsdutils                               1:2.17.2-9                             Basic utilities from 4.4BSD-Lite
ii  btrfs-tools                            0.19+20100601-3                        Checksumming Copy on Write Filesystem utilities
ii  busybox                                1:1.17.1-8                             Tiny utilities for small and embedded systems
ii  bzip2                                  1.0.5-6+squeeze1                       high-quality block-sorting file compressor - utilities
ii  ca-certificates                        20090814+nmu3squeeze1                  Common CA certificates
ii  ceph-common                            0.48.2argonaut-1~bpo60+1               common utilities to mount and interact with a ceph storage cluster
ii  cifs-utils                             2:4.5-2+squeeze1                       Common Internet File System utilities
ii  clvm                                   2.02.95-1pve2                          Cluster LVM Daemon for lvm2
ii  console-common                         0.7.85                                 basic infrastructure for text console configuration
ii  console-data                           2:1.10-9                               keymaps, fonts, charset maps, fallback tables for console-tools
ii  console-tools                          1:0.2.3dbs-69.1                        Linux console and font utilities
ii  coreutils                              8.5-1                                  GNU core utilities
ii  corosync-pve                           1.4.4-1                                Standards-based cluster framework (daemon and modules)
ii  cpio                                   2.11-4                                 GNU cpio -- a program to manage archives of files
ii  cpp                                    4:4.4.5-1                              The GNU C preprocessor (cpp)
ii  cpp-4.4                                4.4.5-8                                The GNU C preprocessor
ii  cron                                   3.0pl1-116                             process scheduling daemon
ii  cstream                                2.7.6-1                                general-purpose stream-handling tool similar to dd
ii  dash                                   0.5.5.1-7.4                            POSIX-compliant shell
ii  dc                                     1.06.95-2                              The GNU dc arbitrary precision reverse-polish calculator
ii  debconf                                1.5.36.1                               Debian configuration management system
ii  debconf-i18n                           1.5.36.1                               full internationalization support for debconf
ii  debian-archive-keyring                 2010.08.28+squeeze1                    GnuPG archive keys of the Debian archive
ii  debian-faq                             4.0.4+nmu1                             The Debian FAQ
ii  debianutils                            3.4                                    Miscellaneous utilities specific to Debian
ii  defoma                                 0.11.11                                Debian Font Manager -- automatic font configuration framework
ii  diffutils                              1:3.0-1                                File comparison utilities
ii  dmidecode                              2.9-1.2                                Dump Desktop Management Interface data
ii  dmsetup                                2:1.02.74-1pve2                        Linux Kernel Device Mapper userspace library
ii  dnsutils                               1:9.7.3.dfsg-1~squeeze8                Clients provided with BIND
ii  doc-debian                             4.0.2                                  Debian Project documentation and other documents
ii  doc-linux-text                         2008.08-1                              Linux HOWTOs and FAQs in ASCII format
ii  dpkg                                   1.15.8.13                              Debian package management system
ii  dtach                                  0.8-2                                  emulates the detach/attach feature of screen
ii  e2fslibs                               1.41.12-4stable1                       ext2/ext3/ext4 file system libraries
ii  e2fsprogs                              1.41.12-4stable1                       ext2/ext3/ext4 file system utilities
ii  eject                                  2.1.5+deb1+cvs20081104-7.1             ejects CDs and operates CD-Changers under Linux
ii  ethtool                                1:2.6.34-3                             display or change Ethernet device settings
ii  fdutils                                5.5-20060227-4                         Linux floppy utilities
ii  fence-agents-pve                       3.1.9-1                                fence agents for redhat cluster suite
ii  file                                   5.04-5+squeeze2                        Determines file type using "magic" numbers
ii  findutils                              4.4.2-1+b1                             utilities for finding files--find, xargs
ii  fontconfig                             2.8.0-2.1                              generic font configuration library - support binaries
ii  fontconfig-config                      2.8.0-2.1                              generic font configuration library - configuration
ii  ftp                                    0.17-23                                The FTP client
ii  fuse-utils                             2.8.4-1.1                              Filesystem in USErspace (utilities)
ii  gawk                                   1:3.1.7.dfsg-5                         GNU awk, a pattern scanning and processing language
ii  gcc-4.4-base                           4.4.5-8                                The GNU Compiler Collection (base package)
ii  gettext-base                           0.18.1.1-3                             GNU Internationalization utilities for the base system
ii  gnupg                                  1.4.10-4                               GNU privacy guard - a free PGP replacement
ii  gpgv                                   1.4.10-4                               GNU privacy guard - signature verification tool
ii  grep                                   2.6.3-3                                GNU grep, egrep and fgrep
ii  groff-base                             1.20.1-10                              GNU troff text-formatting system (base system components)
ii  grub-common                            1.98+20100804-14+squeeze1              GRand Unified Bootloader, version 2 (common files)
ii  grub-pc                                1.98+20100804-14+squeeze1              GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  gzip                                   1.3.12-9                               GNU compression utilities
ii  hddtemp                                0.3-beta15-46                          hard drive temperature monitoring utility
ii  hostname                               3.04                                   utility to set/show the host name or domain name
ii  ifenslave-2.6                          1.1.0-17                               Attach and detach slave interfaces to a bonding device
ii  ifupdown                               0.6.10                                 high level tools to configure network interfaces
ii  info                                   4.13a.dfsg.1-6                         Standalone GNU Info documentation browser
ii  initramfs-tools                        0.98.8                                 tools for generating an initramfs
ii  initscripts                            2.88dsf-13.1+squeeze1                  scripts for initializing and shutting down the system
ii  insserv                                1.14.0-2                               Tool to organize boot sequence using LSB init.d script dependencies
ii  install-info                           4.13a.dfsg.1-6                         Manage installed documentation in info format
ii  ipmitool                               1.8.11-2+squeeze2                      utility for IPMI control with kernel driver or LAN interface
ii  iproute                                20100519-3                             networking and traffic control tools
ii  iptables                               1.4.8-3                                administration tools for packet filtering and NAT
ii  iputils-arping                         3:20100418-3                           Tool to send ICMP echo requests to an ARP address
ii  iputils-ping                           3:20100418-3                           Tools to test the reachability of network hosts
ii  irqbalance                             0.56-1                                 Daemon to balance interrupts for SMP systems
ii  isc-dhcp-client                        4.1.1-P1-15+squeeze8                   ISC DHCP client
ii  isc-dhcp-common                        4.1.1-P1-15+squeeze8                   common files used by all the isc-dhcp* packages
ii  klibc-utils                            1.5.20-1+squeeze1                      small utilities built with klibc for early boot
ii  ksm-control-daemon                     1.1-1                                  The KSM tuning daemon
ii  less                                   436-1                                  pager program similar to more
ii  libacl1                                2.2.49-4                               Access control list shared library
ii  libaio1                                0.3.107-7                              Linux kernel AIO access library - shared library
ii  libapache2-mod-apreq2                  2.12-2                                 generic Apache request library - Apache module
ii  libapache2-mod-perl2                   2.0.4-7                                Integration of perl with the Apache2 web server
ii  libapache2-request-perl                2.12-2                                 generic Apache request library - Perl modules
ii  libapr1                                1.4.2-6+squeeze4                       The Apache Portable Runtime Library
ii  libapreq2                              2.12-2                                 generic Apache request library
ii  libaprutil1                            1.3.9+dfsg-5                           The Apache Portable Runtime Utility Library
ii  libaprutil1-dbd-sqlite3                1.3.9+dfsg-5                           The Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libaprutil1-ldap                       1.3.9+dfsg-5                           The Apache Portable Runtime Utility Library - LDAP Driver
ii  libasound2                             1.0.23-2.1                             shared library for ALSA applications
ii  libattr1                               1:2.4.44-2                             Extended attribute shared library
ii  libauthen-pam-perl                     0.16-2                                 Perl interface to PAM library
ii  libbind9-60                            1:9.7.3.dfsg-1~squeeze8                BIND9 Shared Library used by BIND
ii  libblkid1                              2.17.2-9                               block device id library
ii  libboost-iostreams1.42.0               1.42.0-4                               Boost.Iostreams Library
ii  libbsd0                                0.2.0-1                                utility functions from BSD systems - shared library
ii  libbz2-1.0                             1.0.5-6+squeeze1                       high-quality block-sorting file compressor library - runtime
ii  libc-bin                               2.11.3-4                               Embedded GNU C Library: Binaries
ii  libc6                                  2.11.3-4                               Embedded GNU C Library: Shared libraries
ii  libc6-i386                             2.11.3-4                               Embedded GNU C Library: 32-bit shared libraries for AMD64
ii  libcairo2                              1.8.10-6                               The Cairo 2D vector graphics library
ii  libcap-ng0                             0.6.4-1                                An alternate posix capabilities library
ii  libcap2                                1:2.19-3                               support for getting/setting POSIX.1e capabilities
ii  libcgroup1                             0.38-1                                 Library to control and monitor control groups
ii  libcomerr2                             1.41.12-4stable1                       common error description library
ii  libcommon-sense-perl                   3.3-1                                  module that implements some sane defaults for Perl programs
ii  libconsole                             1:0.2.3dbs-69.1                        Shared libraries for Linux console and font manipulation
ii  libconvert-asn1-perl                   0.22-1                                 Perl module for encoding and decoding ASN.1 data structures
ii  libcorosync4-pve                       1.4.4-1                                Standards-based cluster framework (libraries)
ii  libcrypt-openssl-bignum-perl           0.04-2                                 Access OpenSSL multiprecision integer arithmetic libraries
ii  libcrypt-openssl-random-perl           0.04-1+b1                              Access to the OpenSSL pseudo-random number generator
ii  libcrypt-openssl-rsa-perl              0.25-1+b1                              Perl module providing basic RSA functionality
ii  libcurl3-gnutls                        7.21.0-2.1+squeeze2                    Multi-protocol file transfer library (GnuTLS)
ii  libcwidget3                            0.5.16-3                               high-level terminal interface library for C++ (runtime files)
ii  libdatrie1                             0.2.4-1                                Double-array trie library
ii  libdb4.6                               4.6.21-16                              Berkeley v4.6 Database Libraries [runtime]
ii  libdb4.7                               4.7.25-9                               Berkeley v4.7 Database Libraries [runtime]
ii  libdb4.8                               4.8.30-2                               Berkeley v4.8 Database Libraries [runtime]
ii  libdbi0                                0.8.2-3                                Database Independent Abstraction Layer for C
ii  libdevel-cycle-perl                    1.11-1                                 Perl module to detect memory cycles in Perl objects
ii  libdevel-symdump-perl                  2.08-3                                 Perl module for inspecting perl's symbol table
ii  libdevmapper1.02.1                     2:1.02.74-1pve2                        Linux Kernel Device Mapper userspace library
ii  libdigest-hmac-perl                    1.02+dfsg-1                            module for creating standard message integrity checks
ii  libdigest-sha1-perl                    2.13-1                                 NIST SHA-1 message digest algorithm
ii  libdirectfb-1.2-9                      1.2.10.0-4                             direct frame buffer graphics - shared libraries
ii  libdns69                               1:9.7.3.dfsg-1~squeeze8                DNS Shared Library used by BIND
ii  libedit2                               2.11-20080614-2                        BSD editline and history libraries
ii  libept1                                1.0.4                                  High-level library for managing Debian package information
ii  libevent-1.4-2                         1.4.13-stable-1                        An asynchronous event notification library
ii  libexpat1                              2.0.1-7+squeeze1                       XML parsing C library - runtime library
ii  libfile-readbackwards-perl             1.04-3                                 File::ReadBackwards.pm -- Read a file backwards by lines
ii  libfile-sync-perl                      0.09-4+b1                              Perl interface to sync() and fsync()
ii  libfilesys-df-perl                     0.92-3+b1                              Module to obtain filesystem disk space information
ii  libfontconfig1                         2.8.0-2.1                              generic font configuration library - runtime
ii  libfreetype6                           2.4.2-2.1+squeeze4                     FreeType 2 font engine, shared library files
ii  libfuse2                               2.8.4-1.1                              Filesystem in USErspace library
ii  libgc1c2                               1:6.8-2                                conservative garbage collector for C and C++
ii  libgcc1                                1:4.4.5-8                              GCC support library
ii  libgcrypt11                            1.4.5-2                                LGPL Crypto library - runtime library
ii  libgdbm3                               1.8.3-9                                GNU dbm database routines (runtime version)
ii  libgeoip1                              1.4.7~beta6+dfsg-1                     A non-DNS IP-to-country resolver library
ii  libglib2.0-0                           2.24.2-1                               The GLib library of C routines
ii  libgmp3c2                              2:4.3.2+dfsg-1                         Multiprecision arithmetic library
ii  libgnutls26                            2.8.6-1+squeeze2                       the GNU TLS library - runtime library
ii  libgpg-error0                          1.6-1                                  library for common error values and messages in GnuPG components
ii  libgpgme11                             1.2.0-1.2                              GPGME - GnuPG Made Easy
ii  libgpm2                                1.20.4-3.3                             General Purpose Mouse - shared library
ii  libgssapi-krb5-2                       1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libgssglue1                            0.1-4                                  mechanism-switch gssapi library
ii  libgssrpc4                             1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - GSS enabled ONCRPC
ii  libhtml-parser-perl                    3.66-1                                 collection of modules that parse HTML text documents
ii  libhtml-tagset-perl                    3.20-2                                 Data tables pertaining to HTML
ii  libhtml-tree-perl                      3.23-2                                 Perl module to represent and create HTML syntax trees
ii  libice6                                2:1.0.6-2                              X11 Inter-Client Exchange library
ii  libidn11                               1.15-2                                 GNU Libidn library, implementation of IETF IDN specifications
ii  libintl-perl                           1.20-1                                 Uniforum message translations system compatible i18n library
ii  libio-multiplex-perl                   1.10-1                                 object-oriented interface to select() for Perl
ii  libio-socket-ssl-perl                  1.33-1+squeeze1                        Perl module implementing object oriented interface to SSL sockets
ii  libio-stringy-perl                     2.110-4                                Perl modules for IO from scalars and arrays
ii  libisc62                               1:9.7.3.dfsg-1~squeeze8                ISC Shared Library used by BIND
ii  libisccc60                             1:9.7.3.dfsg-1~squeeze8                Command Channel Library used by BIND
ii  libisccfg62                            1:9.7.3.dfsg-1~squeeze8                Config File Handling Library used by BIND
ii  libiscsi1                              1.6.0-1                                iSCSI client shared library
ii  libjpeg62                              6b1-1                                  The Independent JPEG Group's JPEG runtime library (version 6.2)
ii  libjson-perl                           2.21-1                                 Perl module to parse and convert to JSON
ii  libjson-xs-perl                        2.290-1                                module for serializing/deserializing JSON
ii  libk5crypto3                           1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - Crypto Library
ii  libkadm5clnt-mit7                      1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - Administration Clients
ii  libkadm5srv-mit7                       1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - KDC and Admin Server
ii  libkdb5-4                              1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - Kerberos database
ii  libkeyutils1                           1.4-1                                  Linux Key Management Utilities (library)
ii  libklibc                               1.5.20-1+squeeze1                      minimal libc subset for use with initramfs
ii  libkrb5-3                              1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries
ii  libkrb5support0                        1.8.3+dfsg-4squeeze6                   MIT Kerberos runtime libraries - Support library
ii  libldap-2.4-2                          2.4.23-7.2                             OpenLDAP libraries
ii  liblinux-inotify2-perl                 1:1.2-0.1                              scalable directory/file change notification
ii  liblocale-gettext-perl                 1.05-6                                 Using libc functions for internationalization in Perl
ii  liblockfile-simple-perl                0.207-1                                Simple advisory file locking
ii  liblockfile1                           1.08-4                                 NFS-safe locking library, includes dotlockfile program
ii  liblog-agent-perl                      0.307-2                                Perl module providing helper logging routines
ii  liblua5.1-0                            5.1.4-5                                Simple, extensible, embeddable programming language
ii  liblwres60                             1:9.7.3.dfsg-1~squeeze8                Lightweight Resolver Library used by BIND
ii  liblzma2                               5.0.0-2                                XZ-format compression library
ii  liblzo2-2                              2.03-2                                 data compression library
ii  libmagic1                              5.04-5+squeeze2                        File type determination library using "magic" numbers
ii  libmpfr4                               3.0.0-2                                multiple precision floating-point computation
ii  libncurses5                            5.7+20100313-5                         shared libraries for terminal handling
ii  libncursesw5                           5.7+20100313-5                         shared libraries for terminal handling (wide character support)
ii  libnet-dns-perl                        0.66-2                                 Perform DNS queries from a Perl script
ii  libnet-ip-perl                         1.25-2                                 Perl extension for manipulating IPv4/IPv6 addresses
ii  libnet-ldap-perl                       1:0.4001-2                             client interface to LDAP servers
ii  libnet-snmp-perl                       5.2.0-4                                Script SNMP connections
ii  libnet-ssleay-perl                     1.36-1                                 Perl module for Secure Sockets Layer (SSL)
ii  libnet-telnet-perl                     3.03-3                                 Script telnetable connections
ii  libnewt0.52                            0.52.11-1                              Not Erik's Windowing Toolkit - text mode windowing with slang
ii  libnfnetlink0                          1.0.0-1                                Netfilter netlink library
ii  libnfsidmap2                           0.23-2                                 An nfs idmapping library
ii  libnspr4-0d                            4.8.6-1                                NetScape Portable Runtime Library
ii  libnss3-1d                             3.12.8-1+squeeze5                      Network Security Service libraries
ii  libopenais3-pve                        1.1.4-2                                Standards-based cluster framework (libraries)
ii  libopenipmi0                           2.0.16-1.2                             Intelligent Platform Management Interface - runtime
ii  libopts25                              1:5.10-1.1                             automated option processing library based on autogen
ii  libpam-modules                         1.1.1-6.1+squeeze1                     Pluggable Authentication Modules for PAM
ii  libpam-runtime                         1.1.1-6.1+squeeze1                     Runtime support for the PAM library
ii  libpam0g                               1.1.1-6.1+squeeze1                     Pluggable Authentication Modules library
ii  libpango1.0-0                          1.28.3-1+squeeze2                      Layout and rendering of internationalized text
ii  libpango1.0-common                     1.28.3-1+squeeze2                      Modules and configuration files for the Pango
ii  libparted0debian1                      2.3-5                                  The GNU Parted disk partitioning shared library
ii  libpcap0.8                             1.1.1-2+squeeze1                       system interface for user-level packet capture
ii  libpci3                                1:3.1.7-6                              Linux PCI Utilities (shared library)
ii  libpcre3                               8.02-1.1                               Perl 5 Compatible Regular Expression Library - runtime files
ii  libperl5.10                            5.10.1-17squeeze3                      shared Perl library
ii  libpixman-1-0                          0.16.4-1                               pixel-manipulation library for X and cairo
ii  libpng12-0                             1.2.44-1+squeeze4                      PNG library - runtime
ii  libpopt0                               1.16-1                                 lib for parsing cmdline parameters
ii  libpth20                               2.0.7-16                               The GNU Portable Threads
ii  libpve-access-control                  1.0-25                                 Proxmox VE access control library
ii  libpve-common-perl                     1.0-36                                 Proxmox VE base library
ii  libpve-storage-perl                    2.0-34                                 Proxmox VE storage management library
ii  libqb                                  0.10.1-2                               The Quarterback Client Server Library
ii  librados2                              0.48.2argonaut-1~bpo60+1               RADOS distributed object store client library
ii  librbd1                                0.48.2argonaut-1~bpo60+1               RADOS block device client library
ii  libreadline5                           5.2-7                                  GNU readline and history libraries, run-time libraries
ii  libreadline6                           6.1-3                                  GNU readline and history libraries, run-time libraries
ii  librpcsecgss3                          0.19-2                                 allows secure rpc communication using the rpcsec_gss protocol
ii  librrd4                                1.4.3-1                                time-series data storage and display system (runtime library)
ii  librrds-perl                           1.4.3-1                                time-series data storage and display system (Perl interface, shared)
ii  libsasl2-2                             2.1.23.dfsg1-7                         Cyrus SASL - authentication abstraction library
ii  libsdl1.2debian                        1.2.14-6.1                             Simple DirectMedia Layer
ii  libsdl1.2debian-alsa                   1.2.14-6.1                             Simple DirectMedia Layer (with X11 and ALSA options)
ii  libselinux1                            2.0.96-1                               SELinux runtime shared libraries
ii  libsensors4                            1:3.1.2-6                              library to read temperature/voltage/fan sensors
ii  libsepol1                              2.0.41-1                               SELinux library for manipulating binary security policies
ii  libsgutils2-2                          1.29-1                                 utilities for devices using the SCSI command set (shared libraries)
ii  libsigc++-2.0-0c2a                     2.2.4.2-1                              type-safe Signal Framework for C++ - runtime
ii  libslang2                              2.2.2-4                                The S-Lang programming library - runtime version
ii  libsm6                                 2:1.1.1-1                              X11 Session Management library
ii  libsnmp-base                           5.4.3~dfsg-2                           SNMP (Simple Network Management Protocol) MIBs and documentation
ii  libsnmp15                              5.4.3~dfsg-2                           SNMP (Simple Network Management Protocol) library
ii  libsqlite3-0                           3.7.3-1                                SQLite 3 shared library
ii  libss2                                 1.41.12-4stable1                       command-line interface parsing library
ii  libssl0.9.8                            0.9.8o-4squeeze13                      SSL shared libraries
ii  libstdc++6                             4.4.5-8                                The GNU Standard C++ Library v3
ii  libstring-shellquote-perl              1.03-1                                 quote strings for passing through the shell
ii  libsvga1                               1:1.4.3-29                             console SVGA display libraries
ii  libsysfs2                              2.1.0+repack-1                         interface library to sysfs
ii  libtalloc2                             2.0.1-1                                hierarchical pool based memory allocator
ii  libtasn1-3                             2.7-1+squeeze+1                        Manage ASN.1 structures (runtime)
ii  libterm-readline-gnu-perl              1.20-1                                 Perl extension for the GNU ReadLine/History Library
ii  libtext-charwidth-perl                 0.04-6                                 get display widths of characters on the terminal
ii  libtext-iconv-perl                     1.7-2                                  converts between character sets in Perl
ii  libtext-wrapi18n-perl                  0.06-7                                 internationalized substitute of Text::Wrap
ii  libthai-data                           0.1.14-2                               Data files for Thai language support library
ii  libthai0                               0.1.14-2                               Thai language support library
ii  libtimedate-perl                       1.2000-1                               collection of modules to manipulate date/time information
ii  libtokyocabinet8                       1.4.37-6                               Tokyo Cabinet Database Libraries [runtime]
ii  libts-0.0-0                            1.0-7                                  touch screen library
ii  libudev0                               164-3                                  libudev shared library
ii  liburi-perl                            1.54-2                                 module to manipulate and access URI strings
ii  libusb-0.1-4                           2:0.1.12-16                            userspace USB programming library
ii  libuuid1                               2.17.2-9                               Universally Unique ID library
ii  libvncserver0                          0.9.7-2+b1                             API to write one's own vnc server
ii  libwrap0                               7.6.q-19                               Wietse Venema's TCP wrappers library
ii  libwww-perl                            5.836-1                                Perl HTTP/WWW client/server library
ii  libx11-6                               2:1.3.3-4                              X11 client-side library
ii  libx11-data                            2:1.3.3-4                              X11 client-side library
ii  libx86-1                               1.1+ds1-6                              x86 real-mode library
ii  libxapian22                            1.2.3-2                                Search engine library
ii  libxau6                                1:1.0.6-1                              X11 authorisation library
ii  libxaw7                                2:1.0.7-1                              X11 Athena Widget library
ii  libxcb-render-util0                    0.3.6-1                                utility libraries for X C Binding -- render-util
ii  libxcb-render0                         1.6-1                                  X C Binding, render extension
ii  libxcb1                                1.6-1                                  X C Binding
ii  libxcursor1                            1:1.1.10-2                             X cursor management library
ii  libxdmcp6                              1:1.0.3-2                              X11 Display Manager Control Protocol library
ii  libxext6                               2:1.1.2-1                              X11 miscellaneous extension library
ii  libxfixes3                             1:4.0.5-1                              X11 miscellaneous 'fixes' extension library
ii  libxft2                                2.1.14-2                               FreeType-based font drawing library for X
ii  libxkbfile1                            1:1.0.6-2                              X11 keyboard file manipulation library
ii  libxml-parser-perl                     2.36-1.1+b1                            Perl module for parsing XML files
ii  libxml2                                2.7.8.dfsg-2+squeeze5                  GNOME XML library
ii  libxml2-utils                          2.7.8.dfsg-2+squeeze5                  XML utilities
ii  libxmu6                                2:1.0.5-2                              X11 miscellaneous utility library
ii  libxmuu1                               2:1.0.5-2                              X11 miscellaneous micro-utility library
ii  libxpm4                                1:3.5.8-1                              X11 pixmap library
ii  libxrender1                            1:0.9.6-1                              X Rendering Extension client library
ii  libxslt1.1                             1.1.26-6+squeeze2                      XSLT 1.0 processing library - runtime library
ii  libxt6                                 1:1.0.7-1                              X11 toolkit intrinsics library
ii  locales                                2.11.3-4                               Embedded GNU C Library: National Language (locale) data [support]
ii  lockfile-progs                         0.1.15+squeeze1                        Programs for locking and unlocking files and mailboxes
ii  login                                  1:4.1.4.2+svn3283-2+squeeze1           system login tools
ii  logrotate                              3.7.8-6                                Log rotation utility
ii  lsb-base                               3.2-23.2squeeze1                       Linux Standard Base 3.2 init script functionality
ii  lsof                                   4.81.dfsg.1-1                          List open files
ii  lvm2                                   2.02.95-1pve2                          Linux Logical Volume Manager
ii  lynx                                   2.8.8dev.5-1                           Text-mode WWW Browser (transitional package)
ii  lynx-cur                               2.8.8dev.5-1                           Text-mode WWW Browser with NLS support (development version)
ii  lzop                                   1.02~rc1-2                             fast compression program
ii  m4                                     1.4.14-3                               a macro processing language
ii  man-db                                 2.5.7-8                                on-line manual pager
ii  manpages                               3.27-1                                 Manual pages about using a GNU/Linux system
ii  manpages-de                            0.7-1                                  German manpages
ii  manpages-es                            1.55-9                                 Spanish man pages
ii  manpages-fr                            3.27fr1.4-1                            French version of the manual pages about using GNU/Linux
ii  manpages-it                            2.80-3                                 Italian version of the manual pages
ii  manpages-pl                            20060617-3                             Polish man pages
ii  manpages-pt                            20040726-4                             Portuguese Versions of the Manual Pages
ii  mawk                                   1.3.3-15                               a pattern scanning and text processing language
ii  mdadm                                  3.1.4-1+8efb9d1+squeeze1               tool to administer Linux MD arrays (software RAID)
ii  memtest86+                             4.10-1.1                               thorough real-mode memory tester
ii  mime-support                           3.48-1                                 MIME files 'mime.types' & 'mailcap', and support programs
ii  mlocate                                0.22.2-1                               quickly find files on the filesystem based on their name
ii  module-init-tools                      3.12-2                                 tools for managing Linux kernel modules
ii  mount                                  2.17.2-9                               Tools for mounting and manipulating filesystems
ii  mtr-tiny                               0.75-2                                 Full screen ncurses traceroute tool
ii  mutt                                   1.5.20-9+squeeze2                      text-based mailreader supporting MIME, GPG, PGP and threading
ii  nano                                   2.2.4-1                                small, friendly text editor inspired by Pico
ii  ncurses-base                           5.7+20100313-5                         basic terminal type definitions
ii  ncurses-bin                            5.7+20100313-5                         terminal-related programs and man pages
ii  ncurses-term                           5.7+20100313-5                         additional terminal type definitions
ii  net-tools                              1.60-23                                The NET-3 networking toolkit
ii  netbase                                4.45                                   Basic TCP/IP networking system
ii  netcat-traditional                     1.10-38                                TCP/IP swiss army knife
ii  nfs-common                             1:1.2.2-4squeeze2                      NFS support files common to client and server
ii  nmap                                   5.00-3                                 The Network Mapper
ii  ntp                                    1:4.2.6.p2+dfsg-1+b1                   Network Time Protocol daemon and utility programs
ii  ntpdate                                1:4.2.6.p2+dfsg-1+b1                   client for setting system time from NTP servers
ii  open-iscsi                             2.0.871.3-2squeeze1                    High performance, transport independent iSCSI implementation
ii  openais-pve                            1.1.4-2                                Standards-based cluster framework (daemon and modules)
ii  openipmi                               2.0.16-1.2                             Intelligent Platform Management Interface (for servers)
ii  openssh-blacklist                      0.4.1                                  list of default blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                         1:5.5p1-6+squeeze2                     secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                         1:5.5p1-6+squeeze2                     secure shell (SSH) server, for secure access from remote machines
ii  openssl                                0.9.8o-4squeeze13                      Secure Socket Layer (SSL) binary and related cryptographic tools
ii  parted                                 2.3-5                                  The GNU Parted disk partition resizing program
ii  passwd                                 1:4.1.4.2+svn3283-2+squeeze1           change and administer password and group data
ii  patch                                  2.6-2                                  Apply a diff file to an original
ii  pciutils                               1:3.1.7-6                              Linux PCI Utilities
ii  perl                                   5.10.1-17squeeze3                      Larry Wall's Practical Extraction and Report Language
ii  perl-base                              5.10.1-17squeeze3                      minimal Perl system
ii  perl-modules                           5.10.1-17squeeze3                      Core Perl modules
ii  perl-suid                              5.10.1-17squeeze3                      runs setuid Perl scripts
ii  portmap                                6.0.0-2                                RPC port mapper
ii  postfix                                2.7.1-1+squeeze1                       High-performance mail transport agent
ii  procmail                               3.22-19                                Versatile e-mail processor
ii  procps                                 1:3.2.8-9squeeze1                      /proc file system utilities
ii  proxmox-ve-2.6.32                      2.2-80                                 The Proxmox Virtual Environment
ii  psmisc                                 22.11-1                                utilities that use the proc file system
ii  pve-cluster                            1.0-28                                 Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-firmware                           1.0-21                                 Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-16-pve               2.6.32-80                              The Proxmox PVE Kernel Image
ii  pve-manager                            2.2-24                                 The Proxmox Virtual Environment
ii  pve-qemu-kvm                           1.2-7                                  Full virtualization on x86 hardware
ii  python                                 2.6.6-3+squeeze7                       interactive high-level object-oriented language (default version)
ii  python-apt                             0.7.100.1+squeeze1                     Python interface to libapt-pkg
ii  python-apt-common                      0.7.100.1+squeeze1                     Python interface to libapt-pkg (locales)
ii  python-central                         0.6.16+nmu1                            register and build utility for Python packages
ii  python-minimal                         2.6.6-3+squeeze7                       minimal subset of the Python language (default version)
ii  python-openssl                         0.10-1                                 Python wrapper around the OpenSSL library
ii  python-pexpect                         2.3-1                                  Python module for automating interactive applications
ii  python-pycurl                          7.19.0-3+b1                            Python bindings to libcurl
ii  python-reportbug                       4.12.6                                 Python modules for interacting with bug tracking systems
ii  python-support                         1.0.10                                 automated rebuilding support for Python modules
ii  python2.6                              2.6.6-8+b1                             An interactive high-level object-oriented language (version 2.6)
ii  python2.6-minimal                      2.6.6-8+b1                             A minimal subset of the Python language (version 2.6)
ii  qemu-server                            2.0-62                                 Qemu Server Tools
ii  readline-common                        6.1-3                                  GNU readline and history libraries, common files
ii  redhat-cluster-pve                     3.1.93-1                               Red Hat cluster suite
ii  reiserfsprogs                          1:3.6.21-1                             User-level tools for ReiserFS filesystems
ii  reportbug                              4.12.6                                 reports bugs in the Debian distribution
ii  resource-agents-pve                    3.9.2-3                                resource agents for redhat cluster suite
ii  rrdcached                              1.4.3-1                                data caching daemon for RRDtool
ii  rsync                                  3.0.7-2                                fast remote file copy program (like rcp)
ii  rsyslog                                4.6.4-2                                enhanced multi-threaded syslogd
ii  samba-common                           2:3.5.6~dfsg-3squeeze8                 common files used by both the Samba server and client
ii  screen                                 4.0.3-14                               terminal multiplexor with VT100/ANSI terminal emulation
ii  sed                                    4.2.1-7                                The GNU sed stream editor
ii  sensible-utils                         0.0.4                                  Utilities for sensible alternative selection
ii  sg3-utils                              1.29-1                                 utilities for devices using the SCSI command set
ii  smartmontools                          5.39.1+svn3124-2                       control and monitor storage systems using S.M.A.R.T.
ii  smbfs                                  2:4.5-2+squeeze1                       Common Internet File System utilities - compatibility package
ii  snmp                                   5.4.3~dfsg-2                           SNMP (Simple Network Management Protocol) applications
ii  sqlite3                                3.7.3-1                                A command line interface for SQLite 3
ii  ssh                                    1:5.5p1-6+squeeze2                     secure shell client and server (metapackage)
ii  ssl-cert                               1.0.28                                 simple debconf wrapper for OpenSSL
ii  strace                                 4.5.20-2                               A system call tracer
ii  sysv-rc                                2.88dsf-13.1+squeeze1                  System-V-like runlevel change mechanism
ii  sysvinit                               2.88dsf-13.1+squeeze1                  System-V-like init utilities
ii  sysvinit-utils                         2.88dsf-13.1+squeeze1                  System-V-like utilities
ii  tar                                    1.23-3                                 GNU version of the tar archiving utility
ii  tasksel                                2.88                                   Tool for selecting tasks for installation on Debian systems
ii  tasksel-data                           2.88                                   Official tasks used for installation of Debian systems
ii  tcpd                                   7.6.q-19                               Wietse Venema's TCP wrapper utilities
ii  tcpdump                                4.1.1-1                                A powerful tool for network monitoring and data acquisition
ii  telnet                                 0.17-36                                The telnet client
ii  texinfo                                4.13a.dfsg.1-6                         Documentation system for on-line information and printed output
ii  time                                   1.7-23.1                               The GNU time program for measuring cpu resource usage
ii  traceroute                             1:2.0.15-1                             Traces the route taken by packets over an IPv4/IPv6 network
ii  tsconf                                 1.0-7                                  touch screen library common files
ii  ttf-dejavu-core                        2.31-1                                 Vera font family derivate with additional characters
ii  tzdata                                 2012c-0squeeze1                        time zone and daylight-saving time data
ii  ucf                                    3.0025+nmu1                            Update Configuration File: preserve user changes to config files.
ii  udev                                   164-3                                  /dev/ and hotplug management daemon
ii  usbutils                               0.87-5squeeze1                         Linux USB utilities
ii  util-linux                             2.17.2-9                               Miscellaneous system utilities
ii  vim                                    2:7.2.445+hg~cb94c42c0e1a-1            Vi IMproved - enhanced vi editor
ii  vim-common                             2:7.2.445+hg~cb94c42c0e1a-1            Vi IMproved - Common files
ii  vim-runtime                            2:7.2.445+hg~cb94c42c0e1a-1            Vi IMproved - Runtime files
ii  vim-tiny                               2:7.2.445+hg~cb94c42c0e1a-1            Vi IMproved - enhanced vi editor - compact version
ii  vlan                                   1.9-3                                  user mode programs to enable VLANs on your ethernet devices
ii  vncterm                                1.0-3                                  VNC Terminal Emulator
ii  vzctl                                  4.0-1pve2                              OpenVZ - server virtualization solution - control tools
ii  vzprocps                               2.0.11-2                               <insert up to 60 chars description>
ii  vzquota                                3.1-1                                  server virtualization solution - quota tools
ii  w3m                                    0.5.2-9                                WWW browsable pager with excellent tables/frames support
ii  wamerican                              6-3                                    American English dictionary words for /usr/share/dict
ii  wget                                   1.12-2.1                               retrieves files from the web
ii  whiptail                               0.52.11-1                              Displays user-friendly dialog boxes from shell scripts
ii  whois                                  5.0.10                                 an intelligent whois client
ii  x11-apps                               7.5+5                                  X applications
ii  x11-common                             1:7.5+8+squeeze1                       X Window System (X.Org) infrastructure
ii  xauth                                  1:1.0.4-1                              X authentication utility
ii  xsltproc                               1.1.26-6+squeeze2                      XSLT 1.0 command line processor
ii  xz-utils                               5.0.0-2                                XZ-format compression utilities
ii  zlib1g                                 1:1.2.3.4.dfsg-3                       compression library - runtime

Configuration réseau

La configuration réseau est la suivante:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# for Routing
auto vmbr1
iface vmbr1 inet manual
	post-up /etc/pve/kvm-networking.sh
	bridge_ports dummy0
	bridge_stp off
	bridge_fd 0


# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
	address 5.xx.189.yy
	netmask 255.255.255.0
	network 5.xx.189.0
	broadcast 5.xx.189.255
	gateway 5.xx.189.254
	bridge_ports eth0
	bridge_stp off
	bridge_fd 0

iface vmbr0 inet6 static
	address 2001:xx:8:C64e::1
	netmask 64
	post-up /sbin/ip -f inet6 route add 2001:xx:8:C6ff:ff:ff:ff:ff dev vmbr0
	post-up /sbin/ip -f inet6 route add default via 2001:xx:8:C6ff:ff:ff:ff:ff
	pre-down /sbin/ip -f inet6 route del default via 2001:xx:8:C6ff:ff:ff:ff:ff
	pre-down /sbin/ip -f inet6 route del 2001:xx:8:C6ff:ff:ff:ff:ff dev vmbr0
Le ifconfig:
root@ks3296344:~# ifconfig 
dummy0    Link encap:Ethernet  HWaddr f2:10:b0:01:35:41  
          inet6 addr: fe80::f010:b0ff:fe01:3541/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1284 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:85521 (83.5 KiB)

eth0      Link encap:Ethernet  HWaddr e8:40:f2:ec:af:e4  
          inet6 addr: fe80::ea40:f2ff:feec:afe4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2254644 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1440228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:548776419 (523.3 MiB)  TX bytes:299587689 (285.7 MiB)
          Interrupt:20 Memory:fe500000-fe520000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1261212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1261212 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:211178328 (201.3 MiB)  TX bytes:211178328 (201.3 MiB)

tap100i0  Link encap:Ethernet  HWaddr ae:d7:94:93:33:81  
          inet6 addr: fe80::acd7:94ff:fe93:3381/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:24310 (23.7 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vmbr0     Link encap:Ethernet  HWaddr e8:40:f2:ec:af:e4  
          inet addr:5.xx.189.78  Bcast:5.xx.189.255  Mask:255.255.255.0
          inet6 addr: 2001:41d0:8:c64e::1/64 Scope:Global
          inet6 addr: fe80::ea40:f2ff:feec:afe4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1599603 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1371853 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:437346955 (417.0 MiB)  TX bytes:293905308 (280.2 MiB)

vmbr1     Link encap:Ethernet  HWaddr f2:10:b0:01:35:41  
          inet6 addr: fe80::f010:b0ff:fe01:3541/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:897 (897.0 B)  TX bytes:468 (468.0 B)

VM avec IP Publique (FailOver)

La conf réseau est la suivante:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

iface eth0 inet static
	address 94.xx.146.zz
	netmask 255.255.255.255
	broadcast 94.xx.146.zz
	dns-nameservers 8.8.8.8
	post-up route add 5.xx.189.254 dev eth0
	post-up route add default gw 5.xx.189.254

VM avec IP

Page last modified on February 03, 2013, at 04:26 PM EST