How to start DHCP service on OpenNMS server.

By default , you cannot start DHCP Service on OpenNMS server because OpenNMS server has installed DHCP client. If you want to start DHCP Server on same OpenNMS server , please stop DHCP client before.

These are steps :

  1. Check all services which start from OpenNMS
    # opennms -v status
  2. You should find :
    OpenNMS.Dhcpd          : running
  3. Disable this service by comment this service in /opt/opennms/etc/service-configuration.xml :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    <!--
    <service>
    <name>OpenNMS:Name=Dhcpd</name>
    <class-name>org.opennms.netmgt.dhcpd.jmx.Dhcpd</class-name>
    <invoke at="start" pass="1" method="start"></invoke>
    <invoke at="status" pass="0" method="status"></invoke>
    <invoke at="stop" pass="0" method="stop"></invoke>
    </service>
    -->
  4. Restart OpenNMS :
    # service opennms restart
  5. Start DHCP service :
    # service dhcpd start

Related Posts

This entry was posted in linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">