Benutzer-Werkzeuge

Webseiten-Werkzeuge


feynman

Dies ist eine alte Version des Dokuments!


Feynman (20. Februar 2010)

Richard Feynman war nicht nur einer der größten Physik des 20. Jahrhunderts sondern ist auch der Namensgeber für unseren neuen XEN Wunder-Server. Die Konfiguration erfolgt in wenigen Schritten:

System

  • openSUSE 11.2 64-Bit
  • Minimales Text-System
    • mc, w3m, htop, rsync, XEN-Host-System
  • Partitionierung
    • /dev/sda1 SWAP 2GB
    • /dev/sda2 / 20GB ext4
    • /dev/sda3 /daten 2.7TB ext4

Netzwerk

yast lan
  • br0 → eth0: 10.67.0.15/255.255.255.0
  • br1 → eth1: 193.170.221.x/255.255.255.248
  • br2 → eth2: 192.168.100.15/255.255.255.0
yast dns
  • Hostname: feynman
  • Domain: bgweiz.at
  • DNS1: 193.170.221.1
  • DNS2: 193.170.221.2
yast routing
  • IPv4: 192.168.100.254 → br2

Repositories

yast repositories
# | Alias                                | Name                                 | Aktiviert | Aktualisieren | Typ   
--+--------------------------------------+--------------------------------------+-----------+---------------+-------
1 | Aktualisierungen_für_openSUSE_11.2-0 | Aktualisierungen für openSUSE 11.2-0 | Ja        | Ja            | rpm-md
2 | openSUSE-11.2-Non-Oss                | openSUSE-11.2-Non-Oss                | Ja        | Nein          | yast2 
3 | openSUSE-11.2-Oss                    | openSUSE-11.2-Oss                    | Ja        | Nein          | yast2 
  • Online-Update durchführen:
zypper ref
zypper up

munin-node

wget http://download.opensuse.org/repositories/home:/ctso/openSUSE_11.2/noarch/munin-node-1.2.5-9.1.noarch.rpm
zypper in sysstat perl-Net-Server
rpm -Uvh munin-node-1.2.5-9.1.noarch.rpm 
  • /etc/munin/munin-node.conf
host_name feynman
allow ^10\.67\.0\.2$
rcmunin-node restart
insserv munin-node
  • Auf Hawking:
    • /etc/munin/munin.conf
[feynman]
    address 10.67.0.15
    use_node_name yes

Backup mit cron und rsync

  • Holt zur Zeit alle Daten von Schrödinger
crontab -e
MAILTO=""

0 4 * * * /backup/run.sh > /dev/null 2>&1
mkdir /backup
  • /backup/run.sh
#!/bin/bash

HOST="10.67.0.4"

rsync -a --delete -e ssh root@10.67.0.4:/daten/ /daten/.
sync
ssh-keygen -t rsa
ssh-copy-id -i .ssh/id_rsa.pub root@10.67.0.4

Raid Controller

Installation

  • 1f:00.0 RAID bus controller: 3ware Inc 9650SE SATA-II RAID PCIe (rev 01)
wget http://www.3ware.com/download/Escalade9690SA-Series/9.5.3/tw_cli-linux-x86_64-9.5.3.tgz
tar xvfz tw_cli-linux-x86_64-9.5.3.tgz
chmod 700 tw_cli

Anwendung

./tw_cli
//feynman> info c6

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    INITIALIZING   -       36%     256K    2793.94   RiW    ON     

VPort Status         Unit Size      Type  Phy Encl-Slot    Model
------------------------------------------------------------------------------
p0    OK             u0   931.51 GB SATA  0   -            ST31000340NS        
p1    OK             u0   931.51 GB SATA  1   -            ST31000340NS        
p2    OK             u0   931.51 GB SATA  2   -            ST31000340NS        
p3    OK             u0   931.51 GB SATA  3   -            ST31000340NS       

NFS-Server

zypper in yast2-nfs-server nfs-kernel-server
yast nfs-server
  • Starten(x)
  • NFSv4 [ ]
  • /daten
  • 10.67.0.*
  • rw,no_root_squash,sync,no_subtree_check

XEN

Installation

  • /boot/grub/menu.lst
default 0
timeout 4
gfxmenu (hd0,1)/boot/message

title Xen -- openSUSE 11.2 - 2.6.31.12-0.1
    root (hd0,1)
    kernel /boot/xen.gz
    module /boot/vmlinuz-2.6.31.12-0.1-xen root=/dev/disk/by-id/scsi-3600050e0800f8c005f6d00006cb10000-part2 resume=/dev/disk/by-id/scsi-3600050e0800f8c005f6d00006cb10000-part1 splash=silent quiet showopts
    module /boot/initrd-2.6.31.12-0.1-xen

title Desktop -- openSUSE 11.2 - 2.6.31.12-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.12-0.1-desktop root=/dev/disk/by-id/scsi-3600050e0800f8c005f6d00006cb10000-part2 resume=/dev/disk/by-id/scsi-3600050e0800f8c005f6d00006cb10000-part1 splash=silent quiet showopts
    initrd /boot/initrd-2.6.31.12-0.1-desktop
feynman.1266676015.txt.gz · Zuletzt geändert: 2015/04/01 21:07 (Externe Bearbeitung)