doc-exports/docs/css/umn/css_01_0080.html
Wuwan, Qi 050b395397 CSS UMN 23.2.1 20230926
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>
2024-01-10 14:23:15 +00:00

112 lines
14 KiB
HTML

<a name="css_01_0080"></a><a name="css_01_0080"></a>
<h1 class="topictitle1">Configuring YML Parameters</h1>
<div id="body1572848909034"><p id="css_01_0080__en-us_topic_0000001268594501_p8060118">You can modify the <strong id="css_01_0080__b0436155643114">elasticsearch.yml</strong> file.</p>
<div class="section" id="css_01_0080__en-us_topic_0000001268594501_section1846352754911"><h4 class="sectiontitle">Modifying Parameter Configurations</h4><ol id="css_01_0080__en-us_topic_0000001268594501_ol8194123694919"><li id="css_01_0080__en-us_topic_0000001268594501_li1142971461017">Log in to the CSS management console.</li><li id="css_01_0080__en-us_topic_0000001268594501_li174291147108">Choose <strong id="css_01_0080__b32346974617">Clusters</strong> in the navigation pane. On the <span class="wintitle" id="css_01_0080__wintitle341641211295"><b>Clusters</b></span> page, click the name of the target cluster. The cluster information page is displayed.</li><li id="css_01_0080__en-us_topic_0000001268594501_li1277611425215">Click <strong id="css_01_0080__b186077386324">Parameter Configurations</strong> and click <strong id="css_01_0080__b6169154133313">Edit</strong> to modify module parameters as required.
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0080__en-us_topic_0000001268594501_table53371628162416" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Module parameters</caption><thead align="left"><tr id="css_01_0080__en-us_topic_0000001268594501_row103280287249"><th align="left" class="cellrowborder" valign="top" width="16.541654165416542%" id="mcps1.3.2.2.3.3.2.4.1.1"><p id="css_01_0080__en-us_topic_0000001268594501_p932842832419">Module Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26.15261526152615%" id="mcps1.3.2.2.3.3.2.4.1.2"><p id="css_01_0080__en-us_topic_0000001268594501_p33281528192417">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.3057305730573%" id="mcps1.3.2.2.3.3.2.4.1.3"><p id="css_01_0080__en-us_topic_0000001268594501_p20328132810245">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0080__en-us_topic_0000001268594501_row19330192810243"><td class="cellrowborder" rowspan="6" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p183291528122417">Cross-domain Access</p>
</td>
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p11329162882415">http.cors.allow-credentials</p>
</td>
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.3.2.4.1.3 "><p id="css_01_0080__en-us_topic_0000001268594501_p17329162892417">Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p16330628132414">Value: <strong id="css_01_0080__b2063403017464">true</strong> or <strong id="css_01_0080__b863413074618">false</strong></p>
<p id="css_01_0080__en-us_topic_0000001268594501_p11330112816244">Default value: <strong id="css_01_0080__b73311441121319">false</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row1330428132419"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p933042832410">http.cors.allow-origin</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p333032802416">Origin IP address allowed for cross-domain access, for example, <strong id="css_01_0080__b15610101917391">122.122.122.122:9200</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row8330728192417"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p63301428132410">http.cors.max-age</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p73301128122415">Cache duration of the browser. The cache is automatically cleared after the time range you specify.</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p19330328172417">Unit: s</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p8330328142412">Default value: <strong id="css_01_0080__b187511217152016">1,728,000</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row133010281246"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p73307287241">http.cors.allow-headers</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p933022852417">Headers allowed for cross-domain access, including <strong id="css_01_0080__b1976310163919">X-Requested-With</strong>, <strong id="css_01_0080__b3802192113913">Content-Type</strong>, and <strong id="css_01_0080__b178683443912">Content-Length</strong>. Use commas (,) and spaces to separate headers.</p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row123301728142417"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p833013283249">http.cors.enabled</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p63301228112415">Whether to allow cross-domain access</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p11330162812246">Value: <strong id="css_01_0080__b4531153634618">true</strong> or <strong id="css_01_0080__b4531836134617">false</strong></p>
<p id="css_01_0080__en-us_topic_0000001268594501_p123302028142416">Default value: <strong id="css_01_0080__b1979382562110">false</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row833113287248"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p13301828172410">http.cors.allow-methods</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p8330132814241">Methods allowed for cross-domain access, including <strong id="css_01_0080__b210620233371">OPTIONS</strong>, <strong id="css_01_0080__b19139257377">HEAD</strong>, <strong id="css_01_0080__b1664917277374">GET</strong>, <strong id="css_01_0080__b1543314299371">POST</strong>, <strong id="css_01_0080__b3706133110374">PUT</strong>, and <strong id="css_01_0080__b6825163318371">DELETE</strong>. Use commas (,) and spaces to separate methods.</p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row12333192812418"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p183319285248">Reindexing</p>
</td>
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p33319289247">reindex.remote.whitelist</p>
</td>
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.3.2.4.1.3 "><p id="css_01_0080__en-us_topic_0000001268594501_p233152818246">Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.</p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row12334228112416"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p1433382862410">Custom Cache</p>
</td>
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p1633332814245">indices.queries.cache.size</p>
</td>
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.3.2.4.1.3 "><p id="css_01_0080__en-us_topic_0000001268594501_p17333112812243">Cache size in the query phase</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p73331128162414">Value range: 1 to 100</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p7333928142415">Unit: %</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p63332028162413">Default value: <strong id="css_01_0080__b3745444181210">10%</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row633432813246"><td class="cellrowborder" rowspan="3" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p83349283241">Queue Size in a Thread Pool</p>
</td>
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p9334132882411">thread_pool.bulk.queue_size</p>
</td>
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.3.2.4.1.3 "><p id="css_01_0080__en-us_topic_0000001268594501_p1433414283242">Queue size in the bulk thread pool. The value is an integer. You need to customize this parameter.</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p17334192813241">Default value: <strong id="css_01_0080__b28203309257">200</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row1233416288247"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p2334828162416">thread_pool.write.queue_size</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p633452822414">Queue size in the write thread pool. The value is an integer. You need to customize this parameter.</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p1334122819247">Default value: <strong id="css_01_0080__b1101617915">200</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row83359287248"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p14334182852412">thread_pool.force_merge.size</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p11334102822414">Queue size in the force merge thread pool. The value is an integer.</p>
<p id="css_01_0080__en-us_topic_0000001268594501_p233432852417">Default value: <strong id="css_01_0080__b102681458202517">1</strong></p>
</td>
</tr>
<tr id="css_01_0080__en-us_topic_0000001268594501_row103371728132417"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.3.2.4.1.1 "><p id="css_01_0080__en-us_topic_0000001268594501_p1933510289248">Customize</p>
</td>
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.3.2.4.1.2 "><p id="css_01_0080__en-us_topic_0000001268594501_p33361528142418">You can add parameters based on your needs.</p>
</td>
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.3.2.4.1.3 "><p id="css_01_0080__en-us_topic_0000001268594501_p13364287245">Customized parameters</p>
<div class="note" id="css_01_0080__en-us_topic_0000001268594501_note19337142813249"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="css_01_0080__en-us_topic_0000001268594501_ul19337192817245"><li id="css_01_0080__en-us_topic_0000001268594501_li133361128112414">Enter multiple values in the format as <strong id="css_01_0080__b85254277475">[value1, value2, value3...]</strong>.</li><li id="css_01_0080__en-us_topic_0000001268594501_li133622814249">Separate values by commas (,) and spaces.</li><li id="css_01_0080__en-us_topic_0000001268594501_li333662862413">Colons (:) are not allowed.</li></ul>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="css_01_0080__en-us_topic_0000001268594501_li12682102113577">After the modification is complete, click <strong id="css_01_0080__b1380472273212">Submit</strong>.In the displayed <strong id="css_01_0080__b118121322123211">Submit Configuration</strong> dialog box, select the box indicating "I understand that the modification will take effect after the cluster is restarted." and click <strong id="css_01_0080__b28131122133220">Yes</strong>.<p id="css_01_0080__en-us_topic_0000001268594501_p0505822115818">If the <strong id="css_01_0080__b29981627123218">Status</strong> is <strong id="css_01_0080__b799914273322">Succeeded</strong> in the parameter modification list, the modification has been saved. Up to 20 modification records can be displayed.</p>
</li><li id="css_01_0080__en-us_topic_0000001268594501_li195461759181418">Return to the cluster list and choose <strong id="css_01_0080__b284113793318">More</strong> &gt; <strong id="css_01_0080__b1184357163314">Restart</strong> in the <strong id="css_01_0080__b2845871335">Operation</strong> column to restart the cluster and make the modification take effect.<ul id="css_01_0080__en-us_topic_0000001268594501_ul772201251714"><li id="css_01_0080__en-us_topic_0000001268594501_li97281231719">You need to restart the cluster after modification, or <strong id="css_01_0080__b1442671114337">Configuration unupdated</strong> will be displayed in the <strong id="css_01_0080__b17427101153315">Task Status</strong> column on the <strong id="css_01_0080__b2427151112339">Clusters</strong> page.</li><li id="css_01_0080__en-us_topic_0000001268594501_li77261231712">If you restart the cluster after the modification, and <strong id="css_01_0080__b1400811181115">Task Status</strong> displays <strong id="css_01_0080__b46078383115">Configuration error</strong>, the parameter configuration file fails to be modified.</li></ul>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0211.html">Configuring an Elasticsearch Cluster</a></div>
</div>
</div>