<<

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) Web Site: www.ijettcs.org Email: [email protected] Volume 3, Issue 3, May – June 2014 ISSN 2278-6856

Building Private using OpenStack

Girish L S1, Dr. H S Guruprasad2

1 PG Scholar, Dept. of ISE, BMSCE, Bangalore 2Professor and Head, Dept. of CSE, BMSCE, Bangalore

Abstract: allows the user to access the compatibility, OS compatibility of these software’s are cloud services dynamically over the wherever and mentioned.Muhammad et. al. [2] propose a process whenever needed.Cloud is majorly divided into two types, framework for supporting migration to cloud computing private cloud and public cloud. This paper discusses about and it is proposed that PaaS clouds would have long term implementing a private cloud using open source software and commitments because of unavailability of alternative operating system. This private cloud is capable of providing solutions. To meet the quality effectively and efficiently, the infrastructure and platform .Infrastructure cloud should support for defined SLA and this paper includes the storage, servers, virtualization, compute and discusses Hackystat systems for migration. network services and includes the operating system, middleware and runtime environment. The private cloud implementation is done using OpenStack and Wei Haoet. al. [3] considered service and migration as a Ubuntu. problem and proposed a frame work which facilitates service migration. They also designed a cost model and 1. INTRODUCTION the decision algorithm to determine the trade-offs on Cloud Computing allows the users to access a shared pool service migration and selection. The paper also focuses on of computing resources like networks, servers, storage, the placement of migrated services by considering the applications, and services that can be rapidly migration, maintenance and communication costs.Scott provisioned.Essential Characteristics of Cloud Computing et. al. [4] propose SMART decision frame work for are on-demand, broad network access, resource pooling, migrating software testing frame work to the cloud and it measured service and rapid elasticity etc.Cloud is based on the SOA migration, Adoption and Reuse computing has five deployment models as private cloud, technique (SMART). This SMART helps organization to public cloud, hybrid cloud, virtual private cloud and identify their current testing process and also describe the community cloud. Cloud computing has three service requirements of the target cloud computing environment models, Infrastructureasa Service (IaaS), Platformasa for performing software testing. Service (PaaS) and Softwareasa Service(SaaS).This paper proposesthe system architecture forbuilding a private Bram et. al. [5] presents a test method to determine the cloud which is capable of providing IaaS and PaaS as a viability and value of deployment in the cloud. The service over the internet. essential characters of the cloud discussed are on-demand, self-service, broad network access, resource pooling, rapid The proposed system is developed using OpenStack. elasticity and measured service. The paper also proposes a OpenStackis open source software which the project migration model called Adopted cloud migration developers and cloud computing technologist can use to toolkit.Sameret. al. [6] discussed a distributed high setup and runthe cloud. Its services can be accessed via throughput data de-duplication algorithm. A migration APIs. Theimportant components of OpenStackare Nova, system called VMFlockMS is designed and implemented Swift, Keystone and Glance, Keystone and Horizon. for flocks of virtual machines and this VMFlockMS uses data de-duplication algorithm to reduce the volume of Section II gives related work and proposed system data transferred over the network. architecture is explained in Section III. The implementation details of the proposed system are Rashmiet. al. [7] discuss about Cloud offers like dynamic described in Section IV. The experiments and results of scaling, high availability, multi-tenancy and effective the proposed system are presented in Section V. resource allocation and the challenges for migration Conclusion is given in Section VI. include business factors, technical factors and ease of implementation. A Five Phased Waterfall Model is proposed which is based on the iterative waterfall model 2. LITERATURE SURVEY from software development life cycle. Timothy et. al. [8] SonaliYadav [1] introduces the cloud computing discuss about the CloudNet, which is a prototype of cloud technology and its basic concepts. The popularity of the computing and it provides connectivity between the private cloud and its deployment is explained. The paper enterprise and also sites. CloudNetsupports describes various open source software’s to deploy private the live WAN migration of virtual machines and WAN clouds such as , OpenStack and OpenNebula. migration which handles the storage with connections A comparative study is made about these three open and memory state with minimal downtime even in the sourcesoftware’s based on their architectures. Cloud low bandwidth and high latency settings. CloudNet is implementation, programming language, database optimized to minimize the amount of data transferred and Volume 3, Issue 3 May – June 2014 Page 142

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) Web Site: www.ijettcs.org Email: [email protected] Volume 3, Issue 3, May – June 2014 ISSN 2278-6856

