SlideShare ist ein Scribd-Unternehmen logo
1 von 50
System administrator
• One who manages computer and network systems on
behalf of another, such as an employer or a client. SAs are
the people who make things work and keep it all running
• Successful Administrators
• No stereotypes.
• Normally if one can keep the users happy she is successful (which is very
difficult).
• Life-long learning skills. One’s proud knowledge and expertise today may be
obsolete tomorrow (Be prepared to be jobless if you do not keep learning).
• Some myths for new SAs
• There exists a right answer for every problem.
• Things should always work in the way we expect.
• Every problem should have a happy end.
System administrator (cont.)
• Challenges of SAs
• Not just installing system/software, also about planning and designing an
efficient community of computers.
• Design a logical and efficient network.
• Easy upgrade for a large number of computers.
• Decide what and where services are installed.
• Plan and implement security.
• Provide a comfortable environment for users.
• Develop ways of fixing problems and errors.
• Keep track of new technology and software.
Practice of SAs
• Common practice may not be good practice
• There are three reasons for common practice:
• Someone did it and others followed blindly;
• Believe it is good after careful thought;
• An arbitrary choice had to be made;
• Think for yourself.
• Pay attention to experts but don’t automatically believe anyone.
• Every choice needs a reason.
Practice of SAs (cont.)
• Good practices
• Look for answers in manuals, newsgroups, and archive of mailing lists. Usually
“google” helps for most common problems.
• Use controlled trial and error for diagnosis.
• Listen to people who tell us there is a problem. It might be true.
• Write down problems and solutions in a log book, and write down experiences.
• Take responsibilities for our actions.
• Remember to tidy things up regularly.
• After learning something new, ask yourself “How does this apply to my work?”
Superuser
• Superuser (root)
• What is root (superuser)?
• Be aware of the double-edged sword
• Convenient to do anything
• Powerful enough to damage the system
• Login as superuser (root)
• System admins should never login as root
• Many commands can be executed by ordinary users
• When you need root privilege
• Use sudo or sudo -s or su
What is a Sysadmin?
In a small org, sysadmin can be entire IT staff
• Phone support
• Order and install software and hardware
• Fix anything that breaks from phones to servers
• Develop software
In a large org, sysadmin is part of large IT org
• Specialists instead of “jack of all trades”
• Database admin, Network admin, Fileserver admin, Help
desk worker, Programmers, Logistics
CIT 470: Advanced Network and System
Administration
Slide #6
What do sysadmins do?
1. Add and remove users.
2. Add and remove hardware.
3. Perform backups.
4. Install new software systems.
5. Troubleshooting.
6. System monitoring.
7. Auditing security.
8. Helping users.
CIT 470: Advanced Network and System
Administration
Slide #7
User Management
• Creating user accounts
• Consistency requires automation
• Startup (dot) files
• Username and UID namespace management
• Home directory backups and quotas
• Removing user accounts
• Consistency requires automation
• Remove everything, not just homedir and passwd
CIT 470: Advanced Network and System
Administration
Slide #8
Hardware Management
• Adding and removing hardware
• Configuration, cabling, etc.
• Device drivers
• Scheduling downtimes and notifying users
• Evaluation and purchase
• Capacity planning
• How many servers?
• How much bandwidth, disk space?
• Data Center management
• Power, racks, environment (cooling, fire alarm)
CIT 470: Advanced Network and System
Administration
Slide #9
Backups
• Backup strategy and policies
• Scheduling: when and how often?
• Capacity planning
• Location: On-site vs off-site.
• Installing backup software
• Performing backups and restores
• Monitoring backups
• Checking logs
• Verifying media
CIT 470: Advanced Network and System
Administration
Slide #10
Software Installation
• Automated consistent OS installs
• Evaluation of software
• Finding and building open source software
• Purchase of commercial software
• Managing software installations
• Distributing software to multiple hosts
• Package management
• Managing multiple versions of a software pkg
• Patching and updating software
• Scheduling downtimes and notifying users
CIT 470: Advanced Network and System
Administration
Slide #11
Troubleshooting
• Problem identification
• By user notification
• By log files or monitoring programs
• Tracking and visibility
• Ensure users know you’re working on problem
• Provide an ETA (Estimated Time to Arrival) if possible
• Finding the root cause of problems
• Provide temporary solution if necessary
• Solve the root problem to permanently eliminate
CIT 470: Advanced Network and System
Administration
Slide #12
Performance Monitoring
• Automatically monitor systems for
• Problems (disk full, error logs, security)
• Performance (CPU, mem, disk, network)
• Log rotation and backups
• Provides data for capacity planning
• Convince management of need for hardware
CIT 470: Advanced Network and System
Administration
Slide #13
Helping Users
• Request tracking system
• Ensures that you don’t forget problems.
• Ensures users know you’re working on their problem; reduces interruptions,
status queries.
• Lets management know what you’ve done.
• User documentation and training
• Acceptable Use Policies
• Document software, hardware (printers), etc.
CIT 470: Advanced Network and System
Administration
Slide #14
Qualities of a Successful Sysadmin
• Customer oriented
• Ability to deal with interrupts, time pressure
• Communication skills
• Service provider, not system police
• Technical knowledge
• Hardware, network, and software knowledge
• Debugging and troubleshooting skills
• Time management
• Automate everything possible.
• Ability to prioritize tasks: urgency and importance.
CIT 470: Advanced Network and System
Administration
Slide #15
Organizations
USENIX: Advanced Computing Systems Association
LISA: Large Installation System Administration
SAGE: System Administration Guild
CIT 470: Advanced Network and System
Administration
Slide #16
SAGE: Goals
1. Advance status of system administration as a profession.
2. Establish standards of professional excellence and recognize those
who attain them.
3. Develop guidelines for improving the technical and managerial
capabilities of members of the profession.
4. Promote activities that advance the state of the art or the
community.
CIT 470: Advanced Network and System
Administration
Slide #17
Types of Sites
Small
2-10 computers, 1 OS, 2-20 users.
Midsized
11-100 computers, 1-3 OSes, 21-100 users.
Large
100+ computers, multiples OSes, 100+ users
CIT 470: Advanced Network and System
Administration
Slide #18
SAGE Job Descriptions
Novice
UNIX familiarity (CIT 140)
Can explaining simple procedures in writing or verbally, has good phone skills.
Junior
UNIX skills, system administration basics (install, boot, add/remove users) (CIT
370)
Capable of training users in applications and UNIX fundamentals, and writing
basic documentation.
CIT 470: Advanced Network and System
Administration
Slide #19
SAGE Job Descriptions
Intermediate
Broad system administration knowledge, including setup of common server
types.
Understanding of network/distributed computing concepts (directories,
authentication, network filesystems).
Ability to automate tasks using sh, perl, etc.
Capable of writing purchase justifications, training users in complex topics,
making presentations to an internal audience.
Independent problem solving; self-direction.
CIT 470: Advanced Network and System
Administration
Slide #20
SAGE Job Descriptions
Senior
A solid understanding of networking/distributed computing environment
concepts; understands principles of routing, client/server programming, the
design of consistent network-wide filesystem layouts.
Ability to program in an administrative language (sh, perl), to port C programs
from one platform to another, and to write small C programs.
Capable of writing proposals or papers, acting as a vendor liaison, making
presentations to customer/client audiences or professional peers.
Ability to solve problems quickly and completely.
Ability to identify tasks which require automation and automate them.
CIT 470: Advanced Network and System
Administration
Slide #21
Other Skills
Heterogenous Environments
Integrating multiple-OSes, hardware types, or network protocols.
Site Types
Size variations, distributed sites, local variations.
Hardware
Databases
SQL RDMS
Networking
Complex routing, high speed networks.
Security
Firewalls, authentication, NIDS (Network Intrusion Detection System) ,
cryptography.
CIT 470: Advanced Network and System
Administration
Slide #22
Certifications
• CCNA, CCNP, CCIE
• cSAGE
• MCSA (Microsoft Certified Solutions Associate
• MCSE (Microsoft Certified Systems Engineer )
• RHCE (Red Hat Certified Engineer)
• Sun Certified System / Network Admin
CIT 470: Advanced Network and System
Administration
Slide #23
Principles of SA
Simplicity
• Choose the simplest solution that solves the entire problem.
Clarity
• Choose a straightforward solution that’s easy to change, maintain,
debug, and explain to other SAs.
Generality
• Choose reusable solutions and open protocols.
Automation
• Use software to replace human effort.
Communication
• Be sure that you’re solving the right problems and that people know
what you’re doing.
Basics First
• Solve basic infrastructure problems before moving to advanced ones.
CIT 470: Advanced Network and System
Administration
Slide #24
First Steps
Use a request system.
• Customers know what you’re doing.
• You know what you’re doing.
Manage quick requests right
• Handle emergencies quickly.
• Use request system to avoid interruptions.
Policies
• How do people get help?
• What is the scope of responsibility for SA team?
• What is our definition of emergency?
Start every host in a known state.
CIT 470: Advanced Network and System
Administration
Slide #25
Desktop Management
CIT 470: Advanced Network and System
Administration
Slide #26
States of Machines
New
A new machine
Clean
OS installed, but not yet configured for environment.
Configured
Configured correctly for the operating environment.
Unknown
Misconfigured, broken, newly discovered, etc.
Off
Retired/surplussed
CIT 470: Advanced Network and System
Administration
Slide #27
State Transitions
Build
Set up hardware and install OS.
Initialize
Configure for environment; often part of build.
Update
Install new software.
Patch old software.
Change configurations.
CIT 470: Advanced Network and System
Administration
Slide #28
Why Automate Installs?
1. Save time.
Boot the computer, then go do something else.
2. Ensure consistency.
No chance of entering wrong input during install.
Avoid user requests due to mistakes in config.
What works on one desktop, works on all.
3. Fast system recovery.
Rebuild system with auto-install vs. slow tapes.
CIT 470: Advanced Network and System
Administration
Slide #29
Trusting the Vendor Installation
Always reload the OS on new machines.
• You need to configure the host for your env.
• Eventually you’ll reload the OS on a desktop, leaving you with two platforms
to support: the vendor OS install and your OS install.
• Vendors change their OS images from time to time, so systems you bought
today have a different OS from systems bought 6 months ago.
CIT 470: Advanced Network and System
Administration
Slide #30
Install Types
1. Hard Disk Imaging
Duplicate hard disk of installed system.
Advantages: fast, simple.
Disadvantages: need identical hardware, leads to many
images, all of which must be updated manually when you
make a change
2. Scripted Installs
Installer accepts input from script.
Advantages: flexible, systems can be different
Disadvantages: more effort to setup initially
CIT 470: Advanced Network and System
Administration
Slide #31
Auto-Install Features
1. Unattended
Requires little or no human interaction.
2. Concurrent
Multiple installs can be performed at once.
3. Scalable
New clients added easily.
4. Flexible
Configurable to do custom install types.
CIT 470: Advanced Network and System
Administration
Slide #32
Auto-Install Components
Boot Component
Media (floppy or CD)
Network (PXE)
Network Configuration
DHCP: IP addresses, netmasks, DNS
Install Configuration
Media (floppy or CD)
Network (tftp, ftp, http, NFS)
Install Data and Programs
Network (tftp, ftp, http, NFS)
CIT 470: Advanced Network and System
Administration
Slide #33
PXE
Preboot eXecution Environment
Intel standard for booting over the network.
PXE BIOS loads kernel over network.
Applications
Diskless clients (use NFS for root disk.)
Booting install program.
How it works
1. Asks DHCP server for config (ip, net, tftp.)
2. Downloads pxelinux from tftp server.
3. Boots pxelinux kernel.
4. Kernel uses tftp’d filesystem image or NFS filesystem.
CIT 470: Advanced Network and System
Administration
Slide #34
Disk Imaging
1. Setup ftp server.
2. Install OS image on a test
client.
3. Verify test client OS.
4. Copy image to server.
5. Boot clients with imaging
media.
6. Clients pull image from ftp
server.
CIT 470: Advanced Network and System
Administration
Slide #35
4. Copy image
1. ftp server
2-3. test client
5. deployment #1
5. deployment #2
6. Pull img
Using g4u
1. Enable ftp server (service/chkconfig)
2. Download g4u
3. Copy g4u to a floppy disk (or CD)
cat g4u-2.1-1.fs >/dev/fd0
4. Boot installed client with floppy disk.
5. Upload image to server.
uploaddisk your.ftp.server.com filename.gz
6. Boot blank client with floppy disk.
7. Install image from server.
slurpdisk your.ftp.server.com filename.gz
CIT 470: Advanced Network and System
Administration
Slide #36
Disk Imaging Tools
• Acronis TrueImage
• Clonezilla (free)
• g4u: Ghost for UNIX (free)
• Symantec GHOST
• System Imager (free)
CIT 470: Advanced Network and System
Administration
Slide #37
Kickstart Components
Bootable media
• Small bootstrap kernel and filesystem.
• Uses DHCP server to configure system.
Source machine
• Network server: ftp, http, nfs.
• Kickstart configuration file(s).
• Install files (RPMs).
Target machine
• Machine on which you’re installing.
• Boot with bootable media.
CIT 470: Advanced Network and System
Administration
Slide #38
Kickstart Components
CIT 470: Advanced Network and System
Administration
Slide #39
Target Machine
DHCP Server Source Machine
http
Source Machine Setup
1. Start network service.
2. Copy install media--for each CD:
mount /mnt/cdrom
cp -var /mnt/cdrom/RedHat /usr/local/ks
umount /mnt/cdrom/
3. Create config files.
Store under kickstart subdirectory.
CIT 470: Advanced Network and System
Administration
Slide #40
Kickstart Configuration File
Describes desired system configuration.
Disk partition setup.
Network configuration.
Language and other configuration items.
Package selection.
Pre- and post-install scripts for customization.
Creating a Kickstart file:
Original install (located under /root)
Kickstart Configurator application
Manually
CIT 470: Advanced Network and System
Administration
Slide #41
Kickstart Configurator
CIT 470: Advanced Network and System
Administration
Slide #42
Configuration Options
auth
crypt, md5, nis, ldap, smb, krb5
network and firewall
DHCP, static, firewall configuration
part
Create disk partitions: size, maxsize, grow.
c.f. autopart, clearpart, log, raid.
rootpw
xconfig
packages
CIT 470: Advanced Network and System
Administration
Slide #43
Performing a Kickstart Install
1. Boot with install media
RHEL CD #1
Bootable Kickstart media
2. Specify Kickstart file location
Web: ks=http://<server>/<path>
NFS: ks=http://<server>/<path>
Floppy: ks=floppy
PXE: ks
CIT 470: Advanced Network and System
Administration
Slide #44
Auto-Install Tools
• DrakX: Mandriva Linux
• FAI, Preseed: Debian Linux
• Jumpstart: Solaris
• Kickstart: Red Hat Linux
CIT 470: Advanced Network and System
Administration
Slide #45
Software Update Difficulties
No physical access
• Update process should work w/o physical access.
Host may not be in known state
• Prior updates may or may not have happened.
• Sysadmins or users may have reconfigured.
Hosts may not be there
• Portable computers may not be on your network when
you’re updating systems.
Host may have live users
• Some updates require no user access or reboots.
CIT 470: Advanced Network and System
Administration
Slide #46
One, Some, Many
Failed updates break someone’s machine.
• Vendor hasn’t tested updates in your env.
One, some, many process mitigates risks
• One: Test update on one system first.
• Some: Test update on group of test systems that are representative of the
target systems.
• Many: Schedule update for a time that limits disruption and update user
systems.
CIT 470: Advanced Network and System
Administration
Slide #47
Network Configuration
What’s so bad about manual net settings?
• It’s only an IP address and netmask.
• What happens if you need to renumber?
Use DHCP instead of manual settings
• Make all changes on a single server.
• Easy to change network settings for entire net.
• DHCP can assign static IPs as well as dynamic.
CIT 470: Advanced Network and System
Administration
Slide #48
Key Points
Being a Sysadmin
• Customer-oriented, technical knowledge, time.
• Basics: request system, known host state, policies.
Desktop Lifecycle
• New, clean, configured, unknown states.
Automated Installs
• Why: consistency, fast recovery, saves time.
• Install types: imaging vs. scripted.
• Components: boot, network, config, data.
One, some, many Approach to Updates.
CIT 470: Advanced Network and System
Administration
Slide #49
References
1. Mark Burgess, Principles of System and Network Administration,
Wiley, 2000.
2. Aeleen Frisch, Essential System Administration, 3rd edition, O’Reilly,
2002.
3. R. Evard. "An analysis of unix system configuration." Proceedings of
the 11th Systems Administration conference (LISA), page 179,
http://www.usenix.org/publications/library/proceedings/lisa97/full_
papers/20.evard/20_html/main.html, 1997
4. Evi Nemeth et al, UNIX System Administration Handbook, 3rd edition,
Prentice Hall, 2001.
5. SAGE, Job Descriptions, http://www.sage.org/field/jobs-
descriptions.mm.
6. SAGE, SAGE Code of Ethics, http://www.sage.org/ethics.mm
7. Shelley Powers et. al., UNIX Power Tools, 3rd edition, O’Reilly, 2002.
CIT 470: Advanced Network and System
Administration
Slide #50

Weitere ähnliche Inhalte

Ähnlich wie 1 - Introduction.ppt

Information technology
Information technologyInformation technology
Information technologyAaron Ephraim
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxFelix533012
 
System-Administration.pptx
System-Administration.pptxSystem-Administration.pptx
System-Administration.pptxRexciesValentin
 
CSF18 - The Night is Dark and Full of Hackers - Sami Laiho
CSF18 - The Night is Dark and Full of Hackers - Sami LaihoCSF18 - The Night is Dark and Full of Hackers - Sami Laiho
CSF18 - The Night is Dark and Full of Hackers - Sami LaihoNCCOMMS
 
System administrator (it)
System administrator (it)System administrator (it)
System administrator (it)P@rth!v Dave
 
Predicting the Future of Endpoint Management in a Mobile World
Predicting the Future of Endpoint Management in a Mobile WorldPredicting the Future of Endpoint Management in a Mobile World
Predicting the Future of Endpoint Management in a Mobile WorldQuest
 
Computer system organization
Computer system organizationComputer system organization
Computer system organizationSyed Zaid Irshad
 
Stan Adkerson Professional Resume
Stan Adkerson Professional ResumeStan Adkerson Professional Resume
Stan Adkerson Professional ResumeStan Adkerson
 
Lionel Deliz resume
Lionel Deliz resumeLionel Deliz resume
Lionel Deliz resumeLionel Deliz
 
Visualizing Your Network Health - Know your Network
Visualizing Your Network Health - Know your NetworkVisualizing Your Network Health - Know your Network
Visualizing Your Network Health - Know your NetworkDellNMS
 
Technologies: Expert in the Room Webinar: Navigate Infrastructure Management
Technologies: Expert in the Room Webinar: Navigate Infrastructure ManagementTechnologies: Expert in the Room Webinar: Navigate Infrastructure Management
Technologies: Expert in the Room Webinar: Navigate Infrastructure ManagementRandstad USA
 
7 Secrets to Becoming a Citrix Hero
7 Secrets to Becoming a Citrix Hero7 Secrets to Becoming a Citrix Hero
7 Secrets to Becoming a Citrix HeroeG Innovations
 

Ähnlich wie 1 - Introduction.ppt (20)

Information technology
Information technologyInformation technology
Information technology
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
System-Administration.pptx
System-Administration.pptxSystem-Administration.pptx
System-Administration.pptx
 
CSF18 - The Night is Dark and Full of Hackers - Sami Laiho
CSF18 - The Night is Dark and Full of Hackers - Sami LaihoCSF18 - The Night is Dark and Full of Hackers - Sami Laiho
CSF18 - The Night is Dark and Full of Hackers - Sami Laiho
 
System administrator (it)
System administrator (it)System administrator (it)
System administrator (it)
 
L10 Architecture Considerations
L10 Architecture ConsiderationsL10 Architecture Considerations
L10 Architecture Considerations
 
Anil_Kumar_Linux_
Anil_Kumar_Linux_Anil_Kumar_Linux_
Anil_Kumar_Linux_
 
Predicting the Future of Endpoint Management in a Mobile World
Predicting the Future of Endpoint Management in a Mobile WorldPredicting the Future of Endpoint Management in a Mobile World
Predicting the Future of Endpoint Management in a Mobile World
 
Mano
ManoMano
Mano
 
Computer system organization
Computer system organizationComputer system organization
Computer system organization
 
Mohammed Abdul Faheem
Mohammed Abdul FaheemMohammed Abdul Faheem
Mohammed Abdul Faheem
 
venky 123
venky 123venky 123
venky 123
 
Ch01.ppt
Ch01.pptCh01.ppt
Ch01.ppt
 
RajaSubramanian Resume
RajaSubramanian ResumeRajaSubramanian Resume
RajaSubramanian Resume
 
Stan Adkerson Professional Resume
Stan Adkerson Professional ResumeStan Adkerson Professional Resume
Stan Adkerson Professional Resume
 
Lionel Deliz resume
Lionel Deliz resumeLionel Deliz resume
Lionel Deliz resume
 
Visualizing Your Network Health - Know your Network
Visualizing Your Network Health - Know your NetworkVisualizing Your Network Health - Know your Network
Visualizing Your Network Health - Know your Network
 
Stan Golubchik Resume
Stan Golubchik ResumeStan Golubchik Resume
Stan Golubchik Resume
 
Technologies: Expert in the Room Webinar: Navigate Infrastructure Management
Technologies: Expert in the Room Webinar: Navigate Infrastructure ManagementTechnologies: Expert in the Room Webinar: Navigate Infrastructure Management
Technologies: Expert in the Room Webinar: Navigate Infrastructure Management
 
7 Secrets to Becoming a Citrix Hero
7 Secrets to Becoming a Citrix Hero7 Secrets to Becoming a Citrix Hero
7 Secrets to Becoming a Citrix Hero
 

Kürzlich hochgeladen

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Kürzlich hochgeladen (20)

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

1 - Introduction.ppt

  • 1. System administrator • One who manages computer and network systems on behalf of another, such as an employer or a client. SAs are the people who make things work and keep it all running • Successful Administrators • No stereotypes. • Normally if one can keep the users happy she is successful (which is very difficult). • Life-long learning skills. One’s proud knowledge and expertise today may be obsolete tomorrow (Be prepared to be jobless if you do not keep learning). • Some myths for new SAs • There exists a right answer for every problem. • Things should always work in the way we expect. • Every problem should have a happy end.
  • 2. System administrator (cont.) • Challenges of SAs • Not just installing system/software, also about planning and designing an efficient community of computers. • Design a logical and efficient network. • Easy upgrade for a large number of computers. • Decide what and where services are installed. • Plan and implement security. • Provide a comfortable environment for users. • Develop ways of fixing problems and errors. • Keep track of new technology and software.
  • 3. Practice of SAs • Common practice may not be good practice • There are three reasons for common practice: • Someone did it and others followed blindly; • Believe it is good after careful thought; • An arbitrary choice had to be made; • Think for yourself. • Pay attention to experts but don’t automatically believe anyone. • Every choice needs a reason.
  • 4. Practice of SAs (cont.) • Good practices • Look for answers in manuals, newsgroups, and archive of mailing lists. Usually “google” helps for most common problems. • Use controlled trial and error for diagnosis. • Listen to people who tell us there is a problem. It might be true. • Write down problems and solutions in a log book, and write down experiences. • Take responsibilities for our actions. • Remember to tidy things up regularly. • After learning something new, ask yourself “How does this apply to my work?”
  • 5. Superuser • Superuser (root) • What is root (superuser)? • Be aware of the double-edged sword • Convenient to do anything • Powerful enough to damage the system • Login as superuser (root) • System admins should never login as root • Many commands can be executed by ordinary users • When you need root privilege • Use sudo or sudo -s or su
  • 6. What is a Sysadmin? In a small org, sysadmin can be entire IT staff • Phone support • Order and install software and hardware • Fix anything that breaks from phones to servers • Develop software In a large org, sysadmin is part of large IT org • Specialists instead of “jack of all trades” • Database admin, Network admin, Fileserver admin, Help desk worker, Programmers, Logistics CIT 470: Advanced Network and System Administration Slide #6
  • 7. What do sysadmins do? 1. Add and remove users. 2. Add and remove hardware. 3. Perform backups. 4. Install new software systems. 5. Troubleshooting. 6. System monitoring. 7. Auditing security. 8. Helping users. CIT 470: Advanced Network and System Administration Slide #7
  • 8. User Management • Creating user accounts • Consistency requires automation • Startup (dot) files • Username and UID namespace management • Home directory backups and quotas • Removing user accounts • Consistency requires automation • Remove everything, not just homedir and passwd CIT 470: Advanced Network and System Administration Slide #8
  • 9. Hardware Management • Adding and removing hardware • Configuration, cabling, etc. • Device drivers • Scheduling downtimes and notifying users • Evaluation and purchase • Capacity planning • How many servers? • How much bandwidth, disk space? • Data Center management • Power, racks, environment (cooling, fire alarm) CIT 470: Advanced Network and System Administration Slide #9
  • 10. Backups • Backup strategy and policies • Scheduling: when and how often? • Capacity planning • Location: On-site vs off-site. • Installing backup software • Performing backups and restores • Monitoring backups • Checking logs • Verifying media CIT 470: Advanced Network and System Administration Slide #10
  • 11. Software Installation • Automated consistent OS installs • Evaluation of software • Finding and building open source software • Purchase of commercial software • Managing software installations • Distributing software to multiple hosts • Package management • Managing multiple versions of a software pkg • Patching and updating software • Scheduling downtimes and notifying users CIT 470: Advanced Network and System Administration Slide #11
  • 12. Troubleshooting • Problem identification • By user notification • By log files or monitoring programs • Tracking and visibility • Ensure users know you’re working on problem • Provide an ETA (Estimated Time to Arrival) if possible • Finding the root cause of problems • Provide temporary solution if necessary • Solve the root problem to permanently eliminate CIT 470: Advanced Network and System Administration Slide #12
  • 13. Performance Monitoring • Automatically monitor systems for • Problems (disk full, error logs, security) • Performance (CPU, mem, disk, network) • Log rotation and backups • Provides data for capacity planning • Convince management of need for hardware CIT 470: Advanced Network and System Administration Slide #13
  • 14. Helping Users • Request tracking system • Ensures that you don’t forget problems. • Ensures users know you’re working on their problem; reduces interruptions, status queries. • Lets management know what you’ve done. • User documentation and training • Acceptable Use Policies • Document software, hardware (printers), etc. CIT 470: Advanced Network and System Administration Slide #14
  • 15. Qualities of a Successful Sysadmin • Customer oriented • Ability to deal with interrupts, time pressure • Communication skills • Service provider, not system police • Technical knowledge • Hardware, network, and software knowledge • Debugging and troubleshooting skills • Time management • Automate everything possible. • Ability to prioritize tasks: urgency and importance. CIT 470: Advanced Network and System Administration Slide #15
  • 16. Organizations USENIX: Advanced Computing Systems Association LISA: Large Installation System Administration SAGE: System Administration Guild CIT 470: Advanced Network and System Administration Slide #16
  • 17. SAGE: Goals 1. Advance status of system administration as a profession. 2. Establish standards of professional excellence and recognize those who attain them. 3. Develop guidelines for improving the technical and managerial capabilities of members of the profession. 4. Promote activities that advance the state of the art or the community. CIT 470: Advanced Network and System Administration Slide #17
  • 18. Types of Sites Small 2-10 computers, 1 OS, 2-20 users. Midsized 11-100 computers, 1-3 OSes, 21-100 users. Large 100+ computers, multiples OSes, 100+ users CIT 470: Advanced Network and System Administration Slide #18
  • 19. SAGE Job Descriptions Novice UNIX familiarity (CIT 140) Can explaining simple procedures in writing or verbally, has good phone skills. Junior UNIX skills, system administration basics (install, boot, add/remove users) (CIT 370) Capable of training users in applications and UNIX fundamentals, and writing basic documentation. CIT 470: Advanced Network and System Administration Slide #19
  • 20. SAGE Job Descriptions Intermediate Broad system administration knowledge, including setup of common server types. Understanding of network/distributed computing concepts (directories, authentication, network filesystems). Ability to automate tasks using sh, perl, etc. Capable of writing purchase justifications, training users in complex topics, making presentations to an internal audience. Independent problem solving; self-direction. CIT 470: Advanced Network and System Administration Slide #20
  • 21. SAGE Job Descriptions Senior A solid understanding of networking/distributed computing environment concepts; understands principles of routing, client/server programming, the design of consistent network-wide filesystem layouts. Ability to program in an administrative language (sh, perl), to port C programs from one platform to another, and to write small C programs. Capable of writing proposals or papers, acting as a vendor liaison, making presentations to customer/client audiences or professional peers. Ability to solve problems quickly and completely. Ability to identify tasks which require automation and automate them. CIT 470: Advanced Network and System Administration Slide #21
  • 22. Other Skills Heterogenous Environments Integrating multiple-OSes, hardware types, or network protocols. Site Types Size variations, distributed sites, local variations. Hardware Databases SQL RDMS Networking Complex routing, high speed networks. Security Firewalls, authentication, NIDS (Network Intrusion Detection System) , cryptography. CIT 470: Advanced Network and System Administration Slide #22
  • 23. Certifications • CCNA, CCNP, CCIE • cSAGE • MCSA (Microsoft Certified Solutions Associate • MCSE (Microsoft Certified Systems Engineer ) • RHCE (Red Hat Certified Engineer) • Sun Certified System / Network Admin CIT 470: Advanced Network and System Administration Slide #23
  • 24. Principles of SA Simplicity • Choose the simplest solution that solves the entire problem. Clarity • Choose a straightforward solution that’s easy to change, maintain, debug, and explain to other SAs. Generality • Choose reusable solutions and open protocols. Automation • Use software to replace human effort. Communication • Be sure that you’re solving the right problems and that people know what you’re doing. Basics First • Solve basic infrastructure problems before moving to advanced ones. CIT 470: Advanced Network and System Administration Slide #24
  • 25. First Steps Use a request system. • Customers know what you’re doing. • You know what you’re doing. Manage quick requests right • Handle emergencies quickly. • Use request system to avoid interruptions. Policies • How do people get help? • What is the scope of responsibility for SA team? • What is our definition of emergency? Start every host in a known state. CIT 470: Advanced Network and System Administration Slide #25
  • 26. Desktop Management CIT 470: Advanced Network and System Administration Slide #26
  • 27. States of Machines New A new machine Clean OS installed, but not yet configured for environment. Configured Configured correctly for the operating environment. Unknown Misconfigured, broken, newly discovered, etc. Off Retired/surplussed CIT 470: Advanced Network and System Administration Slide #27
  • 28. State Transitions Build Set up hardware and install OS. Initialize Configure for environment; often part of build. Update Install new software. Patch old software. Change configurations. CIT 470: Advanced Network and System Administration Slide #28
  • 29. Why Automate Installs? 1. Save time. Boot the computer, then go do something else. 2. Ensure consistency. No chance of entering wrong input during install. Avoid user requests due to mistakes in config. What works on one desktop, works on all. 3. Fast system recovery. Rebuild system with auto-install vs. slow tapes. CIT 470: Advanced Network and System Administration Slide #29
  • 30. Trusting the Vendor Installation Always reload the OS on new machines. • You need to configure the host for your env. • Eventually you’ll reload the OS on a desktop, leaving you with two platforms to support: the vendor OS install and your OS install. • Vendors change their OS images from time to time, so systems you bought today have a different OS from systems bought 6 months ago. CIT 470: Advanced Network and System Administration Slide #30
  • 31. Install Types 1. Hard Disk Imaging Duplicate hard disk of installed system. Advantages: fast, simple. Disadvantages: need identical hardware, leads to many images, all of which must be updated manually when you make a change 2. Scripted Installs Installer accepts input from script. Advantages: flexible, systems can be different Disadvantages: more effort to setup initially CIT 470: Advanced Network and System Administration Slide #31
  • 32. Auto-Install Features 1. Unattended Requires little or no human interaction. 2. Concurrent Multiple installs can be performed at once. 3. Scalable New clients added easily. 4. Flexible Configurable to do custom install types. CIT 470: Advanced Network and System Administration Slide #32
  • 33. Auto-Install Components Boot Component Media (floppy or CD) Network (PXE) Network Configuration DHCP: IP addresses, netmasks, DNS Install Configuration Media (floppy or CD) Network (tftp, ftp, http, NFS) Install Data and Programs Network (tftp, ftp, http, NFS) CIT 470: Advanced Network and System Administration Slide #33
  • 34. PXE Preboot eXecution Environment Intel standard for booting over the network. PXE BIOS loads kernel over network. Applications Diskless clients (use NFS for root disk.) Booting install program. How it works 1. Asks DHCP server for config (ip, net, tftp.) 2. Downloads pxelinux from tftp server. 3. Boots pxelinux kernel. 4. Kernel uses tftp’d filesystem image or NFS filesystem. CIT 470: Advanced Network and System Administration Slide #34
  • 35. Disk Imaging 1. Setup ftp server. 2. Install OS image on a test client. 3. Verify test client OS. 4. Copy image to server. 5. Boot clients with imaging media. 6. Clients pull image from ftp server. CIT 470: Advanced Network and System Administration Slide #35 4. Copy image 1. ftp server 2-3. test client 5. deployment #1 5. deployment #2 6. Pull img
  • 36. Using g4u 1. Enable ftp server (service/chkconfig) 2. Download g4u 3. Copy g4u to a floppy disk (or CD) cat g4u-2.1-1.fs >/dev/fd0 4. Boot installed client with floppy disk. 5. Upload image to server. uploaddisk your.ftp.server.com filename.gz 6. Boot blank client with floppy disk. 7. Install image from server. slurpdisk your.ftp.server.com filename.gz CIT 470: Advanced Network and System Administration Slide #36
  • 37. Disk Imaging Tools • Acronis TrueImage • Clonezilla (free) • g4u: Ghost for UNIX (free) • Symantec GHOST • System Imager (free) CIT 470: Advanced Network and System Administration Slide #37
  • 38. Kickstart Components Bootable media • Small bootstrap kernel and filesystem. • Uses DHCP server to configure system. Source machine • Network server: ftp, http, nfs. • Kickstart configuration file(s). • Install files (RPMs). Target machine • Machine on which you’re installing. • Boot with bootable media. CIT 470: Advanced Network and System Administration Slide #38
  • 39. Kickstart Components CIT 470: Advanced Network and System Administration Slide #39 Target Machine DHCP Server Source Machine http
  • 40. Source Machine Setup 1. Start network service. 2. Copy install media--for each CD: mount /mnt/cdrom cp -var /mnt/cdrom/RedHat /usr/local/ks umount /mnt/cdrom/ 3. Create config files. Store under kickstart subdirectory. CIT 470: Advanced Network and System Administration Slide #40
  • 41. Kickstart Configuration File Describes desired system configuration. Disk partition setup. Network configuration. Language and other configuration items. Package selection. Pre- and post-install scripts for customization. Creating a Kickstart file: Original install (located under /root) Kickstart Configurator application Manually CIT 470: Advanced Network and System Administration Slide #41
  • 42. Kickstart Configurator CIT 470: Advanced Network and System Administration Slide #42
  • 43. Configuration Options auth crypt, md5, nis, ldap, smb, krb5 network and firewall DHCP, static, firewall configuration part Create disk partitions: size, maxsize, grow. c.f. autopart, clearpart, log, raid. rootpw xconfig packages CIT 470: Advanced Network and System Administration Slide #43
  • 44. Performing a Kickstart Install 1. Boot with install media RHEL CD #1 Bootable Kickstart media 2. Specify Kickstart file location Web: ks=http://<server>/<path> NFS: ks=http://<server>/<path> Floppy: ks=floppy PXE: ks CIT 470: Advanced Network and System Administration Slide #44
  • 45. Auto-Install Tools • DrakX: Mandriva Linux • FAI, Preseed: Debian Linux • Jumpstart: Solaris • Kickstart: Red Hat Linux CIT 470: Advanced Network and System Administration Slide #45
  • 46. Software Update Difficulties No physical access • Update process should work w/o physical access. Host may not be in known state • Prior updates may or may not have happened. • Sysadmins or users may have reconfigured. Hosts may not be there • Portable computers may not be on your network when you’re updating systems. Host may have live users • Some updates require no user access or reboots. CIT 470: Advanced Network and System Administration Slide #46
  • 47. One, Some, Many Failed updates break someone’s machine. • Vendor hasn’t tested updates in your env. One, some, many process mitigates risks • One: Test update on one system first. • Some: Test update on group of test systems that are representative of the target systems. • Many: Schedule update for a time that limits disruption and update user systems. CIT 470: Advanced Network and System Administration Slide #47
  • 48. Network Configuration What’s so bad about manual net settings? • It’s only an IP address and netmask. • What happens if you need to renumber? Use DHCP instead of manual settings • Make all changes on a single server. • Easy to change network settings for entire net. • DHCP can assign static IPs as well as dynamic. CIT 470: Advanced Network and System Administration Slide #48
  • 49. Key Points Being a Sysadmin • Customer-oriented, technical knowledge, time. • Basics: request system, known host state, policies. Desktop Lifecycle • New, clean, configured, unknown states. Automated Installs • Why: consistency, fast recovery, saves time. • Install types: imaging vs. scripted. • Components: boot, network, config, data. One, some, many Approach to Updates. CIT 470: Advanced Network and System Administration Slide #49
  • 50. References 1. Mark Burgess, Principles of System and Network Administration, Wiley, 2000. 2. Aeleen Frisch, Essential System Administration, 3rd edition, O’Reilly, 2002. 3. R. Evard. "An analysis of unix system configuration." Proceedings of the 11th Systems Administration conference (LISA), page 179, http://www.usenix.org/publications/library/proceedings/lisa97/full_ papers/20.evard/20_html/main.html, 1997 4. Evi Nemeth et al, UNIX System Administration Handbook, 3rd edition, Prentice Hall, 2001. 5. SAGE, Job Descriptions, http://www.sage.org/field/jobs- descriptions.mm. 6. SAGE, SAGE Code of Ethics, http://www.sage.org/ethics.mm 7. Shelley Powers et. al., UNIX Power Tools, 3rd edition, O’Reilly, 2002. CIT 470: Advanced Network and System Administration Slide #50