System Administration



Similar documents
NTP and Syslog in Linux. Kevin Breit

Configuring NTP. Information about NTP. NTP Overview. Send document comments to CHAPTER

Configuring NTP. Information About NTP. NTP Overview. Send document comments to CHAPTER

Avaya Aura Communication Manager Methods For Updating Daylight Saving Time Rules

NTP Configuration and Synchronization for Unified Wireless Network Devices

Audit Logging. Overall Goals

OS Installation: CentOS 5.8

Precision Time Protocol (PTP/IEEE-1588)

Monitoring the NTP Server. eg Enterprise v6.0

Configuration of Microsoft Time Server

Network Time Protocol and Meinberg NTP Time Server Monitor ~ Installation Guide. 1. Introduction. 2. NTP Installation

Domain Time II s management tools enable complete control of your entire network time hierarchy from a single workstation.

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

Raspberry Pi Adding a Real Time Clock (RTC)

Windows Time Service Mark E. Donaldson

User Management Tool 1.6

Managing Network Services on Linux

Migrating to ESXi: How To

Domain Time II. Time Synchronization Software Suite Precise Time Synchronization for the Entire Enterprise

Computer Time Synchronization

Extreme Control Center, NAC, and Purview Virtual Appliance Installation Guide

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

CYAN SECURE WEB APPLIANCE. User interface manual

Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs)

Gigabyte Management Console User s Guide (For ASPEED AST 2400 Chipset)

Using Red Hat Enterprise Linux with Georgia Tech's RHN Satellite Server Installing Red Hat Enterprise Linux

Veritas Cluster Server

Review Quiz 1. What is the stateful firewall that is built into Mac OS X and Mac OS X Server?

SevOne NMS Download Installation and Implementation Guide

Computer Time Synchronization

95 Methodist Hill Drive Suite 500 Rochester, New York 14623

Administering Cisco ISE

AMT Implementation on a UTC RETAIL 3170 POS

VICIdial Multi-Server (Cluster) Manual Clustering for VICIdial v2.2.x and 2.0.X. Compiled by PoundTeam Incorporated

ICS Technology. PADS Viewer Manual. ICS Technology Inc PO Box 4063 Middletown, NJ

BASIC FIREWALL SERVICES

AdminToys Suite. Installation & Setup Guide

VICIdial Multi-Server (Cluster) Manual Clustering for VICIdial v2.4, 2.2.X and 2.0.X. Compiled by PoundTeam Incorporated

Title: Documentation for the Pi-UPS-Monitor-App

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

ovirt and Gluster hyper-converged! HA solution for maximum resource utilization

LOCKSS on LINUX. Installation Manual and the OpenBSD Transition 02/17/2011

ovirt and Gluster hyper-converged! HA solution for maximum resource utilization

Setup Cisco Call Manager on VMware

ENTERPRISE LINUX SYSTEM ADMINISTRATION

DeltaV Network Time Synchronization

Professional Xen Visualization

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations

Enabling Management Protocols: NTP, SNMP, and Syslog

Windows 2000 Security Configuration Guide

Precision Clocks When you absolutely can't afford a time shift Installation and Operation Manual

Precision Time Protocol on Linux ~ Introduction to linuxptp

ACP ThinManager Tech Notes ThinManager and PXE Boot

The Role of Precise Timing in High-Speed, Low-Latency Trading

Network Defense Specialist. Course Title: Network Defense Specialist: Securing and Troubleshooting Network Operating Systems

FileCruiser. VA2600 SR1 Quick Configuration Guide

Chapter 8 Router and Network Management

Embedded & Real-time Operating Systems

Configuring System Message Logging

Getting Started Guide

Chapter 1 Introduction to Network Maintenance Objectives

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

Parallels Cloud Server 6.0

SSL VPN. Virtual Appliance Installation Guide. Virtual Private Networks

How to install software on VMware ESXi 4.0/4.1

RedHat (RHEL) System Administration Course Summary

Lab Configuring Syslog and NTP (Instructor Version)

Network Monitoring. By: Delbert Thompson Network & Network Security Supervisor Basin Electric Power Cooperative

Logging and SNMP Trap Notification Of Events. Isonas Access Control System. Release 12 June 2007

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

Maintaining Non-Stop Services with Multi Layer Monitoring

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

ATVS. Amano Time Validation System. Installation and Operation Guide. Enterprise Edition Version 4.2

Deploying the BIG-IP System with Oracle E-Business Suite 11i

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

