Forskjell mellom versjoner av «Helsing»

Fra Bitraf
Hopp til navigering Hopp til søk
(Historikk: configure mdns and avahi)
(Historikk: and start dbus and avahi-daemon)
Linje 87: Linje 87:
 
avahi_daemon_enable:  -> yes
 
avahi_daemon_enable:  -> yes
 
</pre> [[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 9. aug. 2022 kl. 16:12 (CEST)
 
</pre> [[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 9. aug. 2022 kl. 16:12 (CEST)
 +
Finally, start dbus and avahi-damon
 +
<pre>
 +
root@helsing:~ # service dbus start
 +
Starting dbus.
 +
root@helsing:~ # service avahi-daemon start
 +
Starting avahi-daemon.
 +
</pre> [[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 9. aug. 2022 kl. 16:14 (CEST)
  
 
; 2022-08-09 : install mdns_nss and avahi via <code>pkg install nss_mdns</code>, /var/log/messages shows
 
; 2022-08-09 : install mdns_nss and avahi via <code>pkg install nss_mdns</code>, /var/log/messages shows

Revisjonen fra 9. aug. 2022 kl. 15:14

Helsing er en HP ProLiant DL380 G5[1] server donert til Bitraf.

Operativsystem

FreeBSD er installert på denne serveren.

Spesifikasjoner

prosessor 
1 x Xeon 4-core (mulighet for 2 prosessorer)
minne 
20 GB (2 x 4GB + 3 x 2 x 2 GB) 8 slots av 8 i bruk (was: 1 GB (2 x 512MB), 2 slots av 8 i bruk (maximum minne er 32 GB - 8 x 4 GB), PC2-5300 (DDR2-667))
chipset 
Intel 5000P
nettverk 
dual NC373i Multifunction Gigabit adapters
storage controller 
Smart Array E200[2]
usb ports 
5 x usb 2.0 (2 front, 2 back, 1 inside)
hard drive slots 
8 SATA SFF
hard drives 
2 x 300 GB, 6 x 146 GB
remote management 
iLO 2[3]
power supply 
800 W (optional redundant power supply)

Firmware

BIOS

Nåværende versjon av BIOS er

</>hpiLO-> show /system1/firmware1
status=0
status_tag=COMMAND COMPLETED


/system1/firmware1
  Targets
  Properties
    version=P56
    date=05/02/2011
  Verbs
    cd version exit show set

iLO 2

iLO 2 (integrated Lights Out management) er HP (tidligere Compaq) sitt remote management verktøy for ProLiant servere.

2020-06-03 
oppgradert iLO 2 firmware til versjon 2.33. Tingo (diskusjon) 5. jun. 2020 kl. 16:55 (CEST)

Management

iLO 2 via nettleser funker, men remote console og virtual media krever java applets, dvs. at ingen moderne nettlesere støtter det. Alternativ: Javafox[4] som er et docker-image med gammel nettleser og Java-plugins.

iLO 2 via ssh funker, der funker også vm (virtual media), men images må legges på en server. Eksempel

</>hpiLO-> vm cdrom get
VM Applet = Disconnected
Boot Option = BOOT_ONCE
Write Protect = Yes
Image Inserted = Connected
Image URL = http://heim.bitraf.no/tingo/files/iso/FreeBSD-12.1-RELEASE-amd64-disc1.iso

</>hpiLO-> vm cdrom insert http://heim.bitraf.no/tingo/files/iso/FreeBSD-11.3-RELEASE-amd64-disc1.iso

</>hpiLO-> vm cdrom set boot_once


</>hpiLO-> vm cdrom get
VM Applet = Disconnected
Boot Option = BOOT_ONCE
Write Protect = Yes
Image Inserted = Connected
Image URL = http://heim.bitraf.no/tingo/files/iso/FreeBSD-11.3-RELEASE-amd64-disc1.iso

Utfordringen med iLO 2 via ssh er remote console. Det er støttet for text only konsoll (via kommandoen textcons), men så fort operativsystemet bytter til grafisk skjerm på konsollet, så mister du bildet.

Historikk

Arbeid som er gjort.

2022-08-09 
configure /etc/nsswitch.conf for mdns - before
root@helsing:~ # grep ^hosts /etc/nsswitch.conf
hosts: files dns

after

root@helsing:~ # grep ^hosts /etc/nsswitch.conf
hosts: files mdns_minimal [NOTFOUND=return] dns mdns

and configure avahi-daemon to start up (also requires dbus) by

root@helsing:~ # sysrc dbus_enable=yes
dbus_enable:  -> yes
root@helsing:~ # sysrc avahi_daemon_enable=yes
avahi_daemon_enable:  -> yes

Tingo (diskusjon) 9. aug. 2022 kl. 16:12 (CEST)

Finally, start dbus and avahi-damon

root@helsing:~ # service dbus start
Starting dbus.
root@helsing:~ # service avahi-daemon start
Starting avahi-daemon.

Tingo (diskusjon) 9. aug. 2022 kl. 16:14 (CEST)

2022-08-09 
install mdns_nss and avahi via pkg install nss_mdns, /var/log/messages shows
Aug  9 15:48:06 helsing su[10822]: tingo to root on /dev/pts/1
Aug  9 15:50:05 helsing pkg[11100]: pkg upgraded: 1.17.5_1 -> 1.18.3 
Aug  9 15:50:38 helsing pkg[11157]: xorgproto-2022.1 installed
Aug  9 15:50:38 helsing pkg[11157]: libXau-1.0.9 installed
Aug  9 15:50:38 helsing pkg[11157]: libpthread-stubs-0.4 installed
Aug  9 15:50:38 helsing pkg[11157]: libXdmcp-1.1.3 installed
Aug  9 15:50:39 helsing pkg[11157]: libxcb-1.15 installed
Aug  9 15:50:40 helsing pkg[11157]: libICE-1.0.10,1 installed
Aug  9 15:50:40 helsing pkg[11157]: libffi upgraded: 3.3_1 -> 3.4.2 
Aug  9 15:50:41 helsing pkg[11157]: libxml2-2.9.13_2 installed
Aug  9 15:50:52 helsing pkg[11157]: python39-3.9.13 installed
Aug  9 15:50:53 helsing pkg[11157]: pcre-8.45_1 installed
Aug  9 15:50:53 helsing pkg[11157]: libSM-1.2.3,1 installed
Aug  9 15:50:54 helsing pkg[11157]: libX11-1.7.2,1 installed
Aug  9 15:50:55 helsing pkg[11157]: libiconv-1.16 installed
Aug  9 15:50:55 helsing pkg[11157]: expat-2.4.8 installed
Aug  9 15:50:56 helsing pkg[11157]: dbus-1.14.0,1 installed
Aug  9 15:50:59 helsing pkg[11157]: glib-2.72.2,2 installed
Aug  9 15:50:59 helsing pkg[11157]: dbus-glib-0.112 installed
Aug  9 15:50:59 helsing pkg[11157]: gnome_subr-1.0 installed
Aug  9 15:50:59 helsing pkg[11157]: libdaemon-0.14_1 installed
Aug  9 15:51:00 helsing pkg[11157]: libevent-2.1.12 installed
Aug  9 15:51:00 helsing pkg[11157]: gdbm-1.23 installed
Aug  9 15:51:01 helsing pkg[11157]: avahi-app-0.8 installed
Aug  9 15:51:01 helsing pkg[11157]: libffi33-3.3_2 installed
Aug  9 15:51:01 helsing pkg[11157]: nss_mdns-0.14.1.20200624 installed

Tingo (diskusjon) 9. aug. 2022 kl. 15:56 (CEST)

2022-04-15 
packages upgraded via sudo pkg upgrade. From /var/log/messages
Apr 15 20:08:29 helsing pkg[2348]: pkg upgraded: 1.16.3 -> 1.17.5_1 
Apr 15 20:09:17 helsing pkg[2431]: libunwind upgraded: 20201110 -> 20211201 
Apr 15 20:09:17 helsing pkg[2431]: libedit upgraded: 3.1.20210216,1 -> 3.1.20210910,1 
Apr 15 20:09:49 helsing pkg[2431]: ruby upgraded: 2.7.3_2,1 -> 2.7.5_1,1 
Apr 15 20:09:49 helsing pkg[2431]: ca_root_nss-3.76 installed
Apr 15 20:09:54 helsing pkg[2431]: ruby27-gems upgraded: 3.0.8 -> 3.3.10 
Apr 15 20:09:55 helsing pkg[2431]: readline upgraded: 8.1.1 -> 8.1.2 
Apr 15 20:09:56 helsing pkg[2431]: sudo upgraded: 1.9.8 -> 1.9.10 
Apr 15 20:09:56 helsing pkg[2431]: rubygem-json upgraded: 2.3.1 -> 2.5.1 
Apr 15 20:10:15 helsing pkg[2431]: python38 upgraded: 3.8.10 -> 3.8.13 

Tingo (diskusjon) 15. apr. 2022 kl. 20:14 (CEST)

FreeBSD upgraded via sudo freebsd-update fetch; sudo freebsd-update install. after a reboot, FreeBSD 11.0-release-p11 is in
tingo@helsing:~ $ freebsd-version -ku
13.0-RELEASE-p11
13.0-RELEASE-p11

kernel

tingo@helsing:~ $ uname -a
FreeBSD helsing.lan.bitraf.no 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr  5 18:54:35 UTC 2022
     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

Tingo (diskusjon) 15. apr. 2022 kl. 20:05 (CEST)

2021-10-18 
FreeBSD 13.0-release er installert på serveren.
tingo@helsing:~ $ freebsd-version ; uname -a
13.0-RELEASE
FreeBSD helsing.lan.bitraf.no 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021
     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

Tingo (diskusjon) 15. apr. 2022 kl. 19:44 (CEST)

2021-09-16 
tested Javafox for remote console and virtual media applet. With a small fix to the Dockerfile, both remote console and virtual media applets start. I've tested the remote console, it works. Tingo (diskusjon) 17. sep. 2021 kl. 15:18 (CEST)
2020-06-18 
need packages firmware-bnx2 for the network interfaces. Could probably use some HP related packacges too, like hpacucli, hpssacli. And probably something for temperature monitoring / fan control.
2020-06-18 
minne - Helsing har fått 20 GB minne, fordelt på 2 x 4GB, 3 x (2 x 2 GB). Alle 8 slots brukt.
2020-06-18 
minne i server, som rapport via iLo, ssh
</>hpiLO-> show /system1/memory1
status=0
status_tag=COMMAND COMPLETED


/system1/memory1
  Targets
  Properties
    size=512MB
    speed=667MHz
    location=DIMM 1A 
  Verbs
    cd version exit show set


</>hpiLO-> show /system1/memory2
status=0
status_tag=COMMAND COMPLETED


/system1/memory2
  Targets
  Properties
    size=not installed
    speed=not installed
    location=DIMM 2C 
  Verbs
    cd version exit show set
2020-06-10 
koblet nettverkskabel til nettverksport 1 på serveren. Tingo (diskusjon) 10. jun. 2020 kl. 16:01 (CEST)

Referanser