lowers both the migration time and application Keystone and Horizon packages and services.Storage experienced downtime. CloudNet supports both node is installed with the Swift or cinder packages and synchronous and asynchronous disk replication. the services. All three nodes are connected internally to OpenStack Dashboard with internal network. The 3. PROPOSED SYSTEM ARCHITECTURE Application which is ready to use the cloud service is The proposed system aims to build private cloud using connected through external network to controller node of open source software OpenStack. The system architecture the private cloud. of OpenStackis as depicted in Fig.1. The proposed system consists of various modules such as Horizon, Nova, Swift, Glance, and Keystone

Figure. 2: Open Stack Implementation Architecture

4.1 Module 1: Compute Node Theinstallation of nova packages is carried out by downloading the nova packages by the following command: Fig.ure 1: OpenStack System Architecture  sudo apt-get install nova-api nova-cert nova-compute nova-compute-kvm nova-doc nova-network nova-  Nova: Nova is the Computing Fabric controller for the objectstore nova-scheduler nova-volume rabbitmq- OpenStack Cloud. The necessary activities for the life server novnc nova-consoleauth cycle of instances within the OpenStack cloud are These install lines added most of the packages that handled by Nova. This characteristic makes Nova a expected (nova-api, nova-compute, nova-network etc.) to Management Platform to manage various compute work nova on the open stack. resources, networking, authorization, and scalability needs of the OpenStack cloud. 4.2 Module 2: Control Node  Glance: Glance is a standalone service which provides Theinstallation of glance packages is carried out by a catalog service for storing and querying virtual disk downloading the glance packages by the following images. Nova and Glance together provides an end-to- command end solution for cloud disk image management.  sudo apt-get install glance glance-api glance-client  Swift: Swift can store billions of virtual object glance-common glance-registry python- glance distributed across the nodes. The swift offers built-in These install lines added most of the packages that redundancy, failover management, archiving and media expected (glance-api, nova-registry etc.) to work on streaming. Swift plays an important role in scalability. theopen stack.  Keystone: Keystone provides identity and access policy Theinstallation of keystone packages is carried out by services for all components in the OpenStack family. downloading the keystone packages by the following All components of OpenStack including Swift, Glance, command. and Nova are authenticated and authorized by  sudo apt-get install keystone python-keystone python- Keystone. keystoneclient  Horizon: Horizon can be used to manage instances and These install lines added most of the packages that images, create keypairs, attach volumes to instances, expected (python-keystone, python-keystone etc.) to work manipulate Swift containers etc. keystone on the open stack. Theinstallation of horizon packages is carried out by

downloading the horizon packages by the following MPLEMENTATION 4. I command. The proposed system is implemented using open source  sudo apt-get install -dashboard software called Openstack and Ubuntu operating system. These install lines added most of the packages that The three nodes such as Compute, Controller and Storage expected to work dashboard on the OpenStack. are installed with Ubuntu server operating system because all these nodes have to behave like servers as shown in 4.3 Module 3: Storage Node Fig. 2. Compute node is installed with the Nova packages and services. Controller node is installed with the Glance, Volume 3, Issue 3 May – June 2014 Page 143

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) Web Site: www.ijettcs.org Email: [email protected] Volume 3, Issue 3, May – June 2014 ISSN 2278-6856

