Discussion:
cfengine and DHCPD
Kyle Haefner
2012-11-30 16:37:58 UTC
Permalink
Hi all,

I run dhcp in HA mode on both of my sipx (4.6) servers. I have the service
as unmanaged so sipx does not re-write my special configuration. The
problem I have is that cfengine removes dhcp from starting in chkconfig on
the secondary server (the UI won't let you run dhcp on both nodes). My
question is where do I modify the settings so that cf engine will let me
run dhcp on the second node (I know I can delete
/usr/share/sipxecs/cfinputs/plugin.d/dhcpd file but this is rewritten on
upgrading).

Thanks!

Kyle
--
Kyle Haefner, M.S.
Communication Systems Programmer
Colorado State University
Fort Collins, CO
Phone: 970-491-1012
Email: ***@colostate.edu

01010010 01100101 01100001 01101100 00100000 01101101 01100101 01101110
00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101
00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001
01110010 01111001 00101110
Douglas Hubler
2012-11-30 19:03:11 UTC
Permalink
On Fri, Nov 30, 2012 at 11:37 AM, Kyle Haefner
Post by Kyle Haefner
I run dhcp in HA mode on both of my sipx (4.6) servers. I have the service
as unmanaged so sipx does not re-write my special configuration. The
problem I have is that cfengine removes dhcp from starting in chkconfig on
the secondary server (the UI won't let you run dhcp on both nodes). My
question is where do I modify the settings so that cf engine will let me run
dhcp on the second node (I know I can delete
/usr/share/sipxecs/cfinputs/plugin.d/dhcpd file but this is rewritten on
upgrading).
Can you try moving aside dhcpd.cf and replacing with this file
dhcpd.cf and let me know how it works. If it does i'll check it in so
your file is not replaced

Also, I may have already asked you this, but is there a general way to
make dhcpd redundant? I recall googling this and getting a little
confused on the subject.
Douglas Hubler
2012-11-30 19:09:32 UTC
Permalink
This might not actually work now that i think about it.

Easier fix is to allow dhcpd redundant so you can mark it On but
Unmanaged at each site. So do please share your wisdom on redundant
dhcpd.
Post by Douglas Hubler
On Fri, Nov 30, 2012 at 11:37 AM, Kyle Haefner
Post by Kyle Haefner
I run dhcp in HA mode on both of my sipx (4.6) servers. I have the service
as unmanaged so sipx does not re-write my special configuration. The
problem I have is that cfengine removes dhcp from starting in chkconfig on
the secondary server (the UI won't let you run dhcp on both nodes). My
question is where do I modify the settings so that cf engine will let me run
dhcp on the second node (I know I can delete
/usr/share/sipxecs/cfinputs/plugin.d/dhcpd file but this is rewritten on
upgrading).
Can you try moving aside dhcpd.cf and replacing with this file
dhcpd.cf and let me know how it works. If it does i'll check it in so
your file is not replaced
Also, I may have already asked you this, but is there a general way to
make dhcpd redundant? I recall googling this and getting a little
confused on the subject.
Kyle Haefner
2012-11-30 20:09:29 UTC
Permalink
Hi Duglas,

It is super easy. http://wiki.sipfoundry.org/display/sipXecs/HA+DHCP

Thanks!

Kyle
Post by Douglas Hubler
This might not actually work now that i think about it.
Easier fix is to allow dhcpd redundant so you can mark it On but
Unmanaged at each site. So do please share your wisdom on redundant
dhcpd.
Post by Douglas Hubler
On Fri, Nov 30, 2012 at 11:37 AM, Kyle Haefner
Post by Kyle Haefner
I run dhcp in HA mode on both of my sipx (4.6) servers. I have the
service
Post by Douglas Hubler
Post by Kyle Haefner
as unmanaged so sipx does not re-write my special configuration. The
problem I have is that cfengine removes dhcp from starting in chkconfig
on
Post by Douglas Hubler
Post by Kyle Haefner
the secondary server (the UI won't let you run dhcp on both nodes). My
question is where do I modify the settings so that cf engine will let
me run
Post by Douglas Hubler
Post by Kyle Haefner
dhcp on the second node (I know I can delete
/usr/share/sipxecs/cfinputs/plugin.d/dhcpd file but this is rewritten on
upgrading).
Can you try moving aside dhcpd.cf and replacing with this file
dhcpd.cf and let me know how it works. If it does i'll check it in so
your file is not replaced
Also, I may have already asked you this, but is there a general way to
make dhcpd redundant? I recall googling this and getting a little
confused on the subject.
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
Kyle Haefner, M.S.
Communication Systems Programmer
Colorado State University
Fort Collins, CO
Phone: 970-491-1012
Email: ***@colostate.edu

01010010 01100101 01100001 01101100 00100000 01101101 01100101 01101110
00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101
00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001
01110010 01111001 00101110
Trevor L Benson
2012-11-30 21:33:07 UTC
Permalink
Might be a stretch (for 4.6 at least) but cfengine configuring the failover DHCPD should be easily achievable. I have always wondered about servers inside Branch's. Branches might be a good way to determine clustered or individual DHCPD service. That is of course unless branches have some other or conflicting use when it comes to placing servers inside them?

Thanks,
Trevor Benson, Network Engineer
A1 Networks
Voice: 707-703-1041
Post by Kyle Haefner
Hi Duglas,
It is super easy. http://wiki.sipfoundry.org/display/sipXecs/HA+DHCP
Thanks!
Kyle
This might not actually work now that i think about it.
Easier fix is to allow dhcpd redundant so you can mark it On but
Unmanaged at each site. So do please share your wisdom on redundant
dhcpd.
Post by Douglas Hubler
On Fri, Nov 30, 2012 at 11:37 AM, Kyle Haefner
Post by Kyle Haefner
I run dhcp in HA mode on both of my sipx (4.6) servers. I have the service
as unmanaged so sipx does not re-write my special configuration. The
problem I have is that cfengine removes dhcp from starting in chkconfig on
the secondary server (the UI won't let you run dhcp on both nodes). My
question is where do I modify the settings so that cf engine will let me run
dhcp on the second node (I know I can delete
/usr/share/sipxecs/cfinputs/plugin.d/dhcpd file but this is rewritten on
upgrading).
Can you try moving aside dhcpd.cf and replacing with this file
dhcpd.cf and let me know how it works. If it does i'll check it in so
your file is not replaced
Also, I may have already asked you this, but is there a general way to
make dhcpd redundant? I recall googling this and getting a little
confused on the subject.
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
Kyle Haefner, M.S.
Communication Systems Programmer
Colorado State University
Fort Collins, CO
Phone: 970-491-1012
01010010 01100101 01100001 01101100 00100000 01101101 01100101 01101110 00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101 00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101110
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
Loading...