FSTha是一款針對Solaris 8 sparc開發的是HA軟體,支援4個節點的叢集管理。可以指定故障發生時,下一個轉移節點;可配置個人開發的應用程式,對其進行備援切換。
目前solaris x86 9和10已完成基本功能測試。
可以從FSTha的網站www.fstha.com上下載下傳安裝檔案。
安裝:
1、将tar的包解壓,使用tar -xvf fstha3.0.1.tar指令。
2、進入解壓後的檔案夾,使用指令:./make all和./make install進行安裝,如果提示找不到make指令,可以使用find / -name make -print查找make的安裝位置,一般在usr/ccs/bin中。将該路徑加入PATH中使用指令:PATH=$PATH:usr/ccs/bin export PATH。可以使用which make 檢視系統是否可以識别make指令。
3、install完成後,将/opt/FSTha/bin加入PATH路徑。如果在/opt/FSTha/bin中沒有包含所有在安裝檔案下的可執行檔案,複制過去就可以了。
如果運作fstha bootup 或startup報如下錯:
Checking Instance State.
Cluster Node Already Initialized. Command Aborted.
Problem:
IPC status from <running system> as of Sun Oct 17 16:03:55 CST 2010
T ID KEY MODE OWNER GROUP
Message Queues:
Shared Memory:
m 0 0x18e --rw-rw-rw- root root
Semaphores:
s 0 0x14b --ra-ra-ra- root root
974 pts/2 0:00 fstha
1130 pts/3 0:00 fstha
HA appears to be initialized in memory.
Only one instance can exist per node.
To clean up previous instance, please:
(1) kill all fst* processes
(2) remove shared memory (man ipcrm)
and try again
使用指令 fstha shutdown指令即可。原因可能是tcp的包還滞留在系統中,需要清除後,才能進行執行個體化。