Course Home | Syllabus | Assignments | Schedule | Downloads | Submissions | [print]

IT 3100: Systems Design and Administration I

Review 1

Due according to the class schedule.

Assignment

In this assignment, you will review work from the resources, users and groups, and file systems assignments.

Throughout the semester this application must be functioning correctly.

Processes

On your DNS slave, find the short names of the process ancestory for the named process.

CPU

On your DNS slave, find the percentage of CPU used by the named process. Also find the percentage of RAM used by named.

RAM

On your DNS slave, find the amount of non-kernel reserved RAM, and the amount of RAM that is not assigned to processes (free). Report in 1K blocks.

File System Usage

On your DNS slave, find the amount of total space on the root file system and the amount of space that is not assigned to files (free). Report in 1K blocks.

Disk Usage

On your DNS slave, find the amount of disk space used by the /lib/modules directory and its contents. Report this in 1K blocks.

Users

On your web server, create the users mulder and scully. They should each have their own default group.

Groups

On your web server, create the group xfiles. Add mulder and scully to the group.

Umask

On your web server, make the umask for mulder and scully not allow any world permissions, allow group read permissions, and all user permissions. Do not make this the default for all new users. Just set it for these two users.

Ownership and Permissions

On your web server, make a directory /xfiles/ufo. Make /xfiles belong to the mulder user, and the xfiles group, with permissions 770. Make /xfiles/ufo belong to the mulder user, and the xfiles group, with permissions that allow user and group full access, and no world access.

On your web server, as mulder create the file /xfiles/ufo/grey_men.txt. As scully create the file /xfiles/ufo/skeptic.txt.

Partitions

Make 4 new logical partitions on your file systems server. Configure them to be 50M in size. (Make sure you use M and not MB)

Ext File Systems

Make ext4 file systems on the first three new partitions with these configuration options:

VFAT File Systems

Make a VFAT file system on the fourth new partition with these configuration options:

Mounting

Create mount points for the 4 new file systems under a directory /review.

Put correct entries in /etc/fstab for all 4 of them.

Make sure all 4 are mounted.

Testing

Run diskhog on the first 2 new filesystems, as a non-root user. Make sure that you set proper permissions and ownership before doing that. Leave the files created in place.

Run inodehog on the last 2 new filesystems, as a non-root user. Make sure that you set proper permissions and ownership before doing that. Leave the files created in place.

Submission File Format

The submission file is a UNIX text file, and must have this format, exactly!

The file must be named review_info.txt.

slavehost:   ip_address_of_your_dns_slave_machine
namedancestors: process1, process2, process3, ...
cpupercent:  number
rampercent:  number
memtotal:    number_of_1k_blocks_of_RAM
memfree:     number_of_1k_blocks_of_RAM_free
disktotal:   number_of_1k_blocks_on_root_file_system
diskfree:    number_of_1k_blocks_free_on_root_file_system
diskusage:   number_of_1k_blocks_used_by_lib_modules
webhost:     ip_address_of_your_web_server_machine
filehost:    ip_address_of_your_file_system_machine
devices:     device_name1, device_name2, ..., device_name4
mountpoints: mount_point1, mount_point2, ..., mount_point4

For example, my file may look like this:

slavehost:   144.38.214.3
namedancestors: named, parent, grandparent
cpupercent:  1.5
rampercent:  8.5
memtotal:    7
memfree:     6
disktotal:   5
diskfree:    4
diskusage:   3
webhost:     144.38.214.21
filehost:    144.38.214.8
devices:     /dev/sda15, /dev/sda16, /dev/sda17, /dev/sda18
mountpoints: /review/a, /review/b, /review/c, /review/d

Submission and Passoff

Last Updated 11/06/2020