简单介绍HACMP中的资源组

9 篇文章 0 订阅

简单介绍HACMP中的资源组!
仅供参考!!

对于HA中的资源组的简单介绍

 

老版本的HACMP中的资源组定义及设置

 

Cascading resource group

 

对于多个节点,而某些节点资源配置较低的情况,适合使用cascading型的资源组,配置低的节点只是临时替代配置高的节点,满足了客户对性价比的要求。

Cascading资源组分配不同的优先级给各个节点,使得优先级高的节点使用资源。关于某些参数的设置:

 

Inactive takeover:该参数为false时,首先启动的节点如果没有最高权限,它不会请求资源,只有最高权限的节点才会请求资源。该参数为true时,首先 启动的节点就会请求资源,后加入的节点如果有更高的权限,该节点就会释放资源给后加入的节点。一般设置成true。

 

Cascading without fallback:该参数为true时,即使恢复或加入的节点具有较高的优先级,该节点也不会请求资源。就是资源不会fallback回高优先级节点,如 果资源需要切换,就要使用takeover方式停止节点。该参数为false时,如果恢复或加入的节点有较高的优先级,那么该节点就会请求资源,就是资源 会fallback回高优先级节点。一般设置为false。

 

注意:这两个参数有些共性,需要综合考虑。

 

Graceful:停止节点,释放资源,活动节点不接管。

Force:停止节点,不释放资源。

Takeover:停止节点,释放资源,活动节点接管资源。

 

Rotating resource group

 

对于所有属于该资源组的节点,每个节点只能请求一个资源(同一网络),直到所有的资源请求完成,其他的节点作为standby使用,当某个节点失败 或takeover模式关闭,具有最高优先级的standby节点接管资源,当失败节点重新加入群集,它也不会申请资源,而只是作为standby节点使 用。

 

Concurrent resource group

 

    该资源组可以同时被多个节点共享,并行资源组中的资源只能是裸设备、裸盘和应用服务需要的卷组。当节点失败时,不会发生takeover,当该节点重新加入,它可以继续并行访问资源。

 

新版本的HACMP(5.2)以后不支持上面3种类型的资源组,只支持custom类型的资源组。

在HACMP 5.2 中的custom类型资源组可使用的 Startup, Fallover 和 Fallback策略见下表:

Startup
 可设置的策略有:

• Online on Home Node Only.  The resource group should be brought online only on its home (highest priority) node during the resource group startup. This requires the highest priority node to be available.

• Online on First Available Node. The resource group activates on the first participating node that becomes available.

• Online on All Available Nodes. The resource group is brought online on all nodes.

• Online Using Distribution Policy. Only one resource group is brought online on a node, or on a node per network, depending on the distribution policy specified (node or network).
 
Fallover
 可设置的策略有

• Fallover to Next Priority Node in the List.  In the case of fallover, the resource group that is online on only one node at a time follows the default node priority order specified in the resource group’s nodelist.

• Fallover Using Dynamic Node Priority. Before selecting this option, configure a dynamic node priority policy that you want to use. Or you can select one of the three predefined dynamic node priority policies.

• Bring Offline (on Error Node Only). Select this option to bring a resource group offline on a node during an error condition.
 
Fallback
 可设置的策略有

• Fallback to Higher Priority Node in the List.  A resource group falls back when a higher priority node joins the cluster. If you select this option, you can use the delayed fallback timer. If you do not configure a delayed fallback policy, the resource group falls back immediately when a higher priority node joins the cluster.

• Never Fallback. A resource group does not fall back when a higher priority node joins the cluster.

 

Cascading 、Rotating、Concurrent和custom对于关系

 

在HACMP5.2 以前资源组的定义
 在HACMP5.2中资源组的定义
 
Cascading resource group

Inactive Takeover = False

Cascading without Fallback (CWOF) = False

 
 •Startup: Online on Home Node Only

•Fallover: Fallover to Next Priority Node in the List

•Fallback: Fallback to Higher Priority Node in the List
 
Cascading resource group

Inactive Takeover = True

CWOF = False
 •Startup: Online on First Available Node

Fallover: Fallover to Next Priority Node in the List

•Fallback: Fallback to Higher Priority Node in the List
 
Cascading resource group

Inactive Takeover = False

CWOF = True
 •Startup: Online on Home Node Only

•Fallover: Fallover to Next Priority Node in the List

•Fallback: Never Fallback
 
Cascading resource group

Inactive Takeover = True

CWOF = True
 •Startup: Online on Fisrt Available Node

•Fallover: Fallover to Next Priority Node in the List

•Fallback: Never Fallback
 
Rotating resource group
 .Startup: Online Using Distribution Policy

•Resource Group Distribution Policy: Network distribution

•Fallover: Next Priority Node in the List

•Fallback: Never Fallback
 
Concurrent resource group
 •Startup: Online on All Available Nodes

•Fallover: Bring Offline (On Error Node Only)

•Fallback: Never Fallback

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值