Actions

Difference between revisions of "Albert"

From HacDC Wiki

m (Haxwithaxe moved page Server Albert to Albert over redirect: new category negates Server prefix)
(→‎OS: Updating info)
Line 130: Line 130:
===OS===
===OS===
* Debian
* Debian
** Version - testing
** Version - stable
** Arch - amd64
** Arch - amd64


====Config====
====Config====
=====DomU=====
* Shell server - tortoise
* File server - hoard
* Squid Proxy - cthulhu


=====Storage=====
=====Storage=====
Line 148: Line 154:


* LVM
* LVM
** Volume Groups
* Volume Groups
*** albert
** albert
*** albert-root
*** home
**** /home
*** root
**** /
**** /
*** albert-home
*** swap
**** /home
**** Contiguous LV.
*** albert-swap
*** nas
**** swap
**** Attached to hoad.
**** contiguous LV
**** Shell users' /home/users/*
*** albert-nas
**** Generic storage.
**** /srv/share
*** proxy
**** generic storage
**** Attached to cthulhu.
*** albert-proxy
**** Contains the cache from the proxies.
**** /srv/squid
*** cthulhu-disk - 4GB
**** separate storage for proxy data so it doesn't block r/w of generic data storage
*** cthulhu-swap - 1GB
***albert-vms
*** hoard-disk - 4GB
**** /mnt/vm-images
*** hoard-swap - 128MB
**** VM images. will probably get replaced by lvm storage.
*** tortoise-disk - 4GB
*** tortoise-home - 50GB (will be reduced)
*** tortoise-swap - 128MB
*** tortoise-tmp - 10GB
*** tortoise-var - 30GB
*** template.debian-testing-minimal - 4GB                                                 
*** to be removed
**** template-swap
**** vms


==Software==
==Software==

Revision as of 09:46, 5 March 2015


Specs

Case

  • 3U 19 inch rackmount

PSU

  • ATX PSU with both 4 and 8 pin cpu power connectors
  • Wattage:

Slots

  • 7 stock 3.5 inch hot swap slots
  • 1 front, floppy slot
  • 1 front, 5.25 inch slot
  • 2 internal front 3.5 inch slots
  • 2 3.5 inch slots on spreader bar

Addon Cards

Mother Board

RAM

  • 4GB DDR2 ECC

CPU

  • dual socket dual core Xeon
  • has VM extensions
  • no hyper-threading
  • /proc/cpuinfo
   processor	: 0
   vendor_id	: GenuineIntel
   cpu family	: 6
   model		: 15
   model name	: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
   stepping	: 6
   microcode	: 0x44
   cpu MHz		: 2333.448
   cache size	: 4096 KB
   fpu		: yes
   fpu_exception	: yes
   cpuid level	: 10
   wp		: yes
   flags		: fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl pni est ssse3 cx16 hypervisor lahf_lm dtherm
   bogomips	: 4666.89
   clflush size	: 64
   cache_alignment	: 64
   address sizes	: 36 bits physical, 48 bits virtual
   power management:
   
   processor	: 1
   vendor_id	: GenuineIntel
   cpu family	: 6
   model		: 15
   model name	: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
   stepping	: 6
   microcode	: 0x44
   cpu MHz		: 2333.448
   cache size	: 4096 KB
   fpu		: yes
   fpu_exception	: yes
   cpuid level	: 10
   wp		: yes
   flags		: fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl pni est ssse3 cx16 hypervisor lahf_lm dtherm
   bogomips	: 4666.89
   clflush size	: 64
   cache_alignment	: 64
   address sizes	: 36 bits physical, 48 bits virtual
   power management:
   
   processor	: 2
   vendor_id	: GenuineIntel
   cpu family	: 6
   model		: 15
   model name	: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
   stepping	: 6
   microcode	: 0x44
   cpu MHz		: 2333.448
   cache size	: 4096 KB
   fpu		: yes
   fpu_exception	: yes
   cpuid level	: 10
   wp		: yes
   flags		: fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl pni est ssse3 cx16 hypervisor lahf_lm dtherm
   bogomips	: 4666.89
   clflush size	: 64
   cache_alignment	: 64
   address sizes	: 36 bits physical, 48 bits virtual
   power management:
   
   processor	: 3
   vendor_id	: GenuineIntel
   cpu family	: 6
   model		: 15
   model name	: Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
   stepping	: 6
   microcode	: 0x44
   cpu MHz		: 2333.448
   cache size	: 4096 KB
   fpu		: yes
   fpu_exception	: yes
   cpuid level	: 10
   wp		: yes
   flags		: fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl pni est ssse3 cx16 hypervisor lahf_lm dtherm
   bogomips	: 4666.89
   clflush size	: 64
   cache_alignment	: 64
   address sizes	: 36 bits physical, 48 bits virtual
   power management:


