Responsive image
博碩士論文 etd-0622115-180406 詳細資訊
Title page for etd-0622115-180406
論文名稱
Title
以SDN實作雲端作業系統之內部網路
Implementation of Intra-networking of Cloud Operating System by using Software Defined Network
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
69
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2015-07-17
繳交日期
Date of Submission
2015-07-29
關鍵字
Keywords
Docker、雲端作業系統、Openvswitch、Container、軟體定義網路、RYU controller
RYU controller, Cloud computing operating system, Docker, Container, Software-Defined network, Openvsiwtch
統計
Statistics
本論文已被瀏覽 5721 次,被下載 68
The thesis/dissertation has been browsed 5721 times, has been downloaded 68 times.
中文摘要
在資訊爆炸的時代裡,人們無時無刻都在產生數據,無論是購買物品的紀錄、就醫資料、搜尋引擎搜尋紀錄,這些資料看似無意義,但經過分析之後,這些數據卻可以用來洞悉商業趨勢、配合醫療用途、預防犯罪等等,這也因此吸引了許多科技大廠近期都開始投入大數據分析。
大數據的特質與傳統數據最大的不同是,資料來源多元、檔案種類繁多,大多是非結構化資料,而且更新速度非常快,導致資料量可能達到100TB到PB之間。然而,龐大的資料無法使用大多數的資料庫管理系統處理,因此需要使用能夠管理數十、數百甚至數千台伺服器同時平行運算的軟體,而利用雲端作業系統打造私有雲來處理就是一個非常好的選擇。
近年來興起的Container技術更是讓傳統雲端架構煥然一新,不管是創建速度還是資源的控管都遠遠優於傳統的虛擬機器技術,讓雲端系統能夠更靈活、更快速地擴建及調整。
本系統將Docker、OpenvSwitch、RYU controlle技術結合,運用在私有雲的佈建上,其內部的網路設定則利用Linux shell script與RYU controller來實作,而本系統遵循軟體定義網路的架構、利用模組化的控管機制實現負載均衡、並且擁有良好的擴充性,可以輕易的增加或刪減雲端系統內的Container甚至是伺服器,透過這樣的系統,使用者可以不費吹灰之力的創建私有雲。
Abstract
In the age of information explosion, data from purchasing record, medical record and search history from search engine has been creating all the time. These data seems meaningless, however, after being analyzed, it can be applied to spot business trends, cooperate with medical system and prevent crimes. Because of these benefits, there are more and more technology companies devoting themselves into analyzing big data.
Compare to traditional data, big data has the following characteristics: multiple resources, various data types, unstructured data and higher velocity of producing data which might lead to 100TB to PB capacity. However, it is difficult to manage gigantic data by using normal database system, so we need a system which can simultaneously manage hundreds or thousands of servers. Thus, building a private cloud by cloud computing operating system is a good way to manage gigantic data.
Container technique, which has arisen in recent years, can help the cloud system become more flexible and easier to expand or adjust. This technique indeed freshen the traditional cloud structure, providing higher velocity of building container and better system resources control.
This system combines Docker、OpenvSwitch and RYU controller, and applies these three techniques to build a private cloud. Linux shell script and RYU controller are applied to the network setting of the cloud system. In addition, this system use the architecture of software-defined network. By using modular control mechanisms, this system also implements load balancing and with good extensibility which can easily increase or decrease the Container or server in cloud system. By using this system, users can build private cloud without much efforts.
目次 Table of Contents
論文審定書 i
摘要 iv
Abstract v
目錄 vi
圖目錄 ix
表目錄 x
第一章 序論 1
1.1 研究動機 1
1.2 研究目的 2
1.3 研究現況 2
1.4 論文架構 3
第二章 研究背景 4
2.1 Linux Container 4
2.1.1 Cgroup(Control groups) 4
2.2 Docker 4
2.2.2 Docker hub 7
2.2.3 Pipework 7
2.3 OpenvSwitch 8
2.4 Software-defined networking 9
2.4.2 OpenFlow 11
2.4.2.2 Pipeline processing 12
2.4.2.3 Group table: 13
2.4.2.4 Flow table 14
2.4.2.5 Actions 16
2.4.3 RYU controller 18
2.5 Tunnel protocol 19
2.5.1 GRE Tunnel 19
2.6 iptables 20
2.6.2 MASQUERADE 21
2.7 Secure Shell protocol(SSH) 22
第三章 系統架構與功能簡介 23
3.1 系統架構 23
3.2 系統特色 24
3.3 系統服務流程 24
3.4 系統需求 25
3.4.1 硬體需求 25
3.4.2 軟體需求 25
第四章 實作技術探討 27
4.1 控制端主機設定 27
4.1.1 RYU 安裝 27
4.1.2 Root 免密碼設定 27
4.2 被控制端主機設定 28
4.2.1 Docker 安裝 28
4.2.2 OpenvSwitch安裝 28
4.2.3 Pipework套件安裝 28
4.3 Root 免密碼設定(被控制端設定) 29
4.3.1 設定root的密碼 29
4.3.2 Root 免密碼設定 29
4.3.3 修改ssh設定檔 29
4.4 RYU controller 設計 29
4.4.1 Config階段 30
4.4.2 Main階段 32
4.4.3 狀態偵測階段 33
4.5 主控端程式設計 35
4.6 被控制端環境建置 35
4.7 Container的產生及刪除 36
4.8 正常移除主機 37
4.9 強制移除主機 38
4.10 被控制端自動化程式設計 39
4.10.1 environment.sh 39
4.10.2 environment_clean.sh 39
4.10.3 getvm.sh 39
4.10.4 releasevm.sh 39
第五章 系統成果展示 40
5.1 系統硬體配置 40
5.1.1 主控端硬體資訊 40
5.1.2 被控制端硬體資訊 40
5.2 成果展示 41
第六章 結論與未來展望 44
參考文獻 46
附錄A 51
參考文獻 References
[1] Software-Defined Network, https://www.opennetworking.org/sdn-resources/sdn-definition.
[2] Open Networking Foundation, "Software-defined networking: The new norm for networks, " ONF White Paper, 13 April 2012.
[3] Masayoshi Kobayashi, Srini Seetharaman, Guru Parulkar, Guido Appenzeller, Joseph Little, Johan Van Reijendam, Paul Weissmann, and Nick Mckeown. "Maturing of OpenFlow and Software-defined Networking through deployments, " Computer Networks: The International Journal of Computer and Telecommunications Networking, Volume 61, pp. 151-175, 14 March 2014.
[4] Hyojoon Kim and Feamster, N. "Improving network management with software defined networking, " Communications Magazine, IEEE, Volume 51, Issue 2, pp. 114-119, 14 Feb 2013.
[5] Sezer, S., Scott-Hayward, S., Chouhan, P.K., Fraser, B., Lake, D.,Finnegan, J.,Viljoen, N., Miller, M., and Rao, N., "Are we ready for SDN? Implementation challenges for software-defined networks, " Communications Magazine, IEEE, Volume 51, Issue 7, pp. 36-43, 12 Jul 2013.
[6] Lara, A., Kolasani, A., and Ramamurthy, B., "Simplifying network management using Software Defined Networking and OpenFlow, " Advanced Networks and Telecommuncations Systems (ANTS), 2012 IEEE International Conference on. pp. 24-29, 16-19 Dec 2012.
[7] Luyuan Fang, Fabio Chiussi, Deepak Bansal, Vijay Gill, Tony Lin, Jeff Cox, and Gary Ratterree, "Hierarchical SDN for the hyper-scale, hyper-elastic data center and cloud, " SOSR ’15 Proceedings of the 1st ACM SIGCOMM Symposium on Software Defined Networking Research, Article No. 7, 17 Jun 2015.
[8] Hata, H., "A study of requirements for SDN switch platform, " Intelligent Signal Processing and Communications Systems (ISPACS), 2013 International Symposium on, pp. 79-84, 12-15 Nov 2013.
[9] Gelberger, A., Yemini, N., and Giladi, R., "Performance Analysis of Software-Defined Networking, " Modeling, Analysis & Simulation of Computer and Telecommunication Systems (MASCOTS), 2013 IEEE 21st International Symposium on, pp, 389-393, 14-16 Aug 2013.
[10] Alvizu, R. and Maier, G., "Can open flow make transport networks smarter and dynamic? An overview on transport SDN, " Smart Communications in Network Technologies (SaCoNeT), 2014 International Conference on, pp. 1-6, 18-20 June 2014.
[11] Jarschel, M., Zinner, T., Hossfeld, T., Tran-Gia, P., and Kellerer, W., "Interfaces, attributes, and use cases: A compass for SDN, " Communications Magazine, IEEE , Volume:52, Issue: 6 , pp. 210-217, 17 June 2014.
[12] Kuklinski, S., "Programmable management framework for evolved SDN, " Network Operations and Management Symposium (NOMS), 2014 IEEE, pp. 1-8, 5-9 May 2014.
[13] Skowyra, R., Lapets, A., Bestavros, A., and Kfoury, A., "A Verification Platform for SDN-Enabled Applications, " Cloud Engineering (IC2E), 2014 IEEE International Conference on, pp. 337-342, 11-14 March 2014.
[14] Open Networking Foundation, OpenFlow Switch Specification Version 1.4.0, 2013/10
[15] Sonkoly B., Gulyás A., Czentye J., Kurucz K., Vaszkun G., Kern A., Jocha D., and Takács A., "Integrated OpenFlow virtualization framework with flexible data, control and management functions, " in Proceedings of IEEE INFOCOM 2012 (Demo), 2012.
[16] Sonkoly, B., Gulyas, A., Nemeth, F., Czentye, J., Kurucz, K., Novak, B., and Vaszkun, G., "OpenFlow Virtualization Framework with Advanced Capabilities, " Software Defined Networking (EWSDN), 2012 European Workshop on, pp. 18-23, 25-26 Oct 2012.
[17] Jarschel, M., Oechsner, S., Schlosser, D., Pries, R., Goll, S., and Tran-Gia, P., "Modeling and performance evaluation of an OpenFlow architecture, " Teletraffic Congress (ITC), 2011 23rd International, pp. 1-7, 6-9 Sept 2011.
[18] Nick McKeown, Tom Anderwson, Hari Balakrishnan, Guru Parulkar, Larry Peterson, Jennifer Rexford, Scott Shenker, and Jonathan Turner, "OpenFlow: enabling innovation in campus networks, " ACM SIGCOMM Computer Communication Review, Volume 38, Issue 2, pp. 69-74, April 2008.
[19] Khondoker, R., Zaalouk, A., Marx, R.,and Bayarou, K., "Feature-based comparison and selection of Software Defined Networking (SDN) controllers, " Computer Applications and Information Systems (WCCAIS), 2014 World Congress on, pp.1-7,17-19 Jan 2014.
[20] Amin Tootoonchian, Sergey Gorbunov, Yashar Ganjali, Martin Casado, and Rob Sherwood, "On controller performance in software-defined networks, " Hot-ICE'12 Proceedings of the 2nd USENIX conference on Hot Topics in Management of Internet, Cloud, and Enterprise Networks and Services, pp. 10-10, 24 Apr 2012.
[21] Betge-Brezetz, S., Kamga, G.-B., and Tazi, M., "Trust support for SDN controllers and virtualized network applications, " Network Softwarization (NetSoft), 2015 1st IEEE Conference on, pp. 1-5, 13-17 Apr 2015.
[22] Docker, https://www.gitbook.com/book/philipzheng/docker_practice/details.
[23] Kawashima, R. and Matsuo, H., "Implementation and Performance Analysis of STT Tunneling Using vNIC Offloading Framework (CVSW), " Cloud Computing Technology and Science (CloudCom), 2014 IEEE 6th International Conference on, pp. 929 – 934, 15-18 Dec 2014.
[24] Kawashima, R. and Matsuo, H., "Non-tunneling Edge-Overlay Model Using OpenFlow for Cloud Datacenter Networks," Cloud Computing Technology and Science (CloudCom), 2013 IEEE 5th International Conference on , Volume 2, pp. 176-181, 2-5 Dec 2013.
[25] Linux Container, http://zh.wikipedia.org/wiki/LXC.
[26] Cgroup, http://tobala.net/download/lxc/ch01.pdf.
[27] 中興大學資訊科學與工程學系研究生 /侯柏丞、中興大學資訊科學與工程學 系教授 / 高勝助, 以 OpenFlow 實現 SDN 建置多服務導向的 KMLN 虛擬 叢集, 2013/06
[28] Docker hub, https://hub.docker.com/account/signup/.
[29] Pipework, https://github.com/jpetazzo/pipework.
[30] RajaRevanth Narisetty, Levent Dane, Anatoliy Malishevskiy, Deniz Gurkan, Stuart Bailey, Sandhya Narayan, and Shivaram Mysore, "OpenFlow Configuration Protocol: Implementation for the of Management Plane, " Research and Educational Experiment Workshop (GREE), 2013 Second GENI, pp.66-67, 20-22 March 2013.
[31] Openvswitch, http://openvswitch.org/.
[32] RYU, http://osrg.github.io/ryu/.
[33] Tunnel,
http://www.twwiki.com/wiki/%E9%9A%A7%E9%81%93%E6%8A%80%
E8%A1%93.
[34] Gre Tunnel, http://archive.openflow.org/wk/index.php/Tunneling_-_GRE/L2TP.
50
[35] 鳥哥的 Linux 私房菜,
http://linux.vbird.org/linux_server/0250simple_firewall.php.
[36] 鳥哥的 Linux 私房菜, http://linux.vbird.org/linux_server/0310telnetssh.php.
[37] Zdravko Bozakov and Panagiotis Papadimitriou, "AutoSlice: Automated and
Scalable Slicing for Software-Defined Networks, " Proceedings of the 2012 ACM
conference on CoNEXT student workshop, pp. 3-4, 10 – 13 Dec 2012.
[38] Rehman, S.U., Wang-Cheol Song, and Mingoo Kang, "Network-wide traffic
visibility in OF@TEIN SDN testbed using sFlow, " Network Operations and
Management Symposium (APNOMS), 2014 16th Asia-Pacific, pp. 1-6, 17-19 Sept
2014.
[39] Christopher Monsanto, Joshua Reich, Nate Foster, Jennifer Rexford, and David
Walker, "Composing software-defined networks, " nsdi'13 Proceedings of the 10th
USENIX conference on Networked Systems Design and Implementation, pp.1-14,
2013.
[40] Zhiyuan Hu, Mingwen Wang, Xueqiang Yan, Yueming Yin, and Zhigang Luo, "A
comprehensive security architecture for SDN, " Intelligence in Next Generation
Networks (ICIN), 2015 18th International Conference on, pp. 30-37, 17-19 Feb
2015.
[41] Kampanakis, P., Perros, H., and Beyene, T., "SDN-based solutions for Moving
Target Defense network protection, " A World of Wireless, Mobile and Multimedia
Networks (WoWMoM), 2014 IEEE 15th International Symposium on, pp. 1-6, 19
June 2014.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code