Homework 5 DNS 、 HTTPD 、 SNMP. Requirements One dedicated domain name for yourself Setup DNS server with following records  SOA, NS, MX  Make them reasonable.

Slides:



Advertisements
Similar presentations
Back to the Future Performance Management in an Open Source World.
Advertisements

Module 10: Troubleshooting Active Directory, DNS, and Replication Issues.
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Implementing Domain Name System
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
DNS. DNS is a network service that enables clients to resolve names to IP address and vice-versa. Allows machines to be logically grouped by domain names.
Chapter 9: Configuring DNS for Active Directory
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
DOMAIN NAMING SYSTEM (AN OVERVIEW) By -DEEPAK. Topics --DNS What is DNS? Purpose of DNS DNS configuration files.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Course 6425A Module 2: Configuring Domain Name Service for Active Directory® Domain Services Presentation: 50 minutes Lab: 45 minutes This module helps.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
DNS and Active Directory Integration
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
Name Resolution Domain Name System.
Implementing DNS Module D 7: Implementing DNS
1 Objectives Discuss the basics of the Domain Name System (DNS) and its terminology Configure DNS clients Install a standard DNS server on Server 2008.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Configuring Global Server Load Balancing (GSLB)
Hsu Chun-Hung Network Benchmarking Lab
DNS & SPAM SHAREPOINT 2010 IT:NETWORK:APPLICATIONS.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
Secured Dynamic Updates. Caution Portions of this slide set present features that do not appear in BIND until BIND 9.3 –Snapshot code is available for.
Network and Server Statistics using Cacti. Introduction A tool to monitor, store and present network and system/server statistics Designed around RRDTool.
Objectives Discuss the basics of the Domain Name System (DNS) and its terminology Configure DNS clients Install a standard DNS server on Server 2008 Create.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
Distributed monitoring system. Why Monitor? Solve them! Identify Problems Ensure conduct Requirements Manage many computers Spot trends in the system.
Module 6: Managing and Monitoring Domain Name System (DNS)
Configuring and Troubleshooting Domain Name System
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
RRDtool Miroslav Siket FIO-FS /
New Delhi, India Smokeping/Cacti/Munin SANOG 10 Workshop August 29-Sep 2 – New Delhi, India Hervey Allen.
Homework 03 DNS. Computer Center, CS, NCTU 2 Architecture ns.a.nctucs.net a.a /24 ns.b.nctucs.net b.b /24 slave.
APRICOT 2010 Kuala Lumpur, Malaysia
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server How to configure as a Mail server.
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Linux Services Configuration
CERN DNS Load Balancing VladimírBahylIT-FIO NicholasGarfieldIT-CS.
Linux Operations and Administration
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Web Server Administration Chapter 4 Name Resolution.
SmokePing. Overview Network monitoring IP address, hostname Network services e.g. DNS, SMTP, HTTP Latency measurement Round trip delay time Historical.
1 CMPT 471 Networking II DNS © Janice Regan,
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
MRTG / RRDTool Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
DNS, DHCP and VPN Borislav Varadinov Telerik Software Academy academy.telerik.com System Administrator
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
Using RRDtool to graph sensor's data
Final Project SNMP. Computer Center, CS, NCTU 2 Introduction  Use SNMP to collect system information and graph with RRDTool  Prerequisites SNMP software.
1 Introduction to RRDTool Speaker: Yan-Shiang Wang Date:
Network administration HW3 吳宗翰 wutzh. Computer Center, CS, NCTU 2 Architecture.
Understand Names Resolution
released for field test training
Network Management Workshop
MRTG / RRDTool Network Management Workshop June 2009
Module 5: Resolving Host Names by Using Domain Name System (DNS)
Hands-On Microsoft Windows Server 2008
IMPLEMENTING NAME RESOLUTION USING DNS
Smokeping/Cacti/Munin
Network Monitoring & Management Tutorial
IIS.
Homework 04 Announce: Due:
Presentation transcript:

Homework 5 DNS 、 HTTPD 、 SNMP

Requirements One dedicated domain name for yourself Setup DNS server with following records  SOA, NS, MX  Make them reasonable NS Delegation (with team mates)  Dedicate a sub domain to each of your team mates  Building a slave server for your team mate  And a stub server for another team mate  Updates should be synchronized Reverse resolution for your NAT  x.0/24 for each of team mates

Requirements (Cont.) slave stub a.nctucs.net a.a /24 b.nctucs.net b.b /24 c.nctucs.net c.c /24

