SDB:Xen4 Server - Software Install

Jump to: navigation, search
I   - Install Planings 
     lets asume : 
     * you install XEN on an PC / Server with +16G ram and  at least
      2 disks with i.e +2TB. 
      Storange requiements can differ uppon your own  needs 
      i.e. san , iscsi , ...  
     For Bigger setups the OS and data ( VM ´s ) shuold bee not on
     the same disks .
     * you create an disk mirror( using mdadm ) and 2 LVM Vg´s
      vg0 ( os )
      vg1 ( XEN )
     * this Arcicle fokus on XEN4.x Setup on  Opensuse 13.1 x86_64 
        without X11 usage . Thus the usage of LVM and Mdadm here excluded.  
         Simply the Yast installer will help you.

The used Disk Sample Setup here :

 PART  /boot ext3    512M
 PART  swap  swap    16G
 PART  /     xfs     10G
 PART  lvm    vg0    100G
 PART  lvm    vg1    all

 LV  vg0  tmp   /tmp   xfs    10G
 LV  vg0  home  /home  xfs    10G
 LV  vg0  var  /var   xfs    10G
 LV  vg1  VM  /VM    xfs    200G

 xen01:~ # pvs
  PV         VG   Fmt  Attr PSize  PFree
  /dev/md3   vg0  lvm2 a--  99.93g 69.93g
  /dev/md4   vg1  lvm2 a--   1.70t  1.43t

 xen01:~ # vgs
  VG   #PV #LV #SN Attr   VSize  VFree
  vg0    1   3   0 wz--n- 99.93g 69.93g
  vg1    1   5   0 wz--n-  1.70t  1.43t


xen01:~ # df
Filesystem                  1K-blocks     Used Available Use% Mounted on
/dev/md2                     10467200  2125780   8341420  21% /
devtmpfs                     15963056       32  15963024   1% /dev
tmpfs                        16434648     6456  16428192   1% /dev/shm
tmpfs                        16434648     6164  16428484   1% /run
tmpfs                        16434648        0  16434648   0% /sys/fs/cgroup
/dev/md0                       499236   108349    360593  24% /boot
/dev/mapper/vg0-var          10475520   199780  10275740   2% /var
/dev/mapper/vg0-tmp          10475520    33276  10442244   1% /tmp
/dev/mapper/vg1-VM          209612800 10953028 198659772   6% /VM
/dev/mapper/vg0-home         10475520    32928  10442592   1% /home
tmpfs                        16434648     6164  16428484   1% /var/run
tmpfs                        16434648     6164  16428484   1% /var/lock


To install XEN with Opensuse use the "zypper in patterns-openSUSE-xen_server" meta package.

 zypper in patterns-openSUSE-xen_server

