Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management.

Similar presentations


Presentation on theme: "CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management."— Presentation transcript:

1 CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management

2 CIT 470: Advanced Network and System AdministrationSlide #2 Topics 1.Change Management 2.Change Processes 3.Revision Control 4.Configuration Management 5.cfengine Images from Pro Git

3 CIT 470: Advanced Network and System AdministrationSlide #3 Change Management Effective planning and implementation of changes to systems. Changes should be 1.Well documented. 2.Have a backout plan. 3.Reproducible.

4 CIT 470: Advanced Network and System AdministrationSlide #4 Why do we need Change Management? March 26-29, 2006: BART trains halted to avoid running into each other when computer systems crashed. Crashes on Monday/Tuesday resulted from software maintenance upgrades. Crash on Wednesday resulted from installing a backup system to avoid future crashes. Thousands of passengers stranded for several hours each time.

5 CIT 470: Advanced Network and System AdministrationSlide #5 Change Management 1.Plan change. 2.Test change on single system. 3.Test change on multiple systems. 4.File a change request. 5.Change committee approves request. 6.Schedule change. 7.Communication with users/admins. 8.Change systems at scheduled time. 9.Post-event analysis.

6 CIT 470: Advanced Network and System AdministrationSlide #6 Testing Changes Automated checks. –Sanity checks like Samba testparm. –Reboot system. Test on one system first. Then test on set of systems. –Dedicated test systems. –System admin workstations. –Virtual machines.

7 CIT 470: Advanced Network and System AdministrationSlide #7 When do you need a Change Proposal? Does the change impact critical services? Critical machines/services –Business critical: e-commerce server, etc. –Essential services: routers, DNS, NFS, auth. Non-critical machines/services –Individual desktops –Internal news web server

8 CIT 470: Advanced Network and System AdministrationSlide #8 Change Proposal 1.Description of the change. 2.Systems impacted by change. 3.Why the change is being made. 4.Risks presented by the change. 5.Test procedure. 6.Backout plans. 7.How long the change will require.

9 CIT 470: Advanced Network and System AdministrationSlide #9 Communication Communicate change to impacted people. –What change is being made (nontechnical.) –Which services will be unavailable. –When and how long will they be unavailable. –What actions do they need to task (if any.) Communication issues –If you send too many notes, they’ll be ignored. –Send notices only to those impacted. –Push critical notices; use pull for non-critical.

10 CIT 470: Advanced Network and System AdministrationSlide #10 Scheduling ScopeWhenNotification Type RoutineSingle host or user. Anytime.Personal. MajorMany hosts or users. Off-peakPush. SensitiveNone but major impact on failure. Off-peak.Pull.

11 CIT 470: Advanced Network and System AdministrationSlide #11 Change Freezes Time when only minor updates can be done. –End of quarter or year. –“Crunch time” for projects.

12 CIT 470: Advanced Network and System AdministrationSlide #12 Backing Out Decide back-out conditions before downtime –Avoid the “just 5 more minutes” problem. –Be sure that someone is keeping track of time. Questions: –How much time is required for back out? –When is the latest time you can successfully back out? –Will backing out this change prevent other changes from being committed?

13 CIT 470: Advanced Network and System AdministrationSlide #13 Backing Out: How to do it? Service-level changes Use revision control system to revert config. Restart service. Machine-level changes Soft cutover: Old service is still running. Hard cutover: Power up old server or restore from backups. Issues Data migration. Compatibility.

14 CIT 470: Advanced Network and System AdministrationSlide #14 Automatic Checks Check integrity of critical files before use. –Some services provide checks: LDAP, SMB. –Check startup files by rebooting machine. –Write your own checks for other files. Most people only do this after they have a problem.

15 CIT 470: Advanced Network and System AdministrationSlide #15 Revision Control Revision control systems provide Conflict management: prevents multiple people from modifying file at once and corrupting it. Change history: records who modified the file when and why the change was made. Revision control paradigms Lock-Modify-Unlock: rcs Copy-Modify-Merge: cvs, subversion, etc. Distributed: darcs, git, mercurial

16 Local Version Control CIT 470: Advanced Network and System AdministrationSlide #16

17 Centralized Version Control CIT 470: Advanced Network and System AdministrationSlide #17

18 Distributed Version Control CIT 470: Advanced Network and System AdministrationSlide #18

19 Local Git Operations CIT 470: Advanced Network and System AdministrationSlide #19

20 Git File Lifecycle CIT 470: Advanced Network and System AdministrationSlide #20

21 Gitk history visualizer CIT 470: Advanced Network and System AdministrationSlide #21

22 CIT 470: Advanced Network and System AdministrationSlide #22

23 CIT 470: Advanced Network and System AdministrationSlide #23 References 1.Mark Burgess, Principles of Network and System Administration, 2 nd edition, Wiley, 2004. 2.Aeleen Frisch, Essential System Administration, 3 rd edition, O’Reilly, 2002. 3.Thomas A. Limoncelli and Christine Hogan, The Practice of System and Network Administration, Addison-Wesley, 2002. 4.Evi Nemeth et al, UNIX System Administration Handbook, 3 rd edition, Prentice Hall, 2001. 5.Todd R. Weiss, “IT upgrades slow BART trains in San Francisco,” http://www.computerworld.com/printthis/2006/0,4814,11 0107,00.html, ComputerWorld, March 31, 2006. http://www.computerworld.com/printthis/2006/0,4814,11 0107,00.html


Download ppt "CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management."

Similar presentations


Ads by Google