even frequent timeouts. The table stores data from more than 20 thousand companies, and the report generation is also based on the company. Therefore, the optimization solution has a clear idea: partition the table by company. However, there are some troubles in this process: the data of each company is not balanced. Nearly 200 of these companies belong to VIP users, with the largest data volume. Each company has tens of thousands to hundreds of thou
installation is complete.
2. Configure software parameters (VRRP)
After the software is installed, the path of the configuration file is:
/Usr/local/keepalived/etc/keepalived. conf
Open the configuration file on the master end, clear the original content, and then add the following content:
! Configuration File for keepalived
Global_defs {-- global configuration
Notification_email {
Aaron8219@xxx.xxx -- mailbox for receiving notifications
}
Router_id mongoon8219 -- it can contain lette
the data required by the user to the end user in different ways. The LVS working mode is divided into NAT mode, TUN mode, and DR mode;
1> NAT-based LVS load balancing:
NAT refers to network address translation. Its function is to modify the data header so that private IP addresses inside the enterprise can access the Internet, and external users can access private IP addresses inside the company, in VS/NAT mode, the LVS Server Load balancer uses two NICs to configure different IP addresses. eth
The CRS and database software of RAC have been installed and upgraded to 10.2.0.4. An error cannot be solved. No way onlyReinstall CRS.(Error similar to srvctl add service fails with PROC-5 [ID 466952.1]However, this error occurs when I create a database. The error is reported when the service is added .)However, the previous step took about five hours. If everything is repeated. The cost is too high. I found an IT pub expert onlineDocumentation. Reinstall CRS. Actually succeeded.
My library is
This article mainly uses three scripts to implement the LVS configuration. Script 1:lvs.sh is configured on the load Balancer side, and script 2:realserver.sh is configured on the backend real server server. Script 3:check_lvs.sh is a script used to test the health of the backend server on the load Balancer side, if a real server outage is automatically cleared, if the recovery is added, the backend all servers are down, the load balancer will provide the error page to the cluster.Planning:Load
Because Dr Mode, VS/DR is only responsible for data forwarding, and the return of the data is returned by the back-end server directly to the client, thereby reducing the VS/DR load, so Dr Mode is the first choice for most companies.The following is the official network topology for Dr Mode:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/A8/wKiom1coD_6AtHduAAA4xVwvjm8694.png "title=" Clipboard.png "alt=" Wkiom1cod_6athduaaa4xvwvjm8694.png "/>From the fancy, the back-end server and
1. View the status of the cluster:[Email protected] ~]# Su-grid[Email protected] ~]$ crsctl Check clusterCrs-4537:cluster Ready Services are onlineCrs-4529:cluster Synchronization Services is onlineCrs-4533:event Manager is online2. DB Instance Status:[Email protected] ~]$ srvctl status Database-d YoonInstance Yoon1 is running on node Rac1Instance Yoon2 is running on node RAC23. Single Instance Status:[Email protected] ~]$ srvctl status instance-d yoon-i yoon1Instance Yoon1 is running on node Ra
LVS Cluster has DR, TUN, Nat three configuration mode, can be the WWW service, FTP services, mail services, such as load balancing, the following through the construction of the WWW service load Balancer instance, describes the DR model based on the LVS cluster configuration.First, the configuration of Director serverThere are two ways to configure the LVS load Balancer cluster on the director server: #61656; Configuring with the Ipvsadm command line #61656; Configure LVS with the tool piranha p
First, memcached cluster
Memcached consists of memcached server and Memcache client, in which the distributed cache effect must be implemented by the client, but its distribution is a pseudo-cluster, memcached the nodes do not communicate, no data backup, load Balancing function is implemented by the client
Memcached itself is a memory-based cache, the design itself does not have a redundancy mechanism, if a memcached node loses all the data (such as power outage, restart, et
The DR modelScalable Cache ServiceDr Core:The response process does not go through the DirectorDr Model Highlights:A.There are 3 ways to achieve this: only allow Director to respond to Router's dynamic ARP broadcast requests for VIPs,prevent VIP on RS from directly communicating with front-end routing1, modify the route, using static ARP;2, the use of Arptables on the RS, prohibit the response to the VIP AR
The LVS architecture can be logically divided into the scheduling layer (Director), the server cluster layer (Real server), and the shared storage tierLVS can be divided into three modes of operation :NAT (The scheduler changes the requested destination IP as the VIP address to the IP of the real server, the returned packets are also routed through the scheduler, and the scheduler then modifies the source address to the
A few days ago, the user wrote to help achieve such a framework: only two machines, the need to implement one of the crash after another can take over the service of this machine, and two machines in normal service, both machines can be used. The following architecture was designed.Introduction to ArchitectureThis architecture is mainly by the keepalived realize the dual machine high availability, maintains an outside network VIP, an intranet
Figure 0.
The 2nd step: After the operation will find in the window has 4 tags, in the interface modification, in which you can remove "the dynamic News", "The bottom Scrolls the text advertisement", "the picture advertisement in the upper right corner" as well as "the Thunder movie navigation" and so on. In the "Plugin Management" tab can be removed "save Time", "Advertising Tips", "audio add-in" and other 34 items usually not commonly used functions, so that the Thunderbolt 7 run
below.2.1. Vs/nat (virtual server/network address Translation service/network addresses translation)This type of network topology is as follows:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/7F/wKiom1VKwyXxPViZAAMtOT1Qf5w060.jpg "title=" 1.jpg " alt= "Wkiom1vkwyxxpvizaamtot1qf5w060.jpg"/>Term Description:Director represents the scheduler, here refers to the LVS server;Real server represents a server that provides real-world application services outside the scheduler backend;CIP r
that can be used in multiple uses such as cache, message, queue (Redis native support publish/subscribe), any transient data, applications such as Web application sessions, Web page hits count etc.1.2 Redis InstallationDownload the latest source package on the Redis websiteHttp://download.redis.io/releases/redis-2.8.3.tar.gz
Extract
# tar Xzf redis-3.0.0.tar.gz
Copy Directory
# MV Redis-3.0.0/usr/local/redis
Go to Catalog
# Cd/usr/local/redis
C
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.