DT249/3 PC Framework Design and Organization (CSAA) ? Week 3.


57 views
Uploaded on:
Category: Fashion / Beauty
Description
UML is being utilized to show OS advancement, system organization, and more broad framework organization. These are all situations where having a ...
Transcripts
Slide 1

DT249/3 Computer System Architecture and Administration (CSAA) ‏ Week 3

Slide 2

"Client Mode Linux is a sheltered, secure method for running Linux adaptations and Linux forms." "Run carriage programming, explore different avenues regarding new Linux parts or circulations, and jab around in the internals of Linux, all without taking a chance with your primary Linux setup." User Mode Linux (UML) ‏ ( http://client mode-linux.sourceforge.net/) DT249/3 - CSAA - L03

Slide 3

DT249/3 - CSAA - L03 User Mode Linux (UML) ‏ UML is a valuable showing apparatus, particularly in courses where understudies require a committed machine keeping in mind the end goal to receive the most in return UML is being utilized to show OS advancement, system organization, and more broad framework organization. These are all situations where having a virtual machine to hone on is much more helpful for everybody than utilizing physical boxes.

Slide 4

DT249/3 - CSAA - L03 Why UML? The UML piece keeps running in a virtual machine that can be designed in ways that your physical machine can\'t. It can have more memory, more gadgets, and, soon, more processors. So you can do improvement and testing of equipment capacities notwithstanding when you don\'t have the pertinent equipment. Jabbing around inside a running framework Since you have a full OS running outside UML, it\'s entirely simple for the terminally inquisitive to discover methods for glimpsed inside this part are outlandish for a local bit. As a safe sandbox or prison Processes inside the client mode piece have no entrance to the facilitating machine or to the outside world that is not expressly gave. Along these lines, a malevolent application running inside it can do no damage to anything that matters.

Slide 5

DT249/3 - CSAA - L03 Why UML? Virtual systems administration UML virtual machines are networkable, to each other, to the host, and to other physical machines. Along these lines, UML can be utilized to set up a virtual system that permits setting up and testing of test administrations. As a test situation Testing of a few sorts of programming requires booting up a machine. With UML, this can be effectively mechanized.

Slide 6

DT249/3 - CSAA - L03 UML at the School of Computing At present The School of Computing gives one framework particularly to facilitating UML sessions wicklow.cs.dit.ie The parallel executable on wicklow which stacks the Linux piece for the UML environment is/usr/receptacle/umllinux

Slide 7

DT249/3 - CSAA - L03 Copy On Write In UML, the whole record framework is contained in a solitary document By default the record utilized is root_fs as a part of the ebb and flow registry If no order line choice is determined, the executable linux bit will search for a record called root_fs in the ebb and flow directoryThe Copy On Write component (COW) permits numerous clients to utilize the same base root_fs yet still roll out their own improvements

Slide 8

DT249/3 - CSAA - L03 This works by keeping a read-just duplicate of the root record framework shared by all clients and a duplicate on-compose record for every individual client The duplicate on-compose (dairy animals) document contains just those progressions which an individual client has made to documents From the client\'s perspective, their document framework comprises of two sections root_fs (read-just and shared) ‏ cow_fs (read/compose and not shared) ‏ To bolster the sharing of a solitary root document framework among all UML clients on wicklow , the expert root document framework is put away in/pick/uml/rootfs.debian

Slide 9

DT249/3 - CSAA - L03 Personal bovine document To permit UML clients on wicklow to store their own alterations to the root_fs record, every understudy has their own cow document This cow document is situated in their home index on wicklow and is called/uml/root_fs_cow_<your username> Since this document mirrors any progressions you have made to the root_fs , on the off chance that you erase this document all progressions will be lost

Slide 10

DT249/3 - CSAA - L03 umllinux script To begin UML on wicklow , clients utilize the umllinux script !/canister/sh/container/linux.nfs ubd0=/uml/root_fs_cow_`whoami`,/select/uml/rootfs.debian eth0=mcast This tells the executable linux portion/receptacle/linux.nfs to utilize the root_fs (/select/uml/rootfs.debian) and the cow record indicated (/uml/root_fs_cow_<your username>) ‏ It additionally advises linux to give one ethernet card, eth0

Slide 11

DT249/3 - CSAA - L03 Backup your cow document If the client were to make a reinforcement duplicate of their cow document toward the begin of each wicklow session, then they would be able to move back any progressions that were made amid a given session along these lines clients could explore different avenues regarding settings and introducing programming in the learning that fixing their progressions would be a straightforward matter

Slide 12

DT249/3 - CSAA - L03 host_fs One of the principal questions asked in connection to UML is the way to exchange documents between the host and the UML session UML underpins the utilization of a specific document framework driver host_fs This permits us to mount the document arrangement of the host machine from inside the UML case There are various methods for doing this The main instrument for mounting the host document framework is to utilize the mount summon as takes after mount none/mnt/host –t hostfs

Slide 13

DT249/3 - CSAA - L03 This will make the base of the host\'s record framework be mounted at the/mnt/host catalog (which must exist) ‏ Alternatively we could determine a non-root catalog to mount none/mnt/host2 –t hostfs –o/home/understudy/<name> To make both of these mounts industrious, we can add the suitable line to the/and so forth/fstab record none/mnt/host hostfs/home/understudy/<name>

Recommended
View more...