...
ex40:~ # zypper in patterns-openSUSE-xen_server
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 266 NEW packages are going to be installed:
  PackageKit PackageKit-backend-zypp PackageKit-branding-openSUSE PackageKit-gstreamer-plugin PackageKit-gtk3-module
  at-spi2-atk-common at-spi2-atk-gtk2 at-spi2-core bundle-lang-gnome-en cantarell-fonts cifs-utils cups-libs
  cyrus-sasl-digestmd5 dbus-1-python dmidecode dnsmasq docbook_4 ebtables fonts-config ft2demos fuse gconf-polkit gconf2
  gconf2-branding-openSUSE gcr-data gcr-prompter gcr-viewer gdk-pixbuf-lang gdk-pixbuf-loader-rsvg gdk-pixbuf-query-loaders
  girepository-1_0 glib-networking glib-networking-lang gnome-icon-theme gnome-icon-theme-extras gnome-icon-theme-symbolic
  gnome-keyring gnome-keyring-pam gnome-online-accounts gnome-pty-helper gnutls gsettings-desktop-schemas gstreamer
  gstreamer-0_10 gstreamer-0_10-plugins-base gstreamer-plugins-base gtk-vnc-lang gtk2-branding-openSUSE gtk2-data
  gtk2-immodule-amharic gtk2-immodule-inuktitut gtk2-immodule-thai gtk2-immodule-vietnamese gtk2-metatheme-adwaita
  gtk2-theming-engine-adwaita gtk2-tools gtk3-branding-openSUSE gtk3-data gtk3-immodule-amharic gtk3-immodule-inuktitut
  gtk3-immodule-thai gtk3-immodule-vietnamese gtk3-metatheme-adwaita gtk3-theming-engine-adwaita gtk3-tools gvfs
  gvfs-backend-afc gvfs-backends gvfs-fuse hicolor-icon-theme hicolor-icon-theme-branding-openSUSE hunspell hunspell-tools
  iso_ent kdump libXcomposite1 libXcursor1 libXevie1 libXi6 libXtst6 libXv1 libapparmor1 libarchive13 libaspell15 libatasmart4
  libatk-1_0-0 libatk-bridge-2_0-0 libatspi0 libavahi-client3 libavahi-common3 libavahi-glib1 libblas3 libbluetooth3 libbluray1
  libcacard0 libcairo-gobject2 libcairo2 libcdda_interface0 libcdda_paranoia0 libcdio14 libcdio_cdda1 libcdio_paranoia1
  libcelt051-0 libcgroup1 libcolord2 libdaemon0 libdcerpc-binding0 libdcerpc0 libenchant1 libesmtp libexif12 libfreebl3
  libgck-1-0 libgck-modules-gnome-keyring libgcr-3-1 libgdk_pixbuf-2_0-0 libgensec0 libgeoclue0 libgfortran3
  libgirepository-1_0-1 libglade-2_0-0 libgoa-1_0-0 libgoa-backend-1_0-1 libgphoto2-6 libgraphite2-3 libgstapp-0_10-0
  libgstapp-1_0-0 libgstaudio-1_0-0 libgstinterfaces-0_10-0 libgstpbutils-1_0-0 libgstreamer-0_10-0 libgstreamer-1_0-0
  libgstriff-1_0-0 libgsttag-1_0-0 libgstvideo-1_0-0 libgthread-2_0-0 libgtk-2_0-0 libgtk-3-0 libgtk-vnc-1_0-0 libgtk-vnc-2_0-0
  libgvfscommon0 libgvnc-1_0-0 libharfbuzz-icu0 libharfbuzz0 libjasper1 libjavascriptcoregtk-3_0-0 libjbig2 libjson-glib-1_0-0
  liblapack3 liblcms2-2 libldb1 liblockdev1 libltdl7 libmnl0 libmtp9 libndr-krb5pac0 libndr-nbt0 libndr-standard0 libndr0
  libnetapi0 libnetcontrol0 libnetfilter_conntrack3 libnl-config libnl3-200 libnuma1 libopenobex1 liborc-0_4-0
  libpackagekit-glib2-16 libpango-1_0-0 libpcap1 libpdb0 libproxy1-pacrunner-webkit libpulse-mainloop-glib0
  libpyglib-gi-2_0-python2-0 libquadmath0 librest0 librsvg-2-2 libsamba-credentials0 libsamba-hostconfig0 libsamba-util0
  libsamdb0 libsecret-1-0 libsmbclient-raw0 libsmbclient0 libsmbconf0 libsmbldap0 libsoftokn3 libsoup-2_4-1
  libspice-client-glib-2_0-8 libspice-client-gtk-2_0-4 libspice-controller0 libtalloc2 libtdb1 libtelepathy-glib0
  libtevent-util0 libtevent0 libtheora0 libtiff5 libudisks2-0 libusbredirhost1 libusbredirparser1 libvirt-client libvirt-daemon
  libvirt-daemon-driver-interface libvirt-daemon-driver-libxl libvirt-daemon-driver-network libvirt-daemon-driver-nodedev
  libvirt-daemon-driver-nwfilter libvirt-daemon-driver-secret libvirt-daemon-driver-storage libvirt-daemon-driver-xen
  libvirt-daemon-xen libvirt-python libvisual libvte9 libwayland-cursor0 libwbclient0 libwebkitgtk-3_0-0 libwebkitgtk3-lang
  libwebp4 libxcb-render0 libxcb-shm0 libxkbcommon0 libxml2-tools lockdev lzop makedumpfile metatheme-adwaita-common mozilla-nss
  mozilla-nss-certs nfs-kernel-server obex-data-server open-iscsi pango-tools patterns-openSUSE-xen_server pytalloc
  python-SpiceClientGtk python-cairo python-gconf python-gobject python-gobject-cairo python-gobject2 python-gtk python-gtk-vnc
  python-libxml2 python-numpy python-pycurl python-urlgrabber python-virtinst python-vte qemu-tools radvd samba-libs
  scrollkeeper scrollkeeper-lang sgml-skel udhcp udisks2 usbutils virt-manager virt-viewer vm-install vte2-lang xorg-x11-fonts
  xorg-x11-fonts-core yast2-vm

The following 39 recommended packages were automatically selected:
  PackageKit PackageKit-gstreamer-plugin bundle-lang-gnome-en cantarell-fonts cifs-utils ft2demos gcr-viewer gdk-pixbuf-lang
  glib-networking-lang gnome-keyring-pam gnome-online-accounts gtk-vnc-lang gtk2-branding-openSUSE gtk2-data
  gtk2-immodule-amharic gtk2-immodule-inuktitut gtk2-immodule-thai gtk2-immodule-vietnamese gtk3-branding-openSUSE
  gtk3-immodule-amharic gtk3-immodule-inuktitut gtk3-immodule-thai gtk3-immodule-vietnamese gvfs gvfs-backend-afc gvfs-backends
  gvfs-fuse hunspell-tools libvirt-daemon-xen libwebkitgtk3-lang obex-data-server python-SpiceClientGtk python-gtk udisks2
  virt-manager virt-viewer vm-install vte2-lang yast2-vm