forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
150 lines
13 KiB
HTML
150 lines
13 KiB
HTML
<a name="EN-US_TOPIC_0000002500014126"></a><a name="EN-US_TOPIC_0000002500014126"></a>
|
|
|
|
<h1 class="topictitle1">Expanding Disk Capacity</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002500014126__section12145155715462"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002500014126__p1014575716469">Disk capacity is more likely to become the bottleneck of storage as workloads develop. When other resources are sufficient, disk capacity expansion can help you quickly break through the bottleneck without interrupting services or wasting CPU and memory resources.</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p151451157124616"><strong id="EN-US_TOPIC_0000002500014126__b5145125784615">Constraints</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p101451457184611">Disk capacity expansion can be performed only for cloud data warehouses using SSD or hybrid data warehouses. Only version 8.1.1.203 and later are supported.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section1214516577469"><h4 class="sectiontitle">Calling Method</h4><p id="EN-US_TOPIC_0000002500014126__p9145115734610">For details, see <a href="dws_02_0062.html">Calling APIs</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section714585718460"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002500014126__p1214511575461">POST /v1.0/{project_id}/clusters/{cluster_id}/expand-instance-storage</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500014126__table1014635724614" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002500014126__row111451057174617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000002500014126__p51461570466">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000002500014126__p19146557144612">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000002500014126__p16146145764612">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000002500014126__p16146175711468">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500014126__row18145145734613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002500014126__p21461957194613">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002500014126__p17146057104619">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002500014126__p81466577465">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002500014126__p9146157134617"><strong id="EN-US_TOPIC_0000002500014126__b18146357204617">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p2146145724611">Project ID. To obtain the value, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p11469578467"><strong id="EN-US_TOPIC_0000002500014126__b4146557194612">Constraints</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p191461257104617">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p414610573469"><strong id="EN-US_TOPIC_0000002500014126__b1714615572461">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p1914685713467">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p214645712462"><strong id="EN-US_TOPIC_0000002500014126__b16146105774616">Default Value</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p61461557104611">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row181451357124613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002500014126__p5146115714464">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002500014126__p141467576467">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002500014126__p614715718461">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002500014126__p10147185764610"><strong id="EN-US_TOPIC_0000002500014126__b13147157164620">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p161478575468">Cluster ID. For details about how to obtain the value, see <a href="dws_02_00068.html">Obtaining the Cluster ID</a>.</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p414725754612"><strong id="EN-US_TOPIC_0000002500014126__b131471157144613">Constraints</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p9147205774610">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p1514718573468"><strong id="EN-US_TOPIC_0000002500014126__b5147175719464">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p161472057144613">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p14147125744617"><strong id="EN-US_TOPIC_0000002500014126__b114735718467">Default Value</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p41471057184613">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section101473578463"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500014126__en-us_topic_0000002374935105_request_ExpandInstanceStorage" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002500014126__row141479574462"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="EN-US_TOPIC_0000002500014126__p151471257174613">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="EN-US_TOPIC_0000002500014126__p12147957104617">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="EN-US_TOPIC_0000002500014126__p014712572461">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="EN-US_TOPIC_0000002500014126__p1147165718461">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500014126__row101475577463"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500014126__p3147125704613">new_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500014126__p13148155784613">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500014126__p31481857114614">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500014126__p14148557124612"><strong id="EN-US_TOPIC_0000002500014126__b11481557204617">Definition</strong>Available capacity of a single node after disk expansion, in GB. The value must be greater than the existing capacity of a single node and up to the maximum capacity of a single node supported by the cluster specifications. The value must be a multiple of the step supported by the cluster specifications. To query cluster flavors, see <a href="ShowClusterFlavor.html">Querying Cluster Flavors</a>.<strong id="EN-US_TOPIC_0000002500014126__b9148125794613">Constraints</strong>N/A<strong id="EN-US_TOPIC_0000002500014126__b814835720461">Range</strong>N/A<strong id="EN-US_TOPIC_0000002500014126__b121481757144618">Default Value</strong>N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section51481057144614"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002500014126__p8148125794617"><strong id="EN-US_TOPIC_0000002500014126__b16148057164610">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p2014810571466">Request for expanding the disk capacity submitted.</p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p6148165724610">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section1314815717469"><h4 class="sectiontitle">Example Requests</h4><p id="EN-US_TOPIC_0000002500014126__p714820577468">Expand the cluster disk capacity to 200 GB on a single node.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002500014126__screen91481457104618">POST https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/clusters/b5c45780-1006-49e3-b2d5-b3229975bbc7/expand-instance-storage
|
|
|
|
{
|
|
"new_size" : 200
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section4148195715469"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002500014126__p614875710469"><strong id="EN-US_TOPIC_0000002500014126__b514815717462">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500014126__p1148957124610">Request for expanding the disk capacity submitted.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002500014126__screen21481057144618">{ }</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500014126__section102961057194610"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500014126__en-us_topic_0000002374935105_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002500014126__row1815414576464"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="EN-US_TOPIC_0000002500014126__p182961057174613">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="EN-US_TOPIC_0000002500014126__p16296145716469">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500014126__row161548576461"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p192964579469">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p1729611570466">Request for expanding the disk capacity submitted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row815435774614"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p129635714616">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p14296175744611">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row1015411579466"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p1129665711463">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p1029695714612">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row1915485764611"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p132962057194618">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p82961557164610">You do not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row0154657194614"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p229613571463">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p1296135774614">No resources found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row1115445714461"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p18296195754617">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p15296957164618">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500014126__row1715465774619"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500014126__p142969575466">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500014126__p1429655774616">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0026.html">Node Change</a></div>
|
|
</div>
|
|
</div>
|
|
|