Professional Documents
Culture Documents
ITHET2015PAPER091
ITHET2015PAPER091
net/publication/284042790
CITATIONS READS
12 540
4 authors:
All content following this page was uploaded by Пламен Захариев on 04 February 2016.
Abstract — During the last years many virtual laboratories learning materials, based on the user affiliation to the hosting
have been developed, but not all of them were successfully organization or based on the geographical location of the user.
adopted. Designing, planning and creating a virtual laboratory The quality of the learning materials and the learning
can be a very difficult process, which can get even more possibilities, which are provided by the e-learning sites and
complicated if the laboratory has to provide access to real
platforms also varies [2]. Some of them are offering only
equipment. One of the most problematic steps when developing
such virtual laboratories is the selection of the right access limited, uncompleted, wrong or even sometimes fabricated
method. At the present moment of time there are many information, while other are providing detailed, structured and
technologies that allow users to access devices remotely. One of correct information. In terms of capability some e-learning
these possible solutions is to use the Telnet/SSH protocols for sites and platforms provide text-based information only, while
remote access. Nevertheless, the use of these protocols require at other provide additional build-in tools for assessments or
least one active network interface per device, which in some cases simulation of certain processes [3]. Some laboratories even
can present a problem. There are some other drawbacks of using offer tools for remote access to real devices. These are
Telnet/SSH for remote access as well – virtual laboratories are considered the most complex to design and create, but they
often created with the purpose to be used in the education
also provide the highest level of user satisfaction.
process, which means that the users of these systems in most
cases are students. These less experienced users might accidently Additionally, the experience that is gained when learning from
delete the configuration of the interface that is dedicated for the such a platform or website is comparable to the in person
remote access, which will result in the immediate loss of traditional education.
connection to the device and will require administrator
intervention to fix this access issue. An alternative solution to II. CURRENT STATE OF THE TECHNOLOGIES FOR ONLINE ACCESS
provide remote access is to use a console server. A detailed TO REMOTE DEVICES
analysis on the possibilities for remote access using console Over the years many technologies and protocols for remote
servers, present them as reliable, but also as a very expensive access have been developed, including Apple Remote Desktop
solutions. In this paper we will investigate the possibilities to Protocol, the Appliance Link Protocol, the Remote Desktop
replace the expensive console servers with much cheaper devices.
Protocol, etc. The majority of them are proprietary and provide
One such device is the Raspberry Pi – a low cost device that was
remote access to specific hardware platforms or computer
developed to enhance the education process of children and
students in the field of the computer sciences and their related systems [4]. This makes them unsuitable as a universal solution
subjects. In this paper we will investigate and compare the for remote access. Among the first widely accepted universal
characteristics of the Raspberry Pi to the most widely used protocols for remote access are Telnet and SSH (Fig.1).
console servers and we will present a way to use the Raspberry Pi
as a console server for remote access to telecommunication IP address 1
routers and switches.
Lab device 1
Keywords — virtual and remote laboratories, virtual learning
environment, rapsberry pi, remote console access
N parallel TCP session
I. INTRODUCTION Prerequirements:
Lab devices initial configuration End user
In the last years dozens of new sites and platforms for e-
learning have emerged. Many of them provide free and IP address N
difference between them is the fact that SSH is a Con sessions TCP sessions
GUI
WEB access
Database Web
Server Server User Interaction Path
VLAB POD1 VLAB
LAN network DEVICE POD 1 3 Console connection
Middleware Ethernet Connection
Lab device 1 Console server 9
1
ASYNC
ASYNC
10
2
11
3
ASYNC
ASYNC
12
4
13
5
AS YNC 14
AS YNC 6
15
7
ASYN C 16
ASYN C 8
AU I SERI AL CO NSOLE AUX
OK
Cis c o
A S251 1-RJ
In put :100- 240V
Fre q: 50/6 0 HZ
Curr ent: 1.2 - 0.6 A
Wat ts : 40W
Console Server
Console Server 1
from the GUI, but only after user identification
Cis c o
A S251 1-RJ
1 ASYNC 2 3 ASYNC 4 5 AS YNC 6 7 ASYN C 8 OK
AU I SERI AL CO NSOLE AUX
Logical user interaction VLAB POD4 The user can access the learning materials and
VLAB 2
LAN network can reserve time slots for access to the devices
DEVICE POD 4
The user can access the devices according to
Lab device N 3
the schedule for a time period of one hour
Fig. 2. Middleware system as a mediator in the remote access process Fig. 4. Architecture of the virtual laboratory and the user interaction path
IV. INVESTIGATION ON THE POSSIBILITY TO REPLACE THE
CONSOLE SERVERS WITH RASPBERRY PI DEVICES
The Raspberry Pi family of pocket-sized microcomputers
has been developed by The Raspberry Pi Foundation [8] and
represents a cheap, but functional environment for practical
teaching of programing languages and other related to the
computer sciences subjects. Currently on the market there are
several different versions of the microcomputer, with the main
characteristics of the devices presented in Table 2.
Raspberry Pi
Parameters
Model A Model B Model B+ 2
Fig. 5. The home screen of the web based GUI of the virtual laboratory
900 MHz
quad-core
In order to provide connectivity to the specialized devices Processor 700 MHz single-core ARM1176JZF-S
ARM
we use two different console servers – a Cisco 2511 Access Cortex-A7
server and a Perle STS 16 IOLAN console server (Fig. 6). GPU 250 MHz Broadcom VideoCore IV OpenGL ES 2.0
From the table it is clearly visible that the devices are very
different in terms of both hardware and software components,
and the only common thing they share is the number of Serial
ports. This makes the maintenance and support of the devices
difficult and requires wider area of knowledge. Additionally,
the Cisco 2511 Access server is no longer supported and in
case of any software or hardware issue the device will become
unusable. Replacing the device with another console server is
always an option, but the latest products on the market either
provide additional functionality that cannot be fully used in
the laboratory or are too expensive. Fig.7. Raspberry Pi Model B+ microcomputer
The process of using the Raspberry Pi as a console server Cisco 3660 MB-2FE
Service devices
Fa0
can be described with the following steps: WAN Switch
WAN Serial
connections Raspberry Pi
Perle
Console Server
• The first of these steps is the selection of the serial port, Remote
Power Supply R1 RN Lab devices SW1 Cisco SWN
Cisco 2610
and there are two options to choose from – the built-in Catalyst 2950
serial port and the virtual serial ports. The first case will Fa0 E0 E0 Pod1 … PodN Fa0 Fa0
require the use of a GPIO serial board with a DB9 VLANs VLANs
solution, but due to the limited number of GPIO ports, the Console
connection to every of the devices in the pod must be connections
provided by a different Raspberry Pi, which is very Hardware TFTP Srv Virtual Srv MySQL Srv WEB Srv
Power supply
connections
ineffective. An alternative option is to use a USB to Serial GUI Inside Network
cable for every of the four USB interfaces of the Outside Network