This section contains the procedures you need to configure HA for DHCP.
Some procedures within this section require you to use certain Oracle Solaris Cluster commands. Refer to the relevant Oracle Solaris Cluster command man page for more information about these command and their parameters.
Perform this procedure on one node of the cluster only.
This procedure assumes that you installed the data service packages during your initial Oracle Solaris Cluster installation.
If you did not install the HA for DHCP packages as part of your initial Oracle Solaris Cluster installation, go to How to Install the HA for DHCP Package.
# clresourcetype register SUNW.HAStoragePlus # clresourcetype register SUNW.gds
# clresourcegroup create -n nodelist dhcp-resource-group
# clreslogicalhostname create -g dhcp-resource-group \ -h logical-hostname \ logical-hostname-resource
# clresource create -g dhcp-resource-group \ -t SUNW.HAStoragePlus \ -p Zpools=dhcp-zspool \ dhcp-hastorage-resource
# clresource create -g dhcp-resource-group \ -t SUNW.HAStoragePlus \ -p FileSystemMountPoints=dhcp-filesystem-mountpoint \ dhcp-hastorage-resource
# clresourcegroup online -emM dhcp-resource-group
Edit /opt/SUNWscdhc/util/dhcp_config and follow the comments within that file. After you have edited dhcp_config, you must register the resource.
# cd /opt/SUNWscdhc/util # pfedit dhcp_config # ./dhcp_register
The following example shows dhcp_config that has been edited for a two node cluster with IPMP. The entries for Oracle Solaris Cluster Carrier-Grade Edition can be ignored.
RS=dhcp RG=dhcp-rg PORT=23 LH=dhcp-lh NETWORK=192.168.100.0@sc_ipmp0@1/192.168.100.0@sc_ipmp0@2 HAS_RS=dhcp-has # Options to Oracle Solaris Cluster Carrier-Grade Edition USE_CGTP=FALSE USE_STATIC_DHCP=FALSE TEST_CLIENTID= TFTPTESTFILE=
# clresource enable dhcp-resource