Requirements (Cont.) View  Create view.example.csie.net A record: Queries from /24:  view.example.csie.net A Otherwise, get your normal ip Logging  Record all records to /var/log/named.log  Do log rotate  Note: you will be asked for explaining the what does the log entry means in named.log

Requirements (Cont.) SPF/DomainKeys record for your server  Add resonable SPF/DomainKeys records  Configure your mail system to support these feature SSHFP record for your server  Make a reasonable setting

Requirements (Cont.) Dynamic DNS update  Your DNS should accept the update requests from and your team mates  You should know how to update a dns record Management  Your DNS server should support TSIG and allow the connection from  Your DNS server should only allow the AXFR request from  Only allow recursion query from your team mates and

Appendix Use ldap as backend database  dns/bind9-sdb-ldap   SPF setup wizard  DKIMproxy 

HTTPD

Requirements HTTPD  apache, lighttpd, nginx, etc..  PHP with fastcgi  HTTPS  Virtual Hosts  Reverse Proxy

SNMP

Requirement – Tools Goal – Implement simple SNMP agent and SNMP trapd for system resource monitoring Prerequisites – SNMP Software net-mgmt/net-snmp – Graphing tool databases/rrdtool – Perl module Net::SNMPTrapd(install it from CPAN by root) NetSNMP::agent(embedded on Net-snmp)

Requirement – SNMP Agent Functions of SNMP agent  get  set  getnext(bonus)  Auto trigger the trap if resource limit exceeded (every 30s) To get system resources  CPU/Memory/Disk usage  Network flow(incoming/outgoing)  Any resources you want(bonus)

Requirement – SNMP Trapd SNMP trapd  When server receives SNMP trap from client, then sends a mail to manager SNMP collecter agent SNMP trapd agent SNMP trap SNMP request SNMP agent:SNMP trapd:

Requirement – Front End Graphing  Multiple items with one graph

Introduction to RRDtool RRDtool was written by Tobi Oetiker, the author of MRTG Round Robin Database(RRD) Command line based Bindings exist for Perl, Python, Ruby, Tcl, PHP and Lua

RRDtool – QuickStart Part of functions(man rrdtool)  create Set up a new Round Robin Database (RRD).  update Store new data values into an RRD  graph Create a graph from data stored in one or several RRDs  dump Dump the contents of an RRD in plain ASCII Flow Fetch data update graphing Create RRD file

Define Data Sources (Inputs) DS:cpu:COUNTER:600:0:  DS = Data Source  cpu = variable name  COUNTER, GAUGE = variable type  600 = heartbeat, UNKNOWN returned for interval  0: = MIN:MAX, limits on variable

Define Archives (Outputs)‏ RRA:AVERAGE:0.5:1:24  RRA = Round Robin Archive  AVERAGE, MIN, MAX, LAST = consolidation function  0.5 = xfiles factor  1:24 = this RRA keeps each sample (average over one 5 minute primary sample), 24 times (which is 2 hours worth)‏ Ps. All depends on step size which defaults to 5 minutes

RRDtool – Create and Update // create.sh #!/bin/sh rrdtool create cpu.rrd -s 300 \ DS:rs:GAUGE:600:0: \ RRA:AVERAGE:0.5:1:603 \ RRA:AVERAGE:0.5:6:603 \ RRA:AVERAGE:0.5:24:603 \ RRA:AVERAGE:0.5:288:800 \ RRA:MAX:0.5:1:603 \ RRA:MAX:0.5:6:603 \ RRA:MAX:0.5:24:603 \ RRA:MAX:0.5:288:800 // update.sh data1=`hexdump -n4 -e\"%u\" /dev/random` data1c=`expr $data1 % 100` ${RRD_CMD} update ${CPU_RRD} ${NOW}:${data1c}

RRDtool – Graph // update.sh for t in H d w m y do ${RRD_CMD} graph ${IMAGE_PATH}/rs-${t}.png \ --title "NA rrdtool example " \ DEF:rs=${CPU_RRD}:rs:AVERAGE \ COMMENT:" \n" \ LINE1:rs#0055ff:"item1" \ GPRINT:rs:AVERAGE:"%6.0lf \n" \ -v "left (%%)" -l 0\ -Y -X b -h 250 -w 500 -s `date -v -1${t} +%s` done

Appendix Using CPAN with a non-root account – How to use rrdtool? – – rrdtool 中文教學 How to know OID is for? MIB browser Installation notes of NetSNMP – Configuration options [X] PERL Install additional perl modules [X] PERL_EMBEDDED Build embedded perl – Simply configure your /usr/local/share/snmp/snmpd.conf