Today, I found a note in an elephant note that was previously placed on the Ijavaboy, and is now inaccessible. A few days ago another colleague was discussing the problem. Here to share.In the process of Web application development or game server development, we are always using hot deployment. The purpose of the thermal deployment is simple to save time for application development and release. For example,
If you have experience in cluster, server load balancer, and dual-machine hot standby, you will be able to answer the question: I am using a mysql database web script written in php. If cluster, server load balancer, and dual-machine hot standby are implemented, is there an all-in-one solution? I mean, what I know now
Veritas Cluster Server for Oracle dual-Machine hot standby configuration
-Overview
There are two reasons to put Oracle's two machines behind the DB2 dual machine: First, the DB2 configuration is simpler than the Oracle configuration, and the database model is easier to understand, from a simple start to a user-friendly school, where similar users can refer to the DB2 configuration The second is the configu
Webpack-dev-server:It is a static resource server, only for the development environment;Webpack-dev-server will save all the compiled static files in memory;Webpack-dev-middleware:is a middleware to deal with static resources;The webpack-dev-server, in fact, is a small Express server, which also uses Webpack-dev-middle
three machines, mainly for the application to use in the connection data.3. Backup RESTORE DatabaseCopy the full database backup from the primary server to the same directory in the same file as the log. Right [database name], click [Tasks], select Backup, do a full backup first, then log backup. Restore the backup contents of the master library in the repository. Right [database name], click [Tasks], select Restore. -4Figure-44. Start
Website: bbs.justin.com: Web Server 10.15.72.73 above database: MySQL Server 10.15.72.177 above purpose: Add a MySQL Backup Server (10.15.72.136) as MySQL
Website: bbs.justin.com: Web Server 10.15.72.73 above database: MySQL Server 10.15.72.177 above purpose: Add a MySQL Ba
Tags: ignore cert sql_delay REM ast mat a MMU _idFirst, prepare the environment 1. master server A (192.168.0.176), from Server B (192.168.0.13). 2. The MySQL database is deployed on all two servers. (The database version on the two server must be consistent) 3. Create the Rb-test database separately on the two servers and create the data table user. Second, ma
Tags: mysql5.7 dual machine hot standby mysql5.7+keepalived11. Planning
system
IP Address
Package and Installation method
VIP
CentOS 7.3.1611
10.3.3.240
mysql5.7
10.3.3.99
CentOS 7.3.1611
10.3.3.208
Mysql5.7
10.3.3.99
2. Installation PreparationMySQL master or MySQL dual-owner, self-built here no longer repeat.Note: MySQL and keepalived are
Steps:First:After receiving Sigterm, now the server listens for socket stop acceptBut it doesn't stop listen, which is key. (so the SYN of the client-initiated TCP connection is not synack, just keep waiting and not be rejected )?Second:The existing process receiving sigterm continues to handle the socket that has been received.Exit until the end of processing is complete.Third:After receiving Sigterm, send sighup (to ensure that the existing
{Connect_port 80Connect_timeout 3Nb_get_retry 3Delay_before_retry 3}}}[[email protected]keepalived]# Service keepalived Start[[email protected]keepalived]# IP addr Show Dev ens33//Verify that the virtual address is boundinet 192.168.80.188/32 Scope Global ENS33[[email protected]keepalived]# ipvsadm-l[[email protected]keepalived]# tail-f/var/log/messages//Shutdown Verification for Business Server and main scheduler
Currently, you are working on a website project using myeclipse + Tomcat. Every time you modify the project source code, you need to restart tomcat, re-export the project to the webapps folder, or redeploy it, which is too troublesome. So I studied how to set tomcat to a hot start, that is, the Tomcat server does not need to be restarted when the source code is modified. The method is as follows:
Step 1:
Only need to add in the Pom.xml file1 Build>2 Finalname>MyssmFinalname>3 Specify the type of server to deploy -4 Plugins>5 6 -7 plugin>8 groupId>Org.apache.tomcat.mavengroupId>9 Artifactid>Tomcat7-maven-pluginArtifactid>Ten version>2.2version> One Configuration> A Port>8080Port> - Path>/myssmPath>
The legend of the hot blood... a popular online game that has been around for more than 10 years.
This setCodeAfter I use the Code Conversion Tool and the modification, I can smoothly enter the game Changyou weight mainland.
As a cainiao, it is not easy for me to independently complete and modify the bugs in the code... although I have already done so, I have not updated it for a long time. I just want to open the source and forget it...
Some fi
Setting up MYSQL Data synchronization
Summary
MySQL provides database replication functionality after version 3.23.15. The function of two database synchronization, master-slave mode and mutual backup mode can be realized by using this feature.
The settings for database synchronization replication are reflected in the MySQL settings file. MySQL configuration file (typically MY.CNF)
In a UNIX environment, in/ETC/MYSQL/MY.CNF or under the MySQL user's home directory my.cnf.
Window environment
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.