Re: Best practize to store the ZONE files

2011-01-03 Thread Kevin Darcy

It's really more of an OS tuning question, isn't it?

The usage pattern of a BIND instance is:
a) not much writing of master zone files or journal files unless Dynamic 
Update is enabled and the frequency of updates is relatively high,
b) not much writing of slave/stub zone files or journal files, unless 
the zones have aggressive REFRESH settings and frequent updates
c) not much reading of zone files except at startup or restart/reload, 
or possibly whenever writes occur, to read the zone data back into memory


Now, given the usage pattern(s), how best to tune performance, based on 
the capabilities/limitations of the underlying OS and hardware? Same 
partition and/or filesystem versus separate partitions and/or 
filesystems? A different type of filesystem? Is the disk storage RAIDed? 
Striped? Mirrored? Is a journaling filesystem in use?


Older filesystems used to run into performance problems when directories 
got really large, so some folks used to split up their zones by the 
initial letter of the zone name, e.g. zonefiles/a/aardvark.com, 
zonefiles/b/beetlebomb.com. I don't know if that's still an issue with 
modern filesystems though. We've never had more than a few thousand 
zones, with relatively rare restarts/reloads, and most of the zones not 
changing very frequently, so we haven't noticed any problems, and 
haven't resorted to any special setup for storing zone files.


It occurs to me that the journal zone-level option in modern versions 
of BIND could theoretically be used to group all of the journal files 
into a separate filesystem/slice/partition, which might be better tuned 
for frequent updates, than the zone files themselves, which would change 
relatively infrequently. I haven't tested this theory though...




- Kevin


On 12/31/2010 12:24 AM, Michelle Konzack wrote:

Hello *,

I am hosting on my 6 NameServers 200.000 Domains and now in the meantime
it becomes  complicate  because  they  are  arround  230.000  files  now
including sub domains.

There are currrently 18 TLs.

My Question is:

 How do you handel such amount of files and where is the best
 place to store them on a Debian System (Lenny/Squeeze).

 Do you recommend to store it on a seperated partition, even
 if they have currently only arround 87 MByte?

Thanks, Greetings and nice Day/Evening
 Michelle Konzack



___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Best practize to store the ZONE files

2010-12-30 Thread Michelle Konzack
Hello *,

I am hosting on my 6 NameServers 200.000 Domains and now in the meantime
it becomes  complicate  because  they  are  arround  230.000  files  now
including sub domains.

There are currrently 18 TLs.

My Question is:

How do you handel such amount of files and where is the best
place to store them on a Debian System (Lenny/Squeeze).

Do you recommend to store it on a seperated partition, even
if they have currently only arround 87 MByte?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users