DB2 pureScale 新特性 -- Member Restart
2010-09-02 00:00:00 来源:WEB开发网 SELECT ID,varchar(STATE,21) AS STATE,
varchar(HOME_HOST,10) AS HOME_HOST,
varchar(CURRENT_HOST,10) AS CUR_HOST,
ALERT
FROM SYSIBMADM.DB2_MEMBER
清单 1. 所有的 MEMBER 都运行在自己的主机上,运行状态正常
ID STATE HOME_HOST CUR_HOST ALERT
------ --------------------- ---------- ---------- --------
1 STARTED HOSTA HOSTANO
2 STARTED HOSTB HOSTBNO
3 STARTED HOSTC HOSTCNO
3 record(s) selected.
清单 2. 有一个 Member 正在 restart 的过程中。
ID STATE HOME_HOST CUR_HOSTALERT
------ --------------------- ---------- ---------- --------
1 WAITING_FOR_FAILBACK HOSTA HOSTANO
2 STARTED HOSTBHOSTB
NO
3 STARTED HOSTC HOSTCNO
3 record(s) selected.
清单 3. MEMBER 0 不能进行 local restart,处于 restart light 状态
ID STATE HOME_HOST CUR_HOSTALERT
------ --------------------- ---------- ---------- --------
1 WAITING_FOR_FAILBACK HOSTA HOSTBNO
2 STARTED HOSTB HOSTBNO
3 STARTED HOSTC HOSTCNO
3 record(s) selected.
此时,可以通过 DB2_CLUSTER_HOST_STATE 查看主机的状态,得知 HOSTA 处于非活动状态。
HOST STATESTOPPED ALERT
---------- -------- ------- --------
HOSTB ACTIVE NONO
HOSTA INACTIVE NOYES
HOSTC ACTIVE NONO
3 record(s) selected.
- ››DB2 最佳实践: 使用 DB2 pureXML 管理 XML 数据的...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
- ››DB2 9.5 SQL Procedure Developer 认证考试 735 准...
- ››DB2 基础: 表空间和缓冲池
- ››DB2 XML 编程,第 1 部分: 理解 XML 数据模型
- ››DB2 pureScale 实战
- ››DB2 存储过程中如何使用 Optimization Profile
- ››DB2 pureScale 新特性 -- Member Restart
- ››DB2 Express-C 9.7.2 新增特性
- ››DB2 9.7 新特性 - 内联 LOB 的使用
- ››DB2 for Linux, UNIX, and Windows 的锁事件,第 ...
更多精彩
赞助商链接