AMANDA Under the Hood John R. Jackson Purdue University Computing Center

Slides:



Advertisements
Similar presentations
Working With AMANDA John R. Jackson Purdue University Computing Center
Advertisements

Categories of I/O Devices
Device Drivers. Linux Device Drivers Linux supports three types of hardware device: character, block and network –character devices: R/W without buffering.
HEPiX, CASPUR, April 3-7, 2006 – Steve McDonald TRIUMF Steven McDonald & Konstantin Olchanski TRIUMF Network & Computing Services
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
A Guide to Unix Using Linux Fourth Edition
CS490T Advanced Tablet Platform Applications Network Programming Evolution.
Chapter 12 - Backup and Disaster Recovery1 Ch. 12 – Backups and Disaster Recovery MIS 431 – Created Spring 2006.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
File Transfer: FTP and TFTP
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Operational Dataset Update Functionality Included in the NCAR Research Data Archive Management System 1 Zaihua Ji Doug Schuster Steven Worley Computational.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
John Degenhart Joseph Allen.  What is FTP?  Communication over Control connection  Communication over Data Connection  File Type  Data Structure.
File Transfer Protocol (FTP)
File Transfer Protocol CS-328 Dick Steflik. FTP RFC 959 uses two TCP Ports –one for control –one for data transfers command-response protocol control.
Conceptual Architecture of PostgreSQL PopSQL Andrew Heard, Daniel Basilio, Eril Berkok, Julia Canella, Mark Fischer, Misiu Godfrey.
Process-to-Process Delivery:
IBM Software Group Washington Area Informix User Group Forum 2004 The DB2 DBA Checklist Dwaine R Snow, DB2 & Informix.
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
A Guide to Unix Using Linux Fourth Edition
Chapter 17 Domain Name System
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
Real-time Systems Lab, Computer Science and Engineering, ASU Linux Input Systems (ESP – Fall 2014) Computer Science & Engineering Department Arizona State.
Simple Mail Transfer Protocol (SMTP)
RjpSystem Level Programming Operating Systems 1 Having fun withy the Unix Operating System Praxis Week 7 Rob Pooley.
I/O Systems I/O Hardware Application I/O Interface
Ch 6. Performance Rating Windows 7 adjusts itself to match the ability of the hardware –Aero Theme v. Windows Basic –Gaming features –TV recording –Video.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
Linux Networking and Security
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
1 Kyung Hee University Chapter 18 Domain Name System.
Device Drivers CPU I/O Interface Device Driver DEVICECONTROL OPERATIONSDATA TRANSFER OPERATIONS Disk Seek to Sector, Track, Cyl. Seek Home Position.
A Brief Documentation.  Provides basic information about connection, server, and client.
APST Internals Sathish Vadhiyar. apstd daemon should be started on the local resource Opens a port to listen for apst client requests Runs on the host.
1 Daemons & inetd Refs: Chapter Daemons A daemon is a process that: –runs in the background –not associated with any terminal Unix systems typically.
Hepix LAL April 2001 An alternative to ftp : bbftp Gilles Farrache In2p3 Computing Center
File Systems cs550 Operating Systems David Monismith.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
1 Tips for the assignment. 2 Socket: a door between application process and end- end-transport protocol (UDP or TCP) TCP service: reliable transfer of.
Amanda Mitch Collinsworth Cornell Center for Materials Research.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TNPM v1.3 Flow Control. 2 High Level Instead of each component having flow control settings that govern only its directory, we now have a set of flow.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Kevin Brouelette OCLUG
The Distributed Application Debugger (DAD)
Module 12: I/O Systems I/O hardware Application I/O Interface
Filesystem Management and Backups
ITIS 3110 IT Infrastructure II
Chapter 2: System Structures
Chapter 14 User Datagram Protocol (UDP)
Process-to-Process Delivery:
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
Conceptual Architecture of PostgreSQL
Conceptual Architecture of PostgreSQL
Daemons & inetd Refs: Chapter 12.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
AWS S3 Cloud Backup Licensing per system Starting at $79 per year.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Exceptions and networking
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

AMANDA Under the Hood John R. Jackson Purdue University Computing Center

Overview Not a backup program itself Manages other standard backup programs –System dump –GNU tar –smbtar Optimized schedule –Dump cycle –Tape cycle –Estimated image sizes

Overview (continued) driver plannerdriver dumper taper sendsizesendbackup holding disk tape client

Planner Get estimated image sizes –sendsize on client –Level 0 –Same level as last time –Next level –etimeout * number of disks Analyze and pick initial level Delay full dumps if total size too big Promote full dumps if total size too small Sort by priority, then size

Strategy standard nofull noinc incronly skip

Driver Gets sorted list from planner –Normal level –Degraded mode level Starts one or more dumpers (inparallel) Starts one taper

Driver (continued) Pick from beginning or end of queue? Is it time to start this host? Is it time to start this disk? Is there enough bandwidth? Is there enough holding disk space? Is use of a holding disk allowed? Are we below the client maxdumps limit? Is this a different spindle?

Dumper Start sendbackup on client –Messages port –Data port (possibly encrypted) –Index port (optional) Insert server side compression if requested If FILE-DUMP: –Write tape header to holding disk chunk –Write data stream to holding disk chunk –Request new holding disk chunks from driver as needed Else (PORT-DUMP): –Pass image to taper via localhost TCP connection

Sendbackup backup program compression restore program stderr sendbackup stdout msgsdataindex stdin /dev/null

Taper Run tape changer Validate proper tape is mounted and rewrite label Handle FILE-WRITE and PORT-WRITE commands Write image to tape in 32 Kbyte chunks Fail or advance to next tape on error

Taper (continued) Split into reader and writer Shared memory buffer (e.g. 20 * 32 Kbytes) Writer waits for all buffers full (or done) Writer outputs as fast as possible for streaming On error: –Advance to next tape if changer –Driver starts whole image over again

Amandad UDP for now Client has no access to amanda.conf Security checks Run requested service –selfcheck –sendsize –sendbackup

Files Curinfo Tapelist B00116 reuse B00115 reuse … log.. –Updated by driver, dumper and taper –Used by amreport to generate amdump. –detailed status –stdout/stderr from all programs –used by amstatus /tmp/amanda/*.debug

Administrative Tools amcheck amdump amflush amadmin amstatus amplot amverify

Administrative Tools (continued) amtoc amlabel amrmtape amtape amcleanup amreport

Tape Format Label Tapemark Header Image Tapemark Header Image …

Tape Format (continued) No rewind!!! System-V access method, not BSD Tape label AMANDA: TAPESTART DATE TAPE B00116 Image header AMANDA: FILE fortress.cc.purdue.edu / lev 1 comp N program /usr/sbin/ufsdump To restore, position tape at start of file and run: dd if= bs=32k skip=1 | /usr/sbin/ufsrestore –f… -

Amrestore Takes host, disk and datestamp patterns Scans for all or first match Usually gives back image ready for restore Does not use any other AMANDA information

Amrecover Runs on client Talks to amindexd on server to get file data Talks to amidxtaped on tape host to read images FTP-like interface and protocol

Typical Problems Check/Estimate/Data timeouts Access not allowed Host down Disk offline I/O error port NN not secure Broken pipe