<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>The Protocol Used Between the Director and the Storage Daemon</TITLE> <META NAME="description" CONTENT="The Protocol Used Between the Director and the Storage Daemon"> <META NAME="keywords" CONTENT="developers"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="developers.css"> <LINK REL="previous" HREF="General_Daemon_Protocol.html"> <LINK REL="up" HREF="Daemon_Protocol.html"> <LINK REL="next" HREF="Save_Protocol_Between_File.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html850" HREF="Save_Protocol_Between_File.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html844" HREF="Daemon_Protocol.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html840" HREF="General_Daemon_Protocol.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html846" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html848" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html851" HREF="Save_Protocol_Between_File.html">The Save Protocol Between</A> <B> Up:</B> <A NAME="tex2html845" HREF="Daemon_Protocol.html">Daemon Protocol</A> <B> Previous:</B> <A NAME="tex2html841" HREF="General_Daemon_Protocol.html">General Daemon Protocol</A> <B> <A NAME="tex2html847" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html849" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION00650000000000000000"></A> <A NAME="1864"></A> <A NAME="1865"></A> <BR> The Protocol Used Between the Director and the File Daemon </H1> <P> A typical conversation might look like the following: <P> <PRE> FD: listens DR: makes connection DR: Hello <Director-name> calling <password> FD: 2000 OK Hello DR: JobId=nnn Authorization=<password> FD: 2000 OK Job DR: storage address = <Storage daemon address> port = <port-number> name = <DeviceName> mediatype = <MediaType> FD: 2000 OK storage DR: include DR: <directory1> DR: <directory2> ... DR: Null packet FD: 2000 OK include DR: exclude DR: <directory1> DR: <directory2> ... DR: Null packet FD: 2000 OK exclude DR: full FD: 2000 OK full DR: save FD: 2000 OK save FD: Attribute record for each file as sent to the Storage daemon (described above). FD: Null packet FD: <append close responses from Storage daemon> e.g. 3000 OK Volumes = <number of volumes> 3001 Volume = <volume-id> <start file> <start block> <end file> <end block> <volume session-id> 3002 Volume data = <date/time of last write> <Number bytes written> <number errors> ... additional Volume / Volume data pairs for volumes 2 .. n FD: Null packet FD: close socket </PRE> <P> <BR><HR> <ADDRESS> 2010-06-14 </ADDRESS> </BODY> </HTML>