SlideShare a Scribd company logo
1 of 29
Workstation
( BSCS 2:2 & BSIT 2:2)
Department of Computing & Technology
Faculty of Engineering, Design & Technology
ICT2212 Server Systems Administration
1. Machine Lifecycle
2. Automated Installs
3. Updates
4. Network Configuration
Topics
Workstation Management
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
States of Machines
Build
Set up hardware and install OS.
Initialize
Configure for environment; often part of build.
Update
Install new software.
Patch old software.
Change configurations.
State Transitions
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.
Why Automate Installs?
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.
Trusting the Vendor Installation
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
Install Types
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.
Auto-Install Features
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)
Auto-Install Components
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.
PXE
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.
Disk Imaging
2-3. test client
4. Copy image
1. ftp server
5. deployment #2
6. Pull img
5. deployment #1
• Acronis TrueImage
• Clonezilla (free)
• g4u: Ghost for UNIX (free)
• Symantec GHOST
• System Imager (free)
Disk Imaging Tools
Clonezilla
g4u
Red Hat distributions, incl. Centos
• Kickstart - simple text file that contains configuration information
• Cobbler – is Linux installation server that allows for rapid setup of network installation
environments.
Debian distributions, incl. Ubuntu
• FAI - a tool for unattended mass deployment of Linux
• Preseed
Mandriva Linux
• DrakX
Solaris
• Jumpstart
Scripted Install Tools
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.
Kickstart Components
Kickstart Components
Target Machine
DHCP Server Source Machine
http
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.
Source Machine Setup
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
Kickstart Configuration File
Kickstart Configurator
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
Configuration Options
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
Performing a Kickstart Install
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.
Software Update Difficulties
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.
One, Some, Many
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 settings for entire network.
• DHCP can assign static IPs as well as dynamic.
Network Configuration
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.
• Think about how Principles of SA apply.
One, Some, Many approach to updates.
Key Points
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_pap
ers/20.evard/20_html/main.html, 1997
4. Thomas Limoncelli, Christine Hogan, Strata Chalup, The Practice of
System and Network Administration, 2nd ed, Limoncelli and Hogan,
Addison-Wesley, 2007.
5. Evi Nemeth et al, UNIX System Administration Handbook, 3rd edition,
Prentice Hall, 2001.
References
Questions
????

More Related Content

Similar to Workstations-02.pptx

Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 minsSharon James
 
CentOS 6 to CentOS 7 Upgrade Procedure
CentOS 6 to CentOS 7 Upgrade ProcedureCentOS 6 to CentOS 7 Upgrade Procedure
CentOS 6 to CentOS 7 Upgrade ProcedureVEXXHOST Private Cloud
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorialDru Lavigne
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptPrasannaDeSilva7
 
the NML project
the NML projectthe NML project
the NML projectLei Yang
 
Interview questions
Interview questionsInterview questions
Interview questionsxavier john
 
Automated Operating System Deployment Using SCCM 2012
Automated Operating System Deployment Using SCCM 2012Automated Operating System Deployment Using SCCM 2012
Automated Operating System Deployment Using SCCM 2012Abdelslam Elsobky
 
PHP North-East - Automated Deployment
PHP North-East - Automated DeploymentPHP North-East - Automated Deployment
PHP North-East - Automated DeploymentMichael Peacock
 
Automated Deployment
Automated DeploymentAutomated Deployment
Automated Deploymentphpne
 
Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Puppet
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnetrosu555
 
hardware and software upgrade
hardware and software upgradehardware and software upgrade
hardware and software upgradeDana Popescu
 
Systems administration for coders presentation
Systems administration for coders presentationSystems administration for coders presentation
Systems administration for coders presentationMatt Willsher
 
Puppet Camp London 2014: Keynote
Puppet Camp London 2014: KeynotePuppet Camp London 2014: Keynote
Puppet Camp London 2014: KeynotePuppet
 
Running CentOS on the Facebook fleet
Running CentOS on the Facebook fleetRunning CentOS on the Facebook fleet
Running CentOS on the Facebook fleetDavide Cavalca
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansPeter Clapham
 

Similar to Workstations-02.pptx (20)

Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 mins
 
