HP MicroServer

Купил я себе перед Новым Годом. Опёнок 4.8 встал абсолютно без проблем.
По звуку - очень тихий.
Памяти я только поставил 4 гига не-ECC DDR3-1333 (из прошлого "железа") - сервер ни разу не упал
при нескольких перекомпиляциях ядра и установке портов.
Удивило, что HP поставил вменяемую сетевуху на такое микропиперное "железо".

Так меня он возрадовал, что после НГ я купил себе второй - под Win2008Srv.

Мои текущие конфиги такие:
ЯДРО:

# $OpenBSD: GENERIC,v 1.695 2010/08/08 14:27:42 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine i386
include "../../../conf/GENERIC.my"
maxusers 80 # estimated number of users

option USER_PCICONF # user-space PCI configuration

#option VM86 # Virtual 8086 emulation
option KVM86 # Kernel Virtual 8086 emulation
option USER_LDT # user-settable LDT; see i386_set_ldt(2)
#-- option APERTURE # in-kernel aperture driver for XFree86

option PROCFS # /proc
#option NTFS # Experimental NTFS support

# or use root on nfs swap on nfs
config bsd swap generic

mainbus0 at root

cpu0 at mainbus?
bios0 at mainbus0
ioapic* at mainbus?
apm0 at bios0 flags 0x0000 # flags 0x0101 to force protocol version 1.1
acpi0 at bios?
pcibios0 at bios0 flags 0x0000 # use 0x30 for a total verbose
#vmt0 at mainbus? # VMware Tools

acpitimer* at acpi?
acpihpet* at acpi?
acpiac* at acpi?
acpibat* at acpi?
acpibtn* at acpi?
acpicpu* at acpi?
acpidock* at acpi?
acpiec* at acpi?
acpimadt0 at acpi?
acpiprt* at acpi?
acpitz* at acpi?
acpivideo* at acpi?
acpivout* at acpivideo?
acpipwrres* at acpi?
aibs* at acpi?

option PCIVERBOSE
option USBVERBOSE

isa0 at mainbus0
isa0 at pcib?
isa0 at amdpcib?
isa0 at piixpcib?
pci* at mainbus0

pchb* at pci? # PCI-Host bridges
ppb* at pci? # PCI-PCI bridges
pci* at ppb?
pci* at pchb?
pcib* at pci? # PCI-ISA bridge
amdpcib* at pci? # AMD 8111 LPC bridge
piixpcib* at pci? # Intel PIIX4 PCI-ISA bridge
km* at pci? # AMD K10 temperature sensor

piixpm* at pci? # Intel PIIX power management
iic* at piixpm?
amdiic* at pci? # AMD-8111 SMBus controller
iic* at amdiic?
amdpm* at pci? # AMD-7xx/8111 and NForce SMBus controller
iic* at amdpm?

# ISA PCMCIA controllers
#option PCMCIAVERBOSE
pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
tcic0 at isa? disable port 0x240 iomem 0xd0000 iosiz 0x10000

# ISA Plug-and-Play PCMCIA controllers
#option DEBUG_ISAPNP
pcic* at isapnp?

# PCI PCMCIA controllers
pcic* at pci?

# PCMCIA bus support
pcmcia* at pcic?
pcmcia* at tcic?

# CardBus bus support
cardbus* at cardslot?
pcmcia* at cardslot?
cbb* at pci?
cardslot* at cbb?

# USB Controllers
ehci* at pci? # Enhanced Host Controller
uhci* at pci? # Universal Host Controller (Intel)
ohci* at pci? # Open Host Controller

# USB bus support
usb* at ehci?
usb* at uhci?
usb* at ohci?

# USB devices
uhub* at usb? # USB Hubs
uhub* at uhub? # USB Hubs
umass* at uhub? # USB Mass Storage devices
scsibus* at umass?
atapiscsi* at umass?
uhidev* at uhub? # Human Interface Devices
ukbd* at uhidev? # USB keyboard
wskbd* at ukbd? mux 1
uhid* at uhidev? # USB generic HID support
ugen* at uhub? # USB Generic driver