Theinstallation of swift packages is carried out by OpenStack projects examples page lists the available downloading the swift packages by the following projects (tenants) that have been created. One can create command new projects; assign users to the projects etc. Fig. 5 shows  sudo apt-get install swift swift-proxy swift-account the projects of the OpenStack. swift-container swift-object These install lines added most of the packages that expected (swift-proxy, swift-account, swift-container etc.) to work swift on the OpenStack.

5. EXPERIMENTS AND RESULTS At the end of implementation, the private cloud should be able to launch images, instances, and projects, flavors of images and services with the help of OpenStack dash board. 5.1 OpenStack Dashboard (Horizon) Using the OpenStack Dashboard, one can manage various OpenStack services. It may be used to manage instances Figure. 5: OpenStack projects examples and images, create keypairs, attach volumes to instances, manipulate Swift containers etc. The OpenStack Instances and Volume Dashboard is accessible via http ://< ip_address>. Fig. 3 Fig. 6 shows the OpenStack dash board instances and shows the dashboard of the OpenStack. volume page listing all the instances belonging to various users of the project, instance properties etc. One cancreate new volumes and attach to the instances on the page.

Figure.3: Login page to the dashboard Figure. 6:Instances and Volumes Flavors OpenStack flavours page lists the currently available 6. CONCLUSION flavors that can be used to launch an instance. One can In this paper, a new and powerful infrastructure for create custom flavors on OpenStack flavours page. Fig. 4 building private cloud is introduced which is capable of shows the flavours of the image serving the user request for Infrastructure and Platform services. Services include launching different flavours of images, instances and services etc. The future work can be the implementation of with the help of OpenStack and Ubuntu.

References [1] SonaliYadav, “Comparative Study on Open Source Software for Cloud Computing Platform: Eucalyptus, Openstack and Opennebula”, International Journal Of Engineering And Science, Vol.3, Issue 10 (October 2013), pp 51-54, ISSN (e): 2278-4721, ISSN (p):2319-6483. [2] Muhammad AufeefChauhan, Muhammad Ali Babar, Figure. 4: OpenStack flavors “Migrating Service-Oriented System to Cloud Projects Computing: An Experience Report”, 4thInternational Conference on Cloud Computing, Washington, DC,

Volume 3, Issue 3 May – June 2014 Page 144

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) Web Site: www.ijettcs.org Email: [email protected] Volume 3, Issue 3, May – June 2014 ISSN 2278-6856

