forked from docs/doc-exports
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>
175 lines
15 KiB
HTML
175 lines
15 KiB
HTML
<a name="evs_04_2054"></a><a name="evs_04_2054"></a>
|
|
|
|
<h1 class="topictitle1">Performing a Failover for a Replication Consistency Group (Deprecated)</h1>
|
|
<div id="body8662426"><div class="section" id="evs_04_2054__en-us_topic_0079692914_section58179688"><h4 class="sectiontitle">Function</h4><p id="evs_04_2054__p54922514105836">This API is used to perform a failover for a replication consistency group. When an exception occurs in the primary AZ, a failover can be performed to change the primary site of a replication consistency group from the primary AZ to the secondary AZ and enable DR ECSs and DR disks in the secondary AZ to provide services.</p>
|
|
<p id="evs_04_2054__p23524008162736">After the failover, the <strong id="evs_04_2054__b84235270619392">replication_status</strong> value of the replication consistency group is <strong id="evs_04_2054__b842352706193859">active-stopped</strong>. In this case, EVS replication is available only after the primary AZ is restored and the replication consistency group is synchronized.</p>
|
|
<div class="note" id="evs_04_2054__note101292058172818"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="evs_04_2054__evs_04_2044_p2471775595">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_2054__en-us_topic_0079692914_section190881"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_2054__p5997560610595">If a fault occurs in the physical environment of the primary AZ due to force majeure and services become unavailable, perform a failover for the replication consistency group.</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2054__en-us_topic_0079692914_section1717931"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2054__en-us_topic_0079692914_ul40133923"><li id="evs_04_2054__en-us_topic_0079692914_li25660991">URI format<p id="evs_04_2054__en-us_topic_0079692914_p29622330"><a name="evs_04_2054__en-us_topic_0079692914_li25660991"></a><a name="en-us_topic_0079692914_li25660991"></a>POST /v2/{project_id}/os-vendor-replication-consistency-groups/{replication_consistency_group_id}/action</p>
|
|
</li><li id="evs_04_2054__en-us_topic_0079692914_li65274381">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2054__en-us_topic_0079692914_table52733512" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2054__en-us_topic_0079692914_row61408172"><th align="left" class="cellrowborder" valign="top" width="26.51%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2054__en-us_topic_0079692914_p8006030">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.12%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2054__en-us_topic_0079692914_p44508680">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.37%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2054__en-us_topic_0079692914_p30787047">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2054__en-us_topic_0079692914_row10722842"><td class="cellrowborder" valign="top" width="26.51%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2054__en-us_topic_0079692914_p63243911">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.12%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2054__en-us_topic_0079692914_p49048231144922">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.37%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2054__en-us_topic_0079692914_p6705199">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__en-us_topic_0079692914_row60346796"><td class="cellrowborder" valign="top" width="26.51%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2054__en-us_topic_0079692914_p44477328203329">replication_consistency_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.12%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2054__en-us_topic_0079692914_p60141268">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.37%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2054__en-us_topic_0079692914_p53848109">Specifies the ID of the replication consistency group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2054__en-us_topic_0079692914_section15461386"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2054__en-us_topic_0079692914_ul66729601"><li id="evs_04_2054__en-us_topic_0079692914_li63695501">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2054__en-us_topic_0079692914_table36388601" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2054__en-us_topic_0079692914_row57077814"><th align="left" class="cellrowborder" valign="top" width="22.772277227722775%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="evs_04_2054__en-us_topic_0079692914_p44382233144940">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.752475247524753%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="evs_04_2054__en-us_topic_0079692914_p38191126144940">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.831683168316832%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="evs_04_2054__en-us_topic_0079692914_p6473520144940">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35.64356435643564%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="evs_04_2054__en-us_topic_0079692914_p54593102144940">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2054__en-us_topic_0079692914_row16612996"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2054__en-us_topic_0079692914_p33260916203358">os-failover-replication-consistency-group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.752475247524753%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2054__en-us_topic_0079692914_p13072760">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2054__en-us_topic_0079692914_p52260639">object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.64356435643564%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2054__en-us_topic_0079692914_p4706321820347">The parameter value is null, indicating that a replication consistency group failover will be performed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="evs_04_2054__en-us_topic_0079692914_ul22868878"><li id="evs_04_2054__en-us_topic_0079692914_li4493316">Example request<pre class="screen" id="evs_04_2054__en-us_topic_0079692914_screen29054613205553">{
|
|
"os-failover-replication-consistency-group": null
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2054__en-us_topic_0079692914_section4934750"><h4 class="sectiontitle">Response</h4><p id="evs_04_2054__en-us_topic_0079692914_p45186080192436">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2054__en-us_topic_0079692914_section44412752"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2054__en-us_topic_0079692914_ul63988077"><li id="evs_04_2054__en-us_topic_0079692914_li39021788">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2054__evs_04_2046_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2054__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_2054__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_2054__evs_04_2046_p3039012494956">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2054__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_2054__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_2054__evs_04_2046_p1545496394956">The server has processed the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2054__en-us_topic_0079692914_li42370099">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2054__evs_04_2044_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p47646009203835">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p63350108203835">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p45364094203835">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p54117066203835">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p35909542203835">The requested page was not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p50902717203835">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p15684678203835">The response generated by the server cannot be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__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_2054__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_2054__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_2054__evs_04_2044_p11786919203835">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p19779281203835">The request cannot be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p51235984203835">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__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_2054__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_2054__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_2054__evs_04_2044_p48958538203835">Failed to complete the request because the server has received an invalid response.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__evs_04_2044_p37098455203835">Failed to complete the request because the service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2054__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_2054__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_2054__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>
|
|
|