Skip to content

v0.3.18

Choose a tag to compare

@max3584 max3584 released this 05 Oct 13:27
9212e7d

必要な rproxy-api: v0.3.5 以上(バージョンの表示には v0.3.18 以上)。

追加

  • 複数の rproxy の管理(act/stb を含む)(#98・#59・#109)
    • ダッシュボードとルールの詳細に「全体 / ノードごと」のタブ。act と stb の通信量・接続数などを並べて比べられます(ノードが 1 台なら今までどおりの画面)。
    • グループに vip: を書くと、VIP を持っているノードを act と表示します(どれも持っていない・複数が持っているときは注意)。
    • UI の定義と各ノードで動いている設定のずれを表示し、「このノードに送り直す」で直せます(履歴は RESEND)。
    • グループのルールのノードごとの上書き(待ち受けアドレス・転送先・allow_from・このノードだけ一時停止)。
    • ルールの別のノード・グループへのコピー・移動、ノードごとのまとめての停止・再開、ノード・グループ単位のエクスポート。
    • RPROXY_UI_USER_NODES で rproxy-user が触れるノードを絞れます。ノードの一覧に「最後の反映」。
    • act/stb のグループのずれを自動で送り直します(RPROXY_UI_HA_SYNC_SECS、グループごとに auto_resend)。
    • keepalived 向けの確認の口(GET /api/forward/ha/ready・POST /api/forward/ha/notify、RPROXY_UI_HA_TOKEN_FILE)とスクリプト・設定例(/usr/share/doc/rproxy-ui/examples/keepalived/)。ずれている stb の優先度を下げ、昇格した直後に揃えます。
    • failback の確認画面(/ha、管理者だけ)。
    • 複数ノードで使うときは DB の移行 007_log_node.sql・008_overrides.sql を当て、ノードごとのビューを作り直してください(1 台なら不要)。
  • バージョンの表示(#106):サイドバーの下とノードの一覧に UI と各ノードの rproxy-api のバージョン。必要な版より古い・分からないときはダッシュボードに注意(v0.3.17 以前の rproxy-api は「不明」と出ます)。

変更

  • 管理 UI と rproxy-api のバージョン番号は、それぞれ別に進めるようにしました。

Requires rproxy-api v0.3.5 or later (v0.3.18 or later for the version display).

Added

  • Managing several rproxy instances, including act/stb (#98, #59, #109)
    • "All / per-node" tabs on the dashboard and rule detail, comparing act and stb traffic, connections and more side by side (one node: the same screens as before).
    • With vip: on a group, the node holding the VIP is shown as act (with a warning when none or several hold it).
    • Drift between the UI's definition and what each node runs is shown and can be fixed with "resend to this node" (history: RESEND).
    • Per-node overrides for group rules (listen address, targets, allow_from, paused on this node only).
    • Copy or move rules to another node or group, pause/resume everything on a node, export per node or group.
    • RPROXY_UI_USER_NODES limits which nodes rproxy-user may change. "Last applied" in the node list.
    • Drift in act/stb groups is resent automatically (RPROXY_UI_HA_SYNC_SECS, per-group auto_resend).
    • Endpoints for keepalived (GET /api/forward/ha/ready, POST /api/forward/ha/notify, RPROXY_UI_HA_TOKEN_FILE) with scripts and an example config (/usr/share/doc/rproxy-ui/examples/keepalived/): an out-of-sync stb gets a lower priority and is synced right after a promotion.
    • A failback check page (/ha, admins only).
    • For multiple nodes, apply DB migrations 007_log_node.sql and 008_overrides.sql and recreate the per-node views (not needed for one node).
  • Version display (#106): the UI and each node's rproxy-api version at the bottom of the sidebar and in the node list, with a dashboard notice when a node is older than required or unknown (rproxy-api v0.3.17 and earlier show "unknown").

Changed

  • The management UI and rproxy-api now have independent version numbers.