4-9 July 2011, pp 404-411, Print ISBN: 978-1-4577- Environments”,IEEE Journal on Selected Areas in 0836-7, DOI:10.1109/CLOUD.2011.46. communications, New jersey,Jan2010,pp 84- [3] Wei Hao, I-Ling Yen, BhavaniThuraisingham, 94,ISSN:0733- “Dynamic Service and Data Migration in the 8716,DOI:10.1109/JSAC.2010.100109. Clouds”, 33rd Annual IEEE International Computer [13] C. Ward, N. Aravamudan, K. Bhattacharya, K. Software and Applications Conference, Seattle, WA, Cheng, R. Filepp, R. Kearney,B. Peterson, L. 20-24 July 2009, pp 134-139,Print ISBN: 978-0- Shwartz, C. C. Young, “Workload Migration into 7695-3726-9, DOI: 10.1109/COMPSAC.2009.127. Clouds - Challenges, Experiences, [4] Scott Tilley,TauhidaParveen, “Migrating Software Opportunities”,3rd International Conference on Testing to the Cloud”, IEEE International Cloud Computing, Miami, FL, 5-10 July 2010,pp Conference on Software Maintenance (ICSM), 164-171,Print ISBN:978-1-4244-8207- Timisoara, 12-18 Sept. 2010, pp 1,Print ISBN: 978- 8,DOI:10.1109/CLOUD.2010.84. 1-4244-8630-4, DOI:10.1109/ICSM.2010.5610422. [14] Johnson B,YanzhenQu,“A Holistic Model for [5] Bram Rongen, “Making the case for migration of Making Cloud Migration Decision”, 10th IEEE information systems to the cloud”,16thStudent International Symposium on Parallel and Distributed Conference on IT, Enschede, The Netherlands, Jan Processing with Applications, Leganes, 10-13 July 27 2012, Copyright 2011, University of Twente, 2012, pp 435-441, Print ISBN: 978-1-4673-1631- Faculty of Electrical Engineering, Mathematics and 6,DOI: 10.1109/ISPA.2012.63. Computer Science. [15] ParastooMohagheghi,ThorSaether, “Software [6] Samer Al-Kiswany, Dinesh Subhraveti, Engineering Challenges for Migration to the Service PrasenjitSarkar, MateiRipeanu, “VMFlock: Virtual Cloud Paradigm”,2011 IEEE World Congress on Machine Co-Migration for the Cloud”, Services, Washington, DC, 4-9 July 2011,pp 507- 20thInternational Symposium on high performance 514,Print ISBN:978-1-4577-0879- distributed computing, New York USA, 2011, pp 4,DOI:10.1109/SERVICES.2011.26. 159-170, Print ISBN: 978-1-4503-0552-5, [16] P. Mell and T. Grance, "The NIST Definition of DOI:10.1145/1996130.1996153. Cloud Computing," National Institute of Standards [7] Rashmi,Dr.Shabana,Mehfuz, Dr.G.Sahoo, “A five- and Technology, USA2009. phased approach for the cloud [17] M. Armbrust, et al., "A View of Cloud Computing," migration”,International Journal of Emerging Communication of ACM, vol. 53, pp. 50-58, 2010. Technology and Advanced Engineering,April 2012, [18] Q. Zhang, et al., "Cloud computing: state-of-the-art ISSN 2250-2459. and research challenges," Journal of Internet Services [8] Timothy and Applications, vol. 1, pp. 7-18, 2010 Wood,PrashantShenoy,K.K.RamakrishnanJacobus,V [19] Ken Pepple,”Deploying OpenStack” July 2011, First an der Merwe, “CloudNet: Dynamic Pooling of Edition, ISBN: 978-1-449-31105-6. Cloud Resources by Live WAN Migration of Virtual [20] http://docs.openstack.org/essex/openstack- th Machines”, 7 ACM SIGPLAN/SIGOPS compute/starter/content. international conference on Virtual execution environmentsNewport Beach, California,

USA,March 9-11 2011, pp121-132,Print ISBN: 978- AUTHOR 1-4503-0687-4, DOI:10.1145/1952682.1952699. Mr. Girish L S is a PG Scholar in Computer [9] B. Gopi Krishna, E.Vengal Reddy, Networks and Engineering at B.M.S College K.Jagadamba,Srikumar Krishnamurthy, P. Radha of Engineering, Bangalore. My research areas Krishna, “A Unified and Scalable Data Migration are Cloud Computing and Computer Service for the Cloud Environments”, 15th Networks, Cloud Infrastructure Management. International Conference on Management of Data, Mysore, India, December 9-12, 2009. Dr. H S Guruprasad is working as Professor [10] Harjit Singh, “Technology Transfer Model To and Head, Information Science Department at Migrate E-Governance To Cloud Computing”, BMS College of Engineering, Bangalore. He International Journal of Advanced Technology and has twenty four years of teaching experience. Engineering Research (IJATER), July 2012, ISSN He has been awarded with Rashtriya Gaurav award in No: 2250-3536. 2012. His research areas are Network Communications, algorithms, Cloud Computing and Sensor Networks. [11] C.Kishor Kumar Reddy,P.RAnisha,

B.Mounika,V.Tejaswini, “Resolving Cloud

Application Migration Issues”,International Journal of Engineering Inventions,September 2012,pp01- 07,ISSN: 2278-7461. [12] KonstantinosOikonomou,IoannisStavrakakis, “Scalable Service Migration in Autonomic Network Volume 3, Issue 3 May – June 2014 Page 145