diff --git a/.obsidian/workspace b/.obsidian/workspace index 4a0fbd6..2f391ff 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "02. PARA/03. Resources(資源)/sqlite.md", + "file": "02. PARA/03. Resources(資源)/Proxmox VE.md", "mode": "source", "source": true } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "02. PARA/03. Resources(資源)/sqlite.md", + "file": "02. PARA/03. Resources(資源)/Proxmox VE.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "02. PARA/03. Resources(資源)/sqlite.md" + "file": "02. PARA/03. Resources(資源)/Proxmox VE.md" } } } @@ -116,6 +116,8 @@ }, "active": "ec13ce58b15fa6d4", "lastOpenFiles": [ + "02. PARA/03. Resources(資源)/sqlite.md", + "02. PARA/03. Resources(資源)/Proxmox VE.md", "02. PARA/02. Area(領域)/20150803 - Android/ADB 取得 APK 的 icon.md", "02. PARA/03. Resources(資源)/QT/QVariant.md", "00. TOP/01. TODO.md", @@ -123,8 +125,6 @@ "02. PARA/03. Resources(資源)/Tool Setup/SublimeText.md", "01. Daily/2022-07-15(週五).md", "02. PARA/03. Resources(資源)/C++17/for_each.md", - "02. PARA/03. Resources(資源)/讀書筆記/20220619 - 精確的力量.md", - "02. PARA/03. Resources(資源)/C++17/智慧指標.md", - "02. PARA/03. Resources(資源)/C++17/C++17.md" + "02. PARA/03. Resources(資源)/讀書筆記/20220619 - 精確的力量.md" ] } \ No newline at end of file diff --git a/02. PARA/03. Resources(資源)/Proxmox VE.md b/02. PARA/03. Resources(資源)/Proxmox VE.md index 53c9017..ea1f43c 100644 --- a/02. PARA/03. Resources(資源)/Proxmox VE.md +++ b/02. PARA/03. Resources(資源)/Proxmox VE.md @@ -191,6 +191,21 @@ mkdir -p /mnt/data/backup/ 參考: - [HASS + Proxmox: Automatic Backups to Synology NAS](https://kleypot.com/automatic-offline-backups/) +## 設定 UPS +因為 UPS 的 USB 是連接在 NAS 上,所以Proxmox這邊必須要去monitor NAS那邊所回報的狀態,請確定NAS端有打開「啟用網路不斷電系統伺服器」。 +1. 安裝 nut:`apt-get install nut` +2. 修改 `/etc/nut/nut.conf`,設定 `MODE=netclient` +3. 修改 `/etc/nut/upsmon.conf`,加入一行:`MONITOR ups@ 1 slave` +4. 開始 upsmon:`upsmon start` +5. 用 `ps -ef | grep upsmon` 確認 upsmon是否執行: + ![[Pasted image 20220811145852.png|600]] +6. 若正常,可以取回UPS的一些硬體資料,`upsc ups@` + ![[Pasted image 20220811150034.png|360]] + +### 參考 +- [不斷電系統](https://kb.synology.com/zh-tw/DSM/help/DSM/AdminCenter/system_hardware_ups?version=6) +- [設定 Proxmox VE連動Synology的不斷電系統](https://cychien.tw/wordpress/2022/02/02/%E8%A8%AD%E5%AE%9A-proxmox-ve%E9%80%A3%E5%8B%95synology%E7%9A%84%E4%B8%8D%E6%96%B7%E9%9B%BB%E7%B3%BB%E7%B5%B1/) + ## 更新 ### 加入更新來源 編輯`/etc/apt/sources.list`,加入: diff --git a/attachments/Pasted image 20220811145852.png b/attachments/Pasted image 20220811145852.png new file mode 100644 index 0000000..944a6f6 Binary files /dev/null and b/attachments/Pasted image 20220811145852.png differ diff --git a/attachments/Pasted image 20220811150034.png b/attachments/Pasted image 20220811150034.png new file mode 100644 index 0000000..c6dc5b7 Binary files /dev/null and b/attachments/Pasted image 20220811150034.png differ