JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for DHCP Guide     Oracle Solaris Cluster 4.0
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for DHCP

HA for DHCP Overview

Overview of Installing and Configuring HA for DHCP

Planning the HA for DHCP Installation and Configuration

Configuration Restrictions

Restriction for the supported configurations of HA for DHCP

Restriction for the location of DHCP files

Configuration Requirements

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

Registering and Configuring HA for DHCP

How to Register and Configure HA for DHCP

Verifying the HA for DHCP Installation and Configuration

How to Verify the HA for DHCP Installation and Configuration

Upgrading HA for DHCP

How to Upgrade to the New Version of HA for DHCP

Understanding the HA for DHCP Fault Monitor

Resource Properties

Probing Algorithm and Functionality

DHCP Probe

Debug HA for DHCP

How to turn on debug for HA for DHCP

Index

Registering and Configuring HA for DHCP

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.

How to Register and Configure HA for DHCP

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.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
  2. Register the following resource types.
    # clresourcetype register SUNW.HAStoragePlus
    # clresourcetype register SUNW.gds
  3. Create a failover resource group for DHCP.
    # clresourcegroup create -n nodelist dhcp-resource-group
  4. Create a resource for the DHCP Logical Hostname.
    # clreslogicalhostname create -g dhcp-resource-group \
    > -h logical-hostname \
    > logical-hostname-resource
  5. Create a resource for the DHCP Disk Storage.
    1. If a ZFS highly available local file system is being used.
      # clresource create -g dhcp-resource-group \
      > -t SUNW.HAStoragePlus \
      > -p Zpools=dhcp-zspool \
      > dhcp-hastorage-resource
    2. If a cluster file system or a non ZFS highly available local file system is being used.
      # clresource create -g dhcp-resource-group \
      > -t SUNW.HAStoragePlus \
      > -p FilesystemMountPoints=dhcp-filesystem-mountpoint \
      > dhcp-hastorage-resource
  6. Enable the Resource Group.
    # clresourcegroup online -emM dhcp-resource-group
  7. Create and register a resource for DHCP.

    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=
  8. Enable the DHCP resource.
    # clresource enable dhcp-resource