Implement the storage system

Assignment Help Other Subject
Reference no: EM132103209

Task

In this assignment you will develop simple scripts to manage the user and file system whilst developing some expertise in managing a complex file system.

Part 1: Automated Account Management

You have been asked by your boss to prepare two shell scripts which manage user information. You are to prepare a simple shell script which reads a text file called users.txt. The file is in the form dfs /home/dfs Daniel Saffioti and creates these users on the system without any interactive input. To do this you will need to use the adduser(1) and passwd(1) commands.

You will need to randomly produce the password and report this to the administrator. You can assume the fields being username, home directory and GCOS string are separate by a single white space. You can assume all users are in the same group. The program should output the username and generated password once created.

Part 2: Design of a File System

You work for the Information Technology Department in your University and you have been asked to build a server to store user data (home directories). The volumes can grow without bounds, so it was felt that the ZFS file system should be used for each volume. The operating system itself need not be on a ZFS volume.

All volumes including the operating system should be engineered in such a way to ensure the best data protection is afforded in the event of local disk failure. It is expected that no more than 1 hours worth of data will be lost. The volumes required are as follows: uni0 with mount point /users/ug& quota of 200G. uni1 with mount point /users/pg& quota of 200G. uni2 with mount point /users/deleted& reservation of 100G. uni3 with mount point /users/staff& reservation of 100G. uni4 with mount point /users/guest & reservation of 250G. Given the above your task is as follows define a strategy for how you will ensure the volumes outlined above are provisioned whilst ensuring there data protection. Document this accordingly along with a suitable rationale for your design.

Part 3: Implementing the Filesystem

Given the strategy defined in part two, your job is to implement the storage system. To do this install the latest version of Ubuntu Server on a virtual machine. You will need to ensure the networking is bridged and the root portioning is managed appropriately.

You will need to add additional virtual disks to meet the storage needs above. Install the ZFS package and configure it such that pools of storage are created to meet the above requirements including redundancy and backups. To achieve this use the mirroring and snapshot features of ZFS. Demonstrates your filesystem working and provide any insights gained along the way. Part 4: File System Management with Scripts

Now that you have a plan for the storage there are a few house keeping matters to take care of because users tend to be somewhat liberal with their storage. Write a script to make sure that user home directories are owned and only accessible by the owner. The script can assume home directories are descendants of /users. Finally write a script which takes as an argument the filesystem name e.g. /home and looks for objects which do not belong i.e. end with the extension a.mp3 b.aac c.mp4 d..mov e..avi f..vid When these files are found a summary should be produced including where they are and the size.

The script should also remove the files. Demonstrate each script working in your submission and document the source code and any insights gained along the way. You should submit your assessment in a single word document which contains all components of your assignment. Use screenshots to provide evidence and details of the work you have done to compliment your written answers. You should reference where appropriate using an approve referencing style to support your work.

Verified Expert

Given work is about creating script for automated task like creating user account and deleting user account.Also script has been created for changing user permission, and searching file of particular file type.

Reference no: EM132103209

Questions Cloud

Formulate the optimisation problem : Formulate the optimisation problem to minimise the fitting error - Generate the 3D points using a given cylinder; you can choose any N, centre position
How might your company combat these challenges : How might your company combat these challenges? Support your answers with references from the text or course articles.
Write a simple x86 assembly program that set up instruction : Pretend that XOR instruction can't be used, write a simple x86 assembly program that set up some instructions to replace XOR of two bits
What are two other advantages of ipv6 over ipv4 : What was the primary motivating factor to migratefrom IPv4 to IPv6? What are two other advantages of IPv6 over IPv4? Why
Implement the storage system : Implement the storage system. To do this install the latest version of Ubuntu Server on a virtual machine. You will need to ensure the networking is bridged
Calculate the present day value of an amount received : Present Value (PV) is a formula used in finance that calculates the present day value of an amount received at a future date.
What is a primary actor in a use-case : What is a primary Actor in a Use-Case? How is it drawn in the diagram? How is that same actor represented in the DFD diagram?
Provide an example of each and outline their differences : Prescriptive analytics is considered to be a step further ahead of predictive analysis and substantially different from it.
Describe the interface types that you expect to model : Prepare a report that describes the proposed interface platform and describe the interface types that you expect to model.

Reviews

inf2103209

12/16/2018 11:52:32 PM

I found great help for my assignment. I got amazing results and great communication by the team of Experts Mind. If there would be any problem then staff is always there to help you out straight away.

Write a Review

Other Subject Questions & Answers

  Argue for or against your own theory

Argue for or against a business decision, organizational plan, business philosophy, policy decision, or concept related to the MM Propositions.

  Environment throughout the full life cycle of the product

Definition of sustainable procurement but, in its simplest terms, it is the ability to purchase products and services, usually on a large scale, without compromising resources for future generations.

  In-field knowledge through the creation of a product

Talking points are planned comments about a topic that can be used to guide a discussion/presentation or support an argument. For this assignment, create a document containing talking points for at least five (5) current trends in early childhood ..

  Obesity in america

Obesity in America is considered an epidemic. There are many contributing factors to obesity (both childhood and adult), such as biological.

  Explain some of the favorable and unfavorable noneconomic

describe some of the favorable and unfavorable noneconomic effects of tourism. describe a situation in which you

  Discuss the key objectives of the policy

When, using the readings for the week, the South University Online Library, and the Internet, respond to the following: Research a technology related public.

  Busy private practice

What do you do in the following senerio? You happen to have a busy private practice. You happen to have physicians and attorneys as clients.

  What will be the average yearly cost of owning

A machine A costs Rs.9000/-. Annual operating costs are Rs. 200/- for the first year and then increases by Rs.2000/- every year. what will be the average yearly cost of owning and operating the machine

  How you would lead surgeons to accomplish the goal

External pressures often force healthcare managers to reduce expenses. Suppose you are a manager of an outpatient surgery center owned and operated by a group.

  The principleof utility

The Principleof Utility:

  Find an example of dramatic expression theme

Find an example of dramatic expression theme in one of the Post-modern worksbelow. Explain how you see this theme in the example you chose.

  Write an explanation in preparation for this meeting

BULAW5915 Corporate Law - review and discuss what the law is or should be in a particular area. Whilst discussion with others is encouraged, the final piece

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd