Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for DHCP Guide Oracle Solaris Cluster 4.0 |
1. Installing and Configuring HA for DHCP
Overview of Installing and Configuring HA for DHCP
Planning the HA for DHCP Installation and Configuration
Restriction for the supported configurations of HA for DHCP
Restriction for the location of DHCP files
Required /etc/inet/dhcpsvc.conf parameters.
Installing and Configuring DHCP
How to Install and Configure DHCP
Verifying the Installation and Configuration of DHCP
How to Verify the Installation and Configuration of DHCP
Installing the HA for DHCP Package
How to Install the HA for DHCP Package
Verifying the HA for DHCP Installation and Configuration
How to Verify the HA for DHCP Installation and Configuration
How to Upgrade to the New Version of HA for DHCP
Understanding the HA for DHCP Fault Monitor
Probing Algorithm and Functionality
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 # vi 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