forked from docs/doc-exports
Compare commits
1 Commits
other-add
...
new-servic
| Author | SHA1 | Date | |
|---|---|---|---|
| 37b5c060fd |
@ -78,9 +78,7 @@
|
||||
{
|
||||
"documenttype":"api",
|
||||
"prodname":"css",
|
||||
"opensource":"true",
|
||||
"operation_id":"AddIndependentNode",
|
||||
"version":"v1"
|
||||
"opensource":"true"
|
||||
}
|
||||
],
|
||||
"title":"Supported Cluster Versions",
|
||||
@ -108,8 +106,8 @@
|
||||
"githuburl":""
|
||||
},
|
||||
{
|
||||
"uri":"css_03_0137.html",
|
||||
"node_id":"css_03_0137.xml",
|
||||
"uri":"iam_01_0023.html",
|
||||
"node_id":"iam_01_0023.xml",
|
||||
"product_code":"css",
|
||||
"code":"6",
|
||||
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
||||
@ -129,8 +127,8 @@
|
||||
"githuburl":""
|
||||
},
|
||||
{
|
||||
"uri":"css_03_0138.html",
|
||||
"node_id":"css_03_0138.xml",
|
||||
"uri":"iam_02_0008.html",
|
||||
"node_id":"iam_02_0008.xml",
|
||||
"product_code":"css",
|
||||
"code":"7",
|
||||
"des":"This section describes the structure of a RESTful API request, and uses the API for Obtaining a User Token as an example to describe how to call an API. A token is a user",
|
||||
@ -150,8 +148,8 @@
|
||||
"githuburl":""
|
||||
},
|
||||
{
|
||||
"uri":"css_03_0139.html",
|
||||
"node_id":"css_03_0139.xml",
|
||||
"uri":"iam_02_0510.html",
|
||||
"node_id":"iam_02_0510.xml",
|
||||
"product_code":"css",
|
||||
"code":"8",
|
||||
"des":"CSS supports token authentication.The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API.A ",
|
||||
@ -171,8 +169,8 @@
|
||||
"githuburl":""
|
||||
},
|
||||
{
|
||||
"uri":"css_03_0140.html",
|
||||
"node_id":"css_03_0140.xml",
|
||||
"uri":"iam_02_0511.html",
|
||||
"node_id":"iam_02_0511.xml",
|
||||
"product_code":"css",
|
||||
"code":"9",
|
||||
"des":"After sending a request, you will receive a response containing the status code, response header, and response body.A status code is a group of digits, ranging from 1xx t",
|
||||
@ -1359,9 +1357,7 @@
|
||||
{
|
||||
"documenttype":"api",
|
||||
"prodname":"css",
|
||||
"opensource":"true",
|
||||
"operation_id":"AddIndependentNode",
|
||||
"version":"v1"
|
||||
"opensource":"true"
|
||||
}
|
||||
],
|
||||
"title":"Modifying Basic Configurations of a Cluster Snapshot",
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Adding Master and Client Nodes</h1>
|
||||
<div id="body0000001926438181"><div class="section" id="AddIndependentNode__section880755564414"><h4 class="sectiontitle">Function</h4><p id="AddIndependentNode__p880925584417">This API is used to add master and client nodes to a cluster.</p>
|
||||
</div>
|
||||
<div class="section" id="AddIndependentNode__section58091055154418"><h4 class="sectiontitle">Calling Method</h4><p id="AddIndependentNode__p1781013558444">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="AddIndependentNode__section58091055154418"><h4 class="sectiontitle">Calling Method</h4><p id="AddIndependentNode__p1781013558444">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="AddIndependentNode__section13810355104417"><h4 class="sectiontitle">URI</h4><p id="AddIndependentNode__p19811955174411">POST /v1.0/{project_id}/clusters/{cluster_id}/type/{type}/independent</p>
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
|
||||
"product_code":"css",
|
||||
"title":"Calling APIs",
|
||||
"uri":"css_03_0137.html",
|
||||
"uri":"iam_01_0023.html",
|
||||
"doc_type":"api",
|
||||
"p_code":"",
|
||||
"code":"6"
|
||||
@ -57,7 +57,7 @@
|
||||
"desc":"This section describes the structure of a RESTful API request, and uses the API for Obtaining a User Token as an example to describe how to call an API. A token is a user",
|
||||
"product_code":"css",
|
||||
"title":"Making an API Request",
|
||||
"uri":"css_03_0138.html",
|
||||
"uri":"iam_02_0008.html",
|
||||
"doc_type":"api",
|
||||
"p_code":"6",
|
||||
"code":"7"
|
||||
@ -66,7 +66,7 @@
|
||||
"desc":"CSS supports token authentication.The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API.A ",
|
||||
"product_code":"css",
|
||||
"title":"Authentication",
|
||||
"uri":"css_03_0139.html",
|
||||
"uri":"iam_02_0510.html",
|
||||
"doc_type":"api",
|
||||
"p_code":"6",
|
||||
"code":"8"
|
||||
@ -75,7 +75,7 @@
|
||||
"desc":"After sending a request, you will receive a response containing the status code, response header, and response body.A status code is a group of digits, ranging from 1xx t",
|
||||
"product_code":"css",
|
||||
"title":"Returned Values",
|
||||
"uri":"css_03_0140.html",
|
||||
"uri":"iam_02_0511.html",
|
||||
"doc_type":"api",
|
||||
"p_code":"6",
|
||||
"code":"9"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Obtaining a Target Image ID</h1>
|
||||
<div id="body0000001880399332"><div class="section" id="ListImages__section105709354618"><h4 class="sectiontitle">Function</h4><p id="ListImages__p2572630461">This API is used to obtain the ID of an image that can be upgraded in the current cluster.</p>
|
||||
</div>
|
||||
<div class="section" id="ListImages__section157473124611"><h4 class="sectiontitle">Calling Method</h4><p id="ListImages__p657617334613">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="ListImages__section157473124611"><h4 class="sectiontitle">Calling Method</h4><p id="ListImages__p657617334613">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="ListImages__section65781315468"><h4 class="sectiontitle">URI</h4><p id="ListImages__p16580163104616">GET /v1.0/{project_id}/clusters/{cluster_id}/target/{upgrade_type}/images</p>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Changing a Password</h1>
|
||||
<div id="body0000001926672489"><div class="section" id="ResetPassword__section5288748579"><h4 class="sectiontitle">Function</h4><p id="ResetPassword__p32884412572">This API is used to change the password of a cluster.</p>
|
||||
</div>
|
||||
<div class="section" id="ResetPassword__section42899415579"><h4 class="sectiontitle">Calling Method</h4><p id="ResetPassword__p132897415573">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="ResetPassword__section42899415579"><h4 class="sectiontitle">Calling Method</h4><p id="ResetPassword__p132897415573">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="ResetPassword__section92908475711"><h4 class="sectiontitle">URI</h4><p id="ResetPassword__p029018417570">POST /v1.0/{project_id}/clusters/{cluster_id}/password/reset</p>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Retrying a Failed Upgrade Task</h1>
|
||||
<div id="body0000001926518557"><div class="section" id="RetryUpgradeTask__section743956154417"><h4 class="sectiontitle">Function</h4><p id="RetryUpgradeTask__p34305644417">The upgrade takes a long time and the upgrade may fail due to network problems. You can use this API to retry a task or terminate the impact of a task.</p>
|
||||
</div>
|
||||
<div class="section" id="RetryUpgradeTask__section10441256194413"><h4 class="sectiontitle">Calling Method</h4><p id="RetryUpgradeTask__p1645956124410">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="RetryUpgradeTask__section10441256194413"><h4 class="sectiontitle">Calling Method</h4><p id="RetryUpgradeTask__p1645956124410">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="RetryUpgradeTask__section104685614448"><h4 class="sectiontitle">URI</h4><p id="RetryUpgradeTask__p54785634415">PUT /v1.0/{project_id}/clusters/{cluster_id}/upgrade/{action_id}/retry</p>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Upgrading a Cluster Kernel</h1>
|
||||
<div id="body0000001926438177"><div class="section" id="UpgradeCore__section141770310460"><h4 class="sectiontitle">Function</h4><p id="UpgradeCore__p317820384611">This API is used to upgrade Elasticsearch from an earlier version to a later version or the same version.</p>
|
||||
</div>
|
||||
<div class="section" id="UpgradeCore__section161801532466"><h4 class="sectiontitle">Calling Method</h4><p id="UpgradeCore__p161826364612">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="UpgradeCore__section161801532466"><h4 class="sectiontitle">Calling Method</h4><p id="UpgradeCore__p161826364612">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="UpgradeCore__section61831732466"><h4 class="sectiontitle">URI</h4><p id="UpgradeCore__p181856317468">POST /v1.0/{project_id}/clusters/{cluster_id}/inst-type/{inst_type}/image/upgrade</p>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Obtaining Upgrade Details</h1>
|
||||
<div id="body0000001880559224"><div class="section" id="UpgradeDetail__section494793164615"><h4 class="sectiontitle">Function</h4><p id="UpgradeDetail__p095013310465">The upgrade takes a long time. You can call this API to check the upgrade progress on a node.</p>
|
||||
</div>
|
||||
<div class="section" id="UpgradeDetail__section129527354619"><h4 class="sectiontitle">Calling Method</h4><p id="UpgradeDetail__p11954153174619">For details, see <a href="css_03_0137.html">Calling APIs</a>.</p>
|
||||
<div class="section" id="UpgradeDetail__section129527354619"><h4 class="sectiontitle">Calling Method</h4><p id="UpgradeDetail__p11954153174619">For details, see <a href="iam_01_0023.html">Calling APIs</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="UpgradeDetail__section795619313469"><h4 class="sectiontitle">URI</h4><p id="UpgradeDetail__p1795817311466">GET /v1.0/{project_id}/clusters/{cluster_id}/upgrade/detail</p>
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0019__p211481414566">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0019__p8114151414568">Project ID. For details about how to obtain a project ID, see <a href="css_03_0071.html">Obtaining a Project ID and Name</a>.</p>
|
||||
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0019__p8114151414568">Project ID. For details, see <a href="css_03_0071.html">Obtaining a Project ID and Name</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -179,7 +179,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1656713138562"></a><a name="table1656713138562"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1656713138562" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="css_03_0019__b1365506179">instance</strong> field description</caption><thead align="left"><tr id="css_03_0019__row311410146564"><th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.3.5.2.5.1.1"><p id="css_03_0019__p13114121413566">Parameter</p>
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1656713138562"></a><a name="table1656713138562"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1656713138562" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="css_03_0019__b954308271">instance</strong> field description</caption><thead align="left"><tr id="css_03_0019__row311410146564"><th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.3.5.2.5.1.1"><p id="css_03_0019__p13114121413566">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.3.5.2.5.1.2"><p id="css_03_0019__p6114161410569">Mandatory</p>
|
||||
</th>
|
||||
@ -233,7 +233,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="css_03_0019__table11567131335613"></a><a name="table11567131335613"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table11567131335613" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="css_03_0019__b1919334071">volume</strong> field description</caption><thead align="left"><tr id="css_03_0019__row4114101435619"><th align="left" class="cellrowborder" valign="top" width="15.559999999999999%" id="mcps1.3.3.6.2.5.1.1"><p id="css_03_0019__p1511401416567">Parameter</p>
|
||||
<div class="tablenoborder"><a name="css_03_0019__table11567131335613"></a><a name="table11567131335613"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table11567131335613" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="css_03_0019__b1205882372">volume</strong> field description</caption><thead align="left"><tr id="css_03_0019__row4114101435619"><th align="left" class="cellrowborder" valign="top" width="15.559999999999999%" id="mcps1.3.3.6.2.5.1.1"><p id="css_03_0019__p1511401416567">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="14.44%" id="mcps1.3.3.6.2.5.1.2"><p id="css_03_0019__p311471413563">Mandatory</p>
|
||||
</th>
|
||||
@ -268,7 +268,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1959831319562"></a><a name="table1959831319562"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1959831319562" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="css_03_0019__b171797216">nics</strong> field description</caption><thead align="left"><tr id="css_03_0019__row411461445618"><th align="left" class="cellrowborder" valign="top" width="15.049999999999999%" id="mcps1.3.3.7.2.5.1.1"><p id="css_03_0019__p9114101414569">Parameter</p>
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1959831319562"></a><a name="table1959831319562"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1959831319562" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="css_03_0019__b1426838219">nics</strong> field description</caption><thead align="left"><tr id="css_03_0019__row411461445618"><th align="left" class="cellrowborder" valign="top" width="15.049999999999999%" id="mcps1.3.3.7.2.5.1.1"><p id="css_03_0019__p9114101414569">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.45%" id="mcps1.3.3.7.2.5.1.2"><p id="css_03_0019__p011461445616">Mandatory</p>
|
||||
</th>
|
||||
@ -309,7 +309,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1121072510499"></a><a name="table1121072510499"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1121072510499" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="css_03_0019__b644076390">datastore</strong> field description</caption><thead align="left"><tr id="css_03_0019__row9210132514499"><th align="left" class="cellrowborder" valign="top" width="14.85%" id="mcps1.3.3.8.2.5.1.1"><p id="css_03_0019__p257003611426">Parameter</p>
|
||||
<div class="tablenoborder"><a name="css_03_0019__table1121072510499"></a><a name="table1121072510499"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table1121072510499" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="css_03_0019__b950783689">datastore</strong> field description</caption><thead align="left"><tr id="css_03_0019__row9210132514499"><th align="left" class="cellrowborder" valign="top" width="14.85%" id="mcps1.3.3.8.2.5.1.1"><p id="css_03_0019__p257003611426">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.659999999999998%" id="mcps1.3.3.8.2.5.1.2"><p id="css_03_0019__p1057073612420">Mandatory</p>
|
||||
</th>
|
||||
@ -334,7 +334,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.32%" headers="mcps1.3.3.8.2.5.1.3 "><p id="css_03_0019__p24274612517">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="57.17%" headers="mcps1.3.3.8.2.5.1.4 "><p id="css_03_0019__p194276622512">Engine type. Elasticsearch and OpenSearch are supported.</p>
|
||||
<td class="cellrowborder" valign="top" width="57.17%" headers="mcps1.3.3.8.2.5.1.4 "><p id="css_03_0019__p194276622512">Cluster type. The default value is <strong id="css_03_0019__b53898421169">Elasticsearch</strong>. Currently, the value can only be <strong id="css_03_0019__b9606194511169">Elasticsearch</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -498,7 +498,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="css_03_0019__table2614813135615"></a><a name="table2614813135615"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table2614813135615" frame="border" border="1" rules="all"><caption><b>Table 12 </b><strong id="css_03_0019__b1177258769">cluster</strong> field description</caption><thead align="left"><tr id="css_03_0019__row1611419143569"><th align="left" class="cellrowborder" valign="top" width="24.412441244124413%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0019__p10114141412569">Parameter</p>
|
||||
<div class="tablenoborder"><a name="css_03_0019__table2614813135615"></a><a name="table2614813135615"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0019__table2614813135615" frame="border" border="1" rules="all"><caption><b>Table 12 </b><strong id="css_03_0019__b1830360181">cluster</strong> field description</caption><thead align="left"><tr id="css_03_0019__row1611419143569"><th align="left" class="cellrowborder" valign="top" width="24.412441244124413%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0019__p10114141412569">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="28.782878287828783%" id="mcps1.3.4.4.2.4.1.2"><p id="css_03_0019__p111141014195619">Type</p>
|
||||
</th>
|
||||
|
||||
@ -60,12 +60,12 @@
|
||||
</tr>
|
||||
<tr id="css_03_0024__row1664961015213"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.1.1.3.1.1 "><p id="css_03_0024__p1764918106213">2022-07-28</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79%" headers="mcps1.3.1.1.3.1.2 "><ul id="css_03_0024__ul26129118570"><li id="css_03_0024__li5612151125716">Combined "Common Request Parameters" and "Common Response Parameters" into <a href="css_03_0137.html">Calling APIs</a>.</li><li id="css_03_0024__li142323512574">Added cluster version 7.10.2.</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="79%" headers="mcps1.3.1.1.3.1.2 "><ul id="css_03_0024__ul26129118570"><li id="css_03_0024__li5612151125716">Combined "Common Request Parameters" and "Common Response Parameters" into <a href="iam_01_0023.html">Calling APIs</a>.</li><li id="css_03_0024__li142323512574">Added cluster version 7.10.2.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="css_03_0024__row6818133117347"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.1.1.3.1.1 "><p id="css_03_0024__p6818531133419">2022-06-30</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79%" headers="mcps1.3.1.1.3.1.2 "><ul id="css_03_0024__ul436719111371"><li id="css_03_0024__li1936831123712">Optimized API calling methods:<ul id="css_03_0024__ul1736813112374"><li id="css_03_0024__li193681914376"><a href="css_03_0137.html">Calling APIs</a></li></ul>
|
||||
<td class="cellrowborder" valign="top" width="79%" headers="mcps1.3.1.1.3.1.2 "><ul id="css_03_0024__ul436719111371"><li id="css_03_0024__li1936831123712">Optimized API calling methods:<ul id="css_03_0024__ul1736813112374"><li id="css_03_0024__li193681914376"><a href="iam_01_0023.html">Calling APIs</a></li></ul>
|
||||
</li><li id="css_03_0024__li336815163710">Optimized common contents:<ul id="css_03_0024__ul93681112375"><li id="css_03_0024__li1736819133710"><a href="css_03_0056.html">Supported Cluster Versions</a></li><li id="css_03_0024__li1736811183710"><a href="css_03_0071.html">Obtaining a Project ID and Name</a></li></ul>
|
||||
</li><li id="css_03_0024__li1760713210414">Updated error code ID.</li></ul>
|
||||
</td>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<div class="section" id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_section101152312311"><h4 class="sectiontitle">Involved APIs</h4><p id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_p208391848152419">If you use a token for authentication, you must obtain the token and add <strong id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_b93839580536">X-Auth-Token</strong> to the request header of the API when making an API call.</p>
|
||||
<ul id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_ul18839104814240"><li id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_li48397486241">API for obtaining tokens from IAM</li><li id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_li1583954822419">API for creating CSS clusters</li></ul>
|
||||
</div>
|
||||
<div class="section" id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_section84735913247"><h4 class="sectiontitle">Procedure</h4><ol id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_ol17437102653012"><li id="css_03_0062__en-us_topic_0171174235_li1265543762911"><a name="css_03_0062__en-us_topic_0171174235_li1265543762911"></a><a name="en-us_topic_0171174235_li1265543762911"></a>Obtain the token. Send <strong id="css_03_0062__b245372905916">POST https://</strong><strong id="css_03_0062__b73441112826">IAM</strong><strong id="css_03_0062__b545314299599"><em id="css_03_0062__i1334010121129"> endpoint</em></strong><strong id="css_03_0062__b245442935917">/v3/auth/tokens</strong>.<p id="css_03_0062__p175004152139">Obtain the token by following instructions in <a href="css_03_0139.html">Authentication</a>.</p>
|
||||
<div class="section" id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_section84735913247"><h4 class="sectiontitle">Procedure</h4><ol id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_ol17437102653012"><li id="css_03_0062__en-us_topic_0171174235_li1265543762911"><a name="css_03_0062__en-us_topic_0171174235_li1265543762911"></a><a name="en-us_topic_0171174235_li1265543762911"></a>Obtain the token. Send <strong id="css_03_0062__b245372905916">POST https://</strong><strong id="css_03_0062__b73441112826">IAM</strong><strong id="css_03_0062__b545314299599"><em id="css_03_0062__i1334010121129"> endpoint</em></strong><strong id="css_03_0062__b245442935917">/v3/auth/tokens</strong>.<p id="css_03_0062__p175004152139">Obtain the token by following instructions in <a href="iam_02_0510.html">Authentication</a>.</p>
|
||||
<p id="css_03_0062__p67561824152">The value of <span class="parmname" id="css_03_0062__en-us_topic_0000001134543542_en-us_topic_0000001096804707_en-us_topic_0000001127381857_en-us_topic_0000001096804707_en-us_topic_0000001096752971_parmname33391418185012"><b>X-Subject-Token</b></span> in the response header is the user token.</p>
|
||||
</li><li id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_li207811546133015">Add <strong id="css_03_0062__b982017561818">Content-type</strong> and <strong id="css_03_0062__b41544017912">X-Auth-Token</strong> to the request header.<ul id="css_03_0062__ul20175151465914"><li id="css_03_0062__en-us_topic_0168405763_li972916419595"><strong id="css_03_0062__b11379203722218">Content-Type</strong>: specifies the request body type or format. Its default value is <span class="parmvalue" id="css_03_0062__parmvalue11380837142210"><b>application/json</b></span>.</li><li id="css_03_0062__en-us_topic_0168405763_li1642421012595"><strong id="css_03_0062__b3399819694">X-Auth-Token</strong>: Enter the user token obtained in <a href="#css_03_0062__en-us_topic_0171174235_li1265543762911">1</a>.</li></ul>
|
||||
</li><li id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_li17564135310303">Send a cluster creation request and specify the following parameters in the request body:<pre class="screen" id="css_03_0062__en-us_topic_0171174235_en-us_topic_0111418639_screen336756143714">POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters
|
||||
|
||||
@ -16,13 +16,13 @@
|
||||
<th align="left" class="cellrowborder" valign="top" width="36.92630736926308%" id="mcps1.3.6.3.5.2.2.6.1.2"><p id="css_03_0065__p10623336113913">API</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="18.788121187881213%" id="mcps1.3.6.3.5.2.2.6.1.3"><p id="css_03_0065__p126231636123915">Action</p>
|
||||
<p id="css_03_0065__p262383612390"> </p>
|
||||
<p id="css_03_0065__p262383612390"> </p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="11.348865113488651%" id="mcps1.3.6.3.5.2.2.6.1.4"><p id="css_03_0065__p18623153603910">IAM Project</p>
|
||||
<p id="css_03_0065__p06241336113920"> </p>
|
||||
<p id="css_03_0065__p06241336113920">(Project)</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="16.90830916908309%" id="mcps1.3.6.3.5.2.2.6.1.5"><p id="css_03_0065__p1962423611391">Enterprise Project</p>
|
||||
<p id="css_03_0065__p18624143613399"> </p>
|
||||
<p id="css_03_0065__p18624143613399">(Enterprise Project)</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.70872912708729%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0081__p4684162143813">No</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.538046195380463%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0081__p1368482133813">Array of <a href="#css_03_0081__table2440821133810">tag</a> objects</p>
|
||||
<td class="cellrowborder" valign="top" width="19.538046195380463%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0081__p1368482133813">Array of <a href="#css_03_0081__table2440821133810">tag</a> objects</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="52.85471452854714%" headers="mcps1.3.4.2.2.5.1.4 "><p id="css_03_0081__p26842219386">Tag list</p>
|
||||
</td>
|
||||
|
||||
@ -133,7 +133,7 @@
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p176792135557">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1368010136553">Task execution status.</p>
|
||||
<ul id="css_03_0134__ul1668011312553"><li id="css_03_0134__li368018131554"><strong id="css_03_0134__b57831239171014">150</strong>: Disabled</li><li id="css_03_0134__li156801133555"><strong id="css_03_0134__b3761643191114">200</strong>: Enabled</li><li id="css_03_0134__li868031325511"><strong id="css_03_0134__b898125910119">300</strong>: Sent</li></ul>
|
||||
<ul id="css_03_0134__ul1668011312553"><li id="css_03_0134__li368018131554"><strong id="css_03_0134__b57831239171014">150</strong>: The task is not executed.</li><li id="css_03_0134__li156801133555"><strong id="css_03_0134__b3761643191114">200</strong>: The task has been executed.</li><li id="css_03_0134__li868031325511"><strong id="css_03_0134__b898125910119">300</strong>: The task has been sent.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="css_03_0134__row1467581312553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p1568111133558">summary</p>
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
<a name="css_03_0137"></a><a name="css_03_0137"></a>
|
||||
|
||||
<h1 class="topictitle1">Calling APIs</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="css_03_0138.html">Making an API Request</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="css_03_0139.html">Authentication</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="css_03_0140.html">Returned Values</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
15
docs/css/api-ref/iam_01_0023.html
Normal file
15
docs/css/api-ref/iam_01_0023.html
Normal file
@ -0,0 +1,15 @@
|
||||
<a name="iam_01_0023"></a><a name="iam_01_0023"></a>
|
||||
|
||||
<h1 class="topictitle1">Calling APIs</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="iam_02_0008.html">Making an API Request</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="iam_02_0510.html">Authentication</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="iam_02_0511.html">Returned Values</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,12 @@
|
||||
<a name="css_03_0139"></a><a name="css_03_0139"></a>
|
||||
<a name="iam_02_0510"></a><a name="iam_02_0510"></a>
|
||||
|
||||
<h1 class="topictitle1">Authentication</h1>
|
||||
<div id="body8662426"><p id="css_03_0139__en-us_topic_0170917208_en-us_topic_0168405764_p26613555143846">CSS supports token authentication.</p>
|
||||
<div class="section" id="css_03_0139__en-us_topic_0170917208_section34951335121613"><h4 class="sectiontitle">Authentication Using Tokens</h4><div class="note" id="css_03_0139__en-us_topic_0170917208_note1449573531616"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_03_0139__en-us_topic_0170917208_p1849553514166">The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API.</p>
|
||||
<div id="body8662426"><p id="iam_02_0510__en-us_topic_0170917208_en-us_topic_0168405764_p26613555143846">CSS supports token authentication.</p>
|
||||
<div class="section" id="iam_02_0510__en-us_topic_0170917208_section34951335121613"><h4 class="sectiontitle">Authentication Using Tokens</h4><div class="note" id="iam_02_0510__en-us_topic_0170917208_note1449573531616"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="iam_02_0510__en-us_topic_0170917208_p1849553514166">The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API.</p>
|
||||
</div></div>
|
||||
<p id="css_03_0139__en-us_topic_0170917208_p11495135111617">A token specifies certain permissions in a computer system. Authentication using a token adds the token to a request as its header during API calling to obtain permissions to operate APIs through IAM.</p>
|
||||
<p id="css_03_0139__en-us_topic_0170917208_p4938113918117">The API for obtaining a token is <strong id="css_03_0139__b13479185920382">POST https://</strong><em id="css_03_0139__i1697042173911">{IAM endpoint}</em><strong id="css_03_0139__b924711573913">/v3/auth/tokens</strong>. For details about how to obtain IAM endpoints, see <a href="css_03_0053.html">Endpoints</a>.</p>
|
||||
<pre class="screen" id="css_03_0139__en-us_topic_0170917208_screen84049561000">{
|
||||
<p id="iam_02_0510__en-us_topic_0170917208_p11495135111617">A token specifies certain permissions in a computer system. Authentication using a token adds the token to a request as its header during API calling to obtain permissions to operate APIs through IAM.</p>
|
||||
<p id="iam_02_0510__en-us_topic_0170917208_p4938113918117">The API for obtaining a token is <strong id="iam_02_0510__b13479185920382">POST https://</strong><em id="iam_02_0510__i1697042173911">{IAM endpoint}</em><strong id="iam_02_0510__b924711573913">/v3/auth/tokens</strong>. For details about how to obtain IAM endpoints, see <a href="css_03_0053.html">Endpoints</a>.</p>
|
||||
<pre class="screen" id="iam_02_0510__en-us_topic_0170917208_screen84049561000">{
|
||||
"auth": {
|
||||
"identity": {
|
||||
"methods": [
|
||||
@ -29,15 +29,15 @@
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
<p id="css_03_0139__en-us_topic_0170917208_p175512042712">After a token is obtained, the <strong id="css_03_0139__en-us_topic_0170917208_b4962111369581">X-Auth-Token</strong> header field must be added to requests to specify the token when calling other APIs. For example, if the token is <strong id="css_03_0139__en-us_topic_0170917208_b9389950329581">ABCDEFJ....</strong>, <strong id="css_03_0139__en-us_topic_0170917208_b18594742059581">X-Auth-Token: ABCDEFJ....</strong> can be added to a request as follows:</p>
|
||||
<pre class="screen" id="css_03_0139__en-us_topic_0170917208_en-us_topic_0170917208_en-us_topic_0168405764_screen11189101154015">POST https://{endpoint}/v3/auth/projects
|
||||
<p id="iam_02_0510__en-us_topic_0170917208_p175512042712">After a token is obtained, the <strong id="iam_02_0510__en-us_topic_0170917208_b4962111369581">X-Auth-Token</strong> header field must be added to requests to specify the token when calling other APIs. For example, if the token is <strong id="iam_02_0510__en-us_topic_0170917208_b9389950329581">ABCDEFJ....</strong>, <strong id="iam_02_0510__en-us_topic_0170917208_b18594742059581">X-Auth-Token: ABCDEFJ....</strong> can be added to a request as follows:</p>
|
||||
<pre class="screen" id="iam_02_0510__en-us_topic_0170917208_en-us_topic_0170917208_en-us_topic_0168405764_screen11189101154015">POST https://{endpoint}/v3/auth/projects
|
||||
Content-Type: application/json
|
||||
<strong id="css_03_0139__en-us_topic_0170917208_en-us_topic_0170917208_en-us_topic_0168405764_b172853338430">X-Auth-Token: ABCDEFJ....</strong></pre>
|
||||
<strong id="iam_02_0510__en-us_topic_0170917208_en-us_topic_0170917208_en-us_topic_0168405764_b172853338430">X-Auth-Token: ABCDEFJ....</strong></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0137.html">Calling APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="iam_01_0023.html">Calling APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
<a name="css_03_0140"></a><a name="css_03_0140"></a>
|
||||
<a name="iam_02_0511"></a><a name="iam_02_0511"></a>
|
||||
|
||||
<h1 class="topictitle1">Returned Values</h1>
|
||||
<div id="body8662426"><div class="section" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_section968114282311"><h4 class="sectiontitle">Status Code</h4><p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p4624111624411">After sending a request, you will receive a response containing the status code, response header, and response body.</p>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p124381044137">A status code is a group of digits, ranging from 1xx to 5xx. It indicates the status of a request. For more information, see <a href="css_03_0075.html">Status Code</a>.</p>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p2861496519">If status code 201 is returned for the calling of the API for obtaining a user token, the request is successful.</p>
|
||||
<div id="body8662426"><div class="section" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_section968114282311"><h4 class="sectiontitle">Status Code</h4><p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p4624111624411">After sending a request, you will receive a response containing the status code, response header, and response body.</p>
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p124381044137">A status code is a group of digits, ranging from 1xx to 5xx. It indicates the status of a request. For more information, see <a href="css_03_0075.html">Status Code</a>.</p>
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p2861496519">If status code 201 is returned for the calling of the API for obtaining a user token, the request is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_section7804143005810"><h4 class="sectiontitle">Response Header</h4><p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p384320471837">A response header corresponds to a request header, for example, <span class="parmvalue" id="css_03_0140__en-us_topic_0170917209_parmvalue946210448619"><b>Content-Type</b></span>.</p>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p4430113619484"><a href="#css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511">Figure 1</a> shows the response header for the API of obtaining a user token, where <span class="parmname" id="css_03_0140__en-us_topic_0170917209_parmname109780549620"><b>x-subject-token</b></span> is the desired user token. Then, you can use the token to authenticate the calling of other APIs.</p>
|
||||
<div class="fignone" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"><a name="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"></a><a name="en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"></a><span class="figcap"><b>Figure 1 </b>Header of the response to the request for obtaining a user token</span><br><span><img id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_image48651610135113" src="en-us_image_0000001554710113.png"></span></div>
|
||||
<div class="section" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_section7804143005810"><h4 class="sectiontitle">Response Header</h4><p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p384320471837">A response header corresponds to a request header, for example, <span class="parmvalue" id="iam_02_0511__en-us_topic_0170917209_parmvalue946210448619"><b>Content-Type</b></span>.</p>
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p4430113619484"><a href="#iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511">Figure 1</a> shows the response header for the API of obtaining a user token, where <span class="parmname" id="iam_02_0511__en-us_topic_0170917209_parmname109780549620"><b>x-subject-token</b></span> is the desired user token. Then, you can use the token to authenticate the calling of other APIs.</p>
|
||||
<div class="fignone" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"><a name="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"></a><a name="en-us_topic_0170917209_en-us_topic_0168405765_fig4865141011511"></a><span class="figcap"><b>Figure 1 </b>Header of the response to the request for obtaining a user token</span><br><span><img id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_image48651610135113" src="en-us_image_0000001554710113.png"></span></div>
|
||||
</div>
|
||||
<div class="section" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_section034615592583"><h4 class="sectiontitle">Response Body</h4><p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p133921631940">A response body is generally returned in a structured format, corresponding to the <strong id="css_03_0140__en-us_topic_0170917209_b59654378715">Content-Type</strong> in the response header, and is used to transfer content other than the response header.</p>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p157041652367">The following shows part of the response body for the API of obtaining a user token.</p>
|
||||
<pre class="screen" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_screen65818201917">{
|
||||
<div class="section" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_section034615592583"><h4 class="sectiontitle">Response Body</h4><p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p133921631940">A response body is generally returned in a structured format, corresponding to the <strong id="iam_02_0511__en-us_topic_0170917209_b59654378715">Content-Type</strong> in the response header, and is used to transfer content other than the response header.</p>
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p157041652367">The following shows part of the response body for the API of obtaining a user token.</p>
|
||||
<pre class="screen" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_screen65818201917">{
|
||||
"token": {
|
||||
"expires_at": "2019-02-13T06:52:13.855000Z",
|
||||
"methods": [
|
||||
@ -23,17 +23,17 @@
|
||||
{
|
||||
"region_id": "xxx",
|
||||
......</pre>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p127537375412">If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:</p>
|
||||
<pre class="screen" id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_screen102091730125513">{
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p127537375412">If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:</p>
|
||||
<pre class="screen" id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_screen102091730125513">{
|
||||
"error_msg": "The format of message is error",
|
||||
"error_code": "AS.0001"
|
||||
}</pre>
|
||||
<p id="css_03_0140__en-us_topic_0170917209_en-us_topic_0168405765_p1589911464018">In the preceding information, <strong id="css_03_0140__en-us_topic_0170917209_b54237551882">error_code</strong> is an error code, and <strong id="css_03_0140__en-us_topic_0170917209_b17424195519816">error_msg</strong> describes the error.</p>
|
||||
<p id="iam_02_0511__en-us_topic_0170917209_en-us_topic_0168405765_p1589911464018">In the preceding information, <strong id="iam_02_0511__en-us_topic_0170917209_b54237551882">error_code</strong> is an error code, and <strong id="iam_02_0511__en-us_topic_0170917209_b17424195519816">error_msg</strong> describes the error.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0137.html">Calling APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="iam_01_0023.html">Calling APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2953,7 +2953,7 @@
|
||||
"node_id":"dcs-faq-022025.xml",
|
||||
"product_code":"dcs",
|
||||
"code":"144",
|
||||
"des":"Single-node, and Proxy Cluster:Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchove",
|
||||
"des":"Single-node and Proxy Cluster:Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchover",
|
||||
"doc_type":"usermanual",
|
||||
"kw":"Should I Use a Domain Name or an IP Address to Connect to a DCS Redis Instance?,Client and Network C",
|
||||
"search_title":"",
|
||||
@ -3730,7 +3730,7 @@
|
||||
"node_id":"dcs-faq-0730047.xml",
|
||||
"product_code":"dcs",
|
||||
"code":"181",
|
||||
"des":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Supported instance type changes:F",
|
||||
"des":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Impact of scaling:Single-node and",
|
||||
"doc_type":"usermanual",
|
||||
"kw":"Are Services Interrupted During Specification Modification?,Instance Scaling and Upgrade,User Guide",
|
||||
"search_title":"",
|
||||
|
||||
@ -1287,7 +1287,7 @@
|
||||
"code":"143"
|
||||
},
|
||||
{
|
||||
"desc":"Single-node, and Proxy Cluster:Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchove",
|
||||
"desc":"Single-node and Proxy Cluster:Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchover",
|
||||
"product_code":"dcs",
|
||||
"title":"Should I Use a Domain Name or an IP Address to Connect to a DCS Redis Instance?",
|
||||
"uri":"dcs-faq-022025.html",
|
||||
@ -1620,7 +1620,7 @@
|
||||
"code":"180"
|
||||
},
|
||||
{
|
||||
"desc":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Supported instance type changes:F",
|
||||
"desc":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Impact of scaling:Single-node and",
|
||||
"product_code":"dcs",
|
||||
"title":"Are Services Interrupted During Specification Modification?",
|
||||
"uri":"dcs-faq-0730047.html",
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<a name="dcs-faq-022025"></a><a name="dcs-faq-022025"></a>
|
||||
|
||||
<h1 class="topictitle1">Should I Use a Domain Name or an IP Address to Connect to a DCS Redis Instance?</h1>
|
||||
<div id="body8662426"><ul id="dcs-faq-022025__en-us_topic_0000001384917470_ul89122251302"><li id="dcs-faq-022025__en-us_topic_0000001384917470_li1791232514013">Single-node, and Proxy Cluster:<p id="dcs-faq-022025__en-us_topic_0000001384917470_p6197182914019"><a name="dcs-faq-022025__en-us_topic_0000001384917470_li1791232514013"></a><a name="en-us_topic_0000001384917470_li1791232514013"></a>Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchover. You can use either address to connect to the instance.</p>
|
||||
</li><li id="dcs-faq-022025__en-us_topic_0000001384917470_li1591315257017">Master/Standby:<p id="dcs-faq-022025__en-us_topic_0000001384917470_p146226296134"><a name="dcs-faq-022025__en-us_topic_0000001384917470_li1591315257017"></a><a name="en-us_topic_0000001384917470_li1591315257017"></a>Each instance has one IP address and two domain name addresses. One of the domain name addresses is used only for processing read requests. The addresses remain unchanged after master/standby switchover. You can use any address to connect to the instance.</p>
|
||||
<div id="body8662426"><ul id="dcs-faq-022025__en-us_topic_0000001384917470_ul89122251302"><li id="dcs-faq-022025__en-us_topic_0000001384917470_li1791232514013">Single-node and Proxy Cluster:<p id="dcs-faq-022025__en-us_topic_0000001384917470_p6197182914019"><a name="dcs-faq-022025__en-us_topic_0000001384917470_li1791232514013"></a><a name="en-us_topic_0000001384917470_li1791232514013"></a>Each instance has only one IP address and one domain name address. The addresses remain unchanged before and after master/standby switchover. You can use either address to connect to the instance.</p>
|
||||
</li><li id="dcs-faq-022025__en-us_topic_0000001384917470_li1591315257017">Master/standby:<p id="dcs-faq-022025__en-us_topic_0000001384917470_p146226296134"><a name="dcs-faq-022025__en-us_topic_0000001384917470_li1591315257017"></a><a name="en-us_topic_0000001384917470_li1591315257017"></a>Each instance has one IP address and two domain name addresses. One of the domain name addresses is used only for processing read requests. The addresses remain unchanged after master/standby switchover. You can use any address to connect to the instance.</p>
|
||||
<p id="dcs-faq-022025__en-us_topic_0000001384917470_p962218293137">When you use a domain name address, distinguish between read and write requests. If you use <strong id="dcs-faq-022025__en-us_topic_0000001384917470_b10918133171317">Connection Address</strong> or <strong id="dcs-faq-022025__en-us_topic_0000001384917470_b13759750111320">IP Address</strong>, functions are not affected. If you use <strong id="dcs-faq-022025__en-us_topic_0000001384917470_b32901621131411">Read-only Address</strong>, only read requests are processed.</p>
|
||||
</li><li id="dcs-faq-022025__en-us_topic_0000001384917470_li19131252011">Redis Cluster:<p id="dcs-faq-022025__en-us_topic_0000001384917470_p36421369014"><a name="dcs-faq-022025__en-us_topic_0000001384917470_li19131252011"></a><a name="en-us_topic_0000001384917470_li19131252011"></a>A Redis Cluster instance has multiple pairs of master and replica IP addresses and one domain name address. You can use any address to connect to the instance.</p>
|
||||
<p id="dcs-faq-022025__en-us_topic_0000001384917470_p1351193812014">The connected node sends requests to the correct node. All nodes in the cluster can receive requests. <strong id="dcs-faq-022025__en-us_topic_0000001384917470_b11191691310">Configure multiple or all IP addresses</strong> to prevent single points of failure.</p>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77.11%" headers="mcps1.3.2.1.3.1.2 "><p id="dcs-faq-0521005__p834719309371"><strong id="dcs-faq-0521005__b834703033715">Split big keys.</strong></p>
|
||||
<p id="dcs-faq-0521005__p9347153013373">Scenarios:</p>
|
||||
<ul id="dcs-faq-0521005__ul12347130153716"><li id="dcs-faq-0521005__li73471030183712"><strong id="dcs-faq-0521005__b1325751825017">If the big key is a String</strong>, you can split it into several key-value pairs and use <strong id="dcs-faq-0521005__b1925771813509">MGET</strong> or a pipeline consisting of multiple <strong id="dcs-faq-0521005__b17257121815015">GET</strong> operations to obtain the values. In this way, the pressure of a single operation can be split. For a cluster instance, key-value pairs can be automatically distributed to multiple shards, reducing the impact on a single shard.</li><li id="dcs-faq-0521005__li43471330143717"><strong id="dcs-faq-0521005__b7713182391514">If the big key contains multiple elements, and the elements must be operated together</strong>, the big key cannot be split. You can remove the big key from Redis and store it on other storage media instead. This scenario should be avoided by design.</li><li id="dcs-faq-0521005__li234703023715"><strong id="dcs-faq-0521005__b1534743016372">If the big key contains multiple elements, and only some elements need to be operated each time</strong>, separate the elements. Take a Hash key as an example. Each time you run the <strong id="dcs-faq-0521005__b52932189953910">HGET</strong> or <strong id="dcs-faq-0521005__b110362695053910">HSET</strong> command, the result of the hash value modulo <em id="dcs-faq-0521005__i196395322153910">N</em> (customized on the client) determines which key the field falls on. This algorithm is similar to that used for calculating slots in Redis Cluster.</li></ul>
|
||||
<ul id="dcs-faq-0521005__ul12347130153716"><li id="dcs-faq-0521005__li73471030183712"><strong id="dcs-faq-0521005__b57304051153910">If the big key is a String</strong>, you can split it into several key-value pairs and use <strong id="dcs-faq-0521005__b162589608453910">MGET</strong> or a pipeline consisting of multiple <strong id="dcs-faq-0521005__b164200870853910">GET</strong> operations to obtain the values. In this way, the pressure of a single operation can be split. For a cluster instance, the operation pressure can be evenly distributed to multiple shards, reducing the impact on a single shard.</li><li id="dcs-faq-0521005__li43471330143717"><strong id="dcs-faq-0521005__b7713182391514">If the big key contains multiple elements, and the elements must be operated together</strong>, the big key cannot be split. You can remove the big key from Redis and store it on other storage media instead. This scenario should be avoided by design.</li><li id="dcs-faq-0521005__li234703023715"><strong id="dcs-faq-0521005__b1534743016372">If the big key contains multiple elements, and only some elements need to be operated each time</strong>, separate the elements. Take a Hash key as an example. Each time you run the <strong id="dcs-faq-0521005__b52932189953910">HGET</strong> or <strong id="dcs-faq-0521005__b110362695053910">HSET</strong> command, the result of the hash value modulo <em id="dcs-faq-0521005__i196395322153910">N</em> (customized on the client) determines which key the field falls on. This algorithm is similar to that used for calculating slots in Redis Cluster.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dcs-faq-0521005__row1517316326368"><td class="cellrowborder" valign="top" headers="mcps1.3.2.1.3.1.1 "><p id="dcs-faq-0521005__p6347163013717"><strong id="dcs-faq-0521005__b5347130123717">Store big keys on other storage media.</strong></p>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
<a name="dcs-faq-0730050"></a><a name="dcs-faq-0730050"></a>
|
||||
|
||||
<h1 class="topictitle1">What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?</h1>
|
||||
<div id="body1596093777162"><p id="dcs-faq-0730050__en-us_topic_0152099101_p33070983410">If you have any doubt on the monitoring data of a DCS Redis instance, you can access the instance through redis-cli and run the <strong id="dcs-faq-0730050__b74728337820">INFO ALL</strong> command to view the metrics. For details about the output of the <strong id="dcs-faq-0730050__b1671151152911">INFO ALL</strong> command, see <a href="https://redis.io/docs/latest/commands/info/" target="_blank" rel="noopener noreferrer">https://redis.io/docs/latest/commands/info/</a>.</p>
|
||||
<div id="body1596093777162"><p id="dcs-faq-0730050__en-us_topic_0152099101_p33070983410">If you have any doubt on the monitoring data of a DCS Redis instance, you can access the instance through redis-cli and run the <strong id="dcs-faq-0730050__b74728337820">INFO ALL</strong> command to view the metrics. For details about the output of the <strong id="dcs-faq-0730050__b19312834689">INFO ALL</strong> command, see <a href="http://www.redis.io/commands/info" target="_blank" rel="noopener noreferrer">http://www.redis.io/commands/info</a>.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
<a name="dcs-faq-210721002"></a><a name="dcs-faq-210721002"></a>
|
||||
|
||||
<h1 class="topictitle1">Why Does Migration Task Creation Fail?</h1>
|
||||
<div id="body8662426"><p id="dcs-faq-210721002__en-us_topic_0000001198023687_p7789185510414">Possible causes:</p>
|
||||
<ol id="dcs-faq-210721002__en-us_topic_0000001198023687_ol28091255164112"><li id="dcs-faq-210721002__en-us_topic_0000001198023687_li780995518416">The underlying resources are insufficient.</li><li id="dcs-faq-210721002__en-us_topic_0000001198023687_li980945524114">The specifications of the ECS used for the migration are insufficient.</li><li id="dcs-faq-210721002__en-us_topic_0000001198023687_li1580985574119">The memory of the target Redis created before the migration is less than that of the source Redis.</li></ol>
|
||||
<p id="dcs-faq-210721002__en-us_topic_0000001198023687_p4794458134810">In such cases, contact technical support.</p>
|
||||
<div id="body8662426"><p id="dcs-faq-210721002__en-us_topic_0000001198023687_en-us_topic_0000001133077796_p7789185510414">Possible causes:</p>
|
||||
<ol id="dcs-faq-210721002__en-us_topic_0000001198023687_en-us_topic_0000001133077796_ol28091255164112"><li id="dcs-faq-210721002__en-us_topic_0000001198023687_en-us_topic_0000001133077796_li780995518416">The underlying resources are insufficient.</li><li id="dcs-faq-210721002__en-us_topic_0000001198023687_en-us_topic_0000001133077796_li980945524114">The specifications of the ECS used for the migration are insufficient.</li><li id="dcs-faq-210721002__en-us_topic_0000001198023687_en-us_topic_0000001133077796_li1580985574119">The memory of the target Redis created before the migration is less than that of the source Redis.</li></ol>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
<div class="note" id="dcs-ug-0326008__en-us_topic_0148195251_note3899303327"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dcs-ug-0326008__en-us_topic_0148195251_ul1889230183212"><li id="dcs-ug-0326008__en-us_topic_0148195251_li17323124651811">When creating a Proxy Cluster instance, you can only select version 3.0.</li><li id="dcs-ug-0326008__en-us_topic_0148195251_li11892308323">When creating a Redis Cluster instance, you can select versions 4.0, 5.0, or 6.0.</li><li id="dcs-ug-0326008__li12179105512912">The Redis version cannot be changed once the instance is created. To use a later Redis version, create another DCS Redis instance and then migrate data from the old instance to the new one.</li><li id="dcs-ug-0326008__li19179655112914">The method of connecting a client to a Redis Cluster instance is different from that of connecting a client to other types of instances. For details, see <a href="dcs-ug-0326009.html">Accessing a DCS Redis Instance Through redis-cli</a>.</li></ul>
|
||||
</div></div>
|
||||
</li><li id="dcs-ug-0326008__en-us_topic_0148195251_li184161849123219">Set <strong id="dcs-ug-0326008__en-us_topic_0148195251_b12663195163">Instance Type</strong> to <strong id="dcs-ug-0326008__en-us_topic_0148195251_b726710192167">Single-node</strong>, <strong id="dcs-ug-0326008__en-us_topic_0148195251_b20267171914166">Master/Standby</strong>, <strong id="dcs-ug-0326008__en-us_topic_0148195251_b9268141971615">Proxy Cluster</strong> or <strong id="dcs-ug-0326008__en-us_topic_0148195251_b1826851971611">Redis Cluster</strong>.</li><li id="dcs-ug-0326008__li11930167205816">Set <strong id="dcs-ug-0326008__b17516539356">CPU Architecture</strong> to <strong id="dcs-ug-0326008__b97655333517">x86</strong>.</li><li id="dcs-ug-0326008__li6882755152814">Set <strong id="dcs-ug-0326008__b1790052615426">Replicas</strong>. The default value is <strong id="dcs-ug-0326008__b119008269420">2</strong> (including the master).<p id="dcs-ug-0326008__p11193115620292">This parameter is displayed only when you select Redis 4.0/5.0/6.0 and the instance type is master/standby or Redis Cluster.</p>
|
||||
</li><li id="dcs-ug-0326008__li18175856432">If <strong id="dcs-ug-0326008__b103161975399">4.0</strong> or later, and <strong id="dcs-ug-0326008__b20315881389">Proxy Cluster</strong> or <strong id="dcs-ug-0326008__b143152816380">Redis Cluster</strong> are selected, the <strong id="dcs-ug-0326008__b10315983383">Sharding</strong> parameter is displayed. Options:<ul id="dcs-ug-0326008__ul1979052435613"><li id="dcs-ug-0326008__li167901724125620"><strong id="dcs-ug-0326008__b6633161810427">Use default</strong>: Use the default sharding specifications.</li><li id="dcs-ug-0326008__li147903246568"><strong id="dcs-ug-0326008__b184081134519">Customize</strong>: Customize the size of each shard and then select corresponding instance specifications.</li></ul>
|
||||
</li><li id="dcs-ug-0326008__en-us_topic_0148195251_li1995203017103">Select an AZ.<p id="dcs-ug-0326008__p735942011578"><a name="dcs-ug-0326008__en-us_topic_0148195251_li1995203017103"></a><a name="en-us_topic_0148195251_li1995203017103"></a>If the instance type is master/standby, Proxy Cluster, or Redis Cluster, <strong id="dcs-ug-0326008__b49451049204218">Standby AZ</strong> is displayed. Select a standby AZ for the standby node of the instance.</p>
|
||||
<div class="note" id="dcs-ug-0326008__note1886471755713"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dcs-ug-0326008__ul8996154920570"><li id="dcs-ug-0326008__li69961749115720">To accelerate access, deploy your instance and your application in the same AZ.</li><li id="dcs-ug-0326008__li1926975255713">There are multiple AZs in each region. If resources are insufficient in an AZ, the AZ will be unavailable. In this case, select another AZ.</li></ul>
|
||||
</div></div>
|
||||
@ -32,7 +31,7 @@
|
||||
<div class="note" id="dcs-ug-0326008__note18162172918129"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dcs-ug-0326008__ul14162192910120"><li id="dcs-ug-0326008__li11162629121217">On the instance creation page, the default parameter templates are used by default.</li><li id="dcs-ug-0326008__li181621929131217">If you use a custom template, the selected cache engine version and instance type must match those of the template. For details about using custom templates, see <a href="dcs-ug-210622003.html">Creating a Custom Parameter Template</a>.</li></ul>
|
||||
</div></div>
|
||||
</p></li><li id="dcs-ug-0326008__li0286162163410"><span>Choose whether to enable <strong id="dcs-ug-0326008__b926321130104046">Auto Backup</strong>.</span><p><p id="dcs-ug-0326008__p155051937173912">This parameter is displayed only when the instance type is master/standby or cluster. For more information on how to configure a backup policy, see <a href="en-us_topic_0079835992.html">Overview</a>.</p>
|
||||
</p></li><li id="dcs-ug-0326008__li129684814373"><span>Specify the number of instances to create.</span></li><li id="dcs-ug-0326008__li1140718109251"><span>Enter an instance name.</span><p><p id="dcs-ug-0326008__p1292391182512">The value of <strong id="dcs-ug-0326008__b468619155415">Name</strong> contains at least 4 characters. When you create multiple instances at a time, the instances are named in the format of <em id="dcs-ug-0326008__i2105228149">custom name</em>-<em id="dcs-ug-0326008__i2066714919">n</em>, where <em id="dcs-ug-0326008__i1731540019">n</em> starts from 000 and is incremented by 1. For example, if you create two instances and set <strong id="dcs-ug-0326008__b1333541567">name</strong> to <strong id="dcs-ug-0326008__b629141974">dcs_demo</strong>, the two instances are respectively named as <strong id="dcs-ug-0326008__b883211004">dcs_demo-000</strong> and <strong id="dcs-ug-0326008__b392796246">dcs_demo-001</strong>.</p>
|
||||
</p></li><li id="dcs-ug-0326008__li129684814373"><span>Specify the number of instances to create.</span></li><li id="dcs-ug-0326008__li1140718109251"><span>Enter an instance name.</span><p><p id="dcs-ug-0326008__p1292391182512">The value of <strong id="dcs-ug-0326008__b468619155415">Name</strong> contains at least 4 characters. When you create multiple instances at a time, the instances are named in the format of <em id="dcs-ug-0326008__i513762292">custom name</em>-<em id="dcs-ug-0326008__i2020788548">n</em>, where <em id="dcs-ug-0326008__i760637260">n</em> starts from 000 and is incremented by 1. For example, if you create two instances and set <strong id="dcs-ug-0326008__b281007785">name</strong> to <strong id="dcs-ug-0326008__b1171302407">dcs_demo</strong>, the two instances are respectively named as <strong id="dcs-ug-0326008__b181063473">dcs_demo-000</strong> and <strong id="dcs-ug-0326008__b547719720">dcs_demo-001</strong>.</p>
|
||||
</p></li><li id="dcs-ug-0326008__en-us_topic_0148195251_li17647455231"><span>Click <strong id="dcs-ug-0326008__b10377134733720">More Settings</strong> to configure more parameters.</span><p><ol type="a" id="dcs-ug-0326008__en-us_topic_0148195251_ol179711225192412"><li id="dcs-ug-0326008__en-us_topic_0148195251_li62791011023">Enter a description of the instance.</li><li id="dcs-ug-0326008__en-us_topic_0148195251_li818212588436">Rename critical commands.<p id="dcs-ug-0326008__en-us_topic_0148195251_p12671823144417"><a name="dcs-ug-0326008__en-us_topic_0148195251_li818212588436"></a><a name="en-us_topic_0148195251_li818212588436"></a><strong id="dcs-ug-0326008__b186511426557">Command Renaming</strong> is displayed for Redis 4.0 and later. Currently, you can only rename the <strong id="dcs-ug-0326008__b161858514525">COMMAND</strong>, <strong id="dcs-ug-0326008__b61857514526">KEYS</strong>, <strong id="dcs-ug-0326008__b1118517517526">FLUSHDB</strong>, <strong id="dcs-ug-0326008__b1818525145215">FLUSHALL</strong>, <strong id="dcs-ug-0326008__b10185851155219">HGETALL</strong>, <strong id="dcs-ug-0326008__b118525155210">SCAN</strong>, <strong id="dcs-ug-0326008__b1718516515521">HSCAN</strong>, <strong id="dcs-ug-0326008__b1418675112524">SSCAN</strong>, and <strong id="dcs-ug-0326008__b31861351155215">ZSCAN</strong> commands.</p>
|
||||
</li><li id="dcs-ug-0326008__en-us_topic_0148195251_li14520142518376">Specify the maintenance window.<p id="dcs-ug-0326008__en-us_topic_0148195251_p9703134155218"><a name="dcs-ug-0326008__en-us_topic_0148195251_li14520142518376"></a><a name="en-us_topic_0148195251_li14520142518376"></a>Choose a window for DCS O&M personnel to perform maintenance on your instance. You will be contacted before any maintenance activities are performed.</p>
|
||||
</li></ol>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,12 +8,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dcs-ug-0326026__row1622275718574"><td class="cellrowborder" valign="top" width="18.029999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="dcs-ug-0326026__p1922211579572">2024-05-10</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.97%" headers="mcps1.3.1.1.3.1.2 "><p id="dcs-ug-0326026__p9222125710574">Updated <a href="dcs-ug-0326008.html">Creating a DCS Redis Instance</a> and <a href="dcs-ug-0326011.html">Modifying DCS Instance Specifications</a>. Shard size can be customized for Redis Cluster instances.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dcs-ug-0326026__row12711543185917"><td class="cellrowborder" valign="top" width="18.029999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="dcs-ug-0326026__p1271211435591">2024-02-17</p>
|
||||
<tbody><tr id="dcs-ug-0326026__row12711543185917"><td class="cellrowborder" valign="top" width="18.029999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="dcs-ug-0326026__p1271211435591">2024-02-17</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.97%" headers="mcps1.3.1.1.3.1.2 "><p id="dcs-ug-0326026__p2712743125920">Updated <a href="dcs-ug-0312019.html">Exporting DCS Instance List</a> and <a href="dcs-faq-0730008.html">How Do I Access a DCS Redis Instance Through Redis Desktop Manager?</a>.</p>
|
||||
</td>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<tr id="dcs-ug-190812001__en-us_topic_0185207715_row19704162112571"><td class="cellrowborder" valign="top" width="21.04%" headers="mcps1.3.4.2.6.2.1.2.4.1.1 "><p id="dcs-ug-190812001__en-us_topic_0185207715_p67041121155711">IP Address/Range</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.4.2.6.2.1.2.4.1.2 "><p id="dcs-ug-190812001__en-us_topic_0185207715_p270482117577">A maximum of 20 IP addresses or IP address ranges can be added to an instance. Separate multiple IP addresses or IP address ranges with commas.</p>
|
||||
<p id="dcs-ug-190812001__en-us_topic_0185207715_p5215551897">Unsupported IP address and IP address range: 0.0.0.0 and 0.0.0.0/0.</p>
|
||||
<p id="dcs-ug-190812001__en-us_topic_0185207715_p5215551897">Unsupported IP address and IP address range: 0.0.0.0 and 0.0.0/0.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.33%" headers="mcps1.3.4.2.6.2.1.2.4.1.3 "><p id="dcs-ug-190812001__en-us_topic_0185207715_p142481837165716">10.10.10.1,10.10.10.10</p>
|
||||
</td>
|
||||
|
||||
@ -8,8 +8,9 @@
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dcs-ug-210330002__en-us_topic_0000001094742130_section5933921103310"><h4 class="sectiontitle">Expired DCS Key Scan</h4><p id="dcs-ug-210330002__en-us_topic_0000001094742130_p6465202618465">DCS integrates these strategies and allows you to periodically release the memory used by expired keys. You can configure scheduled scans on the master nodes of your instances. The entire keyspace is traversed during the scans, triggering Redis to check whether the keys have expired and to remove expired keys if any.</p>
|
||||
<div class="note" id="dcs-ug-210330002__en-us_topic_0000001094742130_note14451165891015"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dcs-ug-210330002__en-us_topic_0000001094742130_ul1953172919505"><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li653118290501">This function is supported only by DCS Redis 4.0, 5.0, and 6.0 instances.</li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li453122916505">Perform expired key scans during off-peak hours to avoid 100% CPU usage.</li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li10531202925019">Released expired keys cannot be queried.</li></ul>
|
||||
<div class="section" id="dcs-ug-210330002__en-us_topic_0000001094742130_section5933921103310"><h4 class="sectiontitle">Expired Key Scan</h4><p id="dcs-ug-210330002__en-us_topic_0000001094742130_p6465202618465">DCS integrates these strategies and allows you to periodically release the memory used by expired keys. You can configure scheduled scans on the master nodes of your instances. The entire keyspace is traversed during the scans, triggering Redis to check whether the keys have expired and to remove expired keys if any.</p>
|
||||
<div class="note" id="dcs-ug-210330002__en-us_topic_0000001094742130_note14451165891015"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dcs-ug-210330002__en-us_topic_0000001094742130_p1428175741420">This function is supported only by DCS Redis 4.0, 5.0, and 6.0 instances.</p>
|
||||
<p id="dcs-ug-210330002__en-us_topic_0000001094742130_p10766122843720">Perform expired key scans during off-peak hours to avoid 100% CPU usage.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="dcs-ug-210330002__en-us_topic_0000001094742130_section147232531215"><h4 class="sectiontitle">Procedure</h4><ol id="dcs-ug-210330002__en-us_topic_0000001094742130_ol53031521800"><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li5291141116175"><span>Log in to the DCS console.</span></li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li1830432114016"><span>Click <span><img id="dcs-ug-210330002__en-us_topic_0000001094742130_en-us_topic_0148195235_i0d8b8411c49244f694e4f9ebeef4b3c5" src="en-us_image_0000001681179997.png"></span> in the upper left corner of the management console and select the region where your instance is located.</span></li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li930410211201"><span>In the navigation pane, choose <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b231949231">Cache Manager</strong>.</span></li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li1930413211204"><span>Click the name of a DCS Redis instance.</span></li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li130412211905"><span>Choose <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b17785216115712">Analysis and Diagnosis</strong> > <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b928812011571">Cache Analysis</strong>.</span></li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li19938183355514"><span>On the <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b1762015535322">Expired Key Scan</strong> tab page, scan for expired keys and release them.</span><p><ul id="dcs-ug-210330002__en-us_topic_0000001094742130_ul19534258134713"><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li353412587470">Click <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b99764542331">Start Scanning</strong> to scan for expired keys immediately.</li><li id="dcs-ug-210330002__en-us_topic_0000001094742130_li1953495814719">Enable <strong id="dcs-ug-210330002__en-us_topic_0000001094742130_b2428152317344">Scheduled</strong> to schedule automatic scans at a specified time. For details about how to configure automatic scans, see <a href="#dcs-ug-210330002__en-us_topic_0000001094742130_section169111727182515">Scheduling Automatic Scans</a>.</li></ul>
|
||||
|
||||
@ -563,7 +563,51 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dds_api_0037__row29747469524"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p189741946135212">Changing the password of a database user</p>
|
||||
<tbody><tr id="dds_api_0037__row1397420460527"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p69748463524">Creating a database user</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p897474611526">POST /v3/{project_id}/instances/{instance_id}/db-user</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p151192919525">dds:instance:createDatabaseUser</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p1974114619523">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p597474614528">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row149742466528"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p149741046185210">Creating a database role</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p0974164617525">POST /v3/{project_id}/instances/{instance_id}/db-role</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p885683475216">dds:instance:createDatabaseRole</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p9974046115219">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p1297494635214">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row18500134801013"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p285817151120">Deleting a database user</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p48581516116">DELETE /v3/{project_id}/instances/{instance_id}/db-user</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p208581013118">dds:instance:deleteDatabaseUser</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p1485816121113">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p1785861131116">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row1769710522106"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p58584181117">Deleting a database role</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p185820101111">DELETE /v3/{project_id}/instances/{instance_id}/db-role</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p68583111111">dds:instance:deleteDatabaseRole</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p6858514111">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p1085813131111">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row29747469524"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p189741946135212">Changing the password of a database user</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p51435126552">PUT</p>
|
||||
<p id="dds_api_0037__p4974446205211">/v3/{project_id}/instances/{instance_id}/reset-password</p>
|
||||
@ -575,6 +619,41 @@
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p159741646195210">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row5553172619336"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p1155322611338">Querying details about database users</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p1855352603318">GET /v3/{project_id}/instances/{instance_id}/db-user/detail? offset ={offset}&limit={limit}&user_name={user_name }&db_name={db_name}</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p655311267335">dds:instance:get</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p1669312558348">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p10870155973413">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row16383103015339"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p193842030143315">Querying the database role list</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p143843308333">GET /v3/{project_id}/instances/{instance_id}/db-roles?role_name={role_name}&db_name={db_name}&offset={offset}&limit={limit}</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p2050845243418">dds:instance:get</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p355665617346">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p4956190173520">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dds_api_0037__row6851164110412"><td class="cellrowborder" valign="top" width="13.99%" headers="mcps1.3.6.2.6.1.1 "><p id="dds_api_0037__p14274521144">Querying and setting the cluster balancer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.89%" headers="mcps1.3.6.2.6.1.2 "><p id="dds_api_0037__p17273521549">GET /v3/{project_id}/instances/{instance_id}/balancer</p>
|
||||
<p id="dds_api_0037__p12275521140">PUT /v3/{project_id}/instances/{instance_id}/balancer/{action}</p>
|
||||
<p id="dds_api_0037__p62735215413">PUT /v3/{project_id}/instances/{instance_id}/balancer/active-window</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.6.2.6.1.3 "><p id="dds_api_0037__p122714520419">dds:instance:balancer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="12.73%" headers="mcps1.3.6.2.6.1.4 "><p id="dds_api_0037__p9276521412">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.6.1.5 "><p id="dds_api_0037__p20273522048">x</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,13 +8,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dli_01_00006__row15952172464713"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p738312864717">2024-07-11</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.33%" headers="mcps1.3.1.1.3.1.2 "><p id="dli_01_00006__p15383828204713">Modified the following section:</p>
|
||||
<ul id="dli_01_00006__ul13383162834712"><li id="dli_01_00006__li18383142874716">Added the description on how to import OBS data to DLI to <a href="dli_01_0420.html">Importing Data to a DLI Table</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dli_01_00006__row1340918386143"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p10168134117141">2024-04-28</p>
|
||||
<tbody><tr id="dli_01_00006__row1340918386143"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p10168134117141">2024-04-28</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.33%" headers="mcps1.3.1.1.3.1.2 "><p id="dli_01_00006__p181681241101413">Added the following section:</p>
|
||||
<ul id="dli_01_00006__ul416812413143"><li id="dli_01_00006__li11168134151414"><a href="dli_01_0508.html">Elastic Resource Pool</a></li></ul>
|
||||
@ -31,13 +25,13 @@
|
||||
<tr id="dli_01_00006__row6758122510313"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p462652810312">2023-11-01</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.33%" headers="mcps1.3.1.1.3.1.2 "><p id="dli_01_00006__p462614287310">Modified the following content:</p>
|
||||
<ul id="dli_01_00006__ul13626728339"><li id="dli_01_00006__li186261028531">Modified the link for obtaining service support during quota application in <a href="dli_07_0009.html">Quotas</a>.</li><li id="dli_01_00006__li26261928732">Added the link to <em id="dli_01_00006__i1661311132615">Data Lake Insight API Reference</em> to <a href="dli_01_0378.html">What Is Data Lake Insight?</a>.</li><li id="dli_01_00006__li14959163416518">Modified the method of obtaining host information in <a href="dli_01_0013.html">Modifying Host Information in an Elastic Resource Pool</a>.</li></ul>
|
||||
<ul id="dli_01_00006__ul13626728339"><li id="dli_01_00006__li186261028531">Modified the link for obtaining service support during quota application in <a href="dli_07_0009.html">Quotas</a>.</li><li id="dli_01_00006__li26261928732">Added the link to <em id="dli_01_00006__i1661311132615">Data Lake Insight API Reference</em> to <a href="dli_01_0378.html">What Is Data Lake Insight?</a>.</li><li id="dli_01_00006__li14959163416518">Modified the method of obtaining host information in <a href="dli_01_0013.html">Modifying Host Information</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dli_01_00006__row1569106191216"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p36566919122">2023-10-08</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.33%" headers="mcps1.3.1.1.3.1.2 "><p id="dli_01_00006__p465618951211">Modified the following content:</p>
|
||||
<ul id="dli_01_00006__ul82951936181419"><li id="dli_01_00006__li129511362149">Modified the example format in <a href="dli_01_0384.html#dli_01_0384__table17326112613420">Table 2</a>.</li><li id="dli_01_00006__li3295163691419">Added notes and constraints on tag keys and tag values to <a href="dli_01_0455.html">Creating a Flink SQL Job</a> and <a href="dli_01_0457.html">Creating a Flink Jar Job</a>.</li></ul>
|
||||
<ul id="dli_01_00006__ul82951936181419"><li id="dli_01_00006__li129511362149">Modified the example format in <a href="dli_01_0384.html#dli_01_0384__table17326112613420">Table 2</a>.</li><li id="dli_01_00006__li3295163691419">Added constraints and limitations on tag keys and tag values to <a href="dli_01_0455.html">Creating a Flink SQL Job</a> and <a href="dli_01_0457.html">Creating a Flink Jar Job</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dli_01_00006__row12145240104716"><td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.1.1.3.1.1 "><p id="dli_01_00006__p193441641970">2023-09-07</p>
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
<div class="caution" id="dli_01_0003__note132261042151315"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="dli_01_0003__p1822614217130">In cross-source development scenarios, there is a risk of password leakage if datasource authentication information is directly configured. You are advised to use the datasource authentication provided by DLI. For details, see <a href="dli_01_0561.html">Overview</a>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0003__section12469945134416"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0003__ul920917130139"><li id="dli_01_0003__dli_07_0005_li82094136131">Datasource connections cannot be created for the <strong id="dli_01_0003__dli_07_0005_b275994812408">default</strong> queue.</li><li id="dli_01_0003__dli_07_0005_li2599248131320">Flink jobs can directly access DIS, OBS, and SMN data sources without using datasource connections.</li><li id="dli_01_0003__dli_07_0005_li3320184019107"><strong id="dli_01_0003__dli_07_0005_b15858611104116">VPC Administrator</strong> permissions are required for enhanced connections to use VPCs, subnets, routes, VPC peering connections.</li><li id="dli_01_0003__dli_07_0005_li196339467176">If you use an enhanced datasource connection, the CIDR block of the elastic resource pool or queue cannot overlap with that of the data source.</li><li id="dli_01_0003__dli_07_0005_li3209111310134">Only queues bound with datasource connections can access datasource tables.</li><li id="dli_01_0003__dli_07_0005_li1120931310136">Datasource tables do not support the preview function.</li><li id="dli_01_0003__dli_07_0005_li11700174614348">When checking the connectivity of datasource connections, the notes and constraints on IP addresses are:<ul id="dli_01_0003__dli_07_0005_ul1254904218358"><li id="dli_01_0003__dli_07_0005_li15478548367">The IP address must be valid, which consists of four decimal numbers separated by periods (.). The value ranges from 0 to 255.</li><li id="dli_01_0003__dli_07_0005_li151317527373">During the test, you can add a port after the IP address and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0003__dli_07_0005_p26801956133713"><a name="dli_01_0003__dli_07_0005_li151317527373"></a><a name="dli_07_0005_li151317527373"></a>For example, <strong id="dli_01_0003__dli_07_0005_b11869171511417">192.168.</strong><em id="dli_01_0003__dli_07_0005_i1917651964115">xx</em><strong id="dli_01_0003__dli_07_0005_b37501722194120">.</strong><em id="dli_01_0003__dli_07_0005_i151751326134116">xx</em> or <strong id="dli_01_0003__dli_07_0005_b4220103184115">192.168.</strong><em id="dli_01_0003__dli_07_0005_i7940153620413">xx</em><strong id="dli_01_0003__dli_07_0005_b11270124004111">.</strong><em id="dli_01_0003__dli_07_0005_i197261843124114">xx</em><strong id="dli_01_0003__dli_07_0005_b14999194774118">:8181</strong>.</p>
|
||||
<div class="section" id="dli_01_0003__section12469945134416"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0003__ul920917130139"><li id="dli_01_0003__dli_07_0005_li82094136131">Datasource connections cannot be created for the <strong id="dli_01_0003__dli_07_0005_b275994812408">default</strong> queue.</li><li id="dli_01_0003__dli_07_0005_li2599248131320">Flink jobs can directly access DIS, OBS, and SMN data sources without using datasource connections.</li><li id="dli_01_0003__dli_07_0005_li3320184019107"><strong id="dli_01_0003__dli_07_0005_b15858611104116">VPC Administrator</strong> permissions are required for enhanced connections to use VPCs, subnets, routes, VPC peering connections.</li><li id="dli_01_0003__dli_07_0005_li196339467176">If you use an enhanced datasource connection, the CIDR block of the elastic resource pool or queue cannot overlap with that of the data source.</li><li id="dli_01_0003__dli_07_0005_li3209111310134">Only queues bound with datasource connections can access datasource tables.</li><li id="dli_01_0003__dli_07_0005_li1120931310136">Datasource tables do not support the preview function.</li><li id="dli_01_0003__dli_07_0005_li11700174614348">When checking the connectivity of datasource connections, the constraints on IP addresses are as follows:<ul id="dli_01_0003__dli_07_0005_ul1254904218358"><li id="dli_01_0003__dli_07_0005_li15478548367">The IP address must be valid, which consists of four decimal numbers separated by periods (.). The value ranges from 0 to 255.</li><li id="dli_01_0003__dli_07_0005_li151317527373">During the test, you can add a port after the IP address and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0003__dli_07_0005_p26801956133713"><a name="dli_01_0003__dli_07_0005_li151317527373"></a><a name="dli_07_0005_li151317527373"></a>For example, <strong id="dli_01_0003__dli_07_0005_b11869171511417">192.168.</strong><em id="dli_01_0003__dli_07_0005_i1917651964115">xx</em><strong id="dli_01_0003__dli_07_0005_b37501722194120">.</strong><em id="dli_01_0003__dli_07_0005_i151751326134116">xx</em> or <strong id="dli_01_0003__dli_07_0005_b4220103184115">192.168.</strong><em id="dli_01_0003__dli_07_0005_i7940153620413">xx</em><strong id="dli_01_0003__dli_07_0005_b11270124004111">.</strong><em id="dli_01_0003__dli_07_0005_i197261843124114">xx</em><strong id="dli_01_0003__dli_07_0005_b14999194774118">:8181</strong>.</p>
|
||||
</li></ul>
|
||||
</li><li id="dli_01_0003__dli_07_0005_li1152733115719">When checking the connectivity of datasource connections, the notes and constraints on domain names are:<ul id="dli_01_0003__dli_07_0005_ul166789287574"><li id="dli_01_0003__dli_07_0005_li46789287572">The domain name can contain 1 to 255 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.</li><li id="dli_01_0003__dli_07_0005_li667882815577">The top-level domain name must contain at least two letters, for example, <strong id="dli_01_0003__dli_07_0005_b11901337154319">.com</strong>, <strong id="dli_01_0003__dli_07_0005_b1028814124319">.net</strong>, and <strong id="dli_01_0003__dli_07_0005_b19839144614436">.cn</strong>.</li><li id="dli_01_0003__dli_07_0005_li1867852835715">During the test, you can add a port after the domain name and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0003__dli_07_0005_p1667882814575"><a name="dli_01_0003__dli_07_0005_li1867852835715"></a><a name="dli_07_0005_li1867852835715"></a>For example, <strong id="dli_01_0003__dli_07_0005_b177998236451">example.com:8080</strong>.</p>
|
||||
</li><li id="dli_01_0003__dli_07_0005_li1152733115719">When checking the connectivity of datasource connections, the constraints on domain names are as follows:<ul id="dli_01_0003__dli_07_0005_ul166789287574"><li id="dli_01_0003__dli_07_0005_li46789287572">The domain name can contain 1 to 255 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.</li><li id="dli_01_0003__dli_07_0005_li667882815577">The top-level domain name must contain at least two letters, for example, <strong id="dli_01_0003__dli_07_0005_b11901337154319">.com</strong>, <strong id="dli_01_0003__dli_07_0005_b1028814124319">.net</strong>, and <strong id="dli_01_0003__dli_07_0005_b19839144614436">.cn</strong>.</li><li id="dli_01_0003__dli_07_0005_li1867852835715">During the test, you can add a port after the domain name and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0003__dli_07_0005_p1667882814575"><a name="dli_01_0003__dli_07_0005_li1867852835715"></a><a name="dli_07_0005_li1867852835715"></a>For example, <strong id="dli_01_0003__dli_07_0005_b177998236451">example.com:8080</strong>.</p>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
|
||||
@ -52,9 +52,9 @@
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0005__section46221651175510"><h4 class="sectiontitle">Creating a Table</h4><p id="dli_01_0005__p56362480175534">Before creating a table, ensure that a database has been created.</p>
|
||||
<ol id="dli_01_0005__ol12637600103738"><li id="dli_01_0005__li59972234153426"><span>You can create a table on either the <span class="wintitle" id="dli_01_0005__wintitle1675474472"><b>Databases and Tables</b></span> page or the <span class="wintitle" id="dli_01_0005__wintitle1449176807"><b>SQL Editor</b></span> page.</span><p><div class="note" id="dli_01_0005__note159813598457"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dli_01_0005__p4599175984510">Datasource connection tables, such as View tables, HBase (MRS) tables, OpenTSDB (MRS) tables, GaussDB(DWS) tables, RDS tables, and CSS tables, cannot be created. You can use SQL to create views and datasource connection tables. For details, see sections <strong id="dli_01_0005__b168941558103516">Creating a View</strong> and <strong id="dli_01_0005__b1989435873520">Creating a Datasource Connection Table</strong> in the <em id="dli_01_0005__i12894358133518">Data Lake Insight SQL Syntax Reference</em>.</p>
|
||||
<ol id="dli_01_0005__ol12637600103738"><li id="dli_01_0005__li59972234153426"><span>You can create a table on either the <span class="wintitle" id="dli_01_0005__wintitle1376768905"><b>Databases and Tables</b></span> page or the <span class="wintitle" id="dli_01_0005__wintitle1088857340"><b>SQL Editor</b></span> page.</span><p><div class="note" id="dli_01_0005__note159813598457"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dli_01_0005__p4599175984510">Datasource connection tables, such as View tables, HBase (MRS) tables, OpenTSDB (MRS) tables, GaussDB(DWS) tables, RDS tables, and CSS tables, cannot be created. You can use SQL to create views and datasource connection tables. For details, see sections <strong id="dli_01_0005__b168941558103516">Creating a View</strong> and <strong id="dli_01_0005__b1989435873520">Creating a Datasource Connection Table</strong> in the <em id="dli_01_0005__i12894358133518">Data Lake Insight SQL Syntax Reference</em>.</p>
|
||||
</div></div>
|
||||
<ul id="dli_01_0005__ul22405571153537"><li id="dli_01_0005__li323555153537">To create a table on the <span class="wintitle" id="dli_01_0005__wintitle287164588"><b>Data Management</b></span> page:<ol type="a" id="dli_01_0005__ol2911995153537"><li id="dli_01_0005__li26207957153537">On the left of the management console, choose <span class="uicontrol" id="dli_01_0005__uicontrol1559686145"><b>Data Management</b></span> > <span class="uicontrol" id="dli_01_0005__uicontrol8597462415"><b>Databases and Tables</b></span>.</li><li id="dli_01_0005__li17500832153537">On the <strong id="dli_01_0005__b1211154675314">Databases and Tables</strong> page, select the database for which you want to create a table. In the <strong id="dli_01_0005__b10345811102717">Operation</strong> column, click <strong id="dli_01_0005__b12918326165019">More</strong> > <strong id="dli_01_0005__b63873822719">Create Table</strong> to create a table in the current database.</li></ol>
|
||||
<ul id="dli_01_0005__ul22405571153537"><li id="dli_01_0005__li323555153537">To create a table on the <span class="wintitle" id="dli_01_0005__wintitle1461587218"><b>Data Management</b></span> page:<ol type="a" id="dli_01_0005__ol2911995153537"><li id="dli_01_0005__li26207957153537">On the left of the management console, choose <span class="uicontrol" id="dli_01_0005__uicontrol1559686145"><b>Data Management</b></span> > <span class="uicontrol" id="dli_01_0005__uicontrol8597462415"><b>Databases and Tables</b></span>.</li><li id="dli_01_0005__li17500832153537">On the <strong id="dli_01_0005__b1211154675314">Databases and Tables</strong> page, select the database for which you want to create a table. In the <strong id="dli_01_0005__b10345811102717">Operation</strong> column, click <strong id="dli_01_0005__b12918326165019">More</strong> > <strong id="dli_01_0005__b63873822719">Create Table</strong> to create a table in the current database.</li></ol>
|
||||
</li><li id="dli_01_0005__li8281288153537">To create a table on the <span class="wintitle" id="dli_01_0005__wintitle8700317181735"><b>SQL Editor</b></span> page:<ol type="a" id="dli_01_0005__ol7422733153537"><li id="dli_01_0005__li66804605153537">On the left of the management console, click <span class="uicontrol" id="dli_01_0005__uicontrol11208161745"><b>SQL Editor</b></span>.</li><li id="dli_01_0005__li17512154252514">In the navigation pane of the displayed <span class="wintitle" id="dli_01_0005__wintitle13614162313185"><b>SQL Editor</b></span> page, click <strong id="dli_01_0005__b4615162311183">Databases</strong>. You can create a table in either of the following ways:<ul id="dli_01_0005__ul782474512255"><li id="dli_01_0005__li1893119202619">Click a database name. In the <strong id="dli_01_0005__b5326151882218">Tables</strong> area, click <span><img id="dli_01_0005__image8327018142210" src="en-us_image_0237539075.png"></span> on the right to create a table in the current database.</li><li id="dli_01_0005__li16824154518252">Click <span><img id="dli_01_0005__image33241729102220" src="en-us_image_0237532018.png"></span> on the right of the database and choose <strong id="dli_01_0005__b1325182917220">Create Table</strong> from the shortcut menu to create a table in the current database.</li></ul>
|
||||
</li></ol>
|
||||
</li></ul>
|
||||
@ -108,7 +108,7 @@
|
||||
<tr id="dli_01_0005__row16943758105944"><td class="cellrowborder" valign="top" width="14.38%" headers="mcps1.3.4.3.2.2.1.2.5.2.4.1.1 "><p id="dli_01_0005__p30267119105944">Type</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="71.45%" headers="mcps1.3.4.3.2.2.1.2.5.2.4.1.2 "><p id="dli_01_0005__p35717569105944">Data type of a column. This parameter corresponds to <span class="parmname" id="dli_01_0005__parmname4155795592938"><b>Column Name</b></span>.</p>
|
||||
<ul id="dli_01_0005__ul2957726293032"><li id="dli_01_0005__li159154616209"><strong id="dli_01_0005__b12861523131117">string</strong>: The data is of the string type.</li><li id="dli_01_0005__li5035776893042"><strong id="dli_01_0005__b84235270617190">int</strong>: Each integer is stored on four bytes.</li><li id="dli_01_0005__li197172662015"><strong id="dli_01_0005__b71123713114">date</strong>: The value ranges from 0000-01-01 to 9999-12-31.</li><li id="dli_01_0005__li15276123414204"><strong id="dli_01_0005__b2073283811110">double</strong>: Each number is stored on eight bytes.</li><li id="dli_01_0005__li122191918102110"><strong id="dli_01_0005__b87406418113">boolean</strong>: Each value is stored on one byte.</li><li id="dli_01_0005__li616884422117"><strong id="dli_01_0005__b842352706172140">decimal</strong>: The valid bits are positive integers between 1 to 38, including 1 and 38. The decimal digits are integers less than 10.</li><li id="dli_01_0005__li6039945193127"><strong id="dli_01_0005__b1518923443">smallint/short</strong>: The number is stored on two bytes.</li><li id="dli_01_0005__li157282298387"><strong id="dli_01_0005__b612962805">bigint/long</strong>: The number is stored on eight bytes.</li><li id="dli_01_0005__li4930135112217"><strong id="dli_01_0005__b1251694319111">timestamp</strong>: The data indicates a date and time. The value can be accurate to six decimal points.</li><li id="dli_01_0005__li482517952312"><strong id="dli_01_0005__b161442457112">float</strong>: Each number is stored on four bytes.</li><li id="dli_01_0005__li246310417404"><strong id="dli_01_0005__b0368141417399">tinyint</strong>: Each number is stored on one byte. Only OBS tables support this data type.</li></ul>
|
||||
<ul id="dli_01_0005__ul2957726293032"><li id="dli_01_0005__li159154616209"><strong id="dli_01_0005__b12861523131117">string</strong>: The data is of the string type.</li><li id="dli_01_0005__li5035776893042"><strong id="dli_01_0005__b84235270617190">int</strong>: Each integer is stored on four bytes.</li><li id="dli_01_0005__li197172662015"><strong id="dli_01_0005__b71123713114">date</strong>: The value ranges from 0000-01-01 to 9999-12-31.</li><li id="dli_01_0005__li15276123414204"><strong id="dli_01_0005__b2073283811110">double</strong>: Each number is stored on eight bytes.</li><li id="dli_01_0005__li122191918102110"><strong id="dli_01_0005__b87406418113">boolean</strong>: Each value is stored on one byte.</li><li id="dli_01_0005__li616884422117"><strong id="dli_01_0005__b842352706172140">decimal</strong>: The valid bits are positive integers between 1 to 38, including 1 and 38. The decimal digits are integers less than 10.</li><li id="dli_01_0005__li6039945193127"><strong id="dli_01_0005__b657553069">smallint/short</strong>: The number is stored on two bytes.</li><li id="dli_01_0005__li157282298387"><strong id="dli_01_0005__b1143915494">bigint/long</strong>: The number is stored on eight bytes.</li><li id="dli_01_0005__li4930135112217"><strong id="dli_01_0005__b1251694319111">timestamp</strong>: The data indicates a date and time. The value can be accurate to six decimal points.</li><li id="dli_01_0005__li482517952312"><strong id="dli_01_0005__b161442457112">float</strong>: Each number is stored on four bytes.</li><li id="dli_01_0005__li246310417404"><strong id="dli_01_0005__b0368141417399">tinyint</strong>: Each number is stored on one byte. Only OBS tables support this data type.</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.17%" headers="mcps1.3.4.3.2.2.1.2.5.2.4.1.3 "><p id="dli_01_0005__p7441963105944">string</p>
|
||||
</td>
|
||||
@ -144,7 +144,7 @@
|
||||
<tbody><tr id="dli_01_0005__row3015013618314"><td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.1 "><p id="dli_01_0005__p3709008118455">Data Format</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="53.06999999999999%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.2 "><p id="dli_01_0005__p5150660918455">DLI supports the following data formats:</p>
|
||||
<ul id="dli_01_0005__ul4173603518455"><li id="dli_01_0005__li4007999518455"><strong id="dli_01_0005__b84235270614338">Parquet</strong>: DLI can read non-compressed data or data that is compressed using Snappy and gzip.</li><li id="dli_01_0005__li2517563618455"><strong id="dli_01_0005__b1650277512">CSV</strong>: DLI can read non-compressed data or data that is compressed using gzip.</li><li id="dli_01_0005__li2525413518455"><strong id="dli_01_0005__b1415457777">ORC</strong>: DLI can read non-compressed data or data that is compressed using Snappy.</li><li id="dli_01_0005__li2596063018455"><strong id="dli_01_0005__b2019437101">JSON</strong>: DLI can read non-compressed data or data that is compressed using gzip.</li><li id="dli_01_0005__li20203144172320"><strong id="dli_01_0005__b14575133533814">Avro</strong>: DLI can read uncompressed Avro data.</li></ul>
|
||||
<ul id="dli_01_0005__ul4173603518455"><li id="dli_01_0005__li4007999518455"><strong id="dli_01_0005__b84235270614338">Parquet</strong>: DLI can read non-compressed data or data that is compressed using Snappy and gzip.</li><li id="dli_01_0005__li2517563618455"><strong id="dli_01_0005__b1357964886">CSV</strong>: DLI can read non-compressed data or data that is compressed using gzip.</li><li id="dli_01_0005__li2525413518455"><strong id="dli_01_0005__b1998844488">ORC</strong>: DLI can read non-compressed data or data that is compressed using Snappy.</li><li id="dli_01_0005__li2596063018455"><strong id="dli_01_0005__b1305079628">JSON</strong>: DLI can read non-compressed data or data that is compressed using gzip.</li><li id="dli_01_0005__li20203144172320"><strong id="dli_01_0005__b14575133533814">Avro</strong>: DLI can read uncompressed Avro data.</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.330000000000002%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.3 "><p id="dli_01_0005__p2243627218455">CSV</p>
|
||||
</td>
|
||||
@ -177,7 +177,7 @@
|
||||
</tr>
|
||||
<tr id="dli_01_0005__row21739275111826"><td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.1 "><p id="dli_01_0005__p39917803111836">User-defined Quotation Character</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="53.06999999999999%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.2 "><p id="dli_01_0005__p056181715520">This parameter is valid only when <span class="parmname" id="dli_01_0005__parmname1092179271"><b>Data Format</b></span> is set to <span class="parmvalue" id="dli_01_0005__parmvalue1454536889"><b>CSV</b></span> and you select <strong id="dli_01_0005__b1778514312">User-defined Quotation Character</strong>.</p>
|
||||
<td class="cellrowborder" valign="top" width="53.06999999999999%" headers="mcps1.3.4.3.2.2.1.2.6.2.4.1.2 "><p id="dli_01_0005__p056181715520">This parameter is valid only when <span class="parmname" id="dli_01_0005__parmname570681823"><b>Data Format</b></span> is set to <span class="parmvalue" id="dli_01_0005__parmvalue141904967"><b>CSV</b></span> and you select <strong id="dli_01_0005__b255429859">User-defined Quotation Character</strong>.</p>
|
||||
<p id="dli_01_0005__p57404199154711">The following quotation characters are supported:</p>
|
||||
<ul id="dli_01_0005__ul41920423111836"><li id="dli_01_0005__li41739488111836">Single quotation mark (')</li><li id="dli_01_0005__li40111075111836">Double quotation marks (")</li><li id="dli_01_0005__li25455362111836">Others: Enter a user-defined quotation character.</li></ul>
|
||||
</td>
|
||||
@ -213,7 +213,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</li></ul>
|
||||
</p></li><li id="dli_01_0005__li6436679692218"><span>Click <span class="uicontrol" id="dli_01_0005__uicontrol1346028235151847"><b>OK</b></span>.</span><p><p id="dli_01_0005__p2255887315231">After a table is created, you can view and select the table for use on the <span class="wintitle" id="dli_01_0005__wintitle1248649571"><b>Data Management</b></span> page or <strong id="dli_01_0005__b1826378134">SQL Editor</strong> page.</p>
|
||||
</p></li><li id="dli_01_0005__li6436679692218"><span>Click <span class="uicontrol" id="dli_01_0005__uicontrol1346028235151847"><b>OK</b></span>.</span><p><p id="dli_01_0005__p2255887315231">After a table is created, you can view and select the table for use on the <span class="wintitle" id="dli_01_0005__wintitle363616988"><b>Data Management</b></span> page or <strong id="dli_01_0005__b1856357937">SQL Editor</strong> page.</p>
|
||||
</p></li><li id="dli_01_0005__li66082750104919"><span>(Optional) After a DLI table is created, you can decide whether to directly import data to the table.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
<p id="dli_01_0006__p25621621205213">For example, to connect DLI to the MRS, RDS, CSS, Kafka, or GaussDB(DWS) data source, you need to enable the network between DLI and the VPC of the data source.</p>
|
||||
<p id="dli_01_0006__p163611244144318">Create an enhanced datasource connection on the console.</p>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0006__section1497781674410"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0006__dli_01_0003_ul920917130139"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li82094136131">Datasource connections cannot be created for the <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b275994812408">default</strong> queue.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li2599248131320">Flink jobs can directly access DIS, OBS, and SMN data sources without using datasource connections.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li3320184019107"><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b15858611104116">VPC Administrator</strong> permissions are required for enhanced connections to use VPCs, subnets, routes, VPC peering connections.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li196339467176">If you use an enhanced datasource connection, the CIDR block of the elastic resource pool or queue cannot overlap with that of the data source.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li3209111310134">Only queues bound with datasource connections can access datasource tables.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1120931310136">Datasource tables do not support the preview function.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li11700174614348">When checking the connectivity of datasource connections, the notes and constraints on IP addresses are:<ul id="dli_01_0006__dli_01_0003_dli_07_0005_ul1254904218358"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li15478548367">The IP address must be valid, which consists of four decimal numbers separated by periods (.). The value ranges from 0 to 255.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li151317527373">During the test, you can add a port after the IP address and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0006__dli_01_0003_dli_07_0005_p26801956133713"><a name="dli_01_0006__dli_01_0003_dli_07_0005_li151317527373"></a><a name="dli_01_0003_dli_07_0005_li151317527373"></a>For example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11869171511417">192.168.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i1917651964115">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b37501722194120">.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i151751326134116">xx</em> or <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b4220103184115">192.168.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i7940153620413">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11270124004111">.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i197261843124114">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b14999194774118">:8181</strong>.</p>
|
||||
<div class="section" id="dli_01_0006__section1497781674410"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0006__dli_01_0003_ul920917130139"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li82094136131">Datasource connections cannot be created for the <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b275994812408">default</strong> queue.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li2599248131320">Flink jobs can directly access DIS, OBS, and SMN data sources without using datasource connections.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li3320184019107"><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b15858611104116">VPC Administrator</strong> permissions are required for enhanced connections to use VPCs, subnets, routes, VPC peering connections.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li196339467176">If you use an enhanced datasource connection, the CIDR block of the elastic resource pool or queue cannot overlap with that of the data source.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li3209111310134">Only queues bound with datasource connections can access datasource tables.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1120931310136">Datasource tables do not support the preview function.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li11700174614348">When checking the connectivity of datasource connections, the constraints on IP addresses are as follows:<ul id="dli_01_0006__dli_01_0003_dli_07_0005_ul1254904218358"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li15478548367">The IP address must be valid, which consists of four decimal numbers separated by periods (.). The value ranges from 0 to 255.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li151317527373">During the test, you can add a port after the IP address and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0006__dli_01_0003_dli_07_0005_p26801956133713"><a name="dli_01_0006__dli_01_0003_dli_07_0005_li151317527373"></a><a name="dli_01_0003_dli_07_0005_li151317527373"></a>For example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11869171511417">192.168.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i1917651964115">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b37501722194120">.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i151751326134116">xx</em> or <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b4220103184115">192.168.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i7940153620413">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11270124004111">.</strong><em id="dli_01_0006__dli_01_0003_dli_07_0005_i197261843124114">xx</em><strong id="dli_01_0006__dli_01_0003_dli_07_0005_b14999194774118">:8181</strong>.</p>
|
||||
</li></ul>
|
||||
</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1152733115719">When checking the connectivity of datasource connections, the notes and constraints on domain names are:<ul id="dli_01_0006__dli_01_0003_dli_07_0005_ul166789287574"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li46789287572">The domain name can contain 1 to 255 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li667882815577">The top-level domain name must contain at least two letters, for example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11901337154319">.com</strong>, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b1028814124319">.net</strong>, and <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b19839144614436">.cn</strong>.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1867852835715">During the test, you can add a port after the domain name and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0006__dli_01_0003_dli_07_0005_p1667882814575"><a name="dli_01_0006__dli_01_0003_dli_07_0005_li1867852835715"></a><a name="dli_01_0003_dli_07_0005_li1867852835715"></a>For example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b177998236451">example.com:8080</strong>.</p>
|
||||
</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1152733115719">When checking the connectivity of datasource connections, the constraints on domain names are as follows:<ul id="dli_01_0006__dli_01_0003_dli_07_0005_ul166789287574"><li id="dli_01_0006__dli_01_0003_dli_07_0005_li46789287572">The domain name can contain 1 to 255 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li667882815577">The top-level domain name must contain at least two letters, for example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b11901337154319">.com</strong>, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b1028814124319">.net</strong>, and <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b19839144614436">.cn</strong>.</li><li id="dli_01_0006__dli_01_0003_dli_07_0005_li1867852835715">During the test, you can add a port after the domain name and separate them with colons (:). The port can contain a maximum of five digits. The value ranges from 0 to 65535.<p id="dli_01_0006__dli_01_0003_dli_07_0005_p1667882814575"><a name="dli_01_0006__dli_01_0003_dli_07_0005_li1867852835715"></a><a name="dli_01_0003_dli_07_0005_li1867852835715"></a>For example, <strong id="dli_01_0006__dli_01_0003_dli_07_0005_b177998236451">example.com:8080</strong>.</p>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
@ -137,6 +137,7 @@
|
||||
</li><li id="dli_01_0006__li1023215315019">In the navigation pane of the DLI management console, choose <strong id="dli_01_0006__b483294518252">Resources</strong> > <strong id="dli_01_0006__b61881242152610">Queue Management</strong>.</li><li id="dli_01_0006__li19115123085812">Locate the queue bound with the enhanced datasource connection, click <strong id="dli_01_0006__b10722162617297">More</strong> in the <strong id="dli_01_0006__b414583012918">Operation</strong> column, and select <strong id="dli_01_0006__b138134122913">Test Address Connectivity</strong>.</li><li id="dli_01_0006__li1511513013586">Enter the data source connection address and port number to test the network connectivity.<p id="dli_01_0006__p084013813116"><a name="dli_01_0006__li1511513013586"></a><a name="li1511513013586"></a>Format: <em id="dli_01_0006__i16130144143715">IP address</em><strong id="dli_01_0006__b138521449193715">:</strong><em id="dli_01_0006__i094064620377">Port number</em></p>
|
||||
<div class="caution" id="dli_01_0006__note201151126864"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="dli_01_0006__p7115112614615">Before testing the connection, ensure that the security group of the external data source has allowed access from the CIDR block of the queue.</p>
|
||||
</div></div>
|
||||
<p id="dli_01_0006__p76831391819"></p>
|
||||
</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0443.html">Modifying the CIDR Block</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0487.html">Elastic Scaling of Queues</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0487.html">Elastic Queue Scaling</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0488.html">Scheduling CU Changes</a></strong><br>
|
||||
</li>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="dli_01_0013"></a><a name="dli_01_0013"></a>
|
||||
|
||||
<h1 class="topictitle1">Modifying Host Information in an Elastic Resource Pool</h1>
|
||||
<h1 class="topictitle1">Modifying Host Information</h1>
|
||||
<div id="body0000001152155459"><div class="section" id="dli_01_0013__section17615192019582"><h4 class="sectiontitle">Scenario</h4><p id="dli_01_0013__p171819419301">Host information is the mapping between host IP addresses and domain names. After you configure host information, jobs can only use the configured domain names to access corresponding hosts. After a datasource connection is created, you can modify the host information.</p>
|
||||
<p id="dli_01_0013__p10340194113302">When accessing the HBase cluster of MRS, you need to configure the host name (domain name) and IP address of the instance.</p>
|
||||
</div>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<ul id="dli_01_0228__ul32249213483"><li id="dli_01_0228__li64311610480"><a href="dli_01_0447.html">Database Permission Management</a></li><li id="dli_01_0228__li17850104752718"><a href="dli_01_0448.html">Table Permission Management</a></li><li id="dli_01_0228__li1522410210481"><a href="dli_01_0005.html">Creating a Database or a Table</a></li><li id="dli_01_0228__li8722114154811"><a href="dli_01_0011.html">Deleting a Database or a Table</a></li><li id="dli_01_0228__li12992135510143"><a href="dli_01_0376.html">Changing the Owners of Databases and Tables</a></li><li id="dli_01_0228__li1113620265596"><a href="dli_01_0253.html">Importing Data</a></li><li id="dli_01_0228__li14584132917710"><a href="dli_01_0010.html">Exporting Data</a></li><li id="dli_01_0228__li942943801"><a href="dli_01_0008.html">Viewing Metadata</a></li><li id="dli_01_0228__li18775184515263"><a href="dli_01_0007.html">Previewing Data</a></li></ul>
|
||||
<div class="section" id="dli_01_0228__section16492487104553"><h4 class="sectiontitle">Difference Between DLI Tables and OBS Tables</h4><ul id="dli_01_0228__ul6989252182716"><li id="dli_01_0228__li10989352182718">Data stored in DLI tables is applicable to delay-sensitive services, such as interactive queries.</li><li id="dli_01_0228__li119895525278">Data stored in OBS tables is applicable to delay-insensitive services, such as historical data statistics and analysis.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0228__section8360181926"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="dli_01_0228__ul71458485820"><li id="dli_01_0228__li6145847588"><strong id="dli_01_0228__b1276146173415">Database</strong><ul id="dli_01_0228__ul1633525163914"><li id="dli_01_0228__dli_07_0005_li1479161816292"><strong id="dli_01_0228__dli_07_0005_b13239173891316">default</strong> is the database built in DLI. You cannot create a database named <strong id="dli_01_0228__dli_07_0005_b112224411159">default</strong>.</li><li id="dli_01_0228__dli_07_0005_li44809180291">DLI supports a maximum of 50 databases.</li></ul>
|
||||
<div class="section" id="dli_01_0228__section8360181926"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0228__ul71458485820"><li id="dli_01_0228__li6145847588"><strong id="dli_01_0228__b1276146173415">Database</strong><ul id="dli_01_0228__ul1633525163914"><li id="dli_01_0228__dli_07_0005_li1479161816292"><strong id="dli_01_0228__dli_07_0005_b13239173891316">default</strong> is the database built in DLI. You cannot create a database named <strong id="dli_01_0228__dli_07_0005_b112224411159">default</strong>.</li><li id="dli_01_0228__dli_07_0005_li44809180291">DLI supports a maximum of 50 databases.</li></ul>
|
||||
</li><li id="dli_01_0228__li12825137105816"><strong id="dli_01_0228__b1557811476344">Table</strong><ul id="dli_01_0228__ul618418211249"><li id="dli_01_0228__dli_07_0005_li73208126302">DLI supports a maximum of 5,000 tables.</li><li id="dli_01_0228__dli_07_0005_li693410241413">DLI supports the following table types:<ul id="dli_01_0228__dli_07_0005_ul165901694404"><li id="dli_01_0228__dli_07_0005_li18590159184015"><strong id="dli_01_0228__dli_07_0005_b36524201812">MANAGED</strong>: Data is stored in a DLI table.</li><li id="dli_01_0228__dli_07_0005_li45903944018"><strong id="dli_01_0228__dli_07_0005_b9982521141813">EXTERNAL</strong>: Data is stored in an OBS table.</li><li id="dli_01_0228__dli_07_0005_li15901990404"><strong id="dli_01_0228__dli_07_0005_b58918578193">View</strong>: A view can only be created using SQL statements.</li><li id="dli_01_0228__dli_07_0005_li18935939173511">Datasource table: The table type is also <strong id="dli_01_0228__dli_07_0005_b96694314229">EXTERNAL</strong>.</li></ul>
|
||||
</li><li id="dli_01_0228__dli_07_0005_li57353313451">You cannot specify a storage path when creating a DLI table.</li></ul>
|
||||
</li><li id="dli_01_0228__li1179253611016"><strong id="dli_01_0228__b1277364893412">Data import</strong><ul id="dli_01_0228__ul124061017728"><li id="dli_01_0228__dli_07_0005_li63275321982">Only OBS data can be imported to DLI or OBS.</li><li id="dli_01_0228__dli_07_0005_li61329131626">You can import data in CSV, Parquet, ORC, JSON, or Avro format from OBS to tables created on DLI.</li><li id="dli_01_0228__dli_07_0005_li10140613526">To import data in CSV format to a partitioned table, place the partition column in the last column of the data source.</li><li id="dli_01_0228__dli_07_0005_li36678261928">The encoding format of imported data can only be UTF-8.</li></ul>
|
||||
@ -104,7 +104,6 @@
|
||||
<tr id="dli_01_0228__row1808175125310"><td class="cellrowborder" valign="top" width="19.35%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dli_01_0228__p108087545313">Last Accessed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="80.65%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dli_01_0228__p4808551537">Last time when an operation was performed on the table.</p>
|
||||
<p id="dli_01_0228__p1037815446506">The last access time of a table refers only to the last time it was updated, not the time it was read (SELECT operation).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dli_01_0228__row1695151133915"><td class="cellrowborder" valign="top" width="19.35%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dli_01_0228__p369521113915">Operation</p>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -218,6 +218,7 @@
|
||||
</div></div>
|
||||
</li><li id="dli_01_0320__li11718136711">Select a queue from the queue list in the upper left corner of the SQL job editing window. For details about how to create a queue, see <a href="dli_01_0363.html">Creating a Queue</a>.</li><li id="dli_01_0320__li813817834515">In the upper right corner of the SQL job editing window, select a database, for example, <span class="parmvalue" id="dli_01_0320__parmvalue15915351115713"><b>qw</b></span>, from the <strong id="dli_01_0320__b237816275810">Databases</strong> drop-down list.</li><li id="dli_01_0320__li38121318715">Create a table, for example, <strong id="dli_01_0320__b104711617155817">qw</strong>. For details about how to create a database and table, see <a href="dli_01_0005.html">Creating a Database or a Table</a>.</li><li id="dli_01_0320__li11683162919577">In the SQL job editing window, enter the following SQL statement:<div class="codecoloring" codetype="Sql" id="dli_01_0320__screen109547551261"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="n">qw</span><span class="p">.</span><span class="n">qw</span><span class="w"> </span><span class="k">LIMIT</span><span class="w"> </span><span class="mi">10</span><span class="p">;</span>
|
||||
</pre></div></td></tr></table></div>
|
||||
|
||||
</div>
|
||||
<p id="dli_01_0320__p96831529105716">Alternatively, you can double-click the table name <strong id="dli_01_0320__b17891859173716">qw</strong>. The query statement is automatically entered in the SQL job editing window.</p>
|
||||
</li><li id="dli_01_0320__li492135719">On top of the editing window, click <strong id="dli_01_0320__b26243389451">More</strong> > <span class="uicontrol" id="dli_01_0320__uicontrol58893394529"><b>Verify Syntax</b></span> to check whether the SQL statement is correct.<ol type="a" id="dli_01_0320__ol1395130715"><li id="dli_01_0320__li153171751102318">If the verification fails, check the SQL statement syntax by referring to <em id="dli_01_0320__i5105915141610">Data Lake Insight SQL Syntax Reference</em>.</li><li id="dli_01_0320__li09121319713">If the syntax verification is successful, click <strong id="dli_01_0320__b238821051610">Execute</strong>. Read and agree to the privacy agreement. Click <strong id="dli_01_0320__b386161413163">OK</strong> to execute the SQL statement.</li><li id="dli_01_0320__li4991320712">After the execution is complete, you can view the execution result in the area under the SQL job editing window.</li></ol>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<p id="dli_01_0384__p55886519497">On the <strong id="dli_01_0384__b943884293511">Overview</strong> page, click <strong id="dli_01_0384__b202117331159">Create Job</strong> in the upper right corner of the <strong id="dli_01_0384__b1696101133814">Spark Jobs</strong> tab or click <strong id="dli_01_0384__b56361152153720">Create Job</strong> in the upper right corner of the <strong id="dli_01_0384__b993313572052">Spark Jobs</strong> page. The Spark job editing page is displayed.</p>
|
||||
<p id="dli_01_0384__p9427817122315">On the Spark job editing page, a message is displayed, indicating that a temporary DLI data bucket will be created. The created bucket is used to store temporary data generated by DLI, such as job logs and job results. You cannot view job logs if you choose not to create it. The bucket will be created and the default bucket name is used.</p>
|
||||
<p id="dli_01_0384__p133447114312">If you do not need to create a DLI temporary data bucket and do not want to receive this message, select <strong id="dli_01_0384__b142701146121612">Do not show again</strong> and click <span class="uicontrol" id="dli_01_0384__uicontrol227014464167"><b>Cancel</b></span>.</p>
|
||||
<div class="section" id="dli_01_0384__section1661873674317"><h4 class="sectiontitle">Prerequisites</h4><ul id="dli_01_0384__ul9494144631313"><li id="dli_01_0384__li749524681310">You have uploaded the dependencies to the corresponding OBS bucket on the <span class="wintitle" id="dli_01_0384__wintitle1216872122520"><b>Data Management > Package Management</b></span> page. For details, see <a href="dli_01_0367.html">Creating a Package</a>.</li><li id="dli_01_0384__li7520181309">Before creating a Spark job to access other external data sources, such as OpenTSDB, HBase, Kafka, GaussDB(DWS), RDS, CSS, CloudTable, DCS Redis, and DDS, you need to create a datasource connection to enable the network between the job running queue and external data sources.<ul id="dli_01_0384__ul850415199816"><li id="dli_01_0384__li18451528175">For details about the external data sources that can be accessed by Spark jobs, see <a href="dli_01_0410.html">Cross-Source Analysis Development Methods</a>.</li><li id="dli_01_0384__li28469131945">For details about how to create a datasource connection, see <a href="dli_01_0426.html">Enhanced Datasource Connections</a>.<p id="dli_01_0384__p881561411413">On the <strong id="dli_01_0384__b122201520155014">Resources</strong> > <strong id="dli_01_0384__b1022002035016">Queue Management</strong> page, locate the queue you have created, click <strong id="dli_01_0384__b112219202504">More</strong> in the <strong id="dli_01_0384__b422192015507">Operation</strong> column, and select <strong id="dli_01_0384__b0221182013507">Test Address Connectivity</strong> to check if the network connection between the queue and the data source is normal. For details, see <a href="dli_01_0489.html">Testing Address Connectivity</a>.</p>
|
||||
<div class="section" id="dli_01_0384__section1661873674317"><h4 class="sectiontitle">Prerequisites</h4><ul id="dli_01_0384__ul9494144631313"><li id="dli_01_0384__li749524681310">You have uploaded the dependencies to the corresponding OBS bucket on the <span class="wintitle" id="dli_01_0384__wintitle1216872122520"><b>Data Management > Package Management</b></span> page. For details, see <a href="dli_01_0367.html">Creating a Package</a>.</li><li id="dli_01_0384__li7520181309">Before creating a Spark job to access other external data sources, such as OpenTSDB, HBase, Kafka, GaussDB(DWS), RDS, CSS, CloudTable, DCS Redis, and DDS, you need to create a datasource connection to enable the network between the job running queue and external data sources.<ul id="dli_01_0384__ul850415199816"><li id="dli_01_0384__li18451528175">For details about the external data sources that can be accessed by Spark jobs, see <a href="dli_01_0410.html">Cross-Source Analysis Development Methods</a>.</li><li id="dli_01_0384__li28469131945">For details about how to create a datasource connection, see <a href="dli_01_0426.html">Enhanced Datasource Connections</a>.<p id="dli_01_0384__p881561411413">On the <strong id="dli_01_0384__b122201520155014">Resources</strong> > <strong id="dli_01_0384__b1022002035016">Queue Management</strong> page, locate the queue you have created, and choose <strong id="dli_01_0384__b112219202504">More</strong> > <strong id="dli_01_0384__b0221182013507">Test Address Connectivity</strong> in the <strong id="dli_01_0384__b422192015507">Operation</strong> column to check whether the network connection between the queue and the data source is normal. For details, see <a href="dli_01_0489.html">Testing Address Connectivity</a>.</p>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@
|
||||
<ul id="dli_01_0407__ul8657743184112"><li id="dli_01_0407__li14139145132717"><a href="dli_01_0477.html">Managing Package Permissions</a></li><li id="dli_01_0407__li19657124354118"><a href="dli_01_0367.html">Creating a Package</a></li><li id="dli_01_0407__li9471154134119"><a href="dli_01_0369.html">Deleting a Package</a><div class="note" id="dli_01_0407__note1393218181435"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dli_01_0407__p79328181837">You can delete program packages in batches.</p>
|
||||
</div></div>
|
||||
</li><li id="dli_01_0407__li624821620217"><a href="dli_01_0478.html">Modifying the Owner</a></li></ul>
|
||||
<div class="section" id="dli_01_0407__section194110185420"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="dli_01_0407__ul1261192724211"><li id="dli_01_0407__dli_07_0005_li349215401873">A package can be deleted, but a package group cannot be deleted.</li><li id="dli_01_0407__dli_07_0005_li19798321755">The following types of packages can be uploaded:<ul id="dli_01_0407__dli_07_0005_ul1349114421957"><li id="dli_01_0407__dli_07_0005_li359082764320"><strong id="dli_01_0407__dli_07_0005_b13479075378">JAR</strong>: JAR file</li><li id="dli_01_0407__dli_07_0005_li125901627144314"><strong id="dli_01_0407__dli_07_0005_b494901012379">PyFile</strong>: User Python file</li><li id="dli_01_0407__dli_07_0005_li165901027104315"><strong id="dli_01_0407__dli_07_0005_b2012941493715">File</strong>: User file</li><li id="dli_01_0407__dli_07_0005_li259002734313"><strong id="dli_01_0407__dli_07_0005_b17210171817377">ModelFile</strong>: User AI model file</li></ul>
|
||||
<div class="section" id="dli_01_0407__section194110185420"><h4 class="sectiontitle">Constraints</h4><ul id="dli_01_0407__ul1261192724211"><li id="dli_01_0407__dli_07_0005_li349215401873">A package can be deleted, but a package group cannot be deleted.</li><li id="dli_01_0407__dli_07_0005_li19798321755">The following types of packages can be uploaded:<ul id="dli_01_0407__dli_07_0005_ul1349114421957"><li id="dli_01_0407__dli_07_0005_li359082764320"><strong id="dli_01_0407__dli_07_0005_b13479075378">JAR</strong>: JAR file</li><li id="dli_01_0407__dli_07_0005_li125901627144314"><strong id="dli_01_0407__dli_07_0005_b494901012379">PyFile</strong>: User Python file</li><li id="dli_01_0407__dli_07_0005_li165901027104315"><strong id="dli_01_0407__dli_07_0005_b2012941493715">File</strong>: User file</li><li id="dli_01_0407__dli_07_0005_li259002734313"><strong id="dli_01_0407__dli_07_0005_b17210171817377">ModelFile</strong>: User AI model file</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0407__section153923398422"><h4 class="sectiontitle">Package Management Page</h4>
|
||||
|
||||
@ -1,9 +1,13 @@
|
||||
<a name="dli_01_0420"></a><a name="dli_01_0420"></a>
|
||||
|
||||
<h1 class="topictitle1">Importing Data to a DLI Table</h1>
|
||||
<div id="body1562569148234"><div class="section" id="dli_01_0420__section133251856125910"><h4 class="sectiontitle">Importing Data Using OBS</h4><p id="dli_01_0420__p749714530489">On the DLI management console, you can import data stored in OBS into DLI tables.</p>
|
||||
<p id="dli_01_0420__p162143187495">To import OBS data to a DLI table, either choose <strong id="dli_01_0420__b136133052112">Data Management</strong> > <strong id="dli_01_0420__b38655463212">Databases and Tables</strong> in the navigation pane on the left, locate a desired database, and click <strong id="dli_01_0420__b1322318862413">Tables</strong> in the <strong id="dli_01_0420__b96261172419">Operation</strong> column, or choose <strong id="dli_01_0420__b11242245152419">SQL Editor</strong> in the navigation pane on the left.</p>
|
||||
<p id="dli_01_0420__p1323701709">For details, see <a href="dli_01_0253.html">Importing Data to the Table</a>.</p>
|
||||
<div id="body1562569148234"><div class="section" id="dli_01_0420__section133251856125910"><h4 class="sectiontitle">Importing Data Using OBS</h4><p id="dli_01_0420__p1323701709">On the DLI management console, you can import data stored on OBS to DLI tables from <span class="wintitle" id="dli_01_0420__wintitle89211315417"><b>Data Management > Databases and Tables > Table Management</b></span> and <span class="wintitle" id="dli_01_0420__wintitle892143164111"><b>SQL Editor</b></span> pages. For details, see <a href="dli_01_0253.html">Importing Data to the Table</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0420__section28435121978"><h4 class="sectiontitle">Importing Data Using CDM</h4><p id="dli_01_0420__p194281108614">Use the Cloud Data Migration (CDM) service to import data from OBS to DLI. You need to create a CDM queue first.</p>
|
||||
<p id="dli_01_0420__p194387111764"></p>
|
||||
<p id="dli_01_0420__p432410177">For details about how to create the queue, see "Migrating Data from OBS to DLI" in the <em id="dli_01_0420__i176611119191112">Cloud Data Migration User Guide</em>.</p>
|
||||
<p id="dli_01_0420__p64282955162347">Pay attention to the following configurations:</p>
|
||||
<ul id="dli_01_0420__ul64528752175931"><li id="dli_01_0420__li40214787175931">The VPC to which the DLI account belongs is the same as the VPC of the CDM queue.</li><li id="dli_01_0420__li2079024818231">You need to create two links, including a DLI link and an OBS link.</li><li id="dli_01_0420__li45910066182646">The format of the file to be transmitted can be <span class="parmvalue" id="dli_01_0420__parmvalue183613429422"><b>CSV</b></span> or <span class="parmvalue" id="dli_01_0420__parmvalue188361842134219"><b>JSON</b></span>.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dli_01_0420__section85731517984"><h4 class="sectiontitle">Importing Data Using DIS</h4><p id="dli_01_0420__p0948926193816">Use the Data Ingestion Service (DIS) service to import data to DLI. You need to create a DIS stream.</p>
|
||||
<p id="dli_01_0420__p996411571081"></p>
|
||||
|
||||
@ -10,11 +10,9 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0006.html">Creating an Enhanced Datasource Connection</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0624.html">Establishing a Network Connection Between DLI and Resources in a Shared VPC</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0553.html">Deleting an Enhanced Datasource Connection</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0013.html">Modifying Host Information in an Elastic Resource Pool</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0013.html">Modifying Host Information</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dli_01_0514.html">Binding and Unbinding a Queue</a></strong><br>
|
||||
</li>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<p id="dli_01_0454__p1621014250457">If the port of the Kafka server is listened on by the host name, you need to add the mapping between the host name and IP address of the Kafka Broker node to the datasource connection.</p>
|
||||
</li><li id="dli_01_0454__li178971556151812">CloudTable as the data input and output channel<p id="dli_01_0454__p8226634192020"><a name="dli_01_0454__li178971556151812"></a><a name="li178971556151812"></a>To use CloudTable as the data input and output channel, create a cluster in CloudTable and obtain the cluster ID. </p>
|
||||
</li><li id="dli_01_0454__li863414234458">CSS as the output channel<p id="dli_01_0454__p17335201910140"><a name="dli_01_0454__li863414234458"></a><a name="li863414234458"></a>To use CSS as the data output channel, create a cluster in CSS and obtain the cluster's private network address. For details, see <span class="menucascade" id="dli_01_0454__en-us_topic_0077514348_menucascade11750352152811"><b><span class="uicontrol" id="dli_01_0454__uicontrol1675035262818">Getting Started</span></b></span> in the <em id="dli_01_0454__en-us_topic_0077514348_i26427372913">Cloud Search Service User Guide</em>.</p>
|
||||
</li><li id="dli_01_0454__li758418951518">DCS as the output channel<p id="dli_01_0454__p1910175514211"><a name="dli_01_0454__li758418951518"></a><a name="li758418951518"></a>To use DCS as the output channel, create a Redis cache instance in DCS and obtain the address used for Flink jobs to connect to the Redis instance. For details, see "Buying a DCS Redis Instance" in <em id="dli_01_0454__en-us_topic_0077514348_i84235269795324">Distributed Cache Service User Guide</em>.</p>
|
||||
</li><li id="dli_01_0454__li758418951518">DCS as the output channel<p id="dli_01_0454__p1910175514211"><a name="dli_01_0454__li758418951518"></a><a name="li758418951518"></a>To use DCS as the output channel, create a Redis cache instance in DCS and obtain the address used for Flink jobs to connect to the Redis instance. For detailed operations, see <span class="menucascade" id="dli_01_0454__en-us_topic_0077514348_menucascade42497134134449"><b><span class="uicontrol" id="dli_01_0454__uicontrol46929886134449">Getting Started</span></b></span> in the <em id="dli_01_0454__en-us_topic_0077514348_i84235269795324">Distributed Cache Service User Guide</em>.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user