开发学院数据库DB2 DB2 pureScale 新特性 -- Member Restart 阅读

DB2 pureScale 新特性 -- Member Restart

 2010-09-02 00:00:00 来源:WEB开发网   
核心提示: 主机故障解决电源问题解决以后了,HOSTA 又变成活跃状态,DB2 pureScale 新特性 -- Member Restart(8),LISTINSTANCEMEMBER_IDTYPESTATEHOME_HOSTCURRENT_HOSTALERT------1MEMBERWAITING_FO

主机故障解决

电源问题解决以后了,HOSTA 又变成活跃状态。

 LIST INSTANCE 
 
 MEMBER_ID TYPE STATEHOME_HOST CURRENT_HOST ALERT 
 --------- ------- -------------------- --------- ------------ ----- 
 1 MEMBER WAITING_FOR_FAILBACK HOSTA HOSTB NO 
  2 MEMBER STARTED HOSTB HOSTB NO 
  3 MEMBER STARTED HOSTC HOSTC NO 
 128 CF PRIMARY HOSTE - NO 
  129 CF PEER HOSTF - NO 
 
 
 HOSTNAME STATEINSTANCE_STOPPED ALERT 
 -------- ------ ---------------- ----- 
 HOSTA ACTIVE NONO 
 HOSTB ACTIVE NONO 
 HOSTC ACTIVE NONO 
 HOSTE ACTIVE NONO 
 HOSTF ACTIVE NONO 

在所属主机上恢复 Member

DB2 cluster services 检测到 HOSTA 处于活跃状态,会自动在 HOSTA 上恢复在 Member 1。

此时,Member1 的状态是 RESTARTING 。

 LIST INSTANCE SHOW DETAIL 
 
 MEMBER_ID TYPE STATEHOME_HOST CURRENT_HOST ALERT 
 --------- ------- ---------- --------- ------------ ----- 
 1 MEMBER RESTARTING HOSTA HOSTA NO 
  2 MEMBER STARTED HOSTB HOSTB NO 
  3 MEMBER STARTED HOSTC HOSTC NO 
  128 CF PRIMARY HOSTE - NO 
  129 CF PEER HOSTF - NO 
 
 
 HOSTNAME STATEINSTANCE_STOPPED ALERT 
 -------- ------ ---------------- ----- 
 HOSTA ACTIVE NONO 
 HOSTB ACTIVE NONO 
 HOSTC ACTIVE NONO 
 HOSTE ACTIVE NONO 
 HOSTF ACTIVE NONO 

Member 在所属主机完成启动

Member 1 在 HOSTA 上成功完成了 Member restart,它的状态变成了 STARTED,现在这个 Member 可以接受用户的连接,处理新的事务了。使用 LIST INSTANCE 命令可以看到此时 DB2 pureSacle 环境的状态与实例开始时一样了。

结束语

本文简单的对 DB2 pureScale 中的 Member 进行了介绍,并通过实例说明了如何启动 Member restart 和如何监测 Member 的状态。

上一页  3 4 5 6 7 8 

Tags:DB pureScale 特性

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接