TruCluster
1752664 會員
5800 線上
108788 解決方案
發表新文章

How can I manage a mounted physical file system in a cluster?

 
watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

# cfsmgr /u03



Domain or filesystem name = /u03

Server Name = node01

Server Status : OK



---------

node01 & node02 是 TruCluster(5.1B), 我要下哪個 command 把 /u03 的 managed server 改成是 node02?

5則回覆 5
watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

In the following example, cfsmgr relocates mountpoint from the host clu1 to clu2





Mounted On

Server Name clu1

Server Status OK



cfsmgr -h clu1 -r -a SERVER=clu2 mountpoint





Mounted On

Server Name clu2

Server Status OK

watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

那請問 mount point 是由哪個 cluster node 管理, 是記錄在某個系統檔中, 還是根據哪個 node 先開起來就由哪個 node 管理?
watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

cluster 誰先開啟來,誰就先是owner

不然就是手動去改

還有就是你reboot owner 那一台,這時候就會自動切到另一台

watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

對了,如果你希望不管哪一台先開機,等到兩個nodes都ready

都要有固定的一台來管理的話

可以寫個script來管理

watermelonyu
教授

How can I manage a mounted physical file system in a cluster?

1. edit attach sample script to match your requirement and chmod 700



2. add the script to each node of cluster's

/etc/inet.local