forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
100 lines
13 KiB
HTML
100 lines
13 KiB
HTML
<a name="css_01_0193"></a><a name="css_01_0193"></a>
|
||
|
||
<h1 class="topictitle1">HTTP/HTTPS Flow Control</h1>
|
||
<div id="body8662426"><div class="section" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_section104847386416"><h4 class="sectiontitle">Context</h4><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p1327218103711">You can run commands in Kibana to enable or disable HTTP/HTTPS flow control for your cluster. The command parameters are as follows.</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_table131951219400" frame="border" border="1" rules="all"><caption><b>Table 1 </b>HTTP/HTTPS flow control parameters</caption><thead align="left"><tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row161965164016"><th align="left" class="cellrowborder" valign="top" width="31.290000000000003%" id="mcps1.3.1.3.2.4.1.1"><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p61968134011">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.1.3.2.4.1.2"><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p71961116401">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="51.27%" id="mcps1.3.1.3.2.4.1.3"><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p111961018403">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row1319619174010"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p1119661194016">flowcontrol.http.enabled</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p51961214407">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p141961124012">Whether to enable HTTP/HTTPS flow control. This function is disabled by default. Enabling it may affect node access performance.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p419620110406">Value: <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b145147862731635">true</strong> or <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b51376330431635">false</strong></p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p11196201104018">Default value: <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b212419553331635">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row1196201174015"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p5196813408">flowcontrol.http.allow</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p219613114408">List<String></p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p1427748174618">IP address whitelist.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p1219661174016">It can contain multiple IP addresses and masks, or an IP address list. Use commas (,) to separate multiple values. Example: <em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1835917814376">xx.xx.xx.xx</em><strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b17709159193718">/24,</strong><em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1190103010374">xx.xx.xx.xx</em><strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b126131131153716">/24</strong>, or <em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1168864117372">xx.xx.xx.xx.xx</em><strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b10688542133711">,</strong><em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i027716450375">xx.xx.xx</em>.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p191969174015">The default value is null.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row171962111401"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p10196719403">flowcontrol.http.deny</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p11196151184013">List<String></p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p16196191144011">IP address blacklist.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p5196413406">Multiple IP addresses and masks or an IP address list can be configured. Use commas (,) to separate multiple IP addresses and masks.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p01962117405">The default value is null.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row1619613194017"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p11968194014">flowcontrol.http.concurrent</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p819631194020">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p71967116401">Maximum concurrent HTTP/HTTPS connections.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p31968184017">Default value: Number of available cores on a node x 400</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row719671174016"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p171961513405">flowcontrol.http.newconnect</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p161969118405">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p18196111104010">Maximum new connections that can be created for HTTP/HTTPS requests per second.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p219616118407">Default value: Number of available cores on a node x 200</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_row1519651144012"><td class="cellrowborder" valign="top" width="31.290000000000003%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p719612111408">flowcontrol.http.warmup_period</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p7196171144019">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="51.27%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p10196714405">Time required for the HTTP/HTTPS connection setup speed to reach the maximum. If <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b10717185154314">flowcontrol.http.newconnect</strong> is set to <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b1280413317457">100</strong> and <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b111930734519">flowcontrol.http.warmup_period</strong> is set to <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b153091012452">5000ms</strong>, it indicates the system can set up 100 connections per second in 5 seconds.</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p201961612402">Value range: 0–10000</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p18196131144020">Unit: ms</p>
|
||
<p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p101963124013">Default value: <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b55411044114211">0</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_section08193139418"><h4 class="sectiontitle">Procedure</h4><ol id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_ol927111214106"><li id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_li1274916552817">Log in to the CSS management console.</li><li id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_li1274935516811">Choose <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b63164223533">Clusters</strong> in the navigation pane. On the <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b1024165011537">Clusters</strong> page, locate the target cluster and click <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b1432262275318">Access Kibana</strong> in the <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b2032219228538">Operation</strong> column.</li><li id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_li927171291011">In the navigation pane on the left, choose <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b4767425182610">Dev Tools</strong> and run commands to enable or disable HTTP/HTTPS flow control.<ul id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_ul176348454417"><li id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_li1563417414445">Enabling HTTP/HTTPS flow control for a node<pre class="screen" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_screen1963418404416">PUT /_cluster/settings
|
||
{
|
||
"persistent": {
|
||
"flowcontrol.http.enabled": true,
|
||
"flowcontrol.http.allow": ["<em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1792614120452">192.168.0.1/24</em>", "<em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1497161613454">192.168.2.1/24</em>"],
|
||
"flowcontrol.http.deny": "<em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i188241027184519">192.168.1.1/24</em>",
|
||
"flowcontrol.http.concurrent": <em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i18394931194511">1000</em>,
|
||
"flowcontrol.http.newconnect": <em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i1070413331453">1000</em>,
|
||
"flowcontrol.http.warmup_period": <em id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_i720519363456">0</em>
|
||
}
|
||
}</pre>
|
||
<div class="note" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_note1627517011453"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_p10359634164419">If all parameters are set to <strong id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_b1437245316502">null</strong>, they will be restored to default values.</p>
|
||
</div></div>
|
||
</li><li id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_li96343413449">Disabling HTTP/HTTPS flow control for a node<pre class="screen" id="css_01_0193__en-us_topic_0000001485533945_en-us_topic_0000001228531978_screen463412415444">PUT /_cluster/settings
|
||
{
|
||
"persistent": {
|
||
"flowcontrol.http.enabled": false
|
||
}
|
||
}</pre>
|
||
</li></ul>
|
||
</li></ol>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0191.html">Flow Control 2.0</a></div>
|
||
</div>
|
||
</div>
|
||
|