Sun Cluster Data Service for DHCP ガイド (Solaris OS 版)

Sun Cluster HA for DHCP のインストールと構成の計画

ここでは、Sun Cluster HA for DHCP のインストールと構成の計画について説明します。

構成に関する制限事項

ここで示す制限事項を考慮して、Sun Cluster HA for DHCP のインストールと構成の計画を行なってください。ここでは、Sun Cluster HA for DHCP にのみ適用されるソフトウェアとハードウェア構成の制限事項を示します。


注意 – 注意 –

これらの制限事項を守らないと、データサービスの構成がサポートされない場合があります。


すべてのデータサービスに適用される制限事項については、『Sun Cluster Release Notes』を参照してください。

構成に関する要件

これらの要件は、Sun Cluster HA for DHCP にのみ適用されます。Sun Cluster HA for DHCP のインストールと構成を始める前に、次の要件を満たしておく必要があります。


注意 – 注意 –

次の要件を満たさないと、データサービスの構成がサポートされない場合があります。


DHCP のコンポーネントと依存関係 — Sun Cluster HA for DHCP データサービスは、DHCP コンポーネントを保護するように構成できます。このコンポーネントと依存関係について、次に説明します。

表 3 DHCP と依存関係 (-> 記号で示す)

コンポーネント 

説明 

DHCP サーバー(Mandatory)

-> SUNW.HAStoragePlus リソース

SUNW.HAStoragePlus リソースは、DHCP のファイルシステムのマウントポイントを管理し、ファイルシステムがマウントされるまでは DHCP が起動しないようにします。 

DHCP コンポーネントは、 /opt/SUNWscdhc/util に構成/登録ファイルがあります。これらのファイルによって、Sun Cluster に DHCP コンポーネントを登録できます。


例 1 Sun Cluster 用の DHCP 構成/登録ファイル


# cd /opt/SUNWscdhc
# 
# ls -l util/*
total 6
-rwxr-xr-x   1 root     sys         1094 Dec 20 14:44 dhcp_config
-rwxr-xr-x   1 root     sys          514 Dec 20 14:44 dhcp_register
#
# more util/*
::::::::::::::
util/dhcp_config
::::::::::::::
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# This file will be sourced in by dhcp_register and the parameters
# listed below will be used.
#
# These parameters can be customized in (key=value) form
#
#        RS - name of the resource for the application
#        RG - name of the resource group containing RS
#      PORT - name of any port number, as it's ignored
#        LH - name of the LogicalHostname SC resource
#   NETWORK - name of the DHCP Network, separated with a /
#               where each network is made up of the following
#               <network>@<nafo or ipmp>@node number
#
# Additional parameters to Sun Cluster Carrier-Grade Edition
#  USE_CGTP - ff CGTP is being used (TRUE/FALSE)
#  USE_STATIC_DHCP - ff static DHCP tables should be used (TRUE/FALSE)
#  TEST_CLIENTID - the mac-address of the test-client
#  TFTPTESTFILE - path to Tftp testfile
#
#       The following two examples illustrate sample parameters
#       for DHCP on a 2 node cluster (tequila/sunrise)
#
#       Sun Cluster 3.0 using nafo
#
#       NETWORK=192.168.100.0@nafo0@1/192.168.100.0@nafo0@2
#
#       Sun Cluster 3.1 using ipmp
#
#       NETWORK=192.168.100.0@ipmp0@1/192.168.100.0@ipmp0@2
#
RS=
RG=
PORT=
LH=
NETWORK=
HAS_RS=

# Options to Sun Cluster Carrier-Grade Edition

USE_CGTP=FALSE
USE_STATIC_DHCP=FALSE
TEST_CLIENTID=
TFTPTESTFILE=
::::::::::::::

Sun Cluster HA for DHCP データサービス – パッチ 109077-12 (またはそれ以降) と 111302-02 (またはそれ以降) を適用した Solaris 8 7/01 (またはそれ以降) または Solaris 9 が必要です。


注 –

