forked from docs/doc-exports
DRS UMN 20221102 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
This commit is contained in:
parent
82285f686d
commit
5523220f09
2632
docs/drs/umn/ALL_META.TXT.json
Normal file
2632
docs/drs/umn/ALL_META.TXT.json
Normal file
File diff suppressed because it is too large
Load Diff
2369
docs/drs/umn/CLASS.TXT.json
Normal file
2369
docs/drs/umn/CLASS.TXT.json
Normal file
File diff suppressed because it is too large
Load Diff
3
docs/drs/umn/PARAMETERS.txt
Normal file
3
docs/drs/umn/PARAMETERS.txt
Normal file
@ -0,0 +1,3 @@
|
||||
version=""
|
||||
language="en-us"
|
||||
type=""
|
30
docs/drs/umn/drs_01_0001.html
Normal file
30
docs/drs/umn/drs_01_0001.html
Normal file
@ -0,0 +1,30 @@
|
||||
<a name="drs_01_0001"></a><a name="drs_01_0001"></a>
|
||||
|
||||
<h1 class="topictitle1">Service Overview</h1>
|
||||
<div id="body8662426"><p id="drs_01_0001__en-us_topic_0000001160149264_p4426995810307">This chapter provides general information about Data Replication Service (DRS), including its application scenarios, functions, and constraints.</p>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0002.html">What Is DRS?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0113.html">Advantages</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0300.html">Functions and Features</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_08_0002.html">Mapping Data Types</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0005.html">Basic Concepts</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0012.html">Security Suggestions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0021.html">Accessing DRS</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0200.html">Instructions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0318.html">Compliance Description</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0004.html">Related Services</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
29
docs/drs/umn/drs_01_0002.html
Normal file
29
docs/drs/umn/drs_01_0002.html
Normal file
@ -0,0 +1,29 @@
|
||||
<a name="drs_01_0002"></a><a name="drs_01_0002"></a>
|
||||
|
||||
<h1 class="topictitle1">What Is DRS?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0002__en-us_topic_0000001205627855_p84840221515"><span class="keyword" id="drs_01_0002__en-us_topic_0000001205627855_keyword18966514571">DRS</span> is a stable, efficient, and easy-to-use cloud service for database migration and synchronization in real time.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p310225416262">It simplifies data migration processes and reduces migration costs.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p48304665162258">You can use DRS to quickly transmit data between different DB engines.</p>
|
||||
<div class="section" id="drs_01_0002__en-us_topic_0000001205627855_section448201534816"><h4 class="sectiontitle">Real-Time Migration</h4><p id="drs_01_0002__en-us_topic_0000001205627855_p1780661161319">With DRS, you can migrate data from sources to destinations in real time. You create a replication instance to connect to both the source and destination and configure objects to be migrated. DRS will help you compare metrics and data between source and destination, so you can determine the best time to switch to the destination database while minimizing service downtime.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p17909171061610">You can perform a migration task over multiple types of networks, such as public networks, VPCs, VPNs, and direct connections. With these network connections, you can migrate between different cloud platforms, from on-premises databases to cloud databases, or between cloud databases across regions.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p59931458145015">DRS supports incremental migration, so you can replicate ongoing changes to keep sources and destinations in sync while minimizing the impact of service downtime and migration.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0002__en-us_topic_0000001205627855_section19388184213493"><h4 class="sectiontitle">Backup Migration</h4><p id="drs_01_0002__en-us_topic_0000001205627855_p11871124125019">It often becomes necessary to hide the real IP address of your database for the sake of security. Migrating data through direct connections is an option, but costly. DRS supports backup migration, which allows you to export data from your source database for backup and upload the backup files to OBS. Then, you can restore the backup files to the destination database to complete the migration. Using this method, data migration can be realized without exposing your source databases.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p1228944011296">You can use backup migration when you want to migrate on-premises databases to the cloud.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p209972281503">Without connecting to your sources, DRS can help you complete data migration.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0002__en-us_topic_0000001205627855_section1173852885112"><h4 class="sectiontitle">Real-Time Synchronization</h4><p id="drs_01_0002__en-us_topic_0000001205627855_p1981294972119">Real-time synchronization refers to the real-time flow of key service data from sources to destinations through a synchronization instance while consistency of data can be ensured.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p15420654202119">It is different from migration. Migration means moving your overall database from one platform to another. Synchronization refers to the continuous flow of data between different services.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p199805302582">You can use real-time synchronization in many scenarios such as real-time analysis, report system, and data warehouse environment.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p18437123195114">Real-time synchronization is mainly used for synchronizing tables and data. It can meet various requirements, such as many-to-one, one-to-many synchronization, dynamic addition and deletion of tables, and synchronization between tables with different names.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0002__en-us_topic_0000001205627855_section57679117408"><h4 class="sectiontitle">Real-Time Disaster Recovery</h4><p id="drs_01_0002__en-us_topic_0000001205627855_p1018254434117">To prevent service unavailability caused by regional faults, DRS provides disaster recovery to ensure service continuity. You can easily implement disaster recovery between on-premises and cloud, without the need to invest a lot in infrastructure in advance.</p>
|
||||
<p id="drs_01_0002__en-us_topic_0000001205627855_p151021106261">The disaster recovery architectures, such as two-site three-data-center and two-site four-data center, are supported. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
26
docs/drs/umn/drs_01_0004.html
Normal file
26
docs/drs/umn/drs_01_0004.html
Normal file
@ -0,0 +1,26 @@
|
||||
<a name="drs_01_0004"></a><a name="drs_01_0004"></a>
|
||||
|
||||
<h1 class="topictitle1">Related Services</h1>
|
||||
<div id="body8662426"><div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section191168144833"><h4 class="sectiontitle">RDS</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p44972452145814">DRS can migrate data from your databases to the RDS databases in the cloud. For more information about RDS, see Relational Database Service User Guide.</p>
|
||||
<p id="drs_01_0004__en-us_topic_0000001160467742_p33820795144845">Supported network types during migration to RDS:</p>
|
||||
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul172040313300"><li id="drs_01_0004__en-us_topic_0000001160467742_li5642905913305">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li4390984913300">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li11519826122311">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li1995581015312">Public network</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section19840420182914"><h4 class="sectiontitle">DDS</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p19840172015291">DRS can migrate data from your databases to the DDS databases in the cloud. For more information about DDS, see Document Database Service User Guide.</p>
|
||||
<p id="drs_01_0004__en-us_topic_0000001160467742_p4840162016291">Supported network types during migration from <span class="keyword" id="drs_01_0004__en-us_topic_0000001160467742_keyword1971820715395">MongoDB databases</span> to DDS:</p>
|
||||
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul18401420132913"><li id="drs_01_0004__en-us_topic_0000001160467742_li1884012017291">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li1884062012298">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li5833104935813">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li1984010208294">Public network</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section57371453135210"><h4 class="sectiontitle">GaussDB(for MySQL)</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p07372539525">DRS can migrate data from your databases to GaussDB(for MySQL) on the current cloud. For more information about GaussDB(for MySQL), see GaussDB(for MySQL) User Guide.</p>
|
||||
<p id="drs_01_0004__en-us_topic_0000001160467742_p1473765385220">Supported network types during migration to GaussDB(for MySQL) on the current cloud:</p>
|
||||
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul15737053205212"><li id="drs_01_0004__en-us_topic_0000001160467742_li1173745345217">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li773755311525">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li13737195318522">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li77381253165210">Public network</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section19001457124318"><h4 class="sectiontitle">GaussDB(for openGauss)</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p234415913458">DRS can migrate data from your databases to GaussDB(for openGauss) on the current cloud. For more information about GaussDB(for openGauss), see GaussDB(for openGauss) User Guide.</p>
|
||||
<p id="drs_01_0004__en-us_topic_0000001160467742_p05203221464">Supported network types during migration to GaussDB(for openGauss) on the current cloud:</p>
|
||||
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul105216223465"><li id="drs_01_0004__en-us_topic_0000001160467742_li852162212469">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li652162204612">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li10521162216461">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li1352152274611">Public network</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
49
docs/drs/umn/drs_01_0005.html
Normal file
49
docs/drs/umn/drs_01_0005.html
Normal file
@ -0,0 +1,49 @@
|
||||
<a name="drs_01_0005"></a><a name="drs_01_0005"></a>
|
||||
|
||||
<h1 class="topictitle1">Basic Concepts</h1>
|
||||
<div id="body8662426"><div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section1346635218138"><h4 class="sectiontitle">VPC</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p1361203941319">VPC-based migration refers to a real-time migration that the source and destination databases are in the same VPC or two VPCs that can communicate with each other. No additional network services are required.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section17294712141414"><h4 class="sectiontitle">VPN</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p15294101210149">VPN-based migration refers to a real-time migration where the source and destination databases are in the same VPN network. The VPN establishes a secure, encrypted communication tunnel that complies with industry standards between your data centers and the cloud platform. Through this tunnel, DRS seamlessly migrates data from the data center to the cloud.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section79230919174"><h4 class="sectiontitle">Direct Connect</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p192317941716">Direct Connect enables you to establish a dedicated network connection from your data center to the cloud platform. With Direct Connect, you can use a dedicated network connection to connect your data center to VPCs to enjoy a high-performance, low-latency, and secure network.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section18876113141713"><h4 class="sectiontitle">Replication Instance</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p8876161381713">A replication instance refers to an instance that performs the migration task. It exists in the whole lifecycle of a migration task. DRS uses the replication instance to connect to the source database, read source data, and replicate the data to the destination database.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section19157026141717"><h4 class="sectiontitle">Migration Log</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p1915702614178">A migration log refers to the log generated during database migration. Migration logs are classified into the following levels: warning, error, and info.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section14806541176"><h4 class="sectiontitle">Task Check</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p178075417171">Before starting a migration task, you need to check whether the source and destination databases have met all migration requirements. If any check item fails, rectify the fault and check the task again. Only when all check items are successful the task can start.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_section159143379455"><h4 class="sectiontitle">To the Cloud</h4><p id="drs_01_0005__en-us_topic_0000001205747781_p3905163694617">DRS requires that either the source or destination database is on the current cloud. <strong id="drs_01_0005__en-us_topic_0000001205747781_b2547195417553">To the cloud</strong> means that the destination database must be on the current cloud.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_section2760183914518"><h4 class="sectiontitle">Out of the Cloud</h4><p id="drs_01_0005__en-us_topic_0000001205747781_p11902110104712">DRS requires that either the source or destination database is on the current cloud. <strong id="drs_01_0005__en-us_topic_0000001205747781_b6147145911552">Out of the cloud</strong> means that the source database must be on the current cloud.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section1627416207215"><h4 class="sectiontitle">Current Cloud as Standby</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p327402015211">If you select <strong id="drs_01_0005__en-us_topic_0000001205747781_b1873352196">Current cloud as standby</strong> for <strong id="drs_01_0005__en-us_topic_0000001205747781_b926184713191">Disaster Recovery Relationship</strong>, it means that the DR database is a database on the current cloud.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section2746616162617"><h4 class="sectiontitle">Current Cloud as Active</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p77471116132611">If you select <strong id="drs_01_0005__en-us_topic_0000001205747781_b1057210545201">Current cloud as active</strong> for <strong id="drs_01_0005__en-us_topic_0000001205747781_b3574135442012">Disaster Recovery Relationship</strong>, it means that the service database is a database on the current cloud.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section19219175720532"><h4 class="sectiontitle">Region and AZ</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p947413593532">A region and availability zone (AZ) identify the location of a data center. You can create resources in a specific region and AZ.</p>
|
||||
<ul id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_ul15009154544"><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li15001615175410">A region is a physical data center. Each region is completely independent, improving fault tolerance and stability. After a resource is created, its region cannot be changed.</li><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li1850014152541">An AZ is a physical location using independent power supplies and networks. Faults in an AZ do not affect other AZs. A region can contain multiple AZs, which are physically isolated but interconnected through internal networks. This ensures the independence of AZs and provides low-cost and low-latency network connections.</li></ul>
|
||||
<p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p358635610541"><a href="#drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716">Figure 1</a> shows the relationship between regions and AZs.</p>
|
||||
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"><a name="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><a name="en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><span class="figcap"><b>Figure 1 </b>Region and AZ</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_image221039023" src="en-us_image_0000001341254148.png"></span></div>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_section415012145264"><h4 class="sectiontitle">Project</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_p1289616261242">A project corresponds to a region. Projects group and isolate resources (including compute, storage, and network resources) across physical regions. Users can be granted permissions in a default project to access all resources in the region associated with the project. If you need more refined access control, create subprojects under a default project and create resources in subprojects. Then you can assign users the permissions required to access only the resources in the specific subprojects.</p>
|
||||
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_fig1032520265332"><span class="figcap"><b>Figure 2 </b>Project isolating model</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_image1732632614336" src="en-us_image_0000001341094488.gif"></span></div>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section13642481187"><h4 class="sectiontitle">Account Entrustment</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p4627484188">DRS will <span class="keyword" id="drs_01_0005__en-us_topic_0000001205747781_keyword1989095518195">entrust your account to the administrator</span> to implement some functions. For example, if you enable scheduled startup tasks, DRS will automatically entrust your account to DRS administrator <strong id="drs_01_0005__en-us_topic_0000001205747781_b1817811158142">op_svc_rds</strong> during the task creation to implement automated management on the scheduled tasks.</p>
|
||||
<p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p106272814181">Account entrustment can be implemented in the same region only.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section172201413191815"><h4 class="sectiontitle">Temporary Accounts</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p1220571301814">To ensure that your database can be successfully migrated to RDS MySQL DB instances, <span class="keyword" id="drs_01_0005__en-us_topic_0000001205747781_keyword178921912558">DRS</span> automatically creates temporary accounts <strong id="drs_01_0005__en-us_topic_0000001205747781_b9560165718431">drsFull</strong> and <strong id="drs_01_0005__en-us_topic_0000001205747781_b0562105717431">drsIncremental</strong> in the destination database during full migration and incremental migration, respectively. After the migration task is complete, DRS automatically deletes the temporary account.</p>
|
||||
<div class="notice" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_note19205713121815"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p162052013121819">Attempting to delete, rename, or change the passwords or permissions for these accounts will cause task errors.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section83141419171820"><h4 class="sectiontitle">High Availability</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p8314181917181">If the primary host of a replication instance fails, it automatically fails over to the standby host, preventing service interruption and improving the success rate of migration.</p>
|
||||
<div class="p" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p4314819201813">If a replication instance fails, the system will automatically restart the instance and retry the task. In this case, the task status changes to <strong id="drs_01_0005__en-us_topic_0000001205747781_b5194195911372">Fault rectification</strong>. If the replication instance is still faulty after being restarted, the system automatically creates an instance. After the instance is created, the system retries the task again. The high availability management applies to the following tasks:<ul id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_ul131481911814"><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li53141719101814">Full migration</li><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li1131420194180">Incremental migration</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
17
docs/drs/umn/drs_01_0012.html
Normal file
17
docs/drs/umn/drs_01_0012.html
Normal file
@ -0,0 +1,17 @@
|
||||
<a name="drs_01_0012"></a><a name="drs_01_0012"></a>
|
||||
|
||||
<h1 class="topictitle1">Security Suggestions</h1>
|
||||
<div id="body8662426"><p id="drs_01_0012__en-us_topic_0000001160149262_p021172611524">You can encrypt data and database connections and increase database account security.</p>
|
||||
<div class="section" id="drs_01_0012__en-us_topic_0000001160149262_section336214791507"><h4 class="sectiontitle">Data Encryption</h4><p id="drs_01_0012__en-us_topic_0000001160149262_p434879515013">Before saving sensitive information and private data in a database, encrypt data to reduce the risk of information leakage.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0012__en-us_topic_0000001160149262_section151257171419"><h4 class="sectiontitle">Connection Encryption</h4><p id="drs_01_0012__en-us_topic_0000001160149262_p2074715816142">Use the Secure Sockets Layer (SSL) to encrypt connections between applications and DB instances to enhance data transmission security.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0012__section14925555426"><h4 class="sectiontitle">Database Account Security</h4><p id="drs_01_0012__p12612028316">To ensure data security, improve the security of database accounts.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
15
docs/drs/umn/drs_01_0021.html
Normal file
15
docs/drs/umn/drs_01_0021.html
Normal file
@ -0,0 +1,15 @@
|
||||
<a name="drs_01_0021"></a><a name="drs_01_0021"></a>
|
||||
|
||||
<h1 class="topictitle1">Accessing DRS</h1>
|
||||
<div id="body8662426"><div class="section" id="drs_01_0021__en-us_topic_0000001160307832_section991392816495"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_01_0021__en-us_topic_0000001160307832_p95172014204914">To begin using DRS, register an account on the official website. When the registration is successful, you can access all cloud services, including DRS and RDS.</p>
|
||||
<p id="drs_01_0021__en-us_topic_0000001160307832_p368064294915">If you have registered an account, you can log in to the management console and access your DRS.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0021__en-us_topic_0000001160307832_section13232289420"><h4 class="sectiontitle">Procedure</h4><ol id="drs_01_0021__en-us_topic_0000001160307832_ol111216151427"><li id="drs_01_0021__en-us_topic_0000001160307832_li5121159427"><span>Log in to the management console.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_li20121815154219"><span>Click <span><img id="drs_01_0021__en-us_topic_0000001160307832_image71281517423" src="en-us_image_0000001391854173.png"></span> in the upper left corner and select a region and project.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_l3212c99a6cc54bf48a88fc4e81c201d2"><span>Log in to the management console, click <strong id="drs_01_0021__en-us_topic_0000001160307832_b24791519203714">Data Replication Service</strong> under <strong id="drs_01_0021__en-us_topic_0000001160307832_b5223163216378">Databases</strong> to go to the DRS console.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
29
docs/drs/umn/drs_01_0099.html
Normal file
29
docs/drs/umn/drs_01_0099.html
Normal file
@ -0,0 +1,29 @@
|
||||
<a name="drs_01_0099"></a><a name="drs_01_0099"></a>
|
||||
|
||||
<h1 class="topictitle1">FAQs</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0103.html">Product Consulting</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0108.html">Network and Security</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0040.html">Permissions Management</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0025.html">Real-Time Migration</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0457.html">Backup Migration</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0026.html">Real-Time Synchronization</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0028.html">Real-Time Disaster Recovery</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_14_0001.html">Data-Level Comparison</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0029.html">General Operations</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_16_1156.html">Delay</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
25
docs/drs/umn/drs_01_0100.html
Normal file
25
docs/drs/umn/drs_01_0100.html
Normal file
@ -0,0 +1,25 @@
|
||||
<a name="drs_01_0100"></a><a name="drs_01_0100"></a>
|
||||
|
||||
<h1 class="topictitle1">What Is DRS?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p84840221515"><span class="keyword" id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_keyword18966514571">DRS</span> is a stable, efficient, and easy-to-use cloud service for database migration and synchronization in real time.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p310225416262">It simplifies data migration processes and reduces migration costs.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p48304665162258">You can use DRS to quickly transmit data between different DB engines.</p>
|
||||
<div class="section" id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_section448201534816"><h4 class="sectiontitle">Real-Time Migration</h4><p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p1780661161319">With DRS, you can migrate data from sources to destinations in real time. You create a replication instance to connect to both the source and destination and configure objects to be migrated. DRS will help you compare metrics and data between source and destination, so you can determine the best time to switch to the destination database while minimizing service downtime.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p17909171061610">You can perform a migration in multiple types of networks, such as public networks, VPCs, VPNs, and direct connections. With these network connections, you can migrate between different cloud platforms, from on-premises databases to cloud databases, or between cloud databases across regions.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p59931458145015">DRS supports incremental migration, so you can replicate ongoing changes to keep sources and destinations in sync while minimizing the impact of service downtime and migration.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_section1173852885112"><h4 class="sectiontitle">Real-Time Synchronization</h4><p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p1981294972119">Real-time synchronization refers to the real-time flow of key service data from sources to destinations through a synchronization instance while consistency of data can be ensured.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p15420654202119">It is different from migration. Migration means moving your overall database from one platform to another. Synchronization refers to the continuous flow of data between different services.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p199805302582">You can use real-time synchronization in many scenarios such as real-time analysis, report system, and data warehouse environment.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p18437123195114">Real-time synchronization is mainly used for synchronizing tables and data. It can meet various requirements, such as many-to-one, one-to-many synchronization, dynamic addition and deletion of tables, and synchronization between tables with different names.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_section57679117408"><h4 class="sectiontitle">Real-Time Disaster Recovery</h4><p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p1018254434117">To prevent service unavailability caused by regional faults, DRS provides disaster recovery to ensure service continuity. You can easily implement disaster recovery between on-premises and cloud, without the need to invest a lot in infrastructure in advance.</p>
|
||||
<p id="drs_01_0100__en-us_topic_0000001205509295_en-us_topic_0000001205627855_p151021106261">The disaster recovery architectures, such as two-site three-data-center and two-site four-data center, are supported. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0103.html">Product Consulting</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
12
docs/drs/umn/drs_01_0101.html
Normal file
12
docs/drs/umn/drs_01_0101.html
Normal file
@ -0,0 +1,12 @@
|
||||
<a name="drs_01_0101"></a><a name="drs_01_0101"></a>
|
||||
|
||||
<h1 class="topictitle1">Where Can I View DRS Operation Logs?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0101__en-us_topic_0000001205429327_p8060118">You can view <span class="keyword" id="drs_01_0101__en-us_topic_0000001205429327_keyword19796129593">DRS</span> operation logs on the Cloud Trace Service (CTS) console.</p>
|
||||
<p id="drs_01_0101__en-us_topic_0000001205429327_p4190101419177">Click the username in the upper right corner and select <strong id="drs_01_0101__en-us_topic_0000001205429327_b22198192177">Operation Log</strong> from the drop-down list.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_04_0029.html">General Operations</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
29
docs/drs/umn/drs_01_0103.html
Normal file
29
docs/drs/umn/drs_01_0103.html
Normal file
@ -0,0 +1,29 @@
|
||||
<a name="drs_01_0103"></a><a name="drs_01_0103"></a>
|
||||
|
||||
<h1 class="topictitle1">Product Consulting</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_16_0103.html">What Are Regions and AZs?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0100.html">What Is DRS?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0105.html">Can DRS Migrate RDS Primary/Standby Instances?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0031.html">Does DRS Support Resumable Uploads?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0087.html">What Are the Differences Between Real-Time Migration, Real-Time DR, and Real-Time Synchronization?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_16_1133.html">How Do I Solve the Table Bloat Issue?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_16_1142.html">Why Cannot I Select RDS Read Replicas on the DRS Console?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_16_1145.html">How Does DRS Affect the Source and Destination Databases?</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0099.html">FAQs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
17
docs/drs/umn/drs_01_0104.html
Normal file
17
docs/drs/umn/drs_01_0104.html
Normal file
@ -0,0 +1,17 @@
|
||||
<a name="drs_01_0104"></a><a name="drs_01_0104"></a>
|
||||
|
||||
<h1 class="topictitle1">When Can I Stop a Migration Task?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0104__en-us_topic_0000001205747775_p65621631163810">You can refer to the following methods to check whether the task can be stopped. Before stopping the task, ensure that:</p>
|
||||
<ol id="drs_01_0104__en-us_topic_0000001205747775_ol4820166617620"><li id="drs_01_0104__en-us_topic_0000001205747775_li56259118555">At least one complete data comparison is performed during off-peak hours.</li><li id="drs_01_0104__en-us_topic_0000001205747775_li6807181735918">Service cutover is completed.<ol type="a" id="drs_01_0104__en-us_topic_0000001205747775_ol1177119213597"><li id="drs_01_0104__en-us_topic_0000001205747775_li173987535547">Interrupt services first. If the workload is not heavy, you may do not need to interrupt the services.</li><li id="drs_01_0104__en-us_topic_0000001205747775_li7430105895419">Run the following statement on the source database (MySQL is used as an example) and check whether there are statements executed by new sessions within 1 to 5 minutes. If not, the service is stopped.<pre class="codeblock" id="drs_01_0104__en-us_topic_0000001205747775_codeblock740995310546">show processlist;</pre>
|
||||
<div class="note" id="drs_01_0104__en-us_topic_0000001205747775_note3409105313546"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_01_0104__en-us_topic_0000001205747775_p20409135317549">The process list queried by the preceding statement includes the connection of the DRS replication instance. If no additional session executes SQL statements, the service has been stopped.</p>
|
||||
</div></div>
|
||||
</li><li id="drs_01_0104__en-us_topic_0000001205747775_li2021662105520">When the real-time synchronization delay is 0s and remains stable for a period, you can perform a data-level comparison between the source and destination databases. For details about the time required, refer to the comparison results of the previous comparison.<ul id="drs_01_0104__en-us_topic_0000001205747775_ul164391158195412"><li id="drs_01_0104__en-us_topic_0000001205747775_li94393585542">If there is enough time, compare all objects.</li><li id="drs_01_0104__en-us_topic_0000001205747775_li043945805412">If there is not enough time, use the data-level comparison to compare the tables that are frequently used and that contain key business data or inconsistent data.</li></ul>
|
||||
</li><li id="drs_01_0104__en-us_topic_0000001205747775_li1518871410562">Determine a proper time to cut the services over to the destination database. Then, services can be used externally again.</li></ol>
|
||||
</li><li id="drs_01_0104__en-us_topic_0000001205747775_li1325212095214">Stopping a task only deletes the replication instance, and the migration task is still in the task list. You can choose whether to delete the task.</li></ol>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_04_0025.html">Real-Time Migration</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
15
docs/drs/umn/drs_01_0105.html
Normal file
15
docs/drs/umn/drs_01_0105.html
Normal file
@ -0,0 +1,15 @@
|
||||
<a name="drs_01_0105"></a><a name="drs_01_0105"></a>
|
||||
|
||||
<h1 class="topictitle1">Can DRS Migrate RDS Primary/Standby Instances?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0105__en-us_topic_0000001205747863_p16241145020202">Yes. DRS provides high availability and can <span class="keyword" id="drs_01_0105__en-us_topic_0000001205747863_keyword11488172125614">migrate a single RDS instance or RDS primary/standby instances</span>. DRS can automatically rebuild the databases connection after a short interruption and resumes data transfer from the point when the connection was lost to ensure the continuity and consistency of data synchronization.</p>
|
||||
<p id="drs_01_0105__en-us_topic_0000001205747863_p7824134517322">If the HA design of the source database meets the requirements of floating IP address connections and RPO is 0 during a switchover, DRS supports migration of primary/standby instances without manual intervention.</p>
|
||||
<div class="p" id="drs_01_0105__en-us_topic_0000001205747863_p21850546128">If the HA design does not meet the requirements of floating IP address connections and RPO is 0 during a switchover, the following situations may occur:<ul id="drs_01_0105__en-us_topic_0000001205747863_ul96413334020"><li id="drs_01_0105__en-us_topic_0000001205747863_li11601331102">The floating IP address is used and RPO may be 0 during a switchover. In this situation, the database can be connected, but DRS will identify data interruption (if data loss occurs during the switchover) and display a message indicating that the task fails. You can only reset the migration task.</li><li id="drs_01_0105__en-us_topic_0000001205747863_li6710145416120">A fixed IP address is used and RPO is 0 during the switchover. In this situation, the migration is supported only when the instance is running properly.</li><li id="drs_01_0105__en-us_topic_0000001205747863_li2680197162314">The floating IP address is used and zero RPO cannot be ensured during a switchover. In this situation, the database can be connected, but DRS will identify data interruption (if data loss occurs during the switchover) and display a message indicating that the task fails. You can only reset the migration task.</li></ul>
|
||||
</div>
|
||||
<p id="drs_01_0105__en-us_topic_0000001205747863_p48334982317">If the destination is primary/standby instances, DRS can ensure that the source data is completely migrated to the destination database. However, the switchover of the destination database cannot ensure zero RPO. As a result, data in the destination database may be incomplete.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0103.html">Product Consulting</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
21
docs/drs/umn/drs_01_0108.html
Normal file
21
docs/drs/umn/drs_01_0108.html
Normal file
@ -0,0 +1,21 @@
|
||||
<a name="drs_01_0108"></a><a name="drs_01_0108"></a>
|
||||
|
||||
<h1 class="topictitle1">Network and Security</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0109.html">What Security Protection Policies Does DRS Have?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0110.html">What Can I Do If the Network Is Disconnected During the Migration?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0112.html">How Can I Configure a VPC Security Group to Allow Traffic from an EIP?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_02_0100.html">What Can I Do If the Network Connection Between the Replication Instance and Database Is Abnormal?</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0099.html">FAQs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
12
docs/drs/umn/drs_01_0109.html
Normal file
12
docs/drs/umn/drs_01_0109.html
Normal file
@ -0,0 +1,12 @@
|
||||
<a name="drs_01_0109"></a><a name="drs_01_0109"></a>
|
||||
|
||||
<h1 class="topictitle1">What Security Protection Policies Does DRS Have?</h1>
|
||||
<div id="body8662426"><div class="section" id="drs_01_0109__en-us_topic_0000001205429261_section2864452712956"><h4 class="sectiontitle">Network</h4><ul id="drs_01_0109__en-us_topic_0000001205429261_ul530623311250"><li id="drs_01_0109__en-us_topic_0000001205429261_li16377401250">Uses security groups to ensure that the sources of access are trusted.</li><li id="drs_01_0109__en-us_topic_0000001205429261_li147396661250">Uses SSL channels to encrypt data during transmission.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0108.html">Network and Security</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
13
docs/drs/umn/drs_01_0110.html
Normal file
13
docs/drs/umn/drs_01_0110.html
Normal file
@ -0,0 +1,13 @@
|
||||
<a name="drs_01_0110"></a><a name="drs_01_0110"></a>
|
||||
|
||||
<h1 class="topictitle1">What Can I Do If the Network Is Disconnected During the Migration?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0110__en-us_topic_0000001160149250_p159412102118">If the network is disconnected during the migration, you can view the task status first. If a full or incremental task fails, click <span class="uicontrol" id="drs_01_0110__en-us_topic_0000001160149250_uicontrol966739479202223"><b>Resume</b></span> in the <span class="uicontrol" id="drs_01_0110__en-us_topic_0000001160149250_uicontrol941519538202245"><b>Operation</b></span> column.</p>
|
||||
<p id="drs_01_0110__en-us_topic_0000001160149250_p41367284010">Full migration</p>
|
||||
<p id="drs_01_0110__en-us_topic_0000001160149250_p64701335703">Incremental migration</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0108.html">Network and Security</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
13
docs/drs/umn/drs_01_0112.html
Normal file
13
docs/drs/umn/drs_01_0112.html
Normal file
@ -0,0 +1,13 @@
|
||||
<a name="drs_01_0112"></a><a name="drs_01_0112"></a>
|
||||
|
||||
<h1 class="topictitle1">How Can I Configure a VPC Security Group to Allow Traffic from an EIP?</h1>
|
||||
<div id="body8662426"><p id="drs_01_0112__en-us_topic_0000001205627829_p7518141819103">By default, a VPC on the current cloud is isolated from external networks for security reasons. You cannot use an EIP outside a VPC (for example, an EIP of another cloud database or an on-premise database) to access DB instances inside the VPC. However, the replication instance or destination database in a VPC needs to connect to an external EIP to migrate data.</p>
|
||||
<p id="drs_01_0112__en-us_topic_0000001205627829_p95189184104">Therefore, you need to add an outbound rule to a security group to allow access from specific external EIPs and ports outside the VPC. The outbound rule allows the replication instance EIP to access the destination database EIP. </p>
|
||||
<p id="drs_01_0112__en-us_topic_0000001205627829_li1936315141561p0"></p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0108.html">Network and Security</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
18
docs/drs/umn/drs_01_0113.html
Normal file
18
docs/drs/umn/drs_01_0113.html
Normal file
@ -0,0 +1,18 @@
|
||||
<a name="drs_01_0113"></a><a name="drs_01_0113"></a>
|
||||
|
||||
<h1 class="topictitle1">Advantages</h1>
|
||||
<div id="body8662426"><div class="section" id="drs_01_0113__en-us_topic_0000001205509323_section10516154512114"><h4 class="sectiontitle">Easy to Use</h4><p id="drs_01_0113__en-us_topic_0000001205509323_p104612402013">DRS simplifies migration procedures and does not require too much technical knowledge. Traditional migration requires professional technical personnel and migration procedures are complicated.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0113__en-us_topic_0000001205509323_section379550102118"><h4 class="sectiontitle">Fast Setup</h4><p id="drs_01_0113__en-us_topic_0000001205509323_p10776185222017">DRS sets up a migration task within minutes. Traditional migration takes several days, weeks, or even months to set up.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0113__en-us_topic_0000001205509323_section6891145322114"><h4 class="sectiontitle">Low Costs</h4><p id="drs_01_0113__en-us_topic_0000001205509323_p1869813511212">DRS saves traditional database administrator (DBA) labor costs and hardware costs.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_01_0113__en-us_topic_0000001205509323_section16798581215"><h4 class="sectiontitle">Secure</h4><p id="drs_01_0113__en-us_topic_0000001205509323_p1461512150020">DRS allows you to query the migration progress, check migration logs, and compare migration items, so you can easily complete migration and synchronization tasks.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
11
docs/drs/umn/drs_01_0200.html
Normal file
11
docs/drs/umn/drs_01_0200.html
Normal file
@ -0,0 +1,11 @@
|
||||
<a name="drs_01_0200"></a><a name="drs_01_0200"></a>
|
||||
|
||||
<h1 class="topictitle1">Instructions</h1>
|
||||
<div id="body8662426"><p id="drs_01_0200__en-us_topic_0000001160149304_p8060118">To improve your experience with DRS, add the Security Administrator permission using IAM in case some functions become unavailable, such as scheduled task startup, automatic ending of full-migration tasks, and automatic retry of failed tasks.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
21
docs/drs/umn/drs_01_0300.html
Normal file
21
docs/drs/umn/drs_01_0300.html
Normal file
@ -0,0 +1,21 @@
|
||||
<a name="drs_01_0300"></a><a name="drs_01_0300"></a>
|
||||
|
||||
<h1 class="topictitle1">Functions and Features</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0301.html">Real-Time Migration</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0303.html">Backup Migration</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0302.html">Real-Time Synchronization</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_01_0305.html">Real-Time Disaster Recovery</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
432
docs/drs/umn/drs_01_0301.html
Normal file
432
docs/drs/umn/drs_01_0301.html
Normal file
File diff suppressed because it is too large
Load Diff
583
docs/drs/umn/drs_01_0302.html
Normal file
583
docs/drs/umn/drs_01_0302.html
Normal file
File diff suppressed because it is too large
Load Diff
100
docs/drs/umn/drs_01_0303.html
Normal file
100
docs/drs/umn/drs_01_0303.html
Normal file
File diff suppressed because it is too large
Load Diff
255
docs/drs/umn/drs_01_0305.html
Normal file
255
docs/drs/umn/drs_01_0305.html
Normal file
File diff suppressed because it is too large
Load Diff
11
docs/drs/umn/drs_01_0318.html
Normal file
11
docs/drs/umn/drs_01_0318.html
Normal file
@ -0,0 +1,11 @@
|
||||
<a name="drs_01_0318"></a><a name="drs_01_0318"></a>
|
||||
|
||||
<h1 class="topictitle1">Compliance Description</h1>
|
||||
<div id="body8662426"><p id="drs_01_0318__en-us_topic_0000001173350100_p1757565417343">You understand and agree that your use of this service complies with laws and regulations, including but not limited to legal compliance requirements on data content, data transfer, and cross-border data transfer. DRS only provides a standard service upon your request and is not responsible for the legal compliance of your use. If you use the services illegally or engage in illegal actions using the services, you shall bear all consequences arising therefrom.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0001.html">Service Overview</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
210
docs/drs/umn/drs_01_0326.html
Normal file
210
docs/drs/umn/drs_01_0326.html
Normal file
File diff suppressed because it is too large
Load Diff
183
docs/drs/umn/drs_01_0337.html
Normal file
183
docs/drs/umn/drs_01_0337.html
Normal file
File diff suppressed because it is too large
Load Diff
337
docs/drs/umn/drs_02_0002.html
Normal file
337
docs/drs/umn/drs_02_0002.html
Normal file
File diff suppressed because it is too large
Load Diff
16
docs/drs/umn/drs_02_0005.html
Normal file
16
docs/drs/umn/drs_02_0005.html
Normal file
@ -0,0 +1,16 @@
|
||||
<a name="drs_02_0005"></a><a name="drs_02_0005"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 3: View Migration Logs</h1>
|
||||
<div id="body0000001220047285"><p id="drs_02_0005__p46219511569">Migration logs refer to the warning-, error-, and info-level logs generated during the migration process. This section describes how to <span class="keyword" id="drs_02_0005__keyword14558317123617">view migration logs</span> to locate and analyze database problems.</p>
|
||||
<div class="section" id="drs_02_0005__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0005__ul1987451316460"><li id="drs_02_0005__li11874141310469">You have logged in to the DRS console.</li><li id="drs_02_0005__li147536209462">A migration task has been created.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0005__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0005__ol37422375153513"><li id="drs_02_0005__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0005__uicontrol19792195012328"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_02_0005__b579413507327">Task Name/ID</strong> column.</span></li><li id="drs_02_0005__li50159828153513"><span>On the <strong id="drs_02_0005__b4271154114596">Migration Logs</strong> tab, view logs of the migration task by level.</span><p><p id="drs_02_0005__p30122674153221">You can view time, levels, and descriptions of the logs.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_04_0010.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
28
docs/drs/umn/drs_02_0006.html
Normal file
28
docs/drs/umn/drs_02_0006.html
Normal file
@ -0,0 +1,28 @@
|
||||
<a name="drs_02_0006"></a><a name="drs_02_0006"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 2: Query the Migration Progress</h1>
|
||||
<div id="body0000001219808775"><p id="drs_02_0006__p3442183703812">The migration progress of a real-time migration task helps you keep track of the status of the migration task.</p>
|
||||
<p id="drs_02_0006__p1491991202114">DRS shows the migration progress using a progress bar, helping you learn the migration progress in real time. During full migration, you can check migration details.</p>
|
||||
<ul id="drs_02_0006__ul66442519213"><li id="drs_02_0006__li964142510215">With the progress bar, you can view the migration progress of structures, data, and indexes. When the progress reaches 100%, the migration is complete. The migration of data and indexes is relatively slow.</li><li id="drs_02_0006__li7363335142119">In the migration details, you can view the migration progress of a specific object. If the number of objects is the same as that of migrated objects, the migration is complete. You can view the migration progress of each object in detail. During incremental migration, the progress details are not displayed. You can view the consistency status on the <strong id="drs_02_0006__b58465681610020">Migration Comparison</strong> tab.</li></ul>
|
||||
<div class="section" id="drs_02_0006__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0006__ul25141644144514"><li id="drs_02_0006__li1051454420459">You have logged in to the DRS console.</li><li id="drs_02_0006__li11333185011452">A migration task has been started.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0006__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0006__ol37422375153513"><li id="drs_02_0006__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0006__uicontrol136342920218"><b>Online Migration Management</b></span> page, click the target <span class="keyword" id="drs_02_0006__keyword11646299218">migration</span> task name in the <strong id="drs_02_0006__b46472918217">Task Name/ID</strong> column.</span></li><li id="drs_02_0006__li175044479579"><span>On the displayed page, click <span class="uicontrol" id="drs_02_0006__uicontrol143491976110020"><b>Migration Progress</b></span>.</span><p><ul id="drs_02_0006__ul05321438300"><li id="drs_02_0006__li1178417122615">View the migration progress of structures, data, and indexes.<p id="drs_02_0006__p67042469356"><a name="drs_02_0006__li1178417122615"></a><a name="li1178417122615"></a>When a full migration is complete, the progress of each item reaches 100%.</p>
|
||||
<p id="drs_02_0006__p156461831113715">For a full plus incremental migration, you can view the delay of the incremental migration on the <strong id="drs_02_0006__b27620103110020">Migration Progress</strong> page.</p>
|
||||
<div class="p" id="drs_02_0006__p868063254118">You can also view the incremental migration delay on the <strong id="drs_02_0006__b14121114714218">Online Migration Management</strong> page. When the incremental migration delay exceeds the preset or default threshold, the value of the incremental migration delay is displayed in red in the task list.<div class="note" id="drs_02_0006__note13471925173613"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0006__p16802826113620">"Delay" refers to the delay from when the transaction was submitted to the source database to when it is synchronized to the destination database and executed.</p>
|
||||
<p id="drs_02_0006__p580213263361">Transactions are synchronized as follows:</p>
|
||||
<ol type="a" id="drs_02_0006__ol179913338375"><li id="drs_02_0006__li279953318370">Data is extracted from the source database.</li><li id="drs_02_0006__li1799143343719">The data is transmitted over the network.</li><li id="drs_02_0006__li13799233173720">DRS parses the source logs.</li><li id="drs_02_0006__li579913333370">The transaction is executed on the destination database.</li></ol>
|
||||
<p id="drs_02_0006__p15802122611367">If the delay is 0, the source database is consistent with the destination database, and no new transactions need to be synchronized.</p>
|
||||
</div></div>
|
||||
<div class="caution" id="drs_02_0006__note1414582233415"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="drs_02_0006__p12145172217344">Frequent DDL operations, ultra-large transactions, and network problems may result in excessive synchronization delay.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
</li><li id="drs_02_0006__li1841019342126">View the migration task progress. In the <strong id="drs_02_0006__b172788082110020">Migration Details</strong> area, locate the target migration object and click <strong id="drs_02_0006__b18449970110020">View Details</strong> in the <strong id="drs_02_0006__b137414821410020">Operation</strong> column to view the migration progress. After the incremental migration starts, the progress is not displayed. You can click the <strong id="drs_02_0006__b113042872010020">Migration Comparison</strong> tab to compare the data consistency.</li></ul>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_04_0010.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
47
docs/drs/umn/drs_02_0007.html
Normal file
47
docs/drs/umn/drs_02_0007.html
Normal file
@ -0,0 +1,47 @@
|
||||
<a name="drs_02_0007"></a><a name="drs_02_0007"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 4: Compare Migration Items</h1>
|
||||
<div id="body0000001174487492"><p id="drs_02_0007__p11333715573">This section describes how to <span class="keyword" id="drs_02_0007__keyword114964153510">compare migration items</span> to check if there are any differences between source and destination databases. By comparing migration objects, you can determine the proper time for service migration to minimize the service downtime.</p>
|
||||
<div class="fignone" id="drs_02_0007__fig204261848141112"><span class="figcap"><b>Figure 1 </b>Comparison process</span><br><span><img id="drs_02_0007__image174261148111115" src="en-us_image_0000001391773841.png"></span></div>
|
||||
<div class="section" id="drs_02_0007__section19393124916129"><h4 class="sectiontitle">Comparison Scenarios</h4><p id="drs_02_0007__p59703782111">You can compare migration objects with different dimensions:</p>
|
||||
<ul id="drs_02_0007__ul11730174214215"><li id="drs_02_0007__li873111428211">Object-level comparison: It helps you compare databases, indexes, tables, views, stored procedures and functions, and sorting rules of tables. You are advised to perform the comparison after a full migration is complete.</li><li id="drs_02_0007__li188011335252">Data-level comparison is classified into row comparison and value comparison.<ul id="drs_02_0007__ul32931437162518"><li id="drs_02_0007__li51552002410">Row comparison: It helps you compare the number of rows in the tables to be migrated. This comparison method is recommended because it is fast.</li><li id="drs_02_0007__li92667062511">Value comparison: It helps you check whether data in the migrated table is consistent. The comparison process is relatively slow.</li></ul>
|
||||
</li></ul>
|
||||
<p id="drs_02_0007__p844074253515">When you check data consistency, compare the number of rows first. If the number of rows are inconsistent, you can then compare the data in the table to determine the inconsistent data.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section488581433410"><h4 class="sectiontitle">Comparison Restrictions</h4><ul id="drs_02_0007__ul188511047103419"><li id="drs_02_0007__li116291748114018">A comparison task can be created only when the task is in the incremental phase. When a full task is complete, DRS automatically creates object-level and row comparison tasks.</li><li id="drs_02_0007__li1962904894013">If DDL operations were performed on the source database, you need to compare the objects again to ensure the accuracy of the comparison results.</li><li id="drs_02_0007__li18844449454">If data in the destination database is modified separately, the comparison results may be inconsistent.</li><li id="drs_02_0007__li1421932319422">Currently, only tables with primary keys support value comparison. For tables that do not support value comparison, you can compare rows. Therefore, you can compare data by row or value based on scenarios.</li><li id="drs_02_0007__li8629848144013">To prevent resources from being occupied for a long time, DRS limits the row comparison duration. If the row comparison duration exceeds the threshold, the row comparison task stops automatically. If the source database is a relational database, the row comparison duration is 60 minutes. If the source database is a non-relational database, for example, MongoDB, the row comparison duration is 30 minutes.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section8290145819482"><h4 class="sectiontitle">Impact on Databases</h4><ul id="drs_02_0007__ul71441422155019"><li id="drs_02_0007__li314417223507">Object comparison: System tables of the source and destination databases are queried, occupying about 10 sessions. The database is not affected. However, if there are a large number of objects (for example, hundreds of thousands of tables), the database may be overloaded.</li><li id="drs_02_0007__li11144322175019">Row comparison: The number of rows in the source and destination databases is queried, which occupies about 10 sessions. The SELECT COUNT statement does not affect the database. However, if a table contains a large amount of data (hundreds of millions of records), the database will be overloaded and the query results will be returned slowly.</li><li id="drs_02_0007__li5144222105014">Value comparison: All data in the source and destination databases is queried, and each field is compared. The query pressure on the database leads to high I/O. The query speed is limited by the I/O and network bandwidth of the source and destination databases. Value comparison occupies one or two CPUs, and about 10 sessions.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section07822155574"><h4 class="sectiontitle">Estimated Comparison Duration</h4><ul id="drs_02_0007__ul4045913579"><li id="drs_02_0007__li1801859125719">Object comparison: Generally, the comparison results are returned within several minutes based on the query performance of the source database. If the amount of data is large, the comparison may take dozens of minutes.</li><li id="drs_02_0007__li19055935716">Row comparison: The SELECT COUNT method is used. The query speed depends on the database performance.</li><li id="drs_02_0007__li9035975718">Value comparison: If the database workload is not heavy and the network is normal, the comparison speed is about 5 MB/s.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0007__ul682814031313"><li id="drs_02_0007__li108283001320">You have logged in to the DRS console.</li><li id="drs_02_0007__li1579171391314">A migration task has been started.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section59386647165940"><h4 class="sectiontitle">Creating a comparison task</h4><p id="drs_02_0007__p19352171013206">You can follow the comparison process or select a comparison method based on your service scenario. The following operations describe how to compare migration items by following the recommended migration process.</p>
|
||||
<ol id="drs_02_0007__ol37422375153513"><li id="drs_02_0007__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol19352122093616"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_02_0007__b13548209369">Task Name/ID</strong> column.</span></li><li id="drs_02_0007__li50159828153513"><span>On the <strong id="drs_02_0007__b185984343378">Migration Comparison</strong> tab, compare objects of the source and destination databases.</span><p><ol type="a" id="drs_02_0007__ol137029917265"><li id="drs_02_0007__li161767577273">Check the integrity of the database object.<p id="drs_02_0007__p11692257124820"><a name="drs_02_0007__li161767577273"></a><a name="li161767577273"></a>Click <strong id="drs_02_0007__b5676412133515">Validate Objects</strong>. On the <strong id="drs_02_0007__b46881712183511">Object-Level Comparison</strong> tab, view the comparison result of each comparison item.</p>
|
||||
<p id="drs_02_0007__p76642058202512">Locate a comparison item you want to view and click <strong id="drs_02_0007__b46986251330">View Details</strong> in the <strong id="drs_02_0007__b1233917584237">Operation</strong> column.</p>
|
||||
</li><li id="drs_02_0007__li28278341571"><a name="drs_02_0007__li28278341571"></a><a name="li28278341571"></a>After the check is complete, compare the number of rows and values.<div class="p" id="drs_02_0007__p5541103719718"><a name="drs_02_0007__li28278341571"></a><a name="li28278341571"></a><ol class="substepthirdol" id="drs_02_0007__ol823529862"><li id="drs_02_0007__li197671734761">In the <strong id="drs_02_0007__b19898194618593">Before You Start</strong> pane, click <strong id="drs_02_0007__b128981246135920">Validate All Rows/Values</strong>.</li><li id="drs_02_0007__li9321281360">In the displayed <span class="uicontrol" id="drs_02_0007__uicontrol209851227163319"><b>Create Comparison Task</b></span> dialog box, specify <strong id="drs_02_0007__b149861827103311">Comparison Type</strong>, <strong id="drs_02_0007__b15989102710337">Comparison Time</strong>, and <strong id="drs_02_0007__b109901827163319">Object</strong>. Then, click <strong id="drs_02_0007__b1599192719332">OK</strong>.<ul id="drs_02_0007__ul11393268312"><li id="drs_02_0007__li73814264315"><strong id="drs_02_0007__b102001851191617">Comparison Type</strong>: compares rows and values.</li><li id="drs_02_0007__li5383261836"><strong id="drs_02_0007__b32158211716">Comparison Time</strong>: You can select <strong id="drs_02_0007__b183120271284">Start upon task creation</strong> or <strong id="drs_02_0007__b182555341581">Start at a specified time</strong>. There is a slight difference in time between the source and destination databases during synchronization. Data inconsistency may occur. You are advised to compare migration items during off-peak hours for more accurate results.</li><li id="drs_02_0007__li73812612317"><strong id="drs_02_0007__b147481131815">Object</strong>: You can select objects to be compared based on the scenarios.</li></ul>
|
||||
<p id="drs_02_0007__p1839162619319">After the comparison creation task is submitted, the <strong id="drs_02_0007__b1872717807">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0007__image1767441011812" src="en-us_image_0000001391773845.png"></span> to refresh the list and view the comparison result of the specified comparison type.</p>
|
||||
<p id="drs_02_0007__p183911261130">To view the comparison details, locate the target comparison type and click <strong id="drs_02_0007__b86711557102311">View Results</strong> in the <strong id="drs_02_0007__b244172982716">Operation</strong> column. On the displayed page, locate a pair of source and destination databases, and click <strong id="drs_02_0007__b1340183019288">View Details</strong> in the <strong id="drs_02_0007__b865112373288">Operation</strong> column to view detailed comparison results.</p>
|
||||
<div class="note" id="drs_02_0007__note20392261536"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0007__p143917261136">You can cancel a running task at any time and view the comparison report of a canceled comparison task.</p>
|
||||
</div></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
</li><li id="drs_02_0007__li1728117893111">Perform a double check before the cutover.<p id="drs_02_0007__p1531465363119"><a name="drs_02_0007__li1728117893111"></a><a name="li1728117893111"></a>Click <strong id="drs_02_0007__b189531915111218">Double Check During Cutover</strong>. In the displayed <strong id="drs_02_0007__b1195681516129">Create Comparison Task</strong> dialog box, specify <strong id="drs_02_0007__b109564152121">Comparison Type</strong>, <strong id="drs_02_0007__b11958151516128">Comparison Time</strong>, and <strong id="drs_02_0007__b16959201511217">Object</strong>. Then, click <strong id="drs_02_0007__b195920151124">OK</strong>.</p>
|
||||
<p id="drs_02_0007__p551273053218">For details about how to view comparison details, see <a href="#drs_02_0007__li28278341571">2.b</a>.</p>
|
||||
</li><li id="drs_02_0007__li2052213813315">Stop the migration task.<p id="drs_02_0007__p172261153182214"><a name="drs_02_0007__li2052213813315"></a><a name="li2052213813315"></a>After the service system is successfully migrated to the destination database, stop the migration task to prevent operations in the source database from being synchronized to the destination database to overwrite the data. This operation only deletes the replication instance, and the migration task is still in the task list. You can view or delete the task. </p>
|
||||
<p id="drs_02_0007__p1292165813314">Generally, stopping a task can ensure the integrity of special objects because triggers and events are migrated when a task is being stopped. Only in some cases, such as network disconnections, a task may fail to be stopped. If a task fails to be stopped multiple times, you can select <strong id="drs_02_0007__b1325184318585">Forcibly stop task</strong> to reduce the waiting time. If you forcibly stop a task, triggers and events may not be completely migrated and you need to manually migrate them.</p>
|
||||
</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section129217413480"><h4 class="sectiontitle">Quick Comparison</h4><p id="drs_02_0007__p8060118">To accelerate and simplify the migration process, DRS provides the quick comparison function. You can directly perform a comparison on the migration task list. This function can be used to compare all migration objects only when incremental migration tasks are in progress.</p>
|
||||
<ol id="drs_02_0007__ol9827153125115"><li id="drs_02_0007__li178272395111"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol1455113155346"><b>Online Migration Management</b></span> page, locate the target migration task and click <strong id="drs_02_0007__b855114153343">Compare</strong> in the <strong id="drs_02_0007__b1855231563420">Operation</strong> column.</span></li><li id="drs_02_0007__li1822745019517"><span>On the <strong id="drs_02_0007__b1519151893418">Create Comparison Task</strong> page, select <strong id="drs_02_0007__b221151893417">Start upon task creation</strong> or <strong id="drs_02_0007__b321181816348">Start at a specified time</strong> and click <strong id="drs_02_0007__b322121853419">Yes</strong> to start the comparison task.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0007__section111919265495"><h4 class="sectiontitle">Viewing a Comparison Task</h4><ol id="drs_02_0007__ol14376132931915"><li id="drs_02_0007__li837772919193"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol18710192563410"><b>Online Migration Management</b></span> page, locate the target migration task and click <strong id="drs_02_0007__b1711425163412">View</strong> in the <strong id="drs_02_0007__b15711725183411">Operation</strong> column.</span></li><li id="drs_02_0007__li2037722911912"><span>On the <strong id="drs_02_0007__b16705142993410">Migration Comparison</strong> tab, view the data comparison result.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_04_0010.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
200
docs/drs/umn/drs_02_0009.html
Normal file
200
docs/drs/umn/drs_02_0009.html
Normal file
File diff suppressed because it is too large
Load Diff
146
docs/drs/umn/drs_02_0010.html
Normal file
146
docs/drs/umn/drs_02_0010.html
Normal file
File diff suppressed because it is too large
Load Diff
19
docs/drs/umn/drs_02_0017.html
Normal file
19
docs/drs/umn/drs_02_0017.html
Normal file
@ -0,0 +1,19 @@
|
||||
<a name="drs_02_0017"></a><a name="drs_02_0017"></a>
|
||||
|
||||
<h1 class="topictitle1">Real-Time Migration</h1>
|
||||
<div id="body1460967702559"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_online_migration.html">To the Cloud</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_02_0031.html">Out of the Cloud</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_02_0490.html">Between Self-built Databases</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0010.html">Task Management</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_online_tag.html">Tag Management</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
19
docs/drs/umn/drs_02_0024.html
Normal file
19
docs/drs/umn/drs_02_0024.html
Normal file
@ -0,0 +1,19 @@
|
||||
<a name="drs_02_0024"></a><a name="drs_02_0024"></a>
|
||||
|
||||
<h1 class="topictitle1">DR Scenarios</h1>
|
||||
<div id="body1558755330393"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0122.html">From MySQL to MySQL</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0123.html">From MySQL to GaussDB(for MySQL) Primary/Standby</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0125.html">From Cassandra to Cassandra</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0023.html">Real-Time Disaster Recovery</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
99
docs/drs/umn/drs_02_0025.html
Normal file
99
docs/drs/umn/drs_02_0025.html
Normal file
@ -0,0 +1,99 @@
|
||||
<a name="drs_02_0025"></a><a name="drs_02_0025"></a>
|
||||
|
||||
<h1 class="topictitle1">Task Statuses</h1>
|
||||
<div id="body0000001232748535"><p id="drs_02_0025__p4581115551513">DR statuses indicate different DR phases.</p>
|
||||
<p id="drs_02_0025__p5455158815057"><a href="#drs_02_0025__table27183454174548">Table 1</a> lists <span class="keyword" id="drs_02_0025__keyword7105192033911">DR task statuses</span> and descriptions.</p>
|
||||
|
||||
<div class="tablenoborder"><a name="drs_02_0025__table27183454174548"></a><a name="table27183454174548"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_02_0025__table27183454174548" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Task status and description</caption><thead align="left"><tr id="drs_02_0025__row11208775174548"><th align="left" class="cellrowborder" valign="top" width="20.87%" id="mcps1.3.3.2.3.1.1"><p id="drs_02_0025__p51024637174548">Status</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="79.13%" id="mcps1.3.3.2.3.1.2"><p id="drs_02_0025__p39354929174548">Description</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="drs_02_0025__row54990710163617"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p25062549163617">Creating</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p16800584163617">A DR instance is being created for DRS.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row18650048174548"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p34258940174548">Configuration</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p23510789174548">A DR instance is created, but the DR task is not started. You can continue to configure the task.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row52991289401"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p18299182884019">Pending start</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p198711040194512">A scheduled DR task is created for the DR instance, waiting to be started.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row1787210918277"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p198731495279">Starting</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p7873149202711">A DR task is starting.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row5672113514515"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p1450844212511">Start failed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p450864220519">A real-time DR task fails to be created.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row353912311311"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p353973183119">Initialization</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p117331145317">Full data from the service database to the DR database is being initialized.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row58611735105417"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p16861535105416">Initialization completed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p178611335195410">The DR task has been initialized.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row66011419175158"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p45324729175158">Disaster recovery in progress</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p47424472175158">Incremental data from the service database is being synchronized to the DR database.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row492511461775"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p1092612462077">Switching over</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p1992620469710">The primary/standby switchover of a DR task is being performed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row1321954055010"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p1222024019506">Paused</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p1415518353819">The real-time DR synchronization task is paused.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row1607160717521"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p2673180517521">Disaster recovery failed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p143050614539">A DR task fails during the disaster recovery.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row1650618132415"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p450671172417">Task stopping</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p94921118105014">A DR instance and resources are being released.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row9178141914911"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p37232195348">Completing</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p1472391953415">A DR instance and resources are being released.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row11690121945311"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p1771626175311">Stopping task failed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p4711265538">Instances and resources used by the DR task fail to be released.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="drs_02_0025__row1957044574411"><td class="cellrowborder" valign="top" width="20.87%" headers="mcps1.3.3.2.3.1.1 "><p id="drs_02_0025__p95711452441">Completed</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.13%" headers="mcps1.3.3.2.3.1.2 "><p id="drs_02_0025__p957194516441">The DR instance used by a DR task is released successfully.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="note" id="drs_02_0025__note49211654151613"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_02_0025__ul1154121142816"><li id="drs_02_0025__li577751932819">If a task fails to be created, DRS retains the task for three days by default. After three days, the task automatically ends.</li><li id="drs_02_0025__li4154511202810">Deleted DR tasks are not displayed in the status list.</li></ul>
|
||||
</div></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_07_0008.html">Task Life Cycle</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
330
docs/drs/umn/drs_02_0027.html
Normal file
330
docs/drs/umn/drs_02_0027.html
Normal file
File diff suppressed because it is too large
Load Diff
23
docs/drs/umn/drs_02_0028.html
Normal file
23
docs/drs/umn/drs_02_0028.html
Normal file
@ -0,0 +1,23 @@
|
||||
<a name="drs_02_0028"></a><a name="drs_02_0028"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 2: Query the DR Progress</h1>
|
||||
<div id="body0000001232629971"><p id="drs_02_0028__p20629113915569">After a DR task starts, you can check the DR progress.</p>
|
||||
<div class="section" id="drs_02_0028__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0028__ul6546144615518"><li id="drs_02_0028__li12546154613555">You have logged in to the DRS console.</li><li id="drs_02_0028__li1082715484554">A DR task has been created and started.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0028__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0028__ol37422375153513"><li id="drs_02_0028__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0028__uicontrol157397603702145"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_02_0028__b145925531702145">Task Name/ID</strong> column.</span></li><li id="drs_02_0028__li50159828153513"><span>On the displayed page, click the <span class="uicontrol" id="drs_02_0028__uicontrol9268167151911"><b>Disaster Recovery Progress</b></span> tab to <span class="keyword" id="drs_02_0028__keyword25214311017">view the DR progress</span>. When the data initialization is complete, the initialization progress is displayed as 100%.</span><p><ul id="drs_02_0028__ul18496135712467"><li id="drs_02_0028__li17172213474">On the <strong id="drs_02_0028__b132057691302145">Disaster Recovery Progress</strong> tab, you can view the DR synchronization delay,</li><li id="drs_02_0028__li533201584711">You can also view the DR synchronization delay on the <strong id="drs_02_0028__b13145610142215">Disaster Recovery Management</strong> page. When the synchronization delay exceeds the preset or default threshold, the value of the synchronization delay is displayed in red in the task list.</li><li id="drs_02_0028__li5497175711463">When the delay is 0, data is synchronized from the service database to the DR database in real-time.</li></ul>
|
||||
<div class="note" id="drs_02_0028__note1834212276391"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0028__p16802826113620">"Delay" refers to the delay from when the transaction was submitted to the source database to when it is synchronized to the destination database and executed.</p>
|
||||
<p id="drs_02_0028__p580213263361">Transactions are synchronized as follows:</p>
|
||||
<ol type="a" id="drs_02_0028__ol179913338375"><li id="drs_02_0028__li279953318370">Data is extracted from the source database.</li><li id="drs_02_0028__li1799143343719">The data is transmitted over the network.</li><li id="drs_02_0028__li13799233173720">DRS parses the source logs.</li><li id="drs_02_0028__li579913333370">The transaction is executed on the destination database.</li></ol>
|
||||
<p id="drs_02_0028__p15802122611367">If the delay is 0, the source database is consistent with the destination database, and no new transactions need to be synchronized.</p>
|
||||
</div></div>
|
||||
<div class="caution" id="drs_02_0028__note1424318404338"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="drs_02_0028__p7243740183313">Frequent DDL operations, ultra-large transactions, and network problems may result in excessive synchronization delay.</p>
|
||||
</div></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_07_0007.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
15
docs/drs/umn/drs_02_0029.html
Normal file
15
docs/drs/umn/drs_02_0029.html
Normal file
@ -0,0 +1,15 @@
|
||||
<a name="drs_02_0029"></a><a name="drs_02_0029"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 3: View DR Logs</h1>
|
||||
<div id="body0000001186950404"><p id="drs_02_0029__p46219511569">DR logs refer to the warning-, error-, and info-level logs generated during the DR process. This section describes how to <span class="keyword" id="drs_02_0029__keyword155164518111">view DR logs</span> to locate and analyze database problems.</p>
|
||||
<div class="section" id="drs_02_0029__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_02_0029__p198941020113312">You have logged in to the DRS console.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0029__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0029__ol37422375153513"><li id="drs_02_0029__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0029__uicontrol128733529102243"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_02_0029__b147383010802243">Task Name/ID</strong> column.</span></li><li id="drs_02_0029__li50159828153513"><span>On the displayed page, click <span class="uicontrol" id="drs_02_0029__uicontrol9268167151911"><b>Disaster Recovery Logs</b></span> to view the logs generated during DR.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_07_0007.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
17
docs/drs/umn/drs_02_0031.html
Normal file
17
docs/drs/umn/drs_02_0031.html
Normal file
@ -0,0 +1,17 @@
|
||||
<a name="drs_02_0031"></a><a name="drs_02_0031"></a>
|
||||
|
||||
<h1 class="topictitle1">Out of the Cloud</h1>
|
||||
<div id="body1542770652548"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0100.html">From MySQL to MySQL</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_04_0101.html">From DDS to MongoDB</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_02_0017.html">Real-Time Migration</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
35
docs/drs/umn/drs_02_0033.html
Normal file
35
docs/drs/umn/drs_02_0033.html
Normal file
@ -0,0 +1,35 @@
|
||||
<a name="drs_02_0033"></a><a name="drs_02_0033"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 4: Compare DR Items</h1>
|
||||
<div id="body0000001232830027"><div class="section" id="drs_02_0033__section1712922601918"><h4 class="sectiontitle">Comparison Scenarios</h4><p id="drs_02_0033__p5470425192216"><strong id="drs_02_0033__b3519917124111">DR item comparison</strong>: You can compare DR items to check data consistency between the service database and DR database. Currently, you can compare the following items during DR:</p>
|
||||
<ul id="drs_02_0033__ul15470152517225"><li id="drs_02_0033__li19470102532216">Object-level comparison: compares databases, events, indexes, tables, views, and triggers.</li><li id="drs_02_0033__li188011335252">Data-level comparison is classified into row comparison and value comparison.<ul id="drs_02_0033__ul32931437162518"><li id="drs_02_0033__li51552002410">Row comparison: It helps you compare the number of rows in the tables to be synchronized. This comparison method is recommended because it is fast.</li><li id="drs_02_0033__li92667062511">Value comparison: It helps you check whether data in the synchronized table is consistent. The comparison process is relatively slow.</li></ul>
|
||||
<p id="drs_02_0033__p1569261710235">To ensure that the comparison results are valid, compare data during off-peak hours by select <strong id="drs_02_0033__b15629161433713">Start at a specified time</strong> or compare cold data that is infrequently modified.</p>
|
||||
</li></ul>
|
||||
<p id="drs_02_0033__p844074253515">When you check data consistency, compare the number of rows first. If the number of rows are inconsistent, you can then compare the data in the table to determine the inconsistent data.</p>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0033__section1321116381596"><h4 class="sectiontitle">Constraints</h4><ul id="drs_02_0033__ul2097422141015"><li id="drs_02_0033__li1962904894013">If DDL operations were performed on the service database, you need to compare the objects again to ensure the accuracy of the comparison results.</li><li id="drs_02_0033__li18844449454">If data in the DR database is modified separately, the comparison results may be inconsistent.</li><li id="drs_02_0033__li1421932319422">Currently, only tables with primary keys support value comparison. For tables that do not support value comparison, you can compare rows. Therefore, you can compare data by row or value based on scenarios.</li><li id="drs_02_0033__li8629848144013">To prevent resources from being occupied for a long time, DRS limits the row comparison duration. If the row comparison duration exceeds the threshold, the row comparison task stops automatically. If the service database is a relational database, the row comparison duration is limited within 60 minutes. If the service database is a non-relational database, the row comparison duration is limited within 30 minutes.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0033__section1440711971415"><h4 class="sectiontitle">Impact on Databases</h4><ul id="drs_02_0033__drs_02_0007_ul71441422155019"><li id="drs_02_0033__drs_02_0007_li314417223507">Object comparison: System tables of the source and destination databases are queried, occupying about 10 sessions. The database is not affected. However, if there are a large number of objects (for example, hundreds of thousands of tables), the database may be overloaded.</li><li id="drs_02_0033__drs_02_0007_li11144322175019">Row comparison: The number of rows in the source and destination databases is queried, which occupies about 10 sessions. The SELECT COUNT statement does not affect the database. However, if a table contains a large amount of data (hundreds of millions of records), the database will be overloaded and the query results will be returned slowly.</li><li id="drs_02_0033__drs_02_0007_li5144222105014">Value comparison: All data in the source and destination databases is queried, and each field is compared. The query pressure on the database leads to high I/O. The query speed is limited by the I/O and network bandwidth of the source and destination databases. Value comparison occupies one or two CPUs, and about 10 sessions.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0033__section4174161181418"><h4 class="sectiontitle">Estimated Comparison Duration</h4><ul id="drs_02_0033__drs_02_0007_ul4045913579"><li id="drs_02_0033__drs_02_0007_li1801859125719">Object comparison: Generally, the comparison results are returned within several minutes based on the query performance of the source database. If the amount of data is large, the comparison may take dozens of minutes.</li><li id="drs_02_0033__drs_02_0007_li19055935716">Row comparison: The SELECT COUNT method is used. The query speed depends on the database performance.</li><li id="drs_02_0033__drs_02_0007_li9035975718">Value comparison: If the database workload is not heavy and the network is normal, the comparison speed is about 5 MB/s.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0033__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0033__ul1086414912191"><li id="drs_02_0033__li1586469151917">You have logged in to the DRS console.</li><li id="drs_02_0033__li1579171391314">A DR task has been started.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0033__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0033__ol37422375153513"><li id="drs_02_0033__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0033__uicontrol141720165710"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_02_0033__b1820111577">Task Name/ID</strong> column.</span></li><li id="drs_02_0033__li50159828153513"><span>On the <strong id="drs_02_0033__b5992611736">Disaster Recovery Comparison</strong> tab, compare the service and DR databases.</span><p><ol type="a" id="drs_02_0033__ol137029917265"><li id="drs_02_0033__li161767577273">Check the integrity of the database object.<p id="drs_02_0033__p6694165842715"><a name="drs_02_0033__li161767577273"></a><a name="li161767577273"></a>Click <strong id="drs_02_0033__b58241712194">Validate Objects</strong>. On the <strong id="drs_02_0033__b182511171911">Object-Level Comparison</strong> tab, click <span class="uicontrol" id="drs_02_0033__uicontrol08261011195"><b>Compare</b></span>. Wait for a while and click <span><img id="drs_02_0033__image113765332415" src="en-us_image_0000001391853909.png"></span>, and view the comparison result of each comparison item.</p>
|
||||
<p id="drs_02_0033__p76642058202512">Locate a comparison item you want to view and click <strong id="drs_02_0033__b9894104215193">View Details</strong> in the <strong id="drs_02_0033__b178955429199">Operation</strong> column.</p>
|
||||
</li><li id="drs_02_0033__li15367162113275">After the check is complete, compare the number of rows and values.<p id="drs_02_0033__p166465815258"><a name="drs_02_0033__li15367162113275"></a><a name="li15367162113275"></a>On the <strong id="drs_02_0033__b2153116194412">Data-Level Comparison</strong> tab, click <strong id="drs_02_0033__b1549110207444">Create Comparison Task</strong>. In the displayed dialog box, specify <strong id="drs_02_0033__b61061229154413">Comparison Type</strong>, <strong id="drs_02_0033__b152737392444">Comparison Time</strong>, and <strong id="drs_02_0033__b104974215443">Object</strong>. Then, click <strong id="drs_02_0033__b766064416440">OK</strong>.</p>
|
||||
<ul id="drs_02_0033__ul1925720551454"><li id="drs_02_0033__en-us_topic_0168837609_li73814264315"><strong id="drs_02_0033__b180588670191612">Comparison Type</strong>: compares rows and values.</li><li id="drs_02_0033__en-us_topic_0168837609_li5383261836"><strong id="drs_02_0033__b33222741591612">Comparison Time</strong>: You can select <strong id="drs_02_0033__b184191609691612">Start upon task creation</strong> or <strong id="drs_02_0033__b178500684291612">Start at a specified time</strong>. There is a slight difference in time between the source and destination databases during synchronization. Data inconsistency may occur. You are advised to compare migration items during off-peak hours for more accurate results.</li><li id="drs_02_0033__en-us_topic_0168837609_li73812612317"><strong id="drs_02_0033__b47834188391612">Object</strong>: You can select objects to be compared based on the scenarios.</li></ul>
|
||||
<div class="note" id="drs_02_0033__note7664135842518"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_02_0033__ul1666425817256"><li id="drs_02_0033__li0664205820253">Data-level comparison cannot be performed for tasks in initialization.</li></ul>
|
||||
</div></div>
|
||||
</li><li id="drs_02_0033__li4736154104710">After the comparison creation task is submitted, the <strong id="drs_02_0033__b137571509485">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0033__image8249514102914" src="en-us_image_0000001341573876.png"></span> to refresh the list and view the comparison result of the specified comparison type.</li><li id="drs_02_0033__li6573104504713">To view the comparison details, locate the target comparison type and click <strong id="drs_02_0033__b89631347174514">View Results</strong> in the <strong id="drs_02_0033__b17970164714511">Operation</strong> column. On the displayed page, locate a pair of service and DR databases, and click <strong id="drs_02_0033__b109751547164513">View Details</strong> in the <strong id="drs_02_0033__b1198034711451">Operation</strong> column to view detailed comparison results.<div class="note" id="drs_02_0033__note10665175862511"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0033__p2066595812252">You can also view comparison details of canceled comparison tasks.</p>
|
||||
</div></div>
|
||||
</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_07_0007.html">Task Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
46
docs/drs/umn/drs_02_0100.html
Normal file
46
docs/drs/umn/drs_02_0100.html
Normal file
@ -0,0 +1,46 @@
|
||||
<a name="drs_02_0100"></a><a name="drs_02_0100"></a>
|
||||
|
||||
<h1 class="topictitle1">What Can I Do If the Network Connection Between the Replication Instance and Database Is Abnormal?</h1>
|
||||
<div id="body8662426"><p id="drs_02_0100__en-us_topic_0000001160307850_p1930144313422">Before data migration, ensure that network preparations and security rule settings are complete. If the connection is abnormal, check whether the network configuration is correct.</p>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p12956195818232">This section uses the migration from MySQL to RDS MySQL as an example to describe three migration scenarios: cross-cloud real-time migration, on-premises database migration, and real-time migration of self-built ECS databases.</p>
|
||||
<div class="section" id="drs_02_0100__en-us_topic_0000001160307850_section1981111255253"><h4 class="sectiontitle">Cross-Cloud Real-Time Migration</h4><ol id="drs_02_0100__en-us_topic_0000001160307850_ol154470952610"><li id="drs_02_0100__en-us_topic_0000001160307850_li1655110212613">Network settings<div class="p" id="drs_02_0100__en-us_topic_0000001160307850_p134881133613"><a name="drs_02_0100__en-us_topic_0000001160307850_li1655110212613"></a><a name="en-us_topic_0000001160307850_li1655110212613"></a>Enable public accessibility for the source database.<ul id="drs_02_0100__en-us_topic_0000001160307850_ul134831211137"><li id="drs_02_0100__en-us_topic_0000001160307850_li8560181115494">Source database network settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p88101112124911"><a name="drs_02_0100__en-us_topic_0000001160307850_li8560181115494"></a><a name="en-us_topic_0000001160307850_li8560181115494"></a>Enable public accessibility for the source database.</p>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p17616141335">For details, see related documents provided by Alibaba Cloud.</p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li129304223410">Destination database network settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p91955250418"><a name="drs_02_0100__en-us_topic_0000001160307850_li129304223410"></a><a name="en-us_topic_0000001160307850_li129304223410"></a>By default, the destination database and the DRS replication instance are in the same VPC and can communicate with each other. No further configuration is required.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li20353161514214">Security rules<ul id="drs_02_0100__en-us_topic_0000001160307850_ul1176532718366"><li id="drs_02_0100__en-us_topic_0000001160307850_li696010112210">Source database security group settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p814995415449"><a name="drs_02_0100__en-us_topic_0000001160307850_li696010112210"></a><a name="en-us_topic_0000001160307850_li696010112210"></a>Add the EIP of the replication instance to the whitelist of the source MySQL DB instance to allow the access from the EIP.</p>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p19116713192120">Before configuring the whitelist for the source database, obtain the EIP of the DRS replication instance. You can find the EIP on the <strong id="drs_02_0100__en-us_topic_0000001160307850_b1826952515516">Configure Source and Destination Databases</strong> page after creating the replication instance on the DRS console.</p>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p9241561835">You can also add 0.0.0.0/0 to the source database whitelist to allow any IP address to access the source database but you must ensure that the above does not pose a risk to your services.</p>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p679013469313">After the migration is complete, you can delete the configuration from the whitelist.</p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li956313168202">Destination database security group settings:<ul id="drs_02_0100__ul5367165265215"><li id="drs_02_0100__li1836745212524">By default, the destination database and the DRS replication instance are in the same VPC and can communicate with each other. DRS can directly write data to the destination database.</li><li id="drs_02_0100__li1936795213521">Configure the security group of the VPC where the destination database is located to ensure that the IP addresses and listening ports of the DRS instance are allowed to access the on-premises database. </li></ul>
|
||||
</li></ul>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0100__en-us_topic_0000001160307850_section396614392819"><h4 class="sectiontitle">Real-Time Migration of On-Premises Databases</h4><ol id="drs_02_0100__en-us_topic_0000001160307850_ol1279504310297"><li id="drs_02_0100__en-us_topic_0000001160307850_li922152814620">Network settings<ul id="drs_02_0100__en-us_topic_0000001160307850_ul55355917618"><li id="drs_02_0100__en-us_topic_0000001160307850_li943021114119">Source database network settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p72891512171119"><a name="drs_02_0100__en-us_topic_0000001160307850_li943021114119"></a><a name="en-us_topic_0000001160307850_li943021114119"></a>You can migrate on-premises MySQL databases to the RDS MySQL databases on the current cloud through a VPN or public network. Enable public accessibility or establish a VPN for the on-premises MySQL databases based on the site requirements. You are advised to migrate data through a public network, which is more convenient and cost-effective.</p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li81681325522">Destination database network settings:<ul id="drs_02_0100__en-us_topic_0000001160307850_ul1397909105217"><li id="drs_02_0100__en-us_topic_0000001160307850_li135836510472">If the source database attempts to access the destination database through a VPN, ensure that the VPN service is enabled and the source database can communicate with the destination RDS MySQL database.</li><li id="drs_02_0100__en-us_topic_0000001160307850_li9583259478">If the source database attempts to access the destination database through a public network, you do not need to configure the destination RDS MySQL database.</li></ul>
|
||||
</li></ul>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li1489715516129">Security rules<ol type="a" id="drs_02_0100__en-us_topic_0000001160307850_ol7803124513303"><li id="drs_02_0100__en-us_topic_0000001160307850_li1780317458307">Source database security group settings:<ul id="drs_02_0100__en-us_topic_0000001160307850_ul18104549113013"><li id="drs_02_0100__en-us_topic_0000001160307850_li16104949123012">If the migration is performed over a public network, add the EIP of the DRS replication instance to the network whitelist of the source MySQL database to enable the source MySQL database to communicate with the current cloud. Before setting the network whitelist, obtain the EIP of the replication instance.<p id="drs_02_0100__en-us_topic_0000001160307850_p278312752410"><a name="drs_02_0100__en-us_topic_0000001160307850_li16104949123012"></a><a name="en-us_topic_0000001160307850_li16104949123012"></a>The IP address on the <strong id="drs_02_0100__en-us_topic_0000001160307850_b424582012617">Configure Source and Destination Databases</strong> page is the EIP of the replication instance.</p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li16301142220326">If the migration is performed over a VPN network, add the private IP address of the DRS migration instance to the network whitelist of the source MySQL database to enable the source MySQL database to communicate with the current cloud. The IP address on the <strong id="drs_02_0100__en-us_topic_0000001160307850_en-us_topic_0108601534_b16360191255113">Configure Source and Destination Databases</strong> page is the private IP address of the replication instance.</li></ul>
|
||||
<p id="drs_02_0100__en-us_topic_0000001160307850_p830933681116">After the migration is complete, you can delete the rules.</p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li118031945123014">Destination database security group settings:<ul id="drs_02_0100__drs_02_0100_ul5367165265215"><li id="drs_02_0100__drs_02_0100_li1836745212524">By default, the destination database and the DRS replication instance are in the same VPC and can communicate with each other. DRS can directly write data to the destination database.</li><li id="drs_02_0100__drs_02_0100_li1936795213521">Configure the security group of the VPC where the destination database is located to ensure that the IP addresses and listening ports of the DRS instance are allowed to access the on-premises database. </li></ul>
|
||||
</li></ol>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0100__en-us_topic_0000001160307850_section561543013"><h4 class="sectiontitle">Real-Time Migration of Self-Built Databases on the ECS</h4><ol id="drs_02_0100__en-us_topic_0000001160307850_ol179951633193012"><li id="drs_02_0100__en-us_topic_0000001160307850_li134891502211">Network settings<ul id="drs_02_0100__en-us_topic_0000001160307850_ul915216177234"><li id="drs_02_0100__en-us_topic_0000001160307850_li1152131712233">The source and destination databases must be in the same region.</li><li id="drs_02_0100__en-us_topic_0000001160307850_li16651191911238">The source and destination databases can be either in the same VPC or different VPCs.<ul id="drs_02_0100__en-us_topic_0000001160307850_ul1025811190517"><li id="drs_02_0100__en-us_topic_0000001160307850_li1222583947">If the source and destination databases are in the same VPC, the networks are interconnected by default.</li><li id="drs_02_0100__en-us_topic_0000001160307850_li17865244142314">If the source and destination databases are in different VPCs, the subnets of the source and destination databases are required to be in different CIDR blocks. You need to create a VPC peering connection between the two VPCs.</li></ul>
|
||||
</li></ul>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li016919042518">Security rules<ul id="drs_02_0100__en-us_topic_0000001160307850_ul17845394113159"><li id="drs_02_0100__en-us_topic_0000001160307850_li2687197169">In the same VPC, the network is connected by default. You do not need to set a security group.</li><li id="drs_02_0100__en-us_topic_0000001160307850_li1884642373215">In different VPCs, establish a VPC peering connection between the two VPCs. You do not need to set a security group.</li></ul>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="drs_02_0100__en-us_topic_0000001160307850_section1486812596518"><h4 class="sectiontitle">Checking iptables Settings</h4><div class="p" id="drs_02_0100__en-us_topic_0000001160307850_p124211461561">If the source database is a self-built database on an ECS and cannot be connected after the preceding operations are performed, check the iptables settings. If the DRS frequently initiates connection requests and fails, the HOSTGUARD service adds the requested IP address to the blacklist.<ol id="drs_02_0100__en-us_topic_0000001160307850_ol547853112108"><li id="drs_02_0100__en-us_topic_0000001160307850_li241831171114">Log in to the ECS.</li><li id="drs_02_0100__en-us_topic_0000001160307850_li1617155913119">Run the following command to check whether any DENY-related project contains the IP address of the DRS instance. The project name is <strong id="drs_02_0100__en-us_topic_0000001160307850_b1658843462716">IN_HIDS_MYSQLD_DENY_DROP</strong>.<p id="drs_02_0100__en-us_topic_0000001160307850_p621818118122"><strong id="drs_02_0100__en-us_topic_0000001160307850_b750318461218">iptables --list</strong></p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li123497542210">If yes, run the following command to query the iptables inbound rule list and obtain the rule ID (line-numbers):<p id="drs_02_0100__en-us_topic_0000001160307850_p1030441112226"><a name="drs_02_0100__en-us_topic_0000001160307850_li123497542210"></a><a name="en-us_topic_0000001160307850_li123497542210"></a><strong id="drs_02_0100__en-us_topic_0000001160307850_b1397132016227">iptables -L INPUT --line-numbers</strong></p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li686864122414">Run the following command to delete the inbound rules that deny the IP address of the DRS instance: (Note: Delete the rules from the end to the beginning. Otherwise, line-numbers will be updated and you need to query again.)<p id="drs_02_0100__en-us_topic_0000001160307850_p119151130241"><a name="drs_02_0100__en-us_topic_0000001160307850_li686864122414"></a><a name="en-us_topic_0000001160307850_li686864122414"></a><strong id="drs_02_0100__en-us_topic_0000001160307850_b11451218152410">iptables -D </strong><em id="drs_02_0100__en-us_topic_0000001160307850_i6918202912519">Project_name</em> <em id="drs_02_0100__en-us_topic_0000001160307850_i168868540257">Rule_ID</em></p>
|
||||
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li1032713417164">Delete the iptables rules and test the connection again.</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_01_0108.html">Network and Security</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
21
docs/drs/umn/drs_02_0488.html
Normal file
21
docs/drs/umn/drs_02_0488.html
Normal file
@ -0,0 +1,21 @@
|
||||
<a name="drs_02_0488"></a><a name="drs_02_0488"></a>
|
||||
|
||||
|
||||
<h1 class="topictitle1">Failure Cases</h1>
|
||||
|
||||
<div id="body0000001220116691"><p id="drs_02_0488__p8060118"></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_13_0002.html">Backup Migration Failed Because Backup Files Cannot Be Found</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="drs_13_0005.html">Backup Migration Failed Because a Backup Database Cannot Be Found in the Backup Files</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_13_0001.html">Troubleshooting</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
19
docs/drs/umn/drs_02_0490.html
Normal file
19
docs/drs/umn/drs_02_0490.html
Normal file
@ -0,0 +1,19 @@
|
||||
<a name="drs_02_0490"></a><a name="drs_02_0490"></a>
|
||||
|
||||
|
||||
<h1 class="topictitle1">Between Self-built Databases</h1>
|
||||
|
||||
<div id="body0000001220840259"><p id="drs_02_0490__p8060118"></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="drs_03_1117.html">From MySQL to MySQL</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_02_0017.html">Real-Time Migration</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
104
docs/drs/umn/drs_03_0001.html
Normal file
104
docs/drs/umn/drs_03_0001.html
Normal file
File diff suppressed because it is too large
Load Diff
76
docs/drs/umn/drs_03_0002.html
Normal file
76
docs/drs/umn/drs_03_0002.html
Normal file
@ -0,0 +1,76 @@
|
||||
<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_b816160519">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_b310462314">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_0000001341254308.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 the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and 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_0000001391693937.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>
|
||||
|
22
docs/drs/umn/drs_03_0004.html
Normal file
22
docs/drs/umn/drs_03_0004.html
Normal file
@ -0,0 +1,22 @@
|
||||
<a name="drs_03_0004"></a><a name="drs_03_0004"></a>
|
||||
|
||||
<h1 class="topictitle1">Stopping a Migration Task</h1>
|
||||
<div id="body1510925717981"><p id="drs_03_0004__p14201934182114">After the source database and services are migrated to the destination database, you can <span class="keyword" id="drs_03_0004__keyword112004515813">stop the migration task</span>. To prevent data from being overwritten after the source database and services are migrated to the destination database, operations on the source database should not be synchronized to the destination database. This section describes how to stop a migration task to achieve this goal.</p>
|
||||
<p id="drs_03_0004__p37455193103540">You can stop a task in any of the following statuses:</p>
|
||||
<ul id="drs_03_0004__ul18189338115419"><li id="drs_03_0004__li7189193811541">Creating</li><li id="drs_03_0004__li018983875411">Configuration</li><li id="drs_03_0004__li11189638105417">Pending start</li><li id="drs_03_0004__li21898388549">Full migration</li><li id="drs_03_0004__li917045814573">Full migration failed</li><li id="drs_03_0004__li91891238155420">Incremental migration</li><li id="drs_03_0004__li5141134719505">Incremental migration failed</li><li id="drs_03_0004__li5441201719252">Paused</li><li id="drs_03_0004__li1062185082914">Fault rectification</li></ul>
|
||||
<div class="notice" id="drs_03_0004__note15013479103847"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="drs_03_0004__ul20265445133611"><li id="drs_03_0004__li069311555414">You are advised to stop the task before performing other operations, such as disconnecting the network between the source database and the replication instance. Otherwise, an alarm indicating that the source database cannot be connected will be generated.</li><li id="drs_03_0004__li1325317513020">For a task in the <strong id="drs_03_0004__b11653183412507">Configuration</strong> state, it cannot be stopped if it fails to be configured.</li><li id="drs_03_0004__li679674817366">For a task in the <strong id="drs_03_0004__b842352706145136">Fault rectification</strong> state, it cannot be stopped if the fault is being rectified.</li></ul>
|
||||
<ul id="drs_03_0004__ul1612143163018"><li id="drs_03_0004__li1612183203012">After a task is stopped, it cannot be resumed.</li></ul>
|
||||
</div></div>
|
||||
<div class="section" id="drs_03_0004__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_03_0004__ul268371811469"><li id="drs_03_0004__li10683111894614">You have logged in to the DRS console.</li><li id="drs_03_0004__li1876513216463">A migration task is in progress.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="drs_03_0004__section4298797218435"><h4 class="sectiontitle">Stopping a Task</h4><ol id="drs_03_0004__ol64601910145622"><li id="drs_03_0004__li40673153184036"><span>On the <strong id="drs_03_0004__b1470214224716">Online Migration Management</strong> page, locate the task and click <strong id="drs_03_0004__b1684482014718">Stop</strong> in the <strong id="drs_03_0004__b10352182511476">Operation</strong> column.</span></li><li id="drs_03_0004__li2226573145622"><span>In the displayed dialog box, click <span class="uicontrol" id="drs_03_0004__uicontrol38855046520544"><b>OK</b></span>.</span><p><div class="note" id="drs_03_0004__note128606173457"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_03_0004__ul10975443102314"><li id="drs_03_0004__li268945314520">Generally, triggers and events will be synchronized when you stop the task.</li><li id="drs_03_0004__li1897511438233">If the task status is abnormal (for example, the task fails or the network is abnormal), DRS will select <strong id="drs_03_0004__b680414334295">Forcibly stop task</strong> to preferentially stop the task to reduce the waiting time.</li><li id="drs_03_0004__li11788646192317">Forcibly stopping a task will release DRS resources and will not migrate triggers and events. You have to manually migrate triggers and events.</li><li id="drs_03_0004__li166781994133">If you need to migrate triggers and events, restore the DRS task first. After the task status becomes normal, you can stop the task.</li></ul>
|
||||
</div></div>
|
||||
</p></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>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user