Difference between revisions of "Server Dell PowerEdge T410"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
==Install notes== |
==Install notes== |
||
+ | ===Basis=== |
||
− | |||
* In BIOS |
* In BIOS |
||
** Activate Virtualization support |
** Activate Virtualization support |
||
Line 28: | Line 28: | ||
*** actually we don't need ifrename because udev is now doing the same, see /etc/udev/rules.d/70-persistent-net.rules, you can simply change the NAME key |
*** actually we don't need ifrename because udev is now doing the same, see /etc/udev/rules.d/70-persistent-net.rules, you can simply change the NAME key |
||
** Be sure the old name is not used anywhere else in your config, typically in /etc/network/interfaces |
** Be sure the old name is not used anywhere else in your config, typically in /etc/network/interfaces |
||
− | + | ===XEN=== |
|
− | + | * see [http://wiki.debian.org/Xen notes on Debian wiki] |
|
− | + | * aptitude install linux-image-2.6.32-5-xen-amd64 xen-tools xen-utils |
|
− | + | * backup /etc/xen/xend-config.sxp |
|
− | + | * edit /etc/xen/xend-config.sxp, and uncomment line "(network-script network-bridge)" or for a non-default interface ethX: "(network-script 'network-bridge netdev=ethX')" |
|
− | + | * reboot |
|
− | + | * aptitude remove --purge linux-image-2.6.32-5-amd64 linux-image-2.6-amd64 |
|
− | + | * /etc/default/grub => GRUB_DEFAULT=2 |
|
− | + | * update-grub |
|
− | + | * reboot |
|
− | + | * cat /proc/xen/capabilities #(to check xend is running) |
|
+ | * Edit the config file for creating images (/etc/xen-tools/xen-tools.conf) to your needs: |
||
− | |||
+ | <pre> |
||
+ | --- xen-tools.conf.orig 2010-05-30 22:42:25.000000000 +0200 |
||
+ | +++ xen-tools.conf 2010-08-17 17:47:35.000000000 +0200 |
||
+ | @@ -52,7 +52,7 @@ |
||
+ | # LVM volume group here instead |
||
+ | # |
||
+ | ## |
||
+ | -# lvm = vg0 |
||
+ | +lvm = vg0 |
||
+ | |||
+ | |||
+ | # |
||
+ | @@ -125,12 +125,12 @@ |
||
+ | # Disk and Sizing options. |
||
+ | ## |
||
+ | # |
||
+ | -size = 4Gb # Disk image size. |
||
+ | +size = 8Gb # Disk image size. |
||
+ | memory = 128Mb # Memory size |
||
+ | swap = 128Mb # Swap size |
||
+ | # noswap = 1 # Don't use swap at all for the new system. |
||
+ | fs = ext3 # use the EXT3 filesystem for the disk image. |
||
+ | -dist = `xt-guess-suite-and-mirror -s` # Default distribution to install. |
||
+ | +dist = squeeze # Default distribution to install. |
||
+ | image = sparse # Specify sparse vs. full disk images. |
||
+ | |||
+ | # |
||
+ | @@ -166,7 +166,7 @@ |
||
+ | # |
||
+ | # Uncomment this if you wish the images to use DHCP |
||
+ | # |
||
+ | -# dhcp = 1 |
||
+ | +dhcp = 1 |
||
+ | |||
+ | |||
+ | ## |
||
+ | @@ -254,10 +254,10 @@ |
||
+ | # |
||
+ | # You may specify the things to use here: |
||
+ | # |
||
+ | -# serial_device = hvc0 #default |
||
+ | +serial_device = hvc0 #default |
||
+ | # serial_device = tty1 |
||
+ | # |
||
+ | -# disk_device = xvda #default |
||
+ | +disk_device = xvda #default |
||
+ | # disk_device = sda |
||
+ | # |
||
+ | </pre> |
||
# xen-create-image --hostname my-xen1 --dhcp --dir /home/s1-xen1/ |
# xen-create-image --hostname my-xen1 --dhcp --dir /home/s1-xen1/ |
Revision as of 14:50, 17 August 2010
Manuals
Install notes
Basis
- In BIOS
- Activate Virtualization support
- Power Management -> OS Control
- Report kbd errors: NO
- Installing squeeze (frozen but still testing) from daily image (17/08/2010)
- Complains about missing bnx2/bnx2-mips-09-5.0.0.j3.fw & bnx2/bnx2-rv2p-09-5.0.0.j3.fw
- Get it on another machine and put it on USB stick: aptitude install firmware-bnx2 ; cp /lib/firmware/bnx2/bnx2-*-09-5.0.0.j3.fw /media/XXXX
- Actually I had also an additional Intel network card so I could have skipped this step...
- Partitionning:
there is a first primary partition for Dell Utilities (FAT16), I left it just in case...;
there is also a second primary partition: 2Gb of FAT32, empty, so I deleted it.
partition #2: primary 10Gb ext3 / label=ROOT
partition #3: primary 16Gb swap
partition #5: logical 2Tb physical volume for LVM
Configure LVM / ok to write table / Create VG with sda5, called DATA - Tasksel: SSH & standard utilities
- Reboot
- Complains about missing bnx2/bnx2-mips-09-5.0.0.j3.fw & bnx2/bnx2-rv2p-09-5.0.0.j3.fw
- SSH: PermitRootLogin no / ssh-copy-id ...
- Install mc, sudo (adduser xxx sudo)
- Renaming interfaces (always easier to remember what's plugged where...)
- à la ifrename
- aptitude install ifrename
- Create /etc/iftab then reboot
- à la ifrename
intelG mac 00:1b:21:xx:xx:xx intelD mac 00:1b:21:xx:xx:xx bcm1 mac 84:2b:2b:xx:xx:xx bcm2 mac 84:2b:2b:xx:xx:xx
- à la udev
- actually we don't need ifrename because udev is now doing the same, see /etc/udev/rules.d/70-persistent-net.rules, you can simply change the NAME key
- Be sure the old name is not used anywhere else in your config, typically in /etc/network/interfaces
- à la udev
XEN
- see notes on Debian wiki
- aptitude install linux-image-2.6.32-5-xen-amd64 xen-tools xen-utils
- backup /etc/xen/xend-config.sxp
- edit /etc/xen/xend-config.sxp, and uncomment line "(network-script network-bridge)" or for a non-default interface ethX: "(network-script 'network-bridge netdev=ethX')"
- reboot
- aptitude remove --purge linux-image-2.6.32-5-amd64 linux-image-2.6-amd64
- /etc/default/grub => GRUB_DEFAULT=2
- update-grub
- reboot
- cat /proc/xen/capabilities #(to check xend is running)
- Edit the config file for creating images (/etc/xen-tools/xen-tools.conf) to your needs:
--- xen-tools.conf.orig 2010-05-30 22:42:25.000000000 +0200 +++ xen-tools.conf 2010-08-17 17:47:35.000000000 +0200 @@ -52,7 +52,7 @@ # LVM volume group here instead # ## -# lvm = vg0 +lvm = vg0 # @@ -125,12 +125,12 @@ # Disk and Sizing options. ## # -size = 4Gb # Disk image size. +size = 8Gb # Disk image size. memory = 128Mb # Memory size swap = 128Mb # Swap size # noswap = 1 # Don't use swap at all for the new system. fs = ext3 # use the EXT3 filesystem for the disk image. -dist = `xt-guess-suite-and-mirror -s` # Default distribution to install. +dist = squeeze # Default distribution to install. image = sparse # Specify sparse vs. full disk images. # @@ -166,7 +166,7 @@ # # Uncomment this if you wish the images to use DHCP # -# dhcp = 1 +dhcp = 1 ## @@ -254,10 +254,10 @@ # # You may specify the things to use here: # -# serial_device = hvc0 #default +serial_device = hvc0 #default # serial_device = tty1 # -# disk_device = xvda #default +disk_device = xvda #default # disk_device = sda #
- xen-create-image --hostname my-xen1 --dhcp --dir /home/s1-xen1/