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:
Von SLES 11, SP1 booten
bei HP-Server broken_modules=ahci als Bootparameter angeben
Rescue booten
mkdir /c mount /dev/sda2 /c mount --bind /dev /c/dev mount --bind /proc /c/proc mount --bind /sys /c/sys
chroot /c /bin/bash
grub-install.unsupported --recheck /dev/sda
exit
reboot
yast lan
yast dns
yast routing
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
zypper ref zypper up
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
host_name feynman allow ^10\.67\.0\.2$
rcmunin-node restart
insserv munin-node
[feynman] address 10.67.0.15 use_node_name yes
crontab -e
MAILTO="" 0 4 * * * /backup/run.sh > /dev/null 2>&1
mkdir /backup
#!/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
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
./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
zypper in yast2-nfs-server nfs-kernel-server
yast nfs-server
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