Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP Not issuing Leases in HA cluster-cluster on VMWare

Hi All
I'm getting any dhcp leases issued if I look into the Dhcp log I see the Below.
With about evey minute it looks like it is in a continual loop.
I have got the occasional email saying that the Dhcp system has been restarted.

Any thoughts

Mark


2012:09:18-10:54:59 Master-2 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:54:59 Master-2 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:54:59 Master-2 dhcpd: All rights reserved.
2012:09:18-10:54:59 Master-2 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:54:59 Master-2 dhcpd: WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
2012:09:18-10:54:59 Master-2 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:54:59 Master-2 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:54:59 Master-2 dhcpd: All rights reserved.
2012:09:18-10:54:59 Master-2 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:54:59 Master-2 dhcpd: Wrote 0 deleted host decls to leases file.
2012:09:18-10:54:59 Master-2 dhcpd: Wrote 0 new dynamic host decls to leases file.
2012:09:18-10:54:59 Master-2 dhcpd: Wrote 0 leases to leases file.
2012:09:18-10:54:59 Master-2 dhcpd: Listening on LPF/eth2/00:1a:8c:f0[:D]7:02/192.168.10.0/24
2012:09:18-10:54:59 Master-2 dhcpd: Sending on   LPF/eth2/00:1a:8c:f0[:D]7:02/192.168.10.0/24
2012:09:18-10:54:59 Master-2 dhcpd: Sending on   Socket/fallback/fallback-net
2012:09:18-10:55:00 Master-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:55:00 Master-1 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:55:00 Master-1 dhcpd: All rights reserved.
2012:09:18-10:55:00 Master-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:55:00 Master-1 dhcpd: WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
2012:09:18-10:55:00 Master-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:55:00 Master-1 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:55:00 Master-1 dhcpd: All rights reserved.
2012:09:18-10:55:00 Master-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:55:00 Master-1 dhcpd: Wrote 0 deleted host decls to leases file.
2012:09:18-10:55:00 Master-1 dhcpd: Wrote 0 new dynamic host decls to leases file.
2012:09:18-10:55:00 Master-1 dhcpd: Wrote 0 leases to leases file.
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: No subnet declaration for eth2 (no IPv4 addresses).
2012:09:18-10:55:00 Master-1 dhcpd: ** Ignoring requests on eth2.  If this is not what
2012:09:18-10:55:00 Master-1 dhcpd:    you want, please write a subnet declaration
2012:09:18-10:55:00 Master-1 dhcpd:    in your dhcpd.conf file for the network segment
2012:09:18-10:55:00 Master-1 dhcpd:    to which interface eth2 is attached. **
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: Not configured to listen on any interfaces!
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: If you did not get this software from ftp.isc.org, please
2012:09:18-10:55:00 Master-1 dhcpd: get the latest from ftp.isc.org and install that before
2012:09:18-10:55:00 Master-1 dhcpd: requesting help.
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: If you did get this software from ftp.isc.org and have not
2012:09:18-10:55:00 Master-1 dhcpd: yet read the README, please read it before requesting help.
2012:09:18-10:55:00 Master-1 dhcpd: If you intend to request help from the dhcp-server@isc.org
2012:09:18-10:55:00 Master-1 dhcpd: mailing list, please read the section on the README about
2012:09:18-10:55:00 Master-1 dhcpd: submitting bug reports and requests for help.
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: Please do not under any circumstances send requests for
2012:09:18-10:55:00 Master-1 dhcpd: help directly to the authors of this software - please
2012:09:18-10:55:00 Master-1 dhcpd: send them to the appropriate mailing list as described in
2012:09:18-10:55:00 Master-1 dhcpd: the README file.
2012:09:18-10:55:00 Master-1 dhcpd: 
2012:09:18-10:55:00 Master-1 dhcpd: exiting.
2012:09:18-10:55:30 Master-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:55:30 Master-1 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:55:30 Master-1 dhcpd: All rights reserved.
2012:09:18-10:55:30 Master-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:55:30 Master-1 dhcpd: WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
2012:09:18-10:55:30 Master-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
2012:09:18-10:55:30 Master-1 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
2012:09:18-10:55:30 Master-1 dhcpd: All rights reserved.
2012:09:18-10:55:30 Master-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2012:09:18-10:55:30 Master-1 dhcpd: Wrote 0 deleted host decls to leases file.
2012:09:18-10:55:30 Master-1 dhcpd: Wrote 0 new dynamic host decls to leases file.
2012:09:18-10:55:30 Master-1 dhcpd: Wrote 0 leases to leases file.
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: No subnet declaration for eth2 (no IPv4 addresses).
2012:09:18-10:55:30 Master-1 dhcpd: ** Ignoring requests on eth2.  If this is not what
2012:09:18-10:55:30 Master-1 dhcpd:    you want, please write a subnet declaration
2012:09:18-10:55:30 Master-1 dhcpd:    in your dhcpd.conf file for the network segment
2012:09:18-10:55:30 Master-1 dhcpd:    to which interface eth2 is attached. **
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: Not configured to listen on any interfaces!
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: If you did not get this software from ftp.isc.org, please
2012:09:18-10:55:30 Master-1 dhcpd: get the latest from ftp.isc.org and install that before
2012:09:18-10:55:30 Master-1 dhcpd: requesting help.
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: If you did get this software from ftp.isc.org and have not
2012:09:18-10:55:30 Master-1 dhcpd: yet read the README, please read it before requesting help.
2012:09:18-10:55:30 Master-1 dhcpd: If you intend to request help from the dhcp-server@isc.org
2012:09:18-10:55:30 Master-1 dhcpd: mailing list, please read the section on the README about
2012:09:18-10:55:30 Master-1 dhcpd: submitting bug reports and requests for help.
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: Please do not under any circumstances send requests for
2012:09:18-10:55:30 Master-1 dhcpd: help directly to the authors of this software - please
2012:09:18-10:55:30 Master-1 dhcpd: send them to the appropriate mailing list as described in
2012:09:18-10:55:30 Master-1 dhcpd: the README file.
2012:09:18-10:55:30 Master-1 dhcpd: 
2012:09:18-10:55:30 Master-1 dhcpd: exiting.


