System Admin Notes
System Admin Notes
System Admin Notes
Andy Steingruebl
steingra@earthlink.net
Goals
The goals of this lecture are to
_ Give you a basic understanding of the purpose and
scope of system administration.
_ Teach you the basic duties of the system
administrator.
_ Relate system administration to other IT work. How
the system administrator relates to
" Management
" Users
System Administration
Definition
System administration is the practice of installin
configuring, and managing computer systems an
their associated peripherals.
The goal of system administration is to configur
a system that is reliable, easy to use, and serves
the need of the intended users.
_ Except for their own desktop, system administrators
are not setting up machines for themselves.
System administration as a discipline is
somewhere between engineering and art.
Definition
System administration is about putting together
network of computers ... getting them running a
then keeping them running in spite of the
activities of users who tend to cause the systems
to fail. - Mark Burgess
System Administrator Duties
The basic duties of the system administrator are
_ System installation
_ Administering user accounts
_ Performing Backups
_ Installing software and patches
_ Monitoring, capacity planning, performance tuning
_ Security Administration and Audit
_ Documentation
_ Helping users
_ Storage Administration
* List partially taken from Nemeth – purple book.
References at end.
Principles
Automate whenever possible
_ Who likes doing the same manual labor over and ov
again?
Keep good records/documentation
_ Or, don't get hit by a bus and be an indentured
servant.
Simplify
_ Complex systems are less reliable, harder to manage
and wake you up with a failure at 2am.
Systems and IT are not an end in themselves.
System Installation
What operating system do I want to install?
What components do I want to install?
_ Why?
_ Do I need all of them? Installed but unused software
can become a maintenance burden and security
liability.
How do I want to configure the disk?
Account Administration
Who should have an account on the machine?
_ Policy?
What permissions should they have?
_ Administrator, regular user, read-only?
System Policies
_ Password composition, expiration?
_ Accounts on all machines, or limited to only certain
systems?
Backups
Policy
_ What to back up, and for how long?
_ Legal requirements?
" Retention of certain types of information?
_ Specific business requirements
" Document retention policy
" Electronic "shredding"
Backups – continued
A lot more complicated than it seems at first.
_ How do we get a stable copy of files that change all
the time?
_ How do we back up large amounts of data?
" Lots of tapes and lots of drives
" Lots of network traffic?
" Local tapes on each machine = operators on roller skates
Storage
SCSI vs. IDE
SANS
NAS
How do I pick?
How do I allocate, manage, report on, capacity
plan?
Storage Interfaces/Buses
IDE
_ Integrated Drive Electronics
_ 1 bus can have 2 devices. Master and Slave.
_ Only 1 device can talk at once.
_ Commodity storage bus.
_ Not good for high I/O rates. Does not scale well
_ Fastest drives available are 7200RPM.
SCSI
SCSI
_ Small Computer Systems Interface
_ A communications bus for disks.
_ Great table of bus speeds at
http://www.arstechnica.com/paedia/s/scsi.html
_ SCSI supports multiple simultaneous transfers.
_ Fastest drives are 15,000RPM.
_ Drives are intelligent. They can often re-order
transactions to get best performance based on locati
of drive head and platter.
Storage – New Directions
SCSI and IDE are both parallel technologies.
_ Parallel interfaces suffer from problems of "skew"
" http://www.yale.edu/pclt/PCHW/IDESCSI.HTM has a
good picture of this.
Higher speed electronics allow us to implement
Serial technologies. Serial technologies do not
suffer from skew problems.
_ Fibre-Channel
_ FireWire (IEEE 1394)
_ USB-2.0
_ SerialATA
Storage Area Networks (SANS)
Storage Area Networks are networks that move
disk blocks as their main data elements.
_ Fibre-channel
" 1 or 2 Gigabit/sec transport
_ 100/200 Megabyte/sec
" Can run over copper or fiber-optic cabling.
" Fibre-channel is a data-link layer. Multiple network-laye
protocols are defined.
_ SCSI
_ IP
" Tanenbaum pages 326-327.
_ ISCSI
" SCSI transported over IP.
SANS – continued
Why SANS?
_ Allow us to share disks between many machines.
_ Virtualized storage. Allows us to dynamically
grow/shrink/partition storage resources between
systems.
" Treat Storage as a network-wide resource/utility.
" Storage modeled as electricity or bandwidth.
_ Higher performance
_ Improved topology
" Improved Fault Tolerance/Disaster Recovery
Network Attached Storage
Network Attached Storage is a paradigm for
accessing file data over a network.
_ NFS
_ CIFS
_ AFS
Used extensively in client-server computing.
Usually a many -> one relationship between
client and server.
NAS Continued
Semantics of NAS are File/Offset.