puc* at pci? # PCI "universal" communication device

npx0 at isa? port 0xf0 irq 13 # math coprocessor
isadma0 at isa?
isapnp0 at isa?

option WSDISPLAY_COMPAT_USL # VT handling
option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes; needed for X11
option WSDISPLAY_DEFAULTSCREENS=6 # initial number of text consoles
option WSDISPLAY_COMPAT_PCVT # emulate some ioctls; needed for X11

pckbc0 at isa? flags 0x00 # PC keyboard controller
pckbd* at pckbc? # PC keyboard
vga0 at isa?
option X86EMU # to POST video cards
vga* at pci?
pcdisplay0 at isa? # CGA, MDA, EGA, HGA
wsdisplay* at vga?
wsdisplay* at pcdisplay?
wskbd* at pckbd? mux 1

pcppi0 at isa?

com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
#com* at hsq?
com* at puc?

ahci* at pci? flags 0x0000 # AHCI SATA controllers
# flags 0x0001 to force SATA 1 (1.5Gb/s)
scsibus* at ahci?

sd* at scsibus? # SCSI disk drives
cd* at scsibus? # SCSI CD-ROM drives
ch* at scsibus? # SCSI autochangers

fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370
fd* at fdc? flags 0x00

# IDE controllers
pciide* at pci? flags 0x0000

# Networking devices
em* at pci? # Intel Pro/1000 ethernet
bge* at pci? # Broadcom BCM57xx (aka Tigon3)

# Media Independent Interface (mii) drivers
brgphy* at mii? # Broadcom Gigabit PHYs

pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver

spkr0 at pcppi? # PC speaker

pseudo-device pctr 1
pseudo-device mtrr 1 # Memory range attributes control
pseudo-device nvram 1
pseudo-device sequencer 1
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device hotplug 1 # devices hot plugging

# mouse & keyboard multiplexor pseudo-devices
pseudo-device wsmux 2
pseudo-device crypto 1

*******************************************************************************
Изменённые дефолтные опции (файл GENERIC.my):

# $OpenBSD: GENERIC,v 1.162 2010/08/08 17:18:11 deraadt Exp $
#
# Machine-independent option; used by all architectures for their
# GENERIC kernel

#option INSECURE # default to secure

option DDB # in-kernel debugger
#option DDB_SAFE_CONSOLE # allow break into ddb during boot
#makeoptions DEBUG="-g" # compile full symbol table
#makeoptions PROF="-pg" # build profiled kernel
#option GPROF # kernel profiling, kgmon(8)
option DIAGNOSTIC # internal consistency checks
#-- option KTRACE # system call tracing, a la ktrace(1)
#-- option ACCOUNTING # acct(2) process accounting
#-- option KMEMSTATS # collect malloc(9) statistics
#-- option PTRACE # ptrace(2) system call

#option KVA_GUARDPAGES # slow virtual address recycling (+ guarding)
#option POOL_DEBUG # pool corruption detection
#option VFSDEBUG # VFS locking checks

option CRYPTO # Cryptographic framework

option SYSVMSG # System V-like message queues
option SYSVSEM # System V-like semaphores
option SYSVSHM # System V-like memory sharing

#For diskd
option BUFCACHEPERCENT=25
option RTHREADS

#For squid
option MAXFILES=32768
option MSGMNB=16384
option MSGMNI=80
option MSGSEG=8192
option MSGSSZ=64
option MSGTQL=4096

#-- option UVM_SWAP_ENCRYPT# support encryption of pages going to swap

option COMPAT_43 # Kernel compatibility with 4.3BSD

#-- option LKM # loadable kernel modules

option FFS # UFS
option FFS2 # UFS2
option FFS_SOFTUPDATES # Soft updates
option UFS_DIRHASH # hash large directories
#-- option QUOTA # UFS quotas
#-- option EXT2FS # Second Extended Filesystem
option MFS # memory file system
#-- option NNPFS # NNPFS filesystem

option TCP_SACK # Selective Acknowledgements for TCP
option TCP_ECN # Explicit Congestion Notification for TCP
option TCP_SIGNATURE # TCP MD5 Signatures, for BGP routing sessions
#option TCP_FACK # Forward Acknowledgements for TCP

