Beruflich Dokumente
Kultur Dokumente
2. Evolution of Infrastructure Path Virtual Machines (VMs) had been solving a great problem
of costly machines through providing one server and con-
Let us dwell a little on evolution that has taken place in In- necting through VM sessions. Virtual Machine emulates
frastructure space gradually. dedicated hardware. Apart from big cost saving, virtualiza-
tion has several other important advantages:
Days are gone when one dedicated full loaded machine is
needed to perform feats in Linux world. It has been always a) High Scalability through increased RAM, Disk Space
a topic of research to provide hands-on experience to the all or CPU
participants with appropriate infrastructure. Evolution has b) Zero waiting period for new hardware
always been a key. In the world of expensive infrastructures, c) Simple layout from cable and wiring standpoints
evolution is to provide same infrastructure and experience d) Real Estate saving
with less investment.
It has not been possible to provide a dedicated and fully 2.2 Evolution Tranche 2
loaded machine for getting hands on experience to the par-
ticipants in majority of the trainings, especially when there However, the biggest challenge with Hardware Virtualiza-
are various technologies are involved as depicted in Figure tion was that the system processes in VM used 90% of re-
1. For every technology, a different set of infrastructural re- sources. Hence, what is left for applications to use?
quirement is needed.
Yes, you are right. Just 10% resources are used by
application(s).
With the arrival of Linux containers, it is made possible to Figure 5. Top command screen shot in Linux Server
spin off an isolated Linux system from a Linux host. Real
life hands-on based Linux trainings will surely help in solv-
ing real-world practical issues and practice to work in a
software project or product in open source arena. However,
creating individual system to do practical exercises is a her-
culean task that requires good amount of time, effort and
money. It requires many systems either virtual or physical
machines. Figure 6. Top command output in Docker container
Thanks to Docker to solve this problem in a perfect way! From the figures, you can make out, only 2 processes are
Docker is a Linux based container management tool and running in the container bash and top command, which
each container is isolated from others in a server. We can we execute in the bash shell. Whereas, the Figure 5, there
create required number of user accounts and allocate con- are 211 processes are running even though we havent run
tainer for each user dynamically. Each user will have expe- any applications.
rience as if they have their own individual system with root
privileges for their hands-on exercises. The advantage of using containers in simple term is agility.
b) Images are bundle of required software Figure 11. Step by Step execution of script
Figure 13. Monitor computing resource usage of running Figure 15. Monitor user6 containers activity in real time
containers through log file
3.4. Monitor Progress during Training It is always a requirement to get control of a user system to
debug their program or show a demo as needed. This feature
Any user who logs in into the server, will start their own is easily incorporated through Docker. We need to just at-
container by executing the command: tach to a specific container in our terminal. With an admin
privileges, a faculty can take control of participants con-
$docker start <login id> tainer to monitor or help participant as required.
Then attach the container into their shell to get container Figure 16 illustrated on a faculty taking system control of
prompt: user6 through Docker attach command. Any action done by
faculty can be seen on both the systems of facultys as well
$docker attach <login id> as participant (Top one is facultys systems window and the
user6s container is shown at the bottom).
After execution of the above command, the user will get the
container shell prompt to work on. This container works for
that the user as a system with supervisor mode.
6. Authors Detail
To summarize, the evolution has taken place in two Second Author: Rajesh Srivas-
tranches. In first one, hardware virtualization was done tava completed his engineer-
through Virtual machines that provided certain advantag- ing in computers and currently
es. To overcome challenges or limitations associated with playing a unique role i.e. Social
hardware virtualization, software virtualization was done Officer for Talent Transforma-
through Docker to fetch maximum benefits of the virtual- tion of Wipro Technologies,
izations. Bangalore. He is an alumnus
from Madan Mohan Malaviya
University of Technology, Gor-
We discussed the steps to customize Docker image based
akhpur and Stanford University California, USA. He has
on your requirements, the creation of container from the
been working with IT industry for almost two decades. He
list of users, monitor the computing resource utilization of
possess versatile experience in technology and management
running containers and check the user activities through
areas. You can reach Rajesh at rajesh.srivastava@wipro.
log files in both online as well as offline. com