1.SSH Remote ManagementSSH (Secure Sheel) is a secure channel protocol, which is mainly used to realize remote login of character interface, and so on. The SSH protocol encrypts the data transmitted by both parties, including the user's password.
ganymed SSH2 analog similar FileZilla remote transfer file (based on SCP protocol)In order to transfer files or directories, we use the Scpclient class in Ganymed SSH2, which implements the SCP command function.The following code includes the
In reality, MySQL is more common is a master multi-slave, and in the main library The problem is that it needs to be raised from the library to the main library, but in fact this operation is very cumbersome, basically to all from the library
General online increase from the library there are two ways, one is through the mysqldump backup of the main library, restore to from the library, mysqldump is a logical backup, the data volume is large, the backup speed will be very slow, lock the
Now let's take a look at a practical example to observe its design from the perspective of different design principles. This example is the message processing module of the data transmission control component of the information processing center.
Now the production environment MySQL database is a primary one from, because the traffic volume of access is increasing, so add another from the library. The premise is not to affect the online business use, that is, can not restart the MySQL
Now the production environment MySQL database is a primary one from, because the traffic volume of access is increasing, so add another from the library. The premise is not to affect the online business use, that is, can not restart the MySQL
Now the production environment MySQL database is a primary one from, because the traffic volume of access is increasing, so add another from the library. The premise is not to affect the online business use, that is, can not restart the MySQL
Linux under oracle11g DG Build (II): Building operations around the main libraryEnvironment
Name
Main Library
Standby Library
Host Name
Bjsrv
Shsrv
Software version
RedHat
Python automatically backs up the SVN version library and copies it to the remote host script
#! /Usr/bin/python #-*-coding: UTF-8-*-import osimport reimport tarfileimport datetimeimport pexpectbasedir = '/data/bak/' # folder iplist = [''] # IP
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.