author politehnica university of bucharest automatic control and computers faculty computer science...

13
Author Politehni ca Universit y of Bucharest Automatic Control and Computers Faculty Computer Science Departmen t Superviso r OS Imaging Solution Alexandru Juncu [email protected] Bachelor Presentation Session - July 2010 Conf. Dr. Ing. Răzvan Rughiniș [email protected]

Upload: bruce-bennett

Post on 18-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Author

Politehnica University of

Bucharest

Automatic Control and Computers

Faculty

Computer Science

Department

Supervisor

OS Imaging Solution

Alexandru [email protected]

Bachelor Presentation Session - July 2010

Conf. Dr. Ing. Răzvan Rughiniș[email protected]

Page 2: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Agenda

• System Imaging & UDP Cast• Shortcomings of UDP Cast• Benefits of a Centralised System• Architecture of the System• Conclusions• Q&A

21.04.23 Bachelor Presentation Session - July 2010 2

Page 3: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

System Imaging

• Software that copies HDD contents from one computer to others

• Offers scalability to administration of computer rooms (eg. School Laboratories)

• Takes advantage of UDP and Multicast• Uses a Seed Host to distribuite contents

21.04.23 Bachelor Presentation Session - July 2010 3

Page 4: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Imaging Process1. Prepare hosts for imaging (physical network

conectivity)2. Install Operating System(s) and needed

applications on the Seed Host3. Start the sender process on the Seed and the

receiver process on the other hosts4. Transfer the contents over ther network

21.04.23 Bachelor Presentation Session - July 2010 4

VOID VOID VOID VOIDVOID

Multicast

S R R R

Page 5: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

UDP Cast

• Open Souce Project• http://udpcast.linux.lu/• udp-sender and udp-receiver

– (S) cat /dev/sda | udp-sender– (R) udp-receiver > /dev/sda

• Utilities– LiveCD for imaging– cast-o-matic

21.04.23 Bachelor Presentation Session - July 2010 5

Page 6: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Shortcomings of UDP Cast

• The Archiving Problem• The Backup Problem• The Moving Problem

21.04.23 Bachelor Presentation Session - July 2010 6

Page 7: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

A Centralised Solution

• Client – Server Architecture

• Server– Always-On Service– Hosts several system images

• image information• version control of images

– Can become a seed upon request from a client– Not dependant on receiver’s hardware

21.04.23 Bachelor Presentation Session - July 2010 7

Page 8: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

A Centralised Solution

• Client– can send requests to server

• List system images• Create a system image• Update a partition or disk of a system image• Delete a system image• Request an image

– can be the receiver or just signal a request for server to seed

21.04.23 Bachelor Presentation Session - July 2010 8

Page 9: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Backend

• Python as a framework– open source– large number of available libraries– platform independant

• client.py• server.py

• PXE21.04.23 Bachelor Presentation Session - July 2010 9

Page 10: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Client**************************************

*Welcome to the Imaging System Client*

**************************************

Available commands:

l: list images on server

c: create image

u: update image

d: delete image

r: request image

>>c

Creating image...

Available disks:

* sda

- sda5

- sda2

- sda1

Fill in description for the image (press CTRL-D to finish reading input)

new test images

Start transfer to server (it might take a long time)?[y/n]

21.04.23 Bachelor Presentation Session - July 2010 10

Page 11: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Serverroot@hera:/home/alexj/imaging-system/server# tree images/

images/

├── 1

│ ├── info

│ ├── sda

│ │ ├── 1

│ │ ├── 2

│ │ └── 3

│ └── sdb

│ └── 1

├── 2

│ ├── info

│ └── sda

│ ├── 1

│ ├── 2

│ ├── 3

│ ├── 4

│ └── 5

21.04.23 Bachelor Presentation Session - July 2010 11

Page 12: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Conclusions

• Centralised Imaging Solution– Archiving– Version control– Always-On Service

• Future Improvements– GUI for client– Secure Authentication– Differential Versioning

21.04.23 Bachelor Presentation Session - July 2010 12

Questions?

Page 13: Author Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department Supervisor OS Imaging Solution Alexandru

Thank you!