doc-exports/docs/evs/api-ref/evs_04_2059.html
Zaoxu, Li 305c41bb57 EVS 2.0.38 SP1 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2022-10-19 22:27:18 +00:00

224 lines
19 KiB
HTML

<a name="evs_04_2059"></a><a name="evs_04_2059"></a>
<h1 class="topictitle1">Expanding EVS Disks in a Replication Consistency Group (Deprecated)</h1>
<div id="body1515726501872"><div class="section" id="evs_04_2059__en-us_topic_0079692995_section39582655"><h4 class="sectiontitle">Function</h4><p id="evs_04_2059__p199697711335">This API is used to expand the EVS disks in one or multiple EVS replication pairs. In such an expansion operation, two EVS disks in one EVS replication pair are expanded together.</p>
<div class="note" id="evs_04_2059__note22963339101036"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="evs_04_2059__p84761733174513">The <strong id="evs_04_2059__b84235270617435">status</strong> and <strong id="evs_04_2059__b84235270617438">replication_status</strong> values of the replication consistency group remain unchanged before and after capacity expansion. When <strong id="evs_04_2059__b842352706174344">200</strong> is returned, the capacity expansion is complete.</p>
<p id="evs_04_2059__p5343466101036">If the expansion fails, contact technical support engineers to locate and rectify the fault. After the fault is rectified, expand the disks again.</p>
<p id="evs_04_2059__p78511633172510">If the capacities of multiple EVS replication pairs in a protection group are expanded, an error indicating incorrect capacity will occur after the capacity expansion.</p>
<p id="evs_04_2059__p8789519129">This API has been deprecated. To use this function, see <a href="https://docs.otc.t-systems.com/en-us/api/sdrs/sdrs_01_0000.html" target="_blank" rel="noopener noreferrer">Storage Disaster Recovery Service API Reference</a>.</p>
</div></div>
</div>
<div class="section" id="evs_04_2059__en-us_topic_0079692995_section66053444"><h4 class="sectiontitle">Constraints</h4><ul id="evs_04_2059__ul5590059113335"><li id="evs_04_2059__li50310535113335">The <strong id="evs_04_2059__b842352706191055">status</strong> value of the replication consistency group must be <strong id="evs_04_2059__b84235270619951">available</strong>.</li><li id="evs_04_2059__li37697366113335">The <strong id="evs_04_2059__b842352706191037">replication_status</strong> value of the replication consistency group cannot be <strong id="evs_04_2059__b842352706191034">error</strong>.</li></ul>
</div>
<div class="section" id="evs_04_2059__en-us_topic_0079692995_section57610085"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2059__en-us_topic_0079692995_ul28244045"><li id="evs_04_2059__en-us_topic_0079692995_li52869820">URI<p id="evs_04_2059__p23391687113351"><a name="evs_04_2059__en-us_topic_0079692995_li52869820"></a><a name="en-us_topic_0079692995_li52869820"></a>POST /v2/{project_id}/os-vendor-replication-consistency-groups/{replication_consistency_group_id}/action</p>
</li><li id="evs_04_2059__en-us_topic_0079692995_li54597003">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2059__en-us_topic_0079692995_table60281111" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2059__en-us_topic_0079692995_row54232412"><th align="left" class="cellrowborder" valign="top" width="26.83%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2059__en-us_topic_0079692995_p30749271">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.270000000000003%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2059__en-us_topic_0079692995_p38400427145446">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43.9%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2059__en-us_topic_0079692995_p59349811145459">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2059__en-us_topic_0079692995_row16706408"><td class="cellrowborder" valign="top" width="26.83%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2059__en-us_topic_0079692995_p11041789">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.270000000000003%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2059__en-us_topic_0079692995_p21969731">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="43.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2059__en-us_topic_0079692995_p60677888">Specifies the project ID.</p>
</td>
</tr>
<tr id="evs_04_2059__en-us_topic_0079692995_row9230088"><td class="cellrowborder" valign="top" width="26.83%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2059__en-us_topic_0079692995_p45753361203514">replication_consistency_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.270000000000003%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2059__en-us_topic_0079692995_p26412257">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="43.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2059__en-us_topic_0079692995_p15736877">Specifies the ID of the replication consistency group.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="evs_04_2059__en-us_topic_0079692995_section48728718"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2059__en-us_topic_0079692995_ul66727538"><li id="evs_04_2059__en-us_topic_0079692995_li63676932">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2059__en-us_topic_0079692995_table36221483" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2059__en-us_topic_0079692995_row2537905"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="evs_04_2059__en-us_topic_0079692995_p58125178145537">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="evs_04_2059__en-us_topic_0079692995_p10518955145537">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="evs_04_2059__en-us_topic_0079692995_p46729058145537">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="evs_04_2059__en-us_topic_0079692995_p26957316145537">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2059__en-us_topic_0079692995_row61660876"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2059__p66677196113435">os-extend-replication-volumes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2059__p32143823113435">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2059__p53512850113435">Object</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2059__p39573565113435">Specifies the EVS disk expansion operation.</p>
</td>
</tr>
<tr id="evs_04_2059__row4794279113415"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2059__p59426629113435">replications</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2059__p48827612113435">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2059__p62722520113435">list</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2059__p47359393113435">Specifies the expansion information of one or multiple EVS replication pairs.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="evs_04_2059__ul23393056215653"><li id="evs_04_2059__li9210918215653">Parameters in the <strong id="evs_04_2059__b31511121547">replications</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2059__table1248526215628" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2059__row47877207215628"><th align="left" class="cellrowborder" valign="top" width="24.197580241975803%" id="mcps1.3.4.3.1.2.1.5.1.1"><p id="evs_04_2059__p52848519215628">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.73832616738326%" id="mcps1.3.4.3.1.2.1.5.1.2"><p id="evs_04_2059__p52871619215628">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.14868513148685%" id="mcps1.3.4.3.1.2.1.5.1.3"><p id="evs_04_2059__p54742772215628">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45.91540845915409%" id="mcps1.3.4.3.1.2.1.5.1.4"><p id="evs_04_2059__p4979586215628">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2059__row54508746215628"><td class="cellrowborder" valign="top" width="24.197580241975803%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="evs_04_2059__p53132321215628">id</p>
</td>
<td class="cellrowborder" valign="top" width="16.73832616738326%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="evs_04_2059__p8750773215628">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.14868513148685%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="evs_04_2059__p37724013215628">String</p>
</td>
<td class="cellrowborder" valign="top" width="45.91540845915409%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="evs_04_2059__p35746226215628">Specifies the IDs of EVS replication pairs.</p>
</td>
</tr>
<tr id="evs_04_2059__row53280580215628"><td class="cellrowborder" valign="top" width="24.197580241975803%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="evs_04_2059__p20759751215628">new_size</p>
</td>
<td class="cellrowborder" valign="top" width="16.73832616738326%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="evs_04_2059__p3818250215628">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.14868513148685%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="evs_04_2059__p40842805215628">integer</p>
</td>
<td class="cellrowborder" valign="top" width="45.91540845915409%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="evs_04_2059__p19932913215628">Specifies the disk capacity after expansion in the EVS replication pair. The unit is GB.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="evs_04_2059__en-us_topic_0079692995_ul40656116"><li id="evs_04_2059__en-us_topic_0079692995_li30360724">Example request<pre class="screen" id="evs_04_2059__screen29907718113612">{
"os-extend-replication-volumes": {
"replications": [
{"id": "25132c7a-bf71-4d18-8a2e-1ad11416c057", "new_size": 10},
{"id": "6a61d65c-269e-4592-8a89-95742b075b1a", "new_size": 20}
]
}
}</pre>
</li></ul>
</div>
<div class="section" id="evs_04_2059__en-us_topic_0079692995_section35905280"><h4 class="sectiontitle">Response</h4><p id="evs_04_2059__en-us_topic_0079692995_p7911820192635">None</p>
</div>
<div class="section" id="evs_04_2059__en-us_topic_0079692995_section54712068"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2059__evs_04_2046_en-us_topic_0079693004_ul34896342"><li id="evs_04_2059__evs_04_2046_en-us_topic_0079693002_li34472331">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2059__evs_04_2046_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2059__evs_04_2046_row2336641294956"><th align="left" class="cellrowborder" valign="top" width="42.59%" id="mcps1.3.6.2.1.1.1.3.1.1"><p id="evs_04_2059__evs_04_2046_p1363125894956">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.410000000000004%" id="mcps1.3.6.2.1.1.1.3.1.2"><p id="evs_04_2059__evs_04_2046_p3039012494956">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2059__evs_04_2046_row507566794956"><td class="cellrowborder" valign="top" width="42.59%" headers="mcps1.3.6.2.1.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_p847584694956">200</p>
</td>
<td class="cellrowborder" valign="top" width="57.410000000000004%" headers="mcps1.3.6.2.1.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_p1545496394956">The server has processed the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="evs_04_2059__evs_04_2046_en-us_topic_0079693004_li61464796">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2059__evs_04_2046_evs_04_2044_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2059__evs_04_2046_evs_04_2044_row35704554203835"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="evs_04_2059__evs_04_2046_evs_04_2044_p6387753203835">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="evs_04_2059__evs_04_2046_evs_04_2044_p47646009203835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2059__evs_04_2046_evs_04_2044_row34121538203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p12381163203835">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p63350108203835">The server failed to process the request.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row33280063203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p11330608203835">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p45364094203835">You must enter the username and password to access the requested page.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row5623667203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p52863895203835">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p54117066203835">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row17291554203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p58438642203835">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p35909542203835">The requested page was not found.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row54750425203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p5599455203835">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p50902717203835">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row55471277203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p63988484203835">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p15684678203835">The response generated by the server cannot be accepted by the client.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row6944380203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p25623884203835">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p62268733203835">You must use the proxy server for authentication. Then, the request can be processed.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row23547689203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p28314670203835">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p11786919203835">The request timed out.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row38973411203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p2729702203835">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p19779281203835">The request cannot be processed due to a conflict.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row43795805203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p57799353203835">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p51235984203835">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row58470678203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p38504500203835">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p31856770203835">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row18275474203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p3918444203835">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p48958538203835">Failed to complete the request because the server has received an invalid response.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row37973662203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p55967806203835">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p37098455203835">Failed to complete the request because the service is unavailable.</p>
</td>
</tr>
<tr id="evs_04_2059__evs_04_2046_evs_04_2044_row65450640203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p67010448203835">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="evs_04_2059__evs_04_2046_evs_04_2044_p59137180203835">A gateway timeout error occurs.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2048.html">Replication Consistency Group (Deprecated)</a></div>
</div>
</div>