G Model
ARTICLE IN PRESS
FUSION-7435; No. of Pages 4
Fusion Engineering and Design xxx (2014) xxx–xxx
Contents lists available at ScienceDirect
Fusion Engineering and Design journal homepage: www.elsevier.com/locate/fusengdes
The implementation of virtualization technology in EAST data system Feng Wang a,∗ , Xiaoyang Sun a , Shi Li a , Yong Wang a , Bingjia Xiao b , Sidi Chang c a
Institute of Plasma Physics, Chinese Academy of Sciences, Hefei, Anhui 230031, China School of Nuclear Science and Technology, University of Science and Technology of China, Hefei, Anhui 230031, China c Huazhong University of Science and Technology, Wuhan, Hubei 430074, China b
h i g h l i g h t s • The server virtualization based on XenServer has been used in EAST data center for common servers and software development platform. • The application virtualization based on XenApp has been demonstrated in EAST to provide an easy and unified data browser method. • The desktop virtualization based on XenDesktop has been adopted for desktop virtualization in the new EAST central control room.
a r t i c l e
i n f o
Article history: Received 24 May 2013 Received in revised form 28 March 2014 Accepted 1 April 2014 Available online xxx Keywords: EAST Virtualization Citrix XenServer
a b s t r a c t The virtualization technology is very popular in many fields at present which has many advantages such as reducing costs, unified management, mobile applications, cross platform, etc. We have also implemented the virtualization technology in EAST control and data system. There are primarily four kinds of technology providers in virtualization technology including VMware, Citrix, Microsoft Hyper-V as well as open source solutions. We have chosen the Citrix solution to implement our virtualization system which mainly includes three aspects. Firstly, we adopt the XenServer technology to realize virtual server for EAST data management and service system. Secondly, we use XenApp technology to realize cross platform system for unify data access. Thirdly, in order to simplify the management of the client computers, we adopt the XenDesktop technology to realize virtual desktops for new central control room. The details of the implementation are described in this paper. © 2014 Elsevier B.V. All rights reserved.
1. Introduction The evolution of the EAST data acquisition and service system has brought out some new issues. (1) Many servers and workstation are used every year. It becomes more difficult for system management, and we have to spend more power and manpower. (2) There are more than 200 persons taking part in the EAST experiment every year, and it is a heavy work to maintain and upgrade the data browser client tools. (3) In recent years, with the development of mobile devices, people want to access data easily outside the institute. We try to adopt the virtualization technology to solve these issues. The virtualization technology is very popular in many fields now, providing advantages such as reducing costs and power, simplified administration and deployment, mobile applications, cross platform support, etc. Generally it includes virtualization of server,
network and storage, as well as application and desktop. So we want to introduce the virtualization technology into EAST control and data system in order to promote system efficiency and simplify system management. At present there are some commercial and open source solutions for virtualization technology such as VMware, Citrix, Microsoft Hyper-V, KVM, etc. After an overall comparison on the price and solutions we chose the Citrix technology to implement our virtualization with three components. (1) We will adopt the XenServer technology to realize virtual servers for EAST data management and common service system. (2) We will use XenApp technology to provide uniform data access cross platforms. (3) We will adopt the XenDesktop technology to realize virtual desktops for the new EAST central control room. The implementation details will be described in the following sections.
2. Server virtualization ∗ Corresponding author. Tel.: +86 13856942120. E-mail address:
[email protected] (F. Wang).
A virtual machine (VM) is a separate instance of an operating system and virtual hardware running as a client on a host computer.
http://dx.doi.org/10.1016/j.fusengdes.2014.04.003 0920-3796/© 2014 Elsevier B.V. All rights reserved.
Please cite this article in press as: F. Wang, et al., The implementation of virtualization technology in EAST data system, Fusion Eng. Des. (2014), http://dx.doi.org/10.1016/j.fusengdes.2014.04.003
G Model FUSION-7435; No. of Pages 4
ARTICLE IN PRESS
2
F. Wang et al. / Fusion Engineering and Design xxx (2014) xxx–xxx
Server virtualization is a proven technology that enables multiple virtual machines to run on a single physical server. Citrix XenServer is a complete, managed server virtualization platform built on the powerful Xen hypervisor. There are many servers in EAST control and data system which can be divided into the following types according to the use case: (A) real-time control and data acquisition servers with some real hardware such as analog input/output boards, digital input/output boards, reflective memory boards [2–5]; (B) data servers with high throughput to provide fast access to large data sets stored in mdsplus [6]; (C) common servers such as normal service, web, ftp, nfs, etc.; (D) software development and testing servers. At current stage it is not easy to apply virtualization for type A because the hardware boards or cards requirements. The experimental data size for EAST is large, more than 300TB now and about 100TB every year, so we do not apply virtualization on type B. Considering the usage status of the type C and D, (1) the system loads of most of the servers are not heavy; (2) some old servers should be upgraded every year; (3) server administration and maintenance is very complicated and time consuming. So we decided to use server virtualization technology in our data system. We have built a server virtualization platform based on XenServer technology as shown in Fig. 1. Considering about 100 virtual machines requirement and what current hardware resource we have, the architecture is designed based on 4 Gb FC SAN and 10 Gb Ethernet. Four high performance servers are used as physical servers, and each has 24 CPU cores and 96 GB RAM. All the servers are connected to 10 Gb LAN. A FC SAN is used as primary storage system so that the system will support high availability (HA) function and virtual machines will automatically migrated to other servers when some server failed. A NAS is used as secondary storage system to backup all the data, and when the primary storage system failed, the virtual machines can still be available [7]. In principle about 100 virtual machines of Windows or Linux can be provided by the system, with the configuration: 1 CPU Core, 4 GB RAM and 100 GB disk, and the resource allocated for one VM can be changed if necessary. At this point most of the common servers and software development servers in EAST data center have been virtualized and we will continue the server virtualization progress for other servers.
3. Application virtualization Citrix XenApp enables on-demand self-service, by delivering Windows applications instantly to users anywhere, from any device running any of over 30 operating systems [1]. All the applications are running on server side and only the screen refresh is sent to client, so low network bandwidth and resource are needed for client device. There are several data browser tools for EAST including: (1) WebScope, a web based fast waveform browser; (2) jScope, a java based mdsplus data browser; (3) EASTScope, a Visual C++ developed raw data browser; (4) EASTViewer, a python based tool to view EFIT calculation results. It is difficult for users to install and maintain these tools on their local computer. So we want to build an easy and unified data browser method based on XenApp technology. Then users can browse all kinds of EAST data from anywhere with many kinds of clients, while they do not need to install any data browser software on local device except for only one plug-in called Citrix receiver. We have made a demonstration system of application virtualization for EAST data browser which is installed on the server virtualization platform. All the data browser tools including WebScope, jScope, EASTScope and EASTViewer are provided as shown in Fig. 2. Some other common software such as Internet Explorer,
Table 1 Client computers description. Type
Num
Performance
CPU
RAM
Monitor Console Browser Analysis
30 10 50 10
Low Middle Middle High
1 2 2 4
2G 4G 4G 8G
NoMachine NXClient and mRemote are also available for remote access. 4. Desktop virtualization Citrix XenDesktop is a desktop virtualization solution that transforms desktops and applications into a secure on-demand service available to any user, anywhere, on any device [1]. Users can access the desktop from tablets, smart phones, PCs, Macs and thin clients using low bandwidth. It has many advantages for users such as redundancy and failsafe, system snapshot and quick recovery, easy administration and deployment. The current EAST central room has been employed for more than 10 years. With the progress of experiment, the old room is not enough for operation and research, so a new room has been proposed. Since most of the old client computers have to be upgraded, we decided to construct the computer system using desktop virtualization technology. We have also compared the virtual desktop with normal PC on the aspects of price, performance, management, power, and stability. Considering the same level performance, the price of virtual desktop is about 10% higher than normal PC, however if we considering the power consume in the next several years, their total costs are about the same. The virtualization is better than PC on the other aspects. 4.1. Client computers There are many client computers which can be divided into several types according to the use case, including status monitoring client, control console client, data browser and data analysis client. The total number is estimated about 100 and the client hardware configurations are shown in Table 1. In the future GPU can be added to data analysis client if it is necessary for fast graphical data processing. 4.2. Architecture By summarizing all the required resources for the clients we designed a preliminary system architecture based on XenDesktop as shown in Fig. 3. The main hardware adopted in the solution is listed in Table 2. The architecture is designed based on 8 Gb FC SAN and 10 Gb Ethernet. A blade enclosure with four blade servers is employed as the physical servers. Each blade server has 32 CPU cores and 128 GB RAM so that more than 100 VMs can be produced by the servers [8]. Table 2 Main hardware configuration. Item
Description
Num
M1000e M910 M6220 SC40 M5424 Brocade300 VDI Client Monitor
Blade enclosure Blade server, 4 × 8CPU, 128G 10 GbE switch blade Compellent FC SAN 8 GB SAN switch blade 8 GB SAN FC switch Wyse Xenith 24-inch 1920 × 1080 LED
1 4 2 1 2 2 100 100
Please cite this article in press as: F. Wang, et al., The implementation of virtualization technology in EAST data system, Fusion Eng. Des. (2014), http://dx.doi.org/10.1016/j.fusengdes.2014.04.003
G Model FUSION-7435; No. of Pages 4
ARTICLE IN PRESS F. Wang et al. / Fusion Engineering and Design xxx (2014) xxx–xxx
3
Fig. 1. Architecture of server virtualization for EAST.
A compellent SC40 is used as the primary storage system which is a high performance 8 Gb FC SAN, in order to support HA functionality, while a NAS is also used as the secondary storage. The blade servers are connected to the primary storage via FC and secondary storage via 10 GbE. The Wyse Xenith is selected as the desktop client, which supports 1920 × 1080 high resolution and wireless network [9]. Client users can use the virtual desktop with thin client inside the control room, as well as other client devices such as PC, tablet and mobile phones outside via Citrix Access Gateway. Then remote participation and collaboration are available. 4.3. Unified storage For the purpose of providing many virtual desktops, input/output operations per second (IOPS) of storage system
is very important. Usually one virtual desktop needs 10 IOPS when in operation, however about 30–50 IOPS is necessary when system booting. So we have to consider the large amount of IOPS requirement when many desktops booting at the same time, a condition know as Booting-Storm. If the storage system cannot provide enough IOPS capability, the desktop will be slow and user experience will not be good. Solid state disk (SSD) can provide many more IOPS than traditional SAS disks. But it is very expensive, so we intend to use multiple types of disks in the same storage system. We will adopt Dell Compellent unified storage system as the primary storage system. The high priority data can be put on the fast disk and the hot-data of the storage system can also be automatically migrated among different tiers to provide better performance [10]. We customize the policy for our virtual desktops as following rules: (1) the
Fig. 2. Application virtualization of data browser tools.
Please cite this article in press as: F. Wang, et al., The implementation of virtualization technology in EAST data system, Fusion Eng. Des. (2014), http://dx.doi.org/10.1016/j.fusengdes.2014.04.003
G Model FUSION-7435; No. of Pages 4
ARTICLE IN PRESS
4
F. Wang et al. / Fusion Engineering and Design xxx (2014) xxx–xxx
Fig. 3. Architecture of desktop virtualization for EAST.
operating system template will be placed on SSD in order to start system fast, (2) user data will be saved on slow 7.2K SAS near-line disks, (3) the other application and data will be put on the 10K SAS disks, and they can fluid to other tiers according to performance requirements.
Acknowledgments
5. Summary
References
We have implemented the virtualization technology in EAST data system. The server virtualization based on XenServer technology has been used in EAST data center for common servers and software development platform. The application virtualization based on XenApp technology has been demonstrated in EAST to provide an easy and unified data browser method. The desktop virtualization based on XenDesktop technology have be adopted for desktop virtualization in the new EAST central control room, and the system will be used in the next campaign. By using virtualization technology, we have gotten the following two advantages: (1) the server management is centralized, and the stability is promoted. (2) It is convenient to browse data using unified interface, and it becomes possible for mobile device access anywhere. In the future we will improve the current virtualization system.
[1] Citrix Systems, http://www.citrix.com [2] B.J. Xiaoa, Q.P. Yuana, D.A. Humphreysb, M.L. Walkerb, A.W. Hyattb, J.A. Leuerb, Recent plasma control progress on EAST, Fusion Eng. Des. 87 (2012) 1887–1890. [3] Y. Liu, G. Li, Y. Zhu, S. Li, New developments of the EAST data system, Fusion Eng. Des. 86 (2011) 151–154. [4] F. Wang, G. Li, S. Li, Y. Zhu, Y. Wang, A continuous data acquisition system based on CompactPCI for EAST Tokamak, IEEE Trans. Nucl. Sci. 57 (2) (2010) 669–672. [5] S. Li, J. Luo, Y. Wu, G. Li, F. Wang, I.E.E.E. Member, et al., Continuous and realtime data acquisition embedded system for EAST, IEEE Trans. Nucl. Sci. 57 (2) (2010) 696–699. [6] F. Yang, B.J. Xiao, A web based MDSplus data analysis and visualization system for EAST, Fusion Eng. Des. 87 (12) (2012) 2161–2165. [7] Isilon, http://www.emc.com/domains/isilon/index.htm [8] Dell, http://www.dell.com [9] Wyse, http://www.wyse.com [10] Dell Compellent, The Architectural Advantages of Dell Compellent Automated Tiered Storage, 2011.
This work is supported by National Magnetic Confinement Fusion Research Program of China under Grant (Grant ID: 2012GB105000 and 2011GB101000).
Please cite this article in press as: F. Wang, et al., The implementation of virtualization technology in EAST data system, Fusion Eng. Des. (2014), http://dx.doi.org/10.1016/j.fusengdes.2014.04.003