CentOS 6 to CentOS 7 Upgrade Procedure
CentOS 6 to CentOS 7 Upgrade ProcedureCentOS 6 to CentOS 7 Upgrade Procedure
CentOS 6 to CentOS 7 Upgrade Procedure
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
 
the NML project
the NML projectthe NML project
the NML project
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Ite pc v40_chapter5
Ite pc v40_chapter5Ite pc v40_chapter5
Ite pc v40_chapter5
 
Automated Operating System Deployment Using SCCM 2012
Automated Operating System Deployment Using SCCM 2012Automated Operating System Deployment Using SCCM 2012
Automated Operating System Deployment Using SCCM 2012
 
PHP North-East - Automated Deployment
PHP North-East - Automated DeploymentPHP North-East - Automated Deployment
PHP North-East - Automated Deployment
 
Automated Deployment
Automated DeploymentAutomated Deployment
Automated Deployment
 
Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010
 
Cl221
Cl221Cl221
Cl221
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnet
 
hardware and software upgrade
hardware and software upgradehardware and software upgrade
hardware and software upgrade
 
Systems administration for coders presentation
Systems administration for coders presentationSystems administration for coders presentation
Systems administration for coders presentation
 
Puppet Camp London 2014: Keynote
Puppet Camp London 2014: KeynotePuppet Camp London 2014: Keynote
Puppet Camp London 2014: Keynote
 
Running CentOS on the Facebook fleet
Running CentOS on the Facebook fleetRunning CentOS on the Facebook fleet
Running CentOS on the Facebook fleet
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
 
Flexible compute
Flexible computeFlexible compute
Flexible compute
 

Recently uploaded

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 

Recently uploaded (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Workstations-02.pptx

  • 1. Workstation ( BSCS 2:2 & BSIT 2:2) Department of Computing & Technology Faculty of Engineering, Design & Technology ICT2212 Server Systems Administration
  • 2. 1. Machine Lifecycle 2. Automated Installs 3. Updates 4. Network Configuration Topics
  • 4. 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 States of Machines
  • 5. Build Set up hardware and install OS. Initialize Configure for environment; often part of build. Update Install new software. Patch old software. Change configurations. State Transitions
  • 6. 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. Why Automate Installs?
  • 7. 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. Trusting the Vendor Installation
  • 8. 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 Install Types
  • 9. 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. Auto-Install Features
  • 10. 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) Auto-Install Components
  • 11. 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. PXE
  • 12. 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. Disk Imaging 2-3. test client 4. Copy image 1. ftp server 5. deployment #2 6. Pull img 5. deployment #1
  • 13. • Acronis TrueImage • Clonezilla (free) • g4u: Ghost for UNIX (free) • Symantec GHOST • System Imager (free) Disk Imaging Tools
  • 15. g4u
  • 16. Red Hat distributions, incl. Centos • Kickstart - simple text file that contains configuration information • Cobbler – is Linux installation server that allows for rapid setup of network installation environments. Debian distributions, incl. Ubuntu • FAI - a tool for unattended mass deployment of Linux • Preseed Mandriva Linux • DrakX Solaris • Jumpstart Scripted Install Tools
  • 17. 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. Kickstart Components
  • 18. Kickstart Components Target Machine DHCP Server Source Machine http
  • 19. 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. Source Machine Setup
  • 20. 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 Kickstart Configuration File
  • 22. 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 Configuration Options
  • 23. 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 Performing a Kickstart Install
  • 24. 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. Software Update Difficulties
  • 25. 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. One, Some, Many
  • 26. 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 settings for entire network. • DHCP can assign static IPs as well as dynamic. Network Configuration
  • 27. 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. • Think about how Principles of SA apply. One, Some, Many approach to updates. Key Points
  • 28. 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_pap ers/20.evard/20_html/main.html, 1997 4. Thomas Limoncelli, Christine Hogan, Strata Chalup, The Practice of System and Network Administration, 2nd ed, Limoncelli and Hogan, Addison-Wesley, 2007. 5. Evi Nemeth et al, UNIX System Administration Handbook, 3rd edition, Prentice Hall, 2001. References

Editor's Notes

  1. A kickstart file is a simple text file that contains configuration information for a Red Hat Enterprise Linux installation. The system reads this configuration information at boot time and carries out the installation process without any further input from you.