Amanda-Users

Source code hierarchy information

2006-06-26 06:01:53
Subject: Source code hierarchy information
From: silpa kala <silpakala AT yahoo DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 26 Jun 2006 01:53:24 -0700 (PDT)
Hi,

Anybody help me out to understand the source code.I
given the information what i understood. Please
correct me if I am wrong.

Planner sends the request to the client(amandad)to get
the estimation of the backup data. planner module is
present at server side and amandad service is present
at the client side. Suppose if i am taking the backup
only for the server means DLE has an entry with the
server address. In this scenario the server act as a
client, server bind the ipaddress as a noop,0.0.0.0
and client bind the ipaddress and port no
as 120.120.120.120:10080. {My server address is
120.120.120.120). 

Client has the module ?noop? , which provides the
compatibility with the server module.

Client has the module ?Sendsize? which send the
estimated size information to the server.

Planner sends this information to the driver which
initiates the dumper and taper process.

Client has the ?sendbackup? module , which bind the IP
address has 120.120.120.120 with the port no as TCP
unprivileged ports and make the connection with the
dumper has the IP address as 0.0.0.0 with the
privileged port no. Sendbackup connects three port nos
which has to send the backup image, message and index.

Runtar, Rundump module performs the backup according
the program configured as tar ,dump respectively
Sendbackup module send the information to the dumper
through the sockets.  

Dumper send the data to the holding disk. Taper reads
the data from the holding disk to the taper. Taper
writes the data to the tape. Here socket connection is
not required between the dumper and taper.

But if the holding disk is too small, then the dumper
directly send the data to the taper, Which uses the 
socket connection through the TCP. Because the taper
and dumper is present in the single module. Please
provide what IP address and port no is used to connect
between the taper and dumper. 

I have one more question:

Suppose if I want to eliminate the sockets for the
security reason (because of the port no) How can I
approach . Please provide me the details.

Thanks & Regards,
Silpakala





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

<Prev in Thread] Current Thread [Next in Thread>