#-- option NFSCLIENT # Network File System client
#-- option NFSSERVER # Network File System server

option CD9660 # ISO 9660 + Rock Ridge file system
option UDF # UDF (DVD) file system
option MSDOSFS # MS-DOS file system
option FIFO # FIFOs; RECOMMENDED
#option PORTAL # dynamically created filesystem objects

option INET # IP + ICMP + TCP + UDP
option ALTQ # ALTQ base
#-- option INET6 # IPv6 (needs INET)
option IPSEC # IPsec
#option KEY # PF_KEY (implied by IPSEC)
#option NETATALK # AppleTalk
option PPP_BSDCOMP # PPP BSD compression
option PPP_DEFLATE
#option PIPEX # Pppac IP EXtension, for npppd
#-- option MROUTING # Multicast router
#option PIM # Protocol Independent Multicast
#option MPLS # Multi-Protocol Label Switching

#mpath0 at root # SCSI Multipathing
#scsibus* at mpath?

#-- softraid0 at root # Software RAID
#-- scsibus* at softraid?

#vscsi0 at root # Userland backed Virtual SCSI
#scsibus* at vscsi?

pseudo-device pf # packet filter
pseudo-device pflog # pf log if
pseudo-device pfsync # pf sync if
pseudo-device pflow # pflow export if
pseudo-device enc # option IPSEC needs the encapsulation interface

pseudo-device pty 16 # initial number of pseudo-terminals
#--pseudo-device nmea 1 # NMEA 0183 line discipline
#--pseudo-device msts 1 # MSTS line discipline
#--pseudo-device endrun 1 # EndRun line discipline
#--pseudo-device vnd 4 # paging to files
#--pseudo-device ccd 4 # concatenated disk devices
pseudo-device ksyms 1 # kernel symbols device
pseudo-device systrace 1 # system call tracing device

# clonable devices
pseudo-device bpfilter # packet filter
#--pseudo-device bridge # network bridging support
pseudo-device carp # CARP protocol support
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device gre # GRE encapsulation interface
pseudo-device loop # network loopback
#pseudo-device mpe # MPLS PE interface
pseudo-device ppp # PPP
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
#--pseudo-device sl # CSLIP
pseudo-device sppp 1 # Sync PPP/HDLC
pseudo-device trunk # Trunking support
pseudo-device tun # network tunneling over tty
pseudo-device vether # Virtual ethernet
pseudo-device vlan # IEEE 802.1Q VLAN

# for IPv6
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f

#--pseudo-device bio 1 # ioctl multiplexing device

option BOOT_CONFIG # add support for boot -c

*******************************************************************************

Аватар пользователя MikeKMV

Удалось ли

Удалось ли каким-то образом использовать 4Гига памяти ?
Ведь до сих пор bigmem выключен для amd64.
_____________
Нет более кривого инструмента, чем GNU-тый инструмент.

_____________
Нет более кривого инструмента, чем GNU-тый инструмент.

Аватар пользователя Elsewhere

Я не

Я не заморачивался обязательным использованием опёнком всех 4-х гигов. Мне достаточно стабильной работы опёнка на этом "железе".

Аватар пользователя malvism

Я хочу

Я хочу установить 2 диска на RAID1 и другие 2 на RAID1. Может быть сделано?
И OpenBSD видит RAID диски?
Я читал, что ESXi не поддерживает эту HP RAID, потому что это "FakeRAID"

Аватар пользователя Elsewhere

А блок питания

А блок питания потянет столько дисков?
Всё-таки купи нормальный б/у сервер с аппаратным контроллером и BBU для изучения vSpheres и тренировок.

Аватар пользователя malvism

я как раз хочу

я как раз хочу поставит OpenBSD, хотел знат ли OpenBSD видит РАИД ?
И потянит, диски използует около 5-7W, такшто будет <30W. Для 150W PSU достаточно . И там же 4 место для дисков, так проблем не будет.
И хочу етого, потому што будет стоят дома, хочу штоби не шумил