Design and Implementation of Firmware Protocol Stacks Model Supporting Remote Boot in IP-SAN
- Author
- YinBin
- Advisor
- TanHuaiLiang
- School
- Hunan University
- Major
- Applied Computer Technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 26
- Citations
- 0
Abstract
IP Storage Area Network (IP-SAN) technology is very important in the area of storage. It not only has the advantages of simple configuration and management, but also provides high capability and expansibility, which are the features of SAN. iSCSI is an critical protocol in the realization of accessing storage devices. Remote boot technology based on iSCSI protocal can boot from IP-SAN with the help of PCI ROM (such as NIC), it simplifies the infrastructure, and centralizes the the tasks of management. IP-SAN rebmote boot technology gives clients the ability to boot from mapping disks, which seems like every client has a local SCSI device, but how to allocate a mapping storage volume to a client, and how can they lauch the operating system on the mapping disk?In order to solve these problems, a block-based, reliable iSCSI/TCP protocol stack model is designed and implemented in this paper. A new remote boot technology based on IP storage area network was designed, the core technology of it is the firmware protocol stacks running under bare machine platform. The details are as follows:(1) A non-routing TCP protocol prototype was proposed and implemented based on firmware. The TCP protocol state machine is redesigned to make it simple. At the same time, several optimization algorithms were introduced to enhance the performance and reliability of remote boot, including optimistic forecast, fixed avoiding retransmit algorithm and output request suspend strategy that solved the problem of reentry.(2) After carefully analysed the iSCSI initiator architecture, we designed a firmware iSCSI initiator Finite State Machine model which can be easily taken over by kernel mode initiator. On top of this, we designed and implemented a simplified iSCSI initator, which is efficient, stable and does not require many resources; finally we designed the service of Disk Access Redirection and Boot Connection Vector, shows the details of how to boot from IP-SAN.(3) We fully tested the function, performance and reliability of the iSCSI/TCP protocol stack; then compared the IP-SAN remote boot system based on iSCSI/TCP firmware protocol stack with other relevant systems; After that, we suggested some further optimization and improvement options. The firmware protocol stack was integrated into IP-SAN extension BIOS, and applied to client hosts with no local storage devices, achieves network boot based on IP-SAN. Test results show it has a very good performance. Deployment, movement and re-distribution of relations between hosts and storages becomes more easily. Truely realized network boot and storage.
Table of contents
Abstract 5-6
ABSTRACT 6-13
Chapter 1 Introduction 13-21
1.1 Background 13-15
1.1.1 IP-SAN storage technology 13-14
1.1.2 iSCSI technology development prospects 14-15
1.1.3 using iSCSI boot from SAN 15
1.2 Research Significance 15-16
1.3 research and development status at home and abroad 16-18
1.3.1 storage market situation 16-17
1.3.2 remote boot protocol stack Research 17-18
1.4 of this paper mainly work 18-19
1.5 paper structure 19-21
Chapter 2 iSCSI protocol 21-37
2.1 iSCSI related theory 21-24
2.1.1 iSCSI hierarchical model 21-22
2.1.2 iSCSI PDU format 22-24
the 2.2 iSCSI sequences mechanism 24-27
the 2.2.1 command sequence number 24-26
the
2.2.2 sequences mechanisms of state 26
the
the 2.2.3 data sequence mechanism 26-27
the 2.3 iSCSI's name and named 27-28
the 2.4 iSCSI of the request and response 28-29
2.5 iSCSI session management 29-33
2.5.1 iSCSI parameters consultation 29-31
2.5.2 iSCSI login process 31-32
2.5.3 iSCSI full-featured stage 32-33
2.6 iSCSI error handling and recovery 33-35
2.6.1 the error recovery types 33-34
2.6.2 Error Recovery Level 34-35
2.7 iSCSI's security 35-36
2.8 Summary 36-37
Chapter 3 firmware TCP / IP protocol stack prototype and design 37-47
3.1 firmware-based transport layer protocol stack prototype 37-38
3.2 embedded TCP state machine 38-39
The
the 3.3 embedded TCP Agreement to achieve 39-46
3.3.1 protocol control block and socket simplify 40-42
3.3.2 connection establishment and close the 42
3.3.3 Data Transfer 42-45
3.3.4 optimization algorithm 45-46
3.4 Summary 46-47
Chapter 4 firmware iSCSI prototype system state model and design 47-65
4.1 the prototype firmware-based iSCSI protocol 47-48
4.2 firmware-based iSCSI initiator 48-60
4.2.1 Embedded iSCSI initiator state model 48-54
the 4.2.2 embedded iSCSI starter session state 54-55
4.2.3 Embedded iSCSI initiator data structures 55-58
4.2.4 buffer strategy and data transceiver 58-59
4.2.5 error recovery process and security 59-60
4.3 iSCSI BIOS call interface 60-62
4.4 IP-SAN storage volumes the remote mapped with guide 62-64
4.4.1 disk I / O access redirect 62-63
4.4.2 storage volume to the host disk mapping 63-64
4.5 Summary 64-65
Chapter 5 the firmware protocol stack testing and evaluation 65-73
5.1 application test environment 65-66
5.2 firmware protocol stack functionality test 66-68
5.3 firmware protocol stack performance test 68-69
5.4 IP-SAN performance testing of the remote boot 69-70
5.5 IP-SAN remote boot reliability test 70
5.6 IP-SAN system 70-71
5.7 Summary 71-73
the
conclusions and Prospects 73-75
the
References 75-79
Acknowledgements 79-80
to Appendix A graduate during the Papers and participate in research projects 80
Related dissertations
- The Design and Implementation of the Small Integrative PLC System
- The U-Boot system based on Loongson platform transplantation
- Design of the High Speed Data Acquisition System Based on USB2.0
- Research on the Lab View State Machine and the Application on Motion Control
- Multi protocol Indy R2000 UHF RFID reader design and Realization of Firmware system based on the
- The Design of Handheld Multi-function Rfid Reader Based on Coretex-A8
- Research on Techniques of Firmware Control Flow Graph Recovery
- Research on Analysis Technology of Security Flaw in Firmware
- The Design and Driver Development of USB Interface of Program-controlled Instruments
- Design of a Control System Based on USB Interface
- Design of DVB-C Digital TV Receiving System Based on USB
- Research and Implement on the Distributed Mobile Multimedia Network Intelligent Monitoring System
- Study of Data Transmission System Based on USB2.0and FPGA
- Research on Firmware Malicious Code Detection Technology Based on Model Checking
- Designing and Realization Semiconductor Temperature-control System of Zenith Telescope Area-array CCD
- The Reasearch and Application of NCUC-Bus and USB Conversion
- The Study of Well Logging Cable DataTransmission System Based on USB
- Research on Key Technology of Norm Supported Virtual Organization
- Hardware Design of Encrypted U Disk Based on Permutation Code
- USB Driver Programming Implementation Based on ARM and Linux Platform