LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-21-2013, 12:53 PM   #1
Sniperm4n
LQ Newbie
 
Registered: May 2012
Posts: 27

Rep: Reputation: Disabled
Question regarding migrating the dhcpd.leases file for ISC-DHCP-SERVER


Backstory: I am in the process of replacing a SINGLE Debian 3.1 (Sarge) ISC-DHCP-SERVER (v3.0.1) with 2 Ubuntu 12.04 LTS x64 servers running ISC-DHCP-SERVER (v4.1-ESV-R4) in failover mode. I've been unable to find the answer to this on Google, and my internal testing on an empty subnet has yielded interesting results (please note I'm relatively new to Linux):

Here are my 3 questions:

1) Should I copy the dhcpd.leases and dhcpd.leases~ files from my Debian server to /var/lib/dhcp/ on both of the new servers and then start the DHCP services? Will the files then balance themselves?

2) Should I copy the dhcpd.leases and dhcpd.leases~ files to /var/lib/dhcp/ on only the primary failover server, and let the secondary server generate one from scratch after the DHCP services have been started?

3) Should I not bother copying the files at all, and let the 2 new Ubuntu servers generate the files from scratch in /var/lib/dhcp/?

TIA!
-Snipe
 
Old 05-22-2013, 03:41 PM   #2
Sniperm4n
LQ Newbie
 
Registered: May 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Decision made

Hi everyone,

Managed to get some help on another forum: I'll be going with brand new, empty files given the fact we don't care if we retain the same DHCP leases.

Thanks,
-Snipe
 
  


Reply

Tags
dhcp server, dhcpd, failover, ubuntu 12.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd leases file question firefly2442 Linux - Server 2 12-09-2010 02:49 PM
Delete leases from dhcpd.leases when remove a subnet from dhcpd.conf phongnh Linux - Server 2 10-12-2010 04:49 AM
Significance of dhcpd.leases file in the functionality of DHCP Neelima_MAV Linux - Networking 1 09-22-2009 01:18 PM
Wrote 0 leases to leases file - DHCP server lionel.rpm Linux - Server 3 07-22-2009 06:05 PM
DHCP on CentOS 4.7 - /var/lib/dhcp/dhcpd.leases: Permission denied Latitude Linux - Networking 1 06-05-2009 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration