运维:固定虚拟PCI设备并补充过夜观察与电源策略
This commit is contained in:
1 parent
6f2ff67300
commit
65f92df8b7
42 files changed
+1705
No files matched your search
@@ -0,0 +1,9 @@
|
||||
盒子过夜观察汇总
|
||||
记录启用时间:2026-11-04T19:35:05+08:00
|
||||
最近记录时间:2026-11-04T19:40:14+08:00
|
||||
记录启用后重启次数:0
|
||||
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
|
||||
当前开机时长(秒):38110.05
|
||||
最近一次重启判断:观察期间尚未发现重启
|
||||
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
|
||||
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
|
||||
@@ -0,0 +1,15 @@
|
||||
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193449
|
||||
active
|
||||
enabled
|
||||
盒子过夜观察汇总
|
||||
记录启用时间:2026-11-04T19:35:05+08:00
|
||||
最近记录时间:2026-11-04T19:35:05+08:00
|
||||
记录启用后重启次数:0
|
||||
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
|
||||
当前开机时长(秒):37801.74
|
||||
最近一次重启判断:观察期间尚未发现重启
|
||||
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
|
||||
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
|
||||
11月 04 19:35:06 rk3528pro-ddr4 sshd[17776]: error: connect_to 127.0.0.1 port 40001: failed.
|
||||
11月 04 19:35:07 rk3528pro-ddr4 sudo[147206]: armbian : PWD=/home/armbian ; USER=root ; COMMAND=/usr/bin/journalctl --directory /var/log/journal -n 3 --no-pager
|
||||
11月 04 19:35:07 rk3528pro-ddr4 sudo[147206]: pam_unix(sudo:session): session opened for user root(uid=0) by armbian(uid=1000)
|
||||
@@ -0,0 +1,15 @@
|
||||
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193726
|
||||
active
|
||||
enabled
|
||||
盒子过夜观察汇总
|
||||
记录启用时间:2026-11-04T19:35:05+08:00
|
||||
最近记录时间:2026-11-04T19:37:45+08:00
|
||||
记录启用后重启次数:0
|
||||
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
|
||||
当前开机时长(秒):37961.73
|
||||
最近一次重启判断:观察期间尚未发现重启
|
||||
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
|
||||
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
|
||||
11月 04 19:37:46 rk3528pro-ddr4 sshd[17776]: error: connect_to 127.0.0.1 port 40001: failed.
|
||||
11月 04 19:37:47 rk3528pro-ddr4 sudo[149828]: armbian : PWD=/home/armbian ; USER=root ; COMMAND=/usr/bin/journalctl --directory /var/log/journal -n 3 --no-pager
|
||||
11月 04 19:37:47 rk3528pro-ddr4 sudo[149828]: pam_unix(sudo:session): session opened for user root(uid=0) by armbian(uid=1000)
|
||||
@@ -0,0 +1 @@
|
||||
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193329
|
||||
@@ -0,0 +1,24 @@
|
||||
NRestarts=0
|
||||
MemoryCurrent=8458240
|
||||
CPUUsageNSec=1036254000
|
||||
ActiveState=active
|
||||
SubState=running
|
||||
UnitFileState=enabled
|
||||
盒子过夜观察汇总
|
||||
记录启用时间:2026-11-04T19:35:05+08:00
|
||||
最近记录时间:2026-11-04T19:40:14+08:00
|
||||
记录启用后重启次数:0
|
||||
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
|
||||
当前开机时长(秒):38110.05
|
||||
最近一次重启判断:观察期间尚未发现重启
|
||||
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
|
||||
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
|
||||
{"time": "2026-11-04T19:40:14+08:00", "event": "boot_evidence", "kernel": "6.1.115-vendor-rk35xx", "journal": {"code": 0, "text": "IDX BOOT ID FIRST ENTRY LAST ENTRY\n 0 afb6a02fba7c478a8704c78a993d23c6 Wed 2026-11-04 16:23:46 CST Wed 2026-11-04 19:40:13 CST\n", "error": ""}, "pstore": {"captured_at": "2026-11-04T19:40:13.613122+08:00", "boot_id": "afb6a02f-ba7c-478a-8704-c78a993d23c6", "sources": {"/sys/fs/pstore": {}, "/var/lib/systemd/pstore": {"console-ramoops-0": {"mtime": 1751465072.0266666, "text": "[ 2674.563324] reboot: Restarting system\n", "truncated": false}}}}, "watchdog_bootstatus": {}}
|
||||
{"time": "2026-11-04T19:40:14+08:00", "event": "sample", "boot_id": "afb6a02f-ba7c-478a-8704-c78a993d23c6", "reboots": 0, "uptime_seconds": 38110.05, "load": ["1.52", "1.34", "1.21"], "memory": {"MemTotal": "4014636 kB", "MemAvailable": "3039748 kB", "SwapFree": "2007316 kB"}, "temperatures_c": {"thermal_zone0": 62.704}, "processes": [{"pid": 2162, "name": "vdi-kiosk-monitor"}, {"pid": 92843, "name": "kiosk-shell"}, {"pid": 137139, "name": "moonlight", "host": "192.168.1.70", "resolution": "2560x1440", "fps": "45"}], "display": {"code": 0, "text": "Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384\nHDMI-1 disconnected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm", "error": ""}, "network": {"wlan0": {"operstate": "up", "rx_errors": "0", "tx_errors": "0"}, "end0": {"operstate": "down", "rx_errors": "0", "tx_errors": "0"}}, "root_available_mb": 22944}
|
||||
137139 /home/armbian/vdi-build/rkmpp-experiment/build/moonlight/app/moonlight stream 192.168.1.70 Desktop --resolution 2560x1440 --fps 45 --bitrate 30000 --display-mode fullscreen --video-codec H.264 --video-decoder hardware --absolute-mouse --keep-awake --no-vsync --no-frame-pacing --audio-on-host
|
||||
active
|
||||
root:root 755 /usr/local/libexec/vdi-observer-pstore
|
||||
root:systemd-journal 640 /var/lib/vdi-observer/pstore.json
|
||||
armbian:armbian 600 /home/armbian/vdi-terminal/state/overnight-state.json
|
||||
TARGET SOURCE FSTYPE OPTIONS
|
||||
/var/log.hdd /dev/mmcblk1p2[/var/log] ext4 rw,relatime,errors=remount-ro,commit=120
|
||||
@@ -0,0 +1,16 @@
|
||||
test_baseline_zero_reboots (test_overnight_observer.RebootEvidence.test_baseline_zero_reboots) ... ok
|
||||
test_boot_change_preserves_last_heartbeat (test_overnight_observer.RebootEvidence.test_boot_change_preserves_last_heartbeat) ... ok
|
||||
test_daily_rollover_uses_each_event_date (test_overnight_observer.RebootEvidence.test_daily_rollover_uses_each_event_date) ... ok
|
||||
test_durable_state_and_chinese_report (test_overnight_observer.RebootEvidence.test_durable_state_and_chinese_report) ... ok
|
||||
test_invalid_state_preserved (test_overnight_observer.RebootEvidence.test_invalid_state_preserved) ... ok
|
||||
test_multiple_boots_and_history_bound (test_overnight_observer.RebootEvidence.test_multiple_boots_and_history_bound) ... ok
|
||||
test_only_changed_pstore_is_a_new_clue (test_overnight_observer.RebootEvidence.test_only_changed_pstore_is_a_new_clue) ... ok
|
||||
test_oom_is_a_clue_not_a_proven_reboot_cause (test_overnight_observer.RebootEvidence.test_oom_is_a_clue_not_a_proven_reboot_cause) ... ok
|
||||
test_orderly_shutdown_requires_real_markers (test_overnight_observer.RebootEvidence.test_orderly_shutdown_requires_real_markers) ... ok
|
||||
test_service_restart_is_not_box_reboot (test_overnight_observer.RebootEvidence.test_service_restart_is_not_box_reboot) ... ok
|
||||
test_unknown_reason_is_not_reported_as_power_loss (test_overnight_observer.RebootEvidence.test_unknown_reason_is_not_reported_as_power_loss) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 11 tests in 0.053s
|
||||
|
||||
OK
|
||||
Reference in new issue
Block a user