Files
doc-exports/docs/drs/umn/drs_03_0002.html
wangdengke2 0110b557aa drs_umn
Reviewed-by: Székely, Ond <ond.szekely@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-08-14 14:05:39 +00:00

77 lines
16 KiB
HTML

<a name="drs_03_0002"></a><a name="drs_03_0002"></a>
<h1 class="topictitle1">Editing a Migration Task</h1>
<div id="body23661558"><p id="drs_03_0002__p6683195420209">For a migration task that has been created but not started, DRS allows you to <span class="keyword" id="drs_03_0002__keyword165130763">edit</span> the configuration information of the task, including the task information, replication instance information, and migration information. For migration tasks in the following statuses, you can edit the tasks again after the replication instances are created:</p>
<ul id="drs_03_0002__ul0166617123913"><li id="drs_03_0002__li1958910224397">Creating</li><li id="drs_03_0002__li18166517193916">Configuration<div class="note" id="drs_03_0002__note17661115521812"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_03_0002__p1366112557186">For a started migration task, modifying the migration objects is not supported.</p>
</div></div>
</li></ul>
<div class="section" id="drs_03_0002__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_03_0002__ul268371811469"><li id="drs_03_0002__li10683111894614">You have logged in to the DRS console.</li><li id="drs_03_0002__li1876513216463">A migration task has been created.</li></ul>
</div>
<div class="section" id="drs_03_0002__section4298797218435"><h4 class="sectiontitle">Method 1</h4><ol id="drs_03_0002__ol64601910145622"><li id="drs_03_0002__li2226573145622"><span>In the task list on the <span class="uicontrol" id="drs_03_0002__uicontrol96561741185017"><b>Online Migration Management</b></span> page, locate the target task and click <span class="uicontrol" id="drs_03_0002__uicontrol196581441135014"><b>Edit</b></span> in the <strong id="drs_03_0002__b8659194116508">Operation</strong> column.</span></li><li id="drs_03_0002__li105671010104417"><a name="drs_03_0002__li105671010104417"></a><a name="li105671010104417"></a><span>On the <strong id="drs_03_0002__b19447821102316">Configure Source and Destination Databases</strong> page, enter information about the source and destination databases and click <strong id="drs_03_0002__b15902833192316">Next</strong>.</span></li><li id="drs_03_0002__li16242113643012"><span>On the <span class="uicontrol" id="drs_03_0002__drs_04_0088_uicontrol1294216164350"><b>Set Task</b></span> page, select the accounts and objects to be migrated, and click <strong id="drs_03_0002__drs_04_0088_b18943181613358">Next</strong>.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_table165921932111919" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Migration types and objects</caption><thead align="left"><tr id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_row165921632141911"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.3.2.1.2.3.1.1"><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p1759233261916">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="75%" id="mcps1.3.4.2.3.2.1.2.3.1.2"><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p159273271920">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0002__drs_04_0088_row1328564214399"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.3.2.1.2.3.1.1 "><p id="drs_03_0002__drs_04_0088_p62641951123917">Flow Control</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_p6265105163918">You can choose whether to control the flow.</p>
<ul id="drs_03_0002__drs_04_0088_ul142651151123918"><li id="drs_03_0002__drs_04_0088_li3265651133915"><strong id="drs_03_0002__drs_04_0088_b241213492720">Yes</strong><p id="drs_03_0002__drs_04_0088_p1026565110390">You can customize the maximum migration speed.</p>
<p id="drs_03_0002__drs_04_0088_p9266851103914">In addition, you can set the time range based on your service requirements. The traffic rate setting usually includes setting of a rate limiting time period and a traffic rate value. Flow can be controlled all day or during specific time ranges. The default value is <strong id="drs_03_0002__drs_04_0088_b18787830374">All day</strong>. A maximum of three time ranges can be set, and they cannot overlap.</p>
<p id="drs_03_0002__drs_04_0088_p1826625163912">The flow rate must be set based on the service scenario and cannot exceed 9,999 MB/s.</p>
</li><li id="drs_03_0002__drs_04_0088_li1626685110394"><strong id="drs_03_0002__drs_04_0088_b48151782720">No</strong><div class="p" id="drs_03_0002__drs_04_0088_p112664518395">The migration speed is not limited and the outbound bandwidth of the source database is maximally used, which will increase the read burden on the source database. For example, if the outbound bandwidth of the source database is 100 MB/s and 80% bandwidth is used, the I/O consumption on the source database is 80 MB/s.<div class="note" id="drs_03_0002__drs_04_0088_note1426618512396"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_0002__drs_04_0088_ul4267135143911"><li id="drs_03_0002__drs_04_0088_li16267105123915">Flow control mode takes effect only during a full migration.</li><li id="drs_03_0002__drs_04_0088_li726765183919">You can also change the flow control mode after creating a task. For details, see <a href="drs_03_0046.html">Modifying the Flow Control Mode</a>.</li></ul>
</div></div>
</div>
</li></ul>
</td>
</tr>
<tr id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_row2592193212194"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.3.2.1.2.3.1.1 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p7592232201911">Migrate Account</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p11670239171013">During a database migration, accounts need to be migrated separately.</p>
<div class="p" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_03_0002__drs_04_0088_b1484733436">Yes</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
</li></ul>
</div>
<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_03_0002__drs_04_0088_b1267102359">No</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
</li></ul>
</td>
</tr>
<tr id="drs_03_0002__drs_04_0088_row117782884811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.3.2.1.2.3.1.1 "><p id="drs_03_0002__drs_04_0088_p43773229259">Filter DROP DATABASE</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_p15661141142515">To reduce the risks involved in data migration, DDL operations can be filtered out. You can choose not to synchronize certain DDL operations.</p>
<p id="drs_03_0002__drs_04_0088_p1366112418251"></p>
<ul id="drs_03_0002__drs_04_0088_ul266117417252"><li id="drs_03_0002__drs_04_0088_li06615415252">If you select <strong id="drs_03_0002__drs_04_0088_b16963321898">Yes</strong>, any database deletion operations performed on the source database are not migrated during data migration.</li><li id="drs_03_0002__drs_04_0088_li15661134172515">If you select <strong id="drs_03_0002__drs_04_0088_b1583133016916">No</strong>, related operations are migrated to the destination database during data migration.</li></ul>
</td>
</tr>
<tr id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_row559273214193"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.3.2.1.2.3.1.1 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p14592132171916">Migrate Object</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_03_0002__drs_04_0088_b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li156818580599"><strong id="drs_03_0002__drs_04_0088_b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li165086239593"><strong id="drs_03_0002__drs_04_0088_b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710470728.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_03_0002__drs_04_0088_li1650961216398">If an object name contains spaces, the spaces before and after the object name are not displayed. If there are two or more consecutive spaces in the middle of the object name, only one space is displayed.</li><li id="drs_03_0002__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="drs_03_0002__li1297517386308"><span>On the <span class="uicontrol" id="drs_03_0002__drs_04_0088_uicontrol497752321414"><b>Check Task</b></span> page, check the migration task.</span><p><ul id="drs_03_0002__drs_04_0088_ul14147195310462"><li id="drs_03_0002__drs_04_0088_li12147653194618">If any check fails, review the cause and rectify the fault. After the fault is rectified, click <strong id="drs_03_0002__drs_04_0088_b152762027181410">Check Again</strong>.<p id="drs_03_0002__drs_04_0088_p51471553104615">For details about how to handle check items that fail to pass the pre-check, see <a href="drs_11_0001.html">Solutions to Failed Check Items</a>.</p>
</li></ul>
<ul id="drs_03_0002__drs_04_0088_ul1414805314617"><li id="drs_03_0002__drs_04_0088_li214845364613">If the check is complete and the check success rate is 100%, click <span class="uicontrol" id="drs_03_0002__drs_04_0088_uicontrol189181752191711"><b>Next</b></span>.<div class="note" id="drs_03_0002__drs_04_0088_note1114835319465"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_03_0002__drs_04_0088_p1414815531460">You can proceed to the next step only when all checks are successful. If there are any items that require confirmation, view and confirm the details first before proceeding to the next step.</p>
</div></div>
</li></ul>
</p></li><li id="drs_03_0002__li56954539172654"><span>On the <span class="uicontrol" id="drs_03_0002__uicontrol1937784813620"><b>Confirm Task</b></span> page, specify <strong id="drs_03_0002__b537713484618">Start Time</strong>, confirm that the configured information is correct, and click <span class="uicontrol" id="drs_03_0002__uicontrol193776481614"><b>Submit</b></span> to submit the task.</span><p><div class="note" id="drs_03_0002__note71503405106"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_03_0002__ul1146871311818"><li id="drs_03_0002__en-us_topic_0141658663_li18335120825">Set <strong id="drs_03_0002__b178151743162317">Start Time</strong> to <strong id="drs_03_0002__b1381774322318">Start upon task creation</strong> or <strong id="drs_03_0002__b18819104310230">Start at a specified time</strong> based on site requirements.</li><li id="drs_03_0002__en-us_topic_0141658663_li3617221320">After a migration task is started, the performance of the source and destination databases may be affected. You are advised to start a migration task during off-peak hours.</li><li id="drs_03_0002__li19813162312185">Under specific conditions, the destination database needs to be restarted once during the task startup, which may interrupt database services.</li></ul>
</div></div>
</p></li><li id="drs_03_0002__li620112563620"><a name="drs_03_0002__li620112563620"></a><a name="li620112563620"></a><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_0002__uicontrol56961558105815"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_03_0002__ul9201162553611"><li id="drs_03_0002__li149793418594">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_03_0002__li3201152543617">You can click <span><img id="drs_03_0002__image774471515913" src="en-us_image_0000001758429493.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
<div class="section" id="drs_03_0002__section11473394154445"><h4 class="sectiontitle">Method 2</h4><ol id="drs_03_0002__ol45572614154457"><li id="drs_03_0002__li18429954154457"><span>On the <span class="uicontrol" id="drs_03_0002__uicontrol12220713105915"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_03_0002__b1422211313591">Task Name/ID</strong> column.</span></li><li id="drs_03_0002__li16355278154459"><span>On the displayed page, click <strong id="drs_03_0002__b01213105528">edit this task</strong> to go to the <strong id="drs_03_0002__b19131710155210">Configure Source and Destination Databases</strong> page.</span></li><li id="drs_03_0002__li5681675815469"><span>Perform steps <a href="#drs_03_0002__li105671010104417">2</a> to <a href="#drs_03_0002__li620112563620">6</a>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0008.html">Task Life Cycle</a></div>
</div>
</div>