doc-exports/docs/evs/api-ref/evs_04_2056.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

175 lines
16 KiB
HTML

<a name="evs_04_2056"></a><a name="evs_04_2056"></a>
<h1 class="topictitle1">Performing a Primary/Secondary Switchover for a Replication Consistency Group (Deprecated)</h1>
<div id="body8662426"><div class="section" id="evs_04_2056__en-us_topic_0079692996_section57480441"><h4 class="sectiontitle">Function</h4><p id="evs_04_2056__p4637150811111">This API is used to perform a primary/secondary switchover for a replication consistency group. A switchover can be performed to switch the primary and secondary AZs of a replication consistency group, which means that the original secondary AZ will be switched to function as the primary AZ, and original DR ECSs and DR disks will be enabled.</p>
<p id="evs_04_2056__p35078900163112">After the primary/secondary switchover, the <strong id="evs_04_2056__b842352706194243">replication_status</strong> value of the replication consistency group is <strong id="evs_04_2056__b84235270619437">active</strong>. At this time, the data between production disks and DR disks in the primary and secondary AZs is consistent in real time, and EVS replication is working normally.</p>
<div class="note" id="evs_04_2056__note101292058172818"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="evs_04_2056__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_2056__en-us_topic_0079692996_section27310456"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_2056__en-us_topic_0079692996_p34957489">The data synchronization of the replication consistency group is complete, and the replication consistency group is working normally.</p>
</div>
<div class="section" id="evs_04_2056__en-us_topic_0079692996_section44467520"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2056__en-us_topic_0079692996_ul12984378"><li id="evs_04_2056__en-us_topic_0079692996_li49750539">URI format<p id="evs_04_2056__en-us_topic_0079692996_p62044516203612"><a name="evs_04_2056__en-us_topic_0079692996_li49750539"></a><a name="en-us_topic_0079692996_li49750539"></a>POST /v2/{project_id}/os-vendor-replication-consistency-groups/{replication_consistency_group_id}/action</p>
</li><li id="evs_04_2056__en-us_topic_0079692996_li3261819">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2056__en-us_topic_0079692996_table62880759" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2056__en-us_topic_0079692996_row29373839"><th align="left" class="cellrowborder" valign="top" width="26.507349265073493%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2056__en-us_topic_0079692996_p47404858145957">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.917108289171082%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2056__en-us_topic_0079692996_p423976441504">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.575542445755424%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2056__en-us_topic_0079692996_p22594769">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2056__en-us_topic_0079692996_row18237015"><td class="cellrowborder" valign="top" width="26.507349265073493%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2056__en-us_topic_0079692996_p803253">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="28.917108289171082%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2056__en-us_topic_0079692996_p65063572">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="44.575542445755424%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2056__en-us_topic_0079692996_p2617844">Specifies the project ID.</p>
</td>
</tr>
<tr id="evs_04_2056__en-us_topic_0079692996_row23560597"><td class="cellrowborder" valign="top" width="26.507349265073493%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2056__en-us_topic_0079692996_p39307086203625">replication_consistency_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="28.917108289171082%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2056__en-us_topic_0079692996_p6149015615032">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="44.575542445755424%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2056__en-us_topic_0079692996_p18319327">Specifies the ID of the replication consistency group.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="evs_04_2056__en-us_topic_0079692996_section64663364"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2056__en-us_topic_0079692996_ul7470517"><li id="evs_04_2056__en-us_topic_0079692996_li125790">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2056__en-us_topic_0079692996_table1132111" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2056__en-us_topic_0079692996_row40262542"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="evs_04_2056__en-us_topic_0079692996_p25486215046">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_2056__en-us_topic_0079692996_p2064385715046">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="evs_04_2056__en-us_topic_0079692996_p6153972915046">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="evs_04_2056__en-us_topic_0079692996_p1866213315046">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2056__en-us_topic_0079692996_row46146710"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2056__en-us_topic_0079692996_p63920382203643">os-reverse-replication-consistency-group</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2056__en-us_topic_0079692996_p40484047">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2056__en-us_topic_0079692996_p57982344">object</p>
</td>
<td class="cellrowborder" valign="top" width="36%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2056__p163422054161717">The parameter value is null, indicating that a primary/secondary switchover will be performed for the replication consistency group.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="evs_04_2056__en-us_topic_0079692996_ul49117947"><li id="evs_04_2056__en-us_topic_0079692996_li39408341">Example request<pre class="screen" id="evs_04_2056__en-us_topic_0079692996_screen46642608205656">{
"os-reverse-replication-consistency-group": null
}</pre>
</li></ul>
</div>
<div class="section" id="evs_04_2056__en-us_topic_0079692996_section45099364"><h4 class="sectiontitle">Response</h4><p id="evs_04_2056__en-us_topic_0079692996_p8613806192810">None</p>
</div>
<div class="section" id="evs_04_2056__en-us_topic_0079692996_section3241099"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2056__evs_04_2046_en-us_topic_0079693004_ul34896342"><li id="evs_04_2056__evs_04_2046_en-us_topic_0079693002_li34472331">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2056__evs_04_2046_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_p3039012494956">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_p1545496394956">The server has processed the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="evs_04_2056__evs_04_2046_en-us_topic_0079693004_li61464796">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2056__evs_04_2046_evs_04_2044_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p47646009203835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p63350108203835">The server failed to process the request.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__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_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p54117066203835">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p35909542203835">The requested page was not found.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p11786919203835">The request timed out.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p19779281203835">The request cannot be processed due to a conflict.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__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_2056__evs_04_2046_evs_04_2044_p37098455203835">Failed to complete the request because the service is unavailable.</p>
</td>
</tr>
<tr id="evs_04_2056__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_2056__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_2056__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>