GPU

  • NVIDIA Corporation NV43 [GeForce 6600] (rev a2)

BIOS/UEFI

  • Make - ?
  • Version - ?
Menu
  • ?Setup
  • ?View Post
  • ?Boot Select

OS

  • Debian
    • Version - stable
    • Arch - amd64

Config

DomU
  • Shell server - tortoise
  • File server - hoard
  • Squid Proxy - cthulhu
Storage
  • Partitions #FIXME
    • All drives have stripe for /boot
    • 1TB drives
    • 500GB drives
    • 250GB drives
  • Soft RAID # FIXME
    • the /boot stripe is RAID1
    • 250GB drives
    • 500GB drives
    • 1TB drives
  • LVM
  • Volume Groups
    • albert
      • home
        • /home
      • root
        • /
      • swap
        • Contiguous LV.
      • nas
        • Attached to hoad.
        • Shell users' /home/users/*
        • Generic storage.
      • proxy
        • Attached to cthulhu.
        • Contains the cache from the proxies.
      • cthulhu-disk - 4GB
      • cthulhu-swap - 1GB
      • hoard-disk - 4GB
      • hoard-swap - 128MB
      • tortoise-disk - 4GB
      • tortoise-home - 50GB (will be reduced)
      • tortoise-swap - 128MB
      • tortoise-tmp - 10GB
      • tortoise-var - 30GB
      • template.debian-testing-minimal - 4GB
      • to be removed
        • template-swap
        • vms

Software

Xen HVM

  • domain configs /mnt/vm-images/config
  • default image storage /mnt/vm-images
  • configs trcked with git
    • use /mnt/vm-images/config/.commit to commit changes as nonroot user

VMs

cthulhu

  • xen configs
    • CPU: 2
    • RAM: 2048MB
    • Disk:
      • / - /dev/xvda2
      • swap - /dev/xvda1

Software

Squid
  • Not configured
  • repo: #FIXME
  • Caches - all include official install/live isos/images
    • debian/ubuntu/mint apt traffic
      • does not cache Packages* files - prevents stale package lists
    • fedora/centos yum traffic
    • slackware/slax/porteus
      • caches data from official sources only
    • gentoo/funtoo
      • #will coordinate with mirage

tortoise

  • Shell server
  • ssh key access only
  • local network webhosting
  • xen configs
    • CPU: 3
    • RAM: 128MB
    • Disk:
      • disk.img
        • / - /dev/xvda2
        • swap - /dev/xvda1
      • home.img
        • /home - /dev/xvdb1
      • var.img
        • /var - /dev/xvdc1
      • tmp.img
        • /tmp - /dev/xvdd1

Users

  • "staff"/admin accounts in /home/staff
  • user accounts in /home/users
  • use "addshelluser" command in /usr/local/sbin

Config

  • mesg -n set in /etc/profile.d
  • set nosuid (via mount):
    • /var - /dev/xvdc1 var.img - nosuid,nodev
    • /home - /dev/xvdb1 home.img - nosuid,nodev
    • /tmp - /dev/xvdd1 tmp.img - nosuid