星期五, 3月 30, 2012

Veritas VCS 修改 hostname ip要改的host file檔案

1.For solaris 10 OS ,vi :

/etc/hosts
/etc/nodename


2.修改網路的部分要參考/etc/hostname.ce0  , /etc/hostname.ce1  (假設interface name 為 ce0 , ce1 )

---

3.For Veritas VCS , vi :

/etc/llthosts
/etc/llttab
/etc/VRTSvcs/conf/sysname
/etc/VRTSvcs/conf/config/main.cf

--
4.改完之後用init 6 指令重開both nodes , 
開機後
lltstat指令 監控public port(ce0) and private port(ce1) ,  只要網路有異常現象 則會造成相關VCS resource 受影響(faulted or offline)

或用以下指令看詳細訊息
lltstat -nvv | more  ==>  to view additional information about LLT

Output resembles:
LLT node information:
    Node                 State    Link  Status  Address
   * 0 db1          OPEN
                                  ce1   UP      00:14:5F:4A:F2:32
                                  ce0   UP      00:14:5F:4A:F2:33
     1 db2          OPEN
                                  ce1   UP      00:14:5F:B7:F2:56
                                  ce0   DOWN    00:14:5F:B7:F2:57        
 


或用
gabconfig -a 去看網路是否連通
看到有; 代表該port 不通

root@db1 # gabconfig -a
GAB Port Memberships
===============================================================
Port a gen   2e010c membership 01
Port b gen   2e010f membership 01
Port d gen   2e010b membership 01
Port f gen   2e0110 membership 01
Port h gen   2e010f membership 01
Port o gen   2e010e membership 01
Port v gen   2e010c membership 01
Port w gen   2e010e membership 01






沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...