<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>Great! These two parameters (batch-limit & node-action-limit) solve my problem. Thank you very much!<br><br>By the way, is there any way to know the number of parallel action on node and cluster?<br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2018-05-10 20:56:27, "lkxjtu" <lkxjtu@163.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">

    


<div style="line-height:1.6;font-family:'苹方','微软雅黑','sans-serif';">On Tue, 2018-05-08 at 23:52 +0800, lkxjtu wrote: > I have a three node cluster of about 50 resources. When I reboot<br>> three nodes at the same time, I observe the resource by "crm status".<br>> I found that pacemaker starts 3-5 resources at a time, from top to<br>> bottom, rather than start all at the same time. Is there any<br>> parameter control?<br>> It seems to be acceptable. But if there is a resource that can not<br>> start up because of a exception, the latter resources recovery will<br>> become very slow.I don't know the principle of pacemaker recovery<br>> resources.In particular, order and priority.Is there any<br>> suggestions?Thank you very much!<br>There are a few things affecting start-up order. First (obviously) is your constraints. If you have any ordering constraints, they will enforce the configured order. Second is internal constraints. Pacemaker has certain built-in constraints for safety. This includes obvious logical requirements such as starting a resource before promoting it. Pacemaker will do a probe (one-time monitor) of each resource on each node to find its initial state; everything is ordered after those probes. A clone won't be promoted until all pending starts complete. Last is throttling. By default Pacemaker computes a maximum number of jobs that can be executed at once across the entire cluster, and for each node. The number is based on observed CPU load on the nodes (and thus depends partly on the number of CPU cores). Usually it is best to allow Pacemaker to calculate the throttling, but you can force particular values by setting: - node-action-limit: a cluster-wide property specifying the maximum number of actions that can be executed at once on any one node. - PCMK_node_action_limit: an environment variable specifying the same thing but can be configured differently per node. - batch-limit: a cluster-wide property specifying the maximum number of actions that can be executed at once across the entire cluster. The purpose of throttling is to keep Pacemaker from overloading the nodes such that actions might start timing out, causing unnecessary recovery.<font style="font-size:17px;"><br><br></font></div>



    
    
    



    <a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?iconUrl=https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png&name=lkxjtu&uid=lkxjtu%40163.com&ftlId=3&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Alkxjtu%40163.com%22%5D" width="400" style="display:block; max-width: 400px; _width: 400px; background:#fff;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;">
        <table style="width:100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; line-height: 1.3; color: #9b9ea1;font-size: 14px;" cellpadding="0">
            <tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;">
                <tr>
                    <td style="padding:0 7px 0 0; box-sizing: border-box; width: 45px;" width="45">
                        <img style="width: 38px; height: 38px; border-radius:50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" width="38" height="38">
                    </td>
                    <td style="padding: 0 0 0 7px;">
                        <div style="max-width: 380px;  _width: 380px;">
                            <div style="box-sizing: border-box; padding-right: 35px; font-size: 16px; margin-bottom: 5px; color:#31353b;font-weight:bold;width: 100%; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">lkxjtu</div>
                            <div style="font-size:0;line-height: 0;">
                            </div>
                                <div style="word-wrap:break-word;word-break:break-all">
                                    邮箱:lkxjtu@163.com
                                </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </a>


<p style="margin:0;border-top:1px solid #e5e5e5;padding-top: 6px; font-size: 12px; color:#b6b8bb;line-height: 1.5;">签名由 <a href="https://mail.163.com/dashi/dlpro.html?from=mail88" style="color:#6aa8f6;text-decoration: none">网易邮箱大师</a> 定制</p>

</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>