Go to main content

Oracle® Solaris Cluster Data Service for DHCP Guide

Exit Print View

Updated: September 2015
 
 

Installing and Configuring DHCP

This section contains the procedures you need to install and configure DHCP.

How to Install and Configure DHCP

This section contains the procedures you need to install and configure DHCP.

  1. On a cluster member, assume the root role or assume a role that provides solaris.cluster.modify authorization.
  2. Create a cluster file system or highly available local file system for the DHCP files.

    Refer to Oracle Solaris Cluster 4.3 Software Installation Guide for information about creating a cluster file system and to Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide for information about creating a highly available local file system.

  3. Mount the highly available local file system if used.
  4. Configure DHCP.

    Execute /usr/sadm/admin/bin/dhcpmgr.

    # /usr/sadm/admin/bin/dhcpmgr
    • Choose Configure as DHCP Server.

    • Choose Text files or Binary files.

    • Enter a path for the DHCP network table.

    • Choose which name services to use to store host records.

    • Choose Length of Lease and whether clients can renew their leases.

    • If used, supply a DNS configuration for the DHCP client of this server.

    • Add which network and network mask should provide IP Addresses.

    • Choose LAN as Network Type.

    • If used, supply a NIS configuration for the DHCP clients of this server.

    • If used, supply a NIS+ configuration for the DHCP clients of this server.

    • Create your addresses and macros.

  5. Ensure /etc/inet/dhcpsvc.conf is the same on all cluster nodes.

    This can be done using one of the following actions:

    • Copying /etc/inet/dhcpsvc.conf to each cluster node.

    • Moving your edited /etc/inet/dhcpsvc.conf to a cluster file system and create a symbolic link from /etc/inet/dhcpsvc.conf to dhcpsvc.conf on the cluster file system.

  6. Ensure DHCP is stopped on all nodes.
    # /usr/sadm/admin/bin/dhcpmgr
    # svcadm disable dhcp-server