Tags: SQL Server databaseWhy write this article, mainly because of the case of replacing storage on the cluster, such as a small failure of the original storage, fear of data loss, you must change the storage in the cluster into a new st
Tags: is the cluster oar development man help the values format name primaryStorage target: Storage is based on different application environment through the adoption of reasonable, safe, effectiveSave data to certain media and ensure effective access? On the one hand it is the physical medium where data is temporarily or permanently resident? On the other hand, it is the way or behavior that ensures the co
have a massive level of image files, the technology used is more extensive, from hardware to software, programming languages, databases, Web servers, firewalls and other fields have higher requirements. Therefore, it is necessary to set up a separate picture server to store pictures, the flow of image data from the Web server separated, such a framework can effectively alleviate the Web server I/O performance bottlenecks, improve the user's access speed.
The system architecture design needs to
through a picture A shard cluster consists of three parts :Router (mongos) config Server, shard (Replica sets, replica set) Shard: This is sharding, which stores data for high availability and consistency. Mongos : Routing server, ingress of DB cluster, all requests through MONGOs do not need to add a route selection in the application, MONGOs itself is a request distribution center, responsible for fo
iscsidm-M node-S
Supplement: If RHEL is used as the iSCSI server, perform the following operations:
Yum install-y iscsi-target-utils.x86_64
Vim/etc/TGT/targets. conf
Backing-store/dev/md127
Restart service
Start chkconfig tgtd on permanently
If you want to specify the IP range, configure it in targets. conf.
Initiator-Ah dress192.168.200.125 specifies the IP address that can be accessed
Incominguser Zou 123.com
To view the output, run TGT-admin-s.
This article is from the "Arctic Linux" bl
1. scalable design of distributed cacheaccess model of 1.1Memcached distributed cache clustera consistent Hash algorithm for 1.2 distributed cache 2. Scalability design of database storage server clusterThe scalability design of the database storage server cluster puts forward higher requirements for the persistence and availability of the data. The data
Cd.. /
chmod u+x autogen.sh//Download the sheepdog directory where the file needs to have Execute permission
./autogen.sh
./configure--enable-zookeeper--disable-corosync
Make
Make install
Installation Complete
4, four storage nodes format and mount two disks
Mkfs.ext4/dev/sdb
Mkfs.ext4/dev/sdc
Mount-t ext4/dev/sdb/shd/obj0Mount-t ext4/dev/sdc/shd/obj1///shd/obj0 and/SHD/OBJ1 directories created manually
5. Four s
Connect a blog Nginx or httpd to achieve load Balancing Tomcat (iii)Tomcat Realization of the principle and implementation of Session management:The dedicated session management component used by the Tomcat management sessionhas 4 types of Session manager for Tomcat :1. Standard Session Manager (Standerdmanager)2. Persistent Session Manager (Persistentmanager can be based on file storage (Filestore) or JDBC stora
I have previously studied how to build a mongodb environment (see). Considering that the mongodb cluster environment will be used in the future and the multi-bit 32-bit OS environment, I have constructed a mongodb cluster environment. For details about the process, see "sharding with replica set.
In this experiment, four XP machines are built with VMWare 8.0, with IP addresses 192.168.111.11, 192.168.111.12
We have studied how to build a mongodb environment. Considering that we need to use the mongodb Cluster Environment and the multi-bit 32-bit OS environment in the future, we have built a mongodb cluster environment. For more information, see
We have studied how to build a mongodb environment. Considering that we need to use the mongodb Cluster Environment and the
to adjust. starting with MySQL 5.6.3 , This parameter is no longer needed. (Error log [Warning] option ' innodb_additional_mem_pool_size ': Signed value 512000 adjusted to 524288). */In the example , the default configuration is the default configuration, which is 8M. in the Mysql manual, the recommended setting for 2G memory is 20M. In general, set up the General Assembly caused by the waste of physical memory, can be on the line for a period of time to pay close attention to the log, parame
IO path is the data channel of the storage system, the inlet and outlet should have controllable valve mechanism, sometimes the entrance is also the outlet, especially in the distributed cluster the problem of the midbrain crack needs its support.
Related points in the kernel
1. The freeze function of the file system VFS layer;
2.DM especially MP This block has the queue suspend function; This block
to the DT era, our software architecture is also from standalone to cluster and distributed. However, the first step toward the distribution needs to solve the problem of multiple servers sharing login information. It is to solve the problem that multiple servers share common information. To solve this problem, we can store the public information in the state server, or store it in a database, and then store it in our "distributed cache" and so on. B
IP Planning and setting node name IP Configuration Table
Node name
P Ublicip
Vip
P rivate IP
Scanip
18cdbrac1
128.0.5.101
128.0.5.103
10.10.10.1
128.0.5.105
10.10.10.2
128.0.5.106
128.0.5.107
18cdbrac2
128.0.5.102
128.0.5.104
10.10.10.5
10.10.10.6
Dns
128.0.5.253
/etc/rc.local/application/bin/apachectl start/application/sersync/sersync2-d-r-o/application/sersync/confxml.xml2. Add a script under the/etc/init.d/ directoryThe Apachectl file in the Apache/bin directory is actually a startup script, copy the Apachectl file to the/etc/init.d/directory, and rename it to Apache (the name is easy to remember.)# Cp/application/apache/bin/apachectl/etc/init.d/apache2Then modify the Apache file to allow it to support service and Chkconfig commands:# Vim/etc/init.d/
Advantage Description :1. memcached is a memory cache that can read and write faster than regular files2. Can solve the problem of multiple server common sessionDrawback Description :1. Session data is stored in memory, persistence is deficient, but it is not a problem for session data2. You can also use other persistent systems to store sessions, for example: Redis,ttserver3. High-performance concurrency scenarios, the efficiency of cookies is much better than the session, so many large website
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.