This thread was automatically locked due to age.
  • Hey Mark,

    It looks like 1 is the Master and 2 is the Slave.  DHCP works fine on 1, but shouldn't be running on 2.  Have you tried rebooting 2?

    Cheers - Bob
    PS It's a little confusing to the rest of us when you name the cluster "Master" as that's a term with specific meaning.
  • As this is my first experiment with HA.
    Can you recommend a Best practice or General use Naming convention for naming these.
    As you may have guessed I called one Master and then next one Slave.

    Thanks
    Bob
  • Ah 
    In the above copy from Dhcp log file I had called the Host name Master, So why Master-1 and Master-2.
    I found that if I shutdown the Slave and Restarted the DHCP server on the Master That It would issue DHCP leases. I then brought up Slave and it is currently still syncing.
    Log file looks better though. (Host name changed to fmaster. I couldn't think of anything inspired at the time).

    Mark

    2012:09:19-11:24:02 fmaster-2 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R5
    2012:09:19-11:24:02 fmaster-2 dhcpd: Copyright 2004-2012 Internet Systems Consortium.
    2012:09:19-11:24:02 fmaster-2 dhcpd: All rights reserved.
    2012:09:19-11:24:02 fmaster-2 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
    2012:09:19-11:24:02 fmaster-2 dhcpd: Wrote 0 deleted host decls to leases file.
    2012:09:19-11:24:02 fmaster-2 dhcpd: Wrote 0 new dynamic host decls to leases file.
    2012:09:19-11:24:02 fmaster-2 dhcpd: Wrote 1 leases to leases file.
    2012:09:19-11:24:02 fmaster-2 dhcpd: Listening on LPF/eth2/00:1a:8c:f0[:D]7:02/192.168.10.0/24
    2012:09:19-11:24:02 fmaster-2 dhcpd: Sending on LPF/eth2/00:1a:8c:f0[:D]7:02/192.168.10.0/24
    2012:09:19-11:24:02 fmaster-2 dhcpd: Sending on Socket/fallback/fallback-net
  • I'd say always use a hostname that is an FQDN that resolves in public DNS to the primary public IP on your External interface, even if that's a DynDNS address like netmark.dyndns.org.  If you don't, then you are stuck with mucking around with the SMTP Proxy, VPNs and certificates.

    Cheers - Bob
  • Magically all fixed after shutting down Slave and rebooting Master then re-syncing Slave.

    Mark