Ucloud Udataark (Data Ark) combat

Source: Internet
Author: User

First, Udataark (Data Ark) can give us system operation and peacekeeping DBA Bring those conveniences, let's look at the power of it next. Here is my recovery test using a newly installed MySQL database, the following diagrams are the status of my system before the recovery.


(1) System storage Usage Status

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/76/88/wKioL1ZVgR3DdkX3AAAkGjaOZHY122.png "style=" float: none; "title=" Image 1.png "alt=" Wkiol1zvgr3ddkx3aaakgjaozhy122.png "/>

(2) tuning of kernel parameters

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/89/wKiom1ZVgMCS0qkvAAA2U-ILksw812.png "style=" width : 733px;height:127px; "title=" Picture 2.png "width=" 733 "height=" 127 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvgmcs0qkvaaa2u-ilksw812.png "/>

(3) Services started (Mysql,zabbix)

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/88/wKioL1ZVgR7SPTUzAABSIydzLGA581.png "style=" width : 733px;height:140px; "title=" Picture 3.png "width=" 733 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1zvgr7sptuzaabsiydzlga581.png "/>

(4) manually added Routing and NIC configuration information

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/88/wKioL1ZVgR_B2yi_AAB2aLhLiww617.png "style=" width : 733px;height:264px; "title=" Picture 4.png "width=" 733 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" wkiol1zvgr_b2yi_ Aab2alhliww617.png "/>

(5) rc.local file information

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/76/88/wKioL1ZVgR-xFOlcAABjGRxeAWY322.png "style=" width : 733px;height:321px; "title=" Picture 5.png "width=" 733 "height=" 321 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1zvgr-xfolcaabjgrxeawy322.png "/>

(6) the manually created swap partition

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/89/wKiom1ZVgMPBPtcMAABnMWD_688316.png "style=" width : 733px;height:380px; "title=" Picture 6.png "width=" 733 "height=" 380 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvgmpbptcmaabnmwd_688316.png "/>


Second, intentionally delete the data disk and root partition ( Note: Do not use the following command in a production environment )

(1) both the root partition and the data disk have been deleted and the command cannot be executed

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/88/wKioL1ZVgqyC4DHgAAA9ssFE6nM071.png "title=" Picture 7.png "width=" 733 "height=" 191 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:733px;height:191px; "alt=" Wkiol1zvgqyc4dhgaaa9ssfe6nm071.png "/>

(2) This hint,ucloud system Mirror disk do very well,rm-rf/ This is very dangerous operation, brothers and sisters are more or less just beginning to learn Linux systems have done such a thing! the ucloud on the cloud host will be prompted when this command is executed, but the image we used previously may not have this hint. This is a very good hint to prevent the wrong operation of brothers and sisters, leading to hate on the Enter.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/89/wKiom1ZVgqXhyVI1AAAlHQdL2f0796.png "title=" Picture 8.png "width=" 733 "height=" 106 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:733px;height:106px; "alt=" Wkiom1zvgqxhyvi1aaalhqdl2f0796.png "/>


Third, Recovery Operations

(1) after you delete the root partition, the command cannot be executed, and the system shuts down only if it is powered off in the ucloud Console.

(2) system disk Recovery, the choice is the data Ark full standby recovery. Data disk recovery, also selected is the Data Ark Full recovery. is to restore the system disk and data disk start time. ( Note: Theucloud Data Ark is fully prepared at 0 o ' Day )

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/89/wKiom1ZVgvST5GKeAABN3c7s41o876.png "style=" width : 733px;height:363px; "title=" Picture 9.png "width=" 733 "height=" 363 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvgvst5gkeaabn3c7s41o876.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/76/88/wKioL1ZVg1TiqPfNAANV94zUtTQ239.png "style=" width : 733px;height:439px; "title=" Picture 10.png "width=" 733 "height=" 439 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1zvg1tiqpfnaanv94zuttq239.png "/>

(3) Restore success time. It takes 9 minutes for the system disk to recover successfully . The success of the data disk recovery takes 1 hours and 6 minutes. Why the data disk recovery takes so long, from Ucloud learned that the larger the data disk, the longer it takes to recover. Because my data disk uses 183G, so the recovery time is a bit long.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/89/wKiom1ZVg7ODamMnAACsX-ps8-Y861.png "style=" width : 733px;height:305px; "title=" Picture 11.png "width=" 733 "height=" 305 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvg7odammnaacsx-ps8-y861.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/88/wKioL1ZVhBGTg3EqAADYkvSBhL0727.png "style=" width : 733px;height:482px; "title=" Picture 12.png "width=" 733 "height=" 482 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1zvhbgtg3eqaadykvsbhl0727.png "/>


Four, check after successful recovery

(1) when the system resumes successfully, it is in a shutdown state and the system is booted in the console. Enter the system and check that the data and services are normal. Check disks, services, swap partitions, kernel parameters, Nic information, andrc.local files as before recovery. This is a very successful recovery.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/89/wKiom1ZVg-iRDy4lAAD4TVjAEDQ755.png "style=" width : 733px;height:339px; "title=" Picture 13.png "width=" 733 "height=" 339 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvg-irdy4laad4tvjaedq755.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/76/88/wKioL1ZVhEXQtES_AABxMRhY-Y0586.png "style=" width : 733px;height:282px; "title=" Picture 14.png "width=" 733 "height=" 282 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" wkiol1zvhexqtes _aabxmrhy-y0586.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/76/89/wKiom1ZVg-mxTJKIAABUiUo-hWs508.png "style=" width : 733px;height:327px; "title=" Picture 15.png "width=" 733 "height=" 327 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1zvg-mxtjkiaabuiuo-hws508.png "/>


v. Data Ark after use Sense

With the Data ark, It is very helpful for our system to be operational and DBA. The loss of data and damage to the system caused serious losses to the company. Very feel ucloud Team! the ucloud Data Ark also provides second-level recovery and hourly recovery. Refer to the ucloud official documentation for specific usage, and look forward to using the ucloud service, so that you better understand Ucloud The power of the place.


This article is from the "Looking to the Future" blog, please be sure to keep this source http://yangpeng14.blog.51cto.com/6166239/1716833

Ucloud Udataark (Data Ark) combat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.