The Research and Implementation of Load Balancing and Replica Consistency Technology of KYLIN TIANJI Storage System
- Author
- ZhaoHui
- Advisor
- HeLianYue
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 55
- Citations
- 0
Abstract
KYLIN SecStor system is based on the YINHE KYLIN operating system which is developed by Computer College of National University of Defense Technology. Datum is encrypted and stored centrally in the server, and can be encrypted and decrypted transparently in kernel level by the server operating system, which support strongbox-based file encryption and securely sharing.KYLIN SecStor system uses central datum storage style because of single server, which can not meet the need of numerous user requests. As a result, we want to explore a system expanding strategy.Samba[1] is the data output subsystem of KYLIN SecStor system, so the thesis think that it is the first step of system expanding to investigate and deploy high performance samba distributed file system. Now this system can work well but not enough, it consists of a metadata server which is called the root server and a group of back-end storage servers. Root server can republic share volumes which are called root directories, whose function is to supply a global virtual view for users. It achieves this by means of making symbol links, the link name is called link and the real volume is called link target, one link can map multiple link targets, every link target is a redundant replica. When clients access the file system, the root server will return the referral list which contains the symbol link targets .After the clients get the referral list, they will access the link targets following the order stored in the referral list until they find the first alive link target or fail if all the link targets are dead. So, for the most part, all the accesses will concentrate on some data storage server, which will bring about load incline among the servers. What is more, because KYLIN SecStor system supplies transparent encryption storage service, data modifying and updating are the fundamental functions, which will bring about the inconsistency among the replicas in distributed storage system. However, now samba has not done anything to ensure the replica consistency. The thesis’s aim is to do some research about the load balancing and replica data consistency of samba distributed file system.For load balancing, this thesis has put forward a load balancing strategy which is based on the performance of back-end servers. This strategy mainly consists of two sub-strategies, which are called back-end load feedback strategy and front-end load scheduling strategy. The back-end storage servers periodically feed back the load index, which is represented by the throughput per second of servers’network interface card. While the front-end root server computes the available load indexes of back-end servers according to the peak load indexes and current load indexes, then use the available load indexes to do the load scheduling. In samba distributed file system, it means that before root server returns the referral list which contains the symbol links targets, it should reorder the referral list to make that the larger the target server’s current available load index is, the topper the symbol link target is.For replica consistency, this thesis has the strategy below. Firstly, update operations must be done in the master replica,which can be ensured by locating the users that have the updating rights on the master replica. As a result we can resolve the write-write conflicts. Secondly, for the inconsistency because of read-write conflicts, we have the master replica push-mode updating propagation strategy, which is that the master replica will positively propagate the updating to the other replicas as soon as it has updated, which will make all replicas come to consistent.We have tested the improved samba distributed file system by the software which is called netbench, as a result, the overall throughput and average response time to clients both have improved heavily.
Table of contents
Abstract 10-12
ABSTRACT 12-14
first chapter 14-18
1.1 topic Background 14-15
1.2 of this article 15-17
1.3 Papers structural arrangements 17-18
Chapter II Research and technology 18-37
2.1 load balancing technology 18-24
2.1.1 client-based load balancing 18-19
2.1.2 application server load balancing technology 19
2.1.3 Domain Name System-based load balancing 19-20
2.1.4 level protocol content switching technology 20-21
2.1.5 network access protocol exchange 21
2.1.6 transmission link aggregation 21-23
2.1.7 server with a balanced strategy cluster 23-24
2.2 feedback technology 24-25
2.3 replica consistency 25-34
2.3.1 data-centric consistency model 25-26
2.3.2 customer-centric consistency model 26-29
2.3.3 Based on the agreement of the main backup 29-32
2.3.4 typical distributed storage system, a copy of the consistency strategy 32-34
2.4 Samba Distributed File System 34-36
2.4.1 system composed 34-35
2.4.2 System memory access mechanism 35-36
2.5 Summary 36-37
study the dynamic load balancing feedback 37-53
3.1 dynamic feedback load balancing strategy 37-42
3.1.1 strategic choice in accordance with 37-38
3.1.2 back-end feedback strategy 38-41
3.1.3 front-end scheduling strategy 41-42
3.2 dynamic feedback load balancing subsystem structure 42-43
3.3 dynamic feedback load balancing subsystem design 43-46
3.3.1 feedback value to collect design 43-44
3.3.2 Feedback and receiver design 44-45
3.3.3 load scheduling design 45-46
3.4 dynamic feedback load balancing subsystem 46-52
3.4.1 collect the module to achieve 46-48
3.4.2 Feedback received to achieve 48-50
3.4.3 load scheduling 50-52
3.5 Summary 52-53
Chapter a copy of data consistency 53-69
4.1 concept definition is 53
4.1.1 a copy of 53
4.1.2 replica server 53
4.1.3 master copy of the 53
4.1.4 a copy of the table 53
4.2 single main copy consistency strategy 53-56
4.2.1 eventual consistency model 53-54
4.2.2 single master copy of the consistency strategy principle 54-56
4.3 initiative to push the type of replica consistency update method 56-58
4.3.1 the initiative to push updates 56-57
4.3.2 replica consistency update method 57-58
4.4 copy of the consistency of the system software architecture 58-60
4.4.1 physical structure 58-59
4.4.2 software architecture 59-60
4.5 single main copy consistency of design 60-68
4.5.1 a copy of the consistency of design of 60-62
4.5.2 single master copy of the scheduling process 62-63
4.5.3 a copy of synchronization 63-66
4.5.4 Failure copy of resume processing 66-68
4.6 Summary 68-69
the fifth chapter of the system test 69-74
5.1 Test Environment 69-70
5.2 test description 70-73
5.2.1 server a test and description 70-71
5.2.2 Server 2 test and description 71-72
5.2.3 load balancing cluster server testing and description 72-73
5.3 Summary 73-74
Chapter VI Conclusion 74-75
thank 75-76
References 76-79
during the study for master thesis 79
Related dissertations
- Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
- Research on Agricultural Data Cloud Storage Based Oil Distributed File System
- Research on Data Duplication Selection Strategy in Cloud Environment
- Research on Load Balancing Problem in Distributed File System in Cloud Computing Environment
- The Application of Load Balance for E-business Website
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- Perception-based Congestion Control Mechanism for Distributed File System
- The Research of Dynamic Resource Management Key Technologies in Cloud Computing
- Research and Design of Scalable Network Server Based on Linux
- Research and application of pushing send technology of server cluster based on
- The Research for Distributed Control and Addressing Mode of Software Defined Network
- Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
- Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
- Research on Resource Scheduling Algorithms in Cloud Computing Environment
- Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
- Research on Adaptive Load Scheduling in Distributed File System
- Journal Design and Implementation of Cappella Distributed File System
- Research on Key Technologies for the Client of Distributed File System
- Application and Research of Digital Room Service System Based on Cluster Server
- Design and Implementation of a Video Sharing Platform Based on Cloud Storage