CMPS 261 Server Management - Module 4: Tuning and Configuration

Mark Voortman, Ph.D.

Course Modules

Module 4

Objectives

Part A

Server Performance

Investigation Versus Monitoring

Investigation/Troubleshooting

Investigation/Troubleshooting

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigation/Troubleshooting Commands

Investigating/Troubleshooting Summary

Investigation Versus Monitoring

Roll Your Own?

The nc Command

Reality Check

The Monitoring Tool Solution

SolarWinds (Commercial)

http://www.solarwinds.com/server-application-monitor?CMP=OTC-tad-dns-dns_sermon-sam-PP

Nagios (Commercial)

https://www.nagios.com/products/nagios-xi/

Monitor.US (Free/Commercial)

http://www.monitis.com/server-monitoring

Ganglia (Open Source)

http://ganglia.info/

CollectD (Open Source)

http://collectd.org/

Glances (Open Source)

http://glances.readthedocs.io/en/latest/index.html

Glances

Summary

Services

Services

Managing Services

List Enabled Services

Interacting With Services

Interacting With Services

Monitoring Services

Monit

monit can be run from command line
monit can be run from command line

Monit

monit can also be run remotely via browser
monit can also be run remotely via browser

Monit

Services can be remotely managed
Services can be remotely managed

Summary

cron

cron service

cron Configuration Files

cron Configuration File Contents

cron Configuration File Contents

Cron overview
Cron overview

cron Configuration File Contents

Example task
Example task

User crons

Controlling cron Access

cron Example

Summary

Part B

Syslog and Log Files

Log File Locations

Syslog Configuration

Log File Location

Log File Rotation

Centralized Logging

Varying Levels of Access

Working With Log Files

Working With Log Files

Colorize Example Output

Writing to the System Log

Summary

System Start-Up

System Start-Up

The Boot Process

System Initialization

Intervening in the Start-Up

Looking at Boot-Up Messages

Shutting Down

Practice Project

Thank You!