Linux logging and logfiles monitoring with swatch

Introduction to the Junos Operating System

Eventlog to Syslog v4.5 Release 4.5 Last revised September 29, 2013

for NON-EXEMPT EMPLOYEES

Abstract. Microsoft Corporation Published: November 2011

RHCSA 7RHCE Red Haf Linux Certification Practice

SharePoint AD Information Sync Installation Instruction

Smart Card Authentication. Administrator's Guide

Example of Standard API

RedvsGreen Documentation

3. License Management - Unix & Linux

There are numerous ways to access monitors:

C-GEP 100 Monitoring application user manual

How To Synchronize the easystore to the AD

TCP/IP Network Connectivity and ION Meters

Avira AntiVir MailGate 3.2 Release Notes

Error Log and syslogd

and Remote Supervisor Adapter II

RSA SecurID Software Token 1.3 for iphone and ipad Administrator s Guide

VMware vcenter Log Insight Security Guide

Parallels Server Bare Metal 5.0

ENTERPRISE LINUX SECURITY ADMINISTRATION

The Cisco IOS Firewall feature set is supported on the following platforms: Cisco 2600 series Cisco 3600 series

GL-550: Red Hat Linux Security Administration. Course Outline. Course Length: 5 days

Transcription:

Time Why is good timekeeping important? Logfiles timestamps File creation/modification times Programs which need absolute time astronomical ephemerides Security programs which have timeouts Kerberos Cluster of computers needing to have the same time

Time Two types of time: Hardware time Kept on the motherboard, settable in BIOS. System time Kept by kernel, used by the system

Time Ways to set time: Manually entered at the keyboard Querying the hardware clock Syncing to a time source Network Directly connected hardware (e.g. radio, GPS)

Manually Setting Time date The date command returns the current system time when given no arguments. A formatting template can be specified to print date/time different ways useful for log files If arguments are given, the date command will set the system time date [MMDDhhmm[[CC]YY][.ss]] Example: date 020413542003

Manually Setting Time date Exercises Set the date on your system based on the reading on your watch: # /bin/date 021014232004.00 Print out the month, date and year as ddmmmyyyy # /bin/date +'%d%b%y'

Manually Setting Time hwclock The hwclock command returns the current hardware time when given no arguments. Hwclock can set both the system clock and the hardware clock: hwclock hctosys hwclock systohc hwclock set date=date string

Manually Setting Time hwclock hwclock is often run on boot up and shutdown /etc/rc.d/rc.sysinit /etc/rc.d/init.d/halt

Manually Setting Time hwclock Exercise Use hwclock to set the system time from the hardware time: # /bin/date 02101043 # /bin/date # /sbin/hwclock hctosys

Syncing Time ntp NTP, the Network Time Protocol, allows time clients to sync their clocks with time servers. NTP allows for automating the setting of your clock NTP provides much more accurate time stamps NTP servers are layered by strata. Stratum 1 servers are connected to hardware time sources. Stratum 2 servers sync with these and so on...

Syncing Time ntp You can configure your computer to be a client or a peer Simplest configuration: Add the following to /etc/ntp.conf server tick.iastate.edu server tock.iastate.edu server chime.iastate.edu This instructs the ntp daemon to act as a client and use these three machines as servers

Syncing Time ntpdate Create the file /etc/ntp/step tickers with the entry time.iastate.edu When ntp is started on boot up, the ntpdate command will use this file to give the clock an initial value. If this isn't done, and the time difference is too great, ntp will exit

Syncing Time ntpdate If you do not need up to the second time synchronization, you can use the command ntpdate as a one shot to set the time once. ntpdate u time.iastate.edu You can also add ntpdate to your crontab file to periodically sync the time 0 8,18 * * * /usr/sbin/ntpdate u time.iastate.edu

Time Zones What time it is depends on where your server is physically located. System clock stores time in seconds since the epoch (1970) and this may be in Universal Time Coordinates (UTC) Your system needs a way to convert this to something humans can understand

Time Zones The date command depends on the time and localtime C functions to convert the seconds since the epoch to date, hours, minutes and seconds localtime depends on time zone information Information for all time zones is stored in /usr/share/zoneinfo A copy of the zone data for the machine is in /etc/localtime

Time Zones The command zdump can be used to determine when a system believes DST begins and ends /usr/sbin/zdump v etc/localtime grep 2008 When time zone info changes, Red Hat will update the tzdata package For other systems, you may have to download the zoneinfo files and compile them with the command zic