Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
1.10. Linux 虛擬伺服器管理圖形介面
本節提供了Red Hat Cluster Suite 的 LVS 設定工具之簡介 — Piranha Configuration Tool。Piranha Configuration Tool 是網頁圖形使用者介面,提供結構化的方法來建立 LVS 的設定檔 —
/etc/sysconfig/ha/lvs.cf
。
要存取 Piranha Configuration Tool,您需要在已啟用的 LVS 路由器上,執行
piranha-gui
服務。您可以用瀏覽器從本地或遠端存取 Piranha Configuration Tool。本機的網址是 http://localhost:3636http://localhost
;遠端的則是主機名稱或實際的 IP 位址,之後再加上:3636
。如果您想要從遠端存取 Piranha Configuration Tool,您需要以 root 身份用 ssh
連到已啟用的 LVS 路由器。
Starting the Piranha Configuration Tool causes the Piranha Configuration Tool welcome page to be displayed (refer to 圖形 1.29, “The Welcome Panel”). Logging in to the welcome page provides access to the four main screens or panels: CONTROL/MONITORING, GLOBAL SETTINGS, REDUNDANCY, and VIRTUAL SERVERS. In addition, the VIRTUAL SERVERS panel contains four subsections. The CONTROL/MONITORING panel is the first panel displayed after you log in at the welcome screen.
圖形 1.29. The Welcome Panel
以下幾節將簡述 Piranha Configuration Tool 設定頁。
1.10.1. CONTROL/MONITORING
CONTROL/MONITORING(控制 / 監控)面板會顯示執行時的狀態,包括
pulse
系統程式的狀態、LVS 的路由表、以及 LVS 衍生的 nanny
程序。
圖形 1.30. The CONTROL/MONITORING Panel
- Auto update
- 讓狀態可以自動更新,更新頻率是使用者在Update frequency in seconds(更新頻率,單位為秒)文字框輸入的值(預設值是 10 秒)。我們不建議您把這間隔設定設成低於十秒。如果低於十秒的話,頁面更新會很頻繁,那麼要再重新設定 Auto update 的間隔就會有困難。如果您遇到這個問題,只要按下另一個面板,再回到 CONTROL/MONITORING 即可。
- Update information now
- 提供狀態資訊的手動更新。
- CHANGE PASSWORD
- 按下「CHANGE PASSWORD」(改變密碼)按鍵會出現一個含有資訊的視窗,幫助您改變 Piranha Configuration Tool 的管理者密碼。