DOI QR코드

DOI QR Code

TCP Session Recovery Technique for High Availability in Smart On-Devices

스마트 온디바이스의 고가용성을 위한 TCP 세션 복구 기술

  • Received : 2016.12.23
  • Accepted : 2017.02.17
  • Published : 2017.06.30

Abstract

With the development of smart on-devices and communication technology, demand for non-stop services is increasing. Therefore, the high availability for continuously providing services in the event of system failure has been spotlighted. Meanwhile, because most internet-based services are provided by using TCP, an efficient TCP session recovery technique for providing non-stop services is required. However, the existing TCP session recovery techniques are inefficient because it has a high recovery cost or does not support failover operation, To solve these problems, in this paper, we propose a TCP session recovery technique for high availability in smart on-devices. For this, we first recover the TCP session without re-establish the TCP session by correcting a sequence number and a acknowledgment number. Second, we synchronize the TCP session recovery data between the master and the server, and then we operate the failover operation when master server fails. Finally, we provide the non-stop service to peer by using the virtual IP number and the transmission of GARP (Gratuitous ARP) packet.

최근 스마트 온디바이스 및 정보 통신 기술의 발전으로 인하여, 중단 없는 서비스에 대한 요구가 점차 증가하고 있다. 이에 따라 시스템의 장애 발생 시에도 지속적으로 서비스를 제공할 수 있는 고가용성이 주목받고 있다. 한편, 대부분의 인터넷 서비스는 TCP를 기반으로 제공되기 때문에, 스마트 온디바이스의 고가용성을 위해서는 효율적인 TCP 세션 복구 기술이 필수적이다. 그러나 기존 TCP 세션 복구 기술은 높은 세션 복구비용이 요구되거나 페일오버를 지원하지 않는 문제점이 존재한다. 이러한 문제점을 해결하기 위해, 본 논문에서는 스마트 온디바이스의 고가용성을 위한 TCP 세션 복구 기술을 제안한다. 이를 위해 첫째, 순서 번호와 확인 응답 번호의 보정을 통해 TCP 세션의 재연결 과정 없이 TCP 세션을 복원한다. 둘째, 마스터 서버와 백업 서버 간에 TCP 세션 복구 데이터를 동기화하고, 마스터 서버의 장애 발생 시 페일오버를 수행한다. 마지막으로, 가상 IP 주소와 GARP (Gratuitous ARP) 패킷의 전송을 통해 피어에게 무중단 서비스를 제공한다.

Keywords

References

  1. K. S. Lee and S. S. Choi, "TFRC Congestion Control for Mobile Streaming Services Based on Guaranteed Minimum Transmission Rate," KIPS Transactions on Computer and Communication Systems, Vol.2, No.3, pp.117-124, 2013. https://doi.org/10.3745/KTCCS.2013.2.3.117
  2. S. K. Kim and K. S. Chung, "A Performance Improvement of Linux TCP Networking by Data Structure Reuse," KIPS Transactions on Computer and Communication Systems, Vol.3, No.8, pp.261-270, 2014. https://doi.org/10.3745/KTCCS.2014.3.8.261
  3. S. I. Kim and H. S. Kim, "BGP Session Takeover Method Based on Docker," The Journal of The Korean Institute of Communication Sciences, Vol.41, No.2, pp.238-240, 2016. https://doi.org/10.7840/kics.2016.41.2.238
  4. D. H. Kim, J. C. Shim, H. Y. Ryu, J. H. Park, and Y. T. Lee, "Networking Service Availability Analysis of 2N Redundancy Model with Non-stop Forwarding," Information Science and Applications, Vol.339, pp.1063-1069, 2015.
  5. B. K. Kim, S. T. Hong, K. G. Lee, J. S. Kim, Y. J. Jung, and C.D. Lim, "Failover Manager on PTN device for 5-nines," in Proceedings of the IEMEK Symposium on Embedded Technology, pp.142-143, 2016.
  6. J. H. Lee and K. Y. Lee, "SYNCEYE: An Availability Measurement Tool for Embedded Systems," in Proceedings of the Asia-Pacific Software Engineering Conference, pp.15-18, 2014.
  7. High availability from Wikipedia [Internet], https://en.wikiped ia.org/wiki/High_availability
  8. L. Alvisi, T. Bressoud, A. El-Khashab, K. Marzullo, and D. Zagorodnov, "Wrapping server-side TCP to mask connection failures," in Proceedings of the IEEE INFOCOM, pp.329- 337, 2001.
  9. R. Surton, K. Birman, and R.V. Renesse, "Application-driven TCP recovery and non-stop BGP," in Proceedings of the IEEE/IFIP International Conference on Dependable Systems and Networks, pp.1-12, 2013.
  10. K. Jayaswal, "Administering Data Centers: Servers, Storage, And Voice Over Ip," Wiley-India, 2005.
  11. GNU General Public License, Gratuitous_ARP [Internet], https://wiki.wireshark.org/Gratuitous_ARP
  12. G. Shenoy, S. K. Satapati, and R. Bettati, "HydraNet-FT: Network support for dependable services," in Proceedings of the International Conference on Distributed Computing Systems, pp.699-706, 2000.
  13. N. Aghdaie and Y. Tamir, "Client-transparent fault-tolerant web service," in Proceedings of the IEEE International Performance, Computing, and Communications Conference, 2001.
  14. N. Burton-Krahn, "HotSwap - transparent server failover for Linux," in Proceedings of the Systems Administration Conference, 2002.
  15. R. Surton, Transparent TCP recovery [Internet], https://github.com/rahpaere/tcpr/