This section contains the procedures you need to install and configure DHCP.
Use this procedure to install and configure DHCP.
Install the following packages from the Solaris CD:
SUNWdhcsu
SUNWdhcsb
SUNWdhcm
Mount DHCP Cluster File Systems – Ensure that the Cluster File System for the DHCP network table is mounted.
If a Failover File System is used by the DHCP network table, you must mount this manually.
Install the required DHCP patches.
Refer to Configuration Requirements for a list of patches that you need to install.
Run the following commands to configure DHCP –
# /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.
Check whether /etc/inet/dhcpsvc.confhas the following parameters defined.
DAEMON_ENABLED is always set to true.
PATH points to a Cluster File System.
RUN_MODE is always set to SERVER
RESOURCE is set to either SUNWbinfiles or SUNWfiles.
make sure /etc/inet/dhcpsvc.conf is consistent on all nodes within Sun Cluster that will host the DHCP service.
This can be done by either:
Copying /etc/inet/dhcpsvc.conf onto each node with Sun Cluster;
Moving your edited dhcpsvc.conf to your Cluster File System, and creating a symbolic link from /etc/inet/dhcpsvc.conf to dhcpsvc.conf within the Cluster File System.
Ensure that DHCP is stopped on all nodes.
# /etc/rc2.d/K21dhcp stop |
Disable DHCP startup on boot on all nodes.
# rm /etc/rc3.d/S34dhcp |