/etc/inet/dhcpsvc.conf が DHCP サービスのホストとなる Sun Cluster 内の全ノードで整合性が保たれているか、または /etc/inet/dhcpsvc.conf がクラスタファイルシステム上のディレクトリ上にリンクされるようにしてください。


/etc/inet/dhcpsvc.conf パラメータ – /etc/inet/dhcpsvc.conf の次のパラメータを設定する必要があります。


注 –

DHCP 要求への応答に関しては、DHCP ネットワークテーブル用に SUNWbinfiles を使用して、DHCP が最高のパフォーマンスを発揮するようにしてください。


Sun Cluster Carrier-Grade 配備用の構成要件

これらの要件は、Sun Cluster HA for DHCP にのみ適用されます。Sun Cluster HA for DHCP のインストールと構成を始める前に、次の要件を満たしておく必要があります。


注意 – 注意 –

次の要件を満たさないと、データサービスの構成がサポートされない場合があります。


DHCP のコンポーネントと依存関係 — Sun Cluster HA for DHCP データサービスは、DHCP コンポーネントを保護するように構成できます。

DHCP コンポーネントは、 /opt/SUNWscdhc/util に構成/登録ファイルがあります。これらのファイルによって、Sun Cluster に DHCP コンポーネントを登録できます。


例 2 Sun Cluster 用の DHCP 構成/登録ファイル


# cd /opt/SUNWscdhc
# 
# ls -l util/*
total 6
-rwxr-xr-x   1 root     sys         1094 Dec 20 14:44 dhcp_config
-rwxr-xr-x   1 root     sys          514 Dec 20 14:44 dhcp_register
#
# more util/*
::::::::::::::
util/dhcp_config
::::::::::::::
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# This file will be sourced in by dhcp_register and the parameters
# listed below will be used.
#
# These parameters can be customized in (key=value) form
#
#        RS - name of the resource for the application
#        RG - name of the resource group containing RS
#      PORT - name of any port number, as it's ignored
#        LH - name of the LogicalHostname SC resource
#   NETWORK - name of the DHCP Network, separated with a /
#               where each network is made up of the following
#              <network>@<nafo or ipmp>@node number
#
# Additional parameters to Sun Cluster Carrier-Grade Edition
#  USE_CGTP - ff CGTP is being used (TRUE/FALSE)
#  USE_STATIC_DHCP - ff static DHCP tables should be used (TRUE/FALSE)
#  TEST_CLIENTID - the mac-address of the test-client
#  TFTPTESTFILE - path to Tftp testfile
#
#       The following two examples illustrate sample parameters
#       for DHCP on a 2 node cluster (tequila/sunrise)
#
#       Sun Cluster 3.0 using nafo
#
#       NETWORK=192.168.100.0@nafo0@1/192.168.100.0@nafo0@2
#
#       Sun Cluster 3.1 using ipmp
#
#       NETWORK=192.168.100.0@ipmp0@1/192.168.100.0@ipmp0@2
#
RS=
RG=
PORT=
LH=
NETWORK=
HAS_RS=

# Options to Sun Cluster Carrier-Grade Edition

USE_CGTP=FALSE
USE_STATIC_DHCP=FALSE
TEST_CLIENTID=
TFTPTESTFILE=
::::::::::::::

Sun Cluster HA for DHCP データサービス – パッチ 109077-12 (またはそれ以降) と 111302-02 (またはそれ以降) を適用した Solaris 8 7/01 (またはそれ以降) または Solaris 9 が必要です。


注 –

/etc/inet/dhcpsvc.conf が DHCP サービスのホストとなる Sun Cluster 内の全ノードで整合性が保たれているか、または /etc/inet/dhcpsvc.conf がクラスタファイルシステム上のディレクトリ上にリンクされるようにしてください。


Tftp デーモンチェックが使用されている場合、DHCP を使用するクラスタ内の全ノード上で、定義済みの tftpdirectory にゼロではない testfile を作成する必要があります。

/etc/inet/dhcpsvc.conf パラメータ – /etc/inet/dhcpsvc.conf の次のパラメータを設定する必要があります。