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 对float类型取char后显示科学计数法
- ››DB2中出现SQL1032N错误现象时的解决办法
- ››DB2 锁升级示例
- ››db2诊断系列之---定位锁等待问题
- ››db2 命令选项解释
- ››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 实战
更多精彩
赞助商链接