![]() |
![]() |
|
|
| |
クラスタに関する Alteon ハードウェアのコンフィグレーション
この節の内容は以下のとおりです。
概要
この節では、Alteon WebSystems の Web スイッチおよびサーバ ロード バランシング ソフトウェアを WebLogic Server クラスタで動作するようにコンフィグレーションする方法について説明します。ここでは、読者が Web OS 管理ツールの使い方やハードウェアと Web スイッチの接続方法といった Alteon のコンフィグレーション作業を理解していることを前提にしています。
Alteon 製品のコンフィグレーションを順を追って説明している部分もあります。設定および管理の詳細な手順については、Alteon 製品のマニュアルを参照してください。
要件
ここで説明するコンフィグレーション手順では、以下の製品を使用する必要があります。
サンプル コンフィグレーション
ここで説明する手順では、以下のコンポーネントで構成されたサンプルの WebLogic Server クラスタを基準とします。
実際のコンフィグレーションでは、IP アドレスも Web スイッチのポートもこのサンプルとは異なる可能性があります。システムに iSD-SSL アクセラレータが含まれている場合は、「 WebLogic Server クラスタに関する Alteon のコンフィグレーション」の手順に従って基本的なロード バランシング機能をコンフィグレーションしてから、「 WebLogic Server クラスタに関する Alteon SSL アクセラレータのコンフィグレーション」を参照してください。
WebLogic Server クラスタに関する Alteon のコンフィグレーション
WebLogic Server クラスタで Alteon 製品をコンフィグレーションする手順を簡単に説明します。
>> # /cfg/vlan 2
>> VLAN 2# add 6
>> VLAN 2# add 7
>> VLAN 2# add 8
>> VLAN 2#ena
>> # /cfg/ip/if 1
>> IP Interface 1# addr 192.168.0.20
>> IP Interface 1# ena
>> # /cfg/ip/if 2
>> IP Interface 2# addr 172.17.10.100
>> IP Interface 2# vlan 2
>> IP Interface 2# ena
>> # /cfg/slb/real 1
>> Real Server 1# rip 192.168.0.10
>> Real Server 1# ena
>> Real Server 1# /cfg/slb/real 2
>> Real Server 2# rip 192.168.0.11
>> Real Server 2# ena
>> Real Server 2# /cfg/slb/real 3
>> Real Server 3# rip 192.168.0.12
>> Real Server 3# ena
>> # /cfg/slb/group 1
>> Real server group 1# add 1
>> Real server group 1# add 2
>> Real server group 1# add 3
>> # /cfg/slb/group 1
>> Real Server group 1# metrc hash
>> # /cfg/slb/virt 1
>> Virtual server 1# vip 172.17.10.100
>> Virtual server 1# service http
>> Virtual server 1 http Service# group 1
>> Virtual server 1 http Service# ..
>> Virtual server 1# ena
>> # /cfg/slb/virt 1/service 80
>> Virtual server 1 http service# pbind
Enter clientip|cookie|sslid persistence mode: cookie
Enter passive|rewrite cookie persistence mode: passive
Enter Cookie Name:JSESSIONID
Enter the starting point of the cookie value: 53
Enter the number of bytes to extract: 19
Look for cookie in URI [e|d]: dis
>> # /cfg/slb/port 6
>> Port 6# server ena
>> # /cfg/slb/port 7
>> Port 7# server ena
>> # /cfg/slb/port 8
>> Port 8# server ena
>> Port 8# /cfg/slb/port 1
>> Port 1# client ena
>> # /cfg/slb
>> Server Load Balancing# on
>> Server Load Balancing# apply
>> Server Load Balancing# save
WebLogic Server クラスタに関する Alteon SSL アクセラレータのコンフィグレーション
WebLogic Server クラスタで Alteon SSL アクセラレータを使用している場合、アクセラレータ用の仮想 LAN もコンフィグレーションし、クラスタとアクセラレータ間のトラフィックの方向を決めるルーティング ポリシーを作成する必要があります。次の手順では、Alteon iSD100-SSL アクセラレータを使用するために「 WebLogic Server クラスタに関する Alteon のコンフィグレーション」で説明したサンプル システムを拡張します。アクセラレータは、Alteon Web スイッチのポート 2 に接続します。
WebLogic Server クラスタで SSL アクセラレータを使用するには次の手順に従います。
>> # /cfg/vlan 2
>> VLAN 2# add 2
>> VLAN 2# ena
>> # /cfg/stp/port 2
>> STP PORT 2# off
>> # /cfg/stp/port 6
>> STP PORT 6# off
>> # /cfg/stp/port 7
>> STP PORT 7# off
>> # /cfg/stp/port 8
>> STP PORT 8# off
>> # /cfg/ip/if 2
>> IP Interface 2# addr 192.168.0.21
>> IP Interface 2# vlan 2
>> IP Interface 2# ena
>> # /cfg/isd/ssl/setport 81
>> # /cfg/slb/filt 100
>> FILTER 100# proto tcp
>> FILTER 100# dport https
>> FILTER 100# action redir
>> FILTER 100# group 256
>> FILTER 100# rport https
>> FILTER 100# ena
>> # /cfg/slb/filt 101
>> FILTER 101# sip any
>> FILTER 101# dip any
>> FILTER 101# proto any
>> FILTER 101# action allow
>> FILTER 101# ena
>> # /cfg/slb/port 1
>> PORT 1# add 100
>> PORT 1# add 101
>> PORT 1# filt ena
>> # /cfg/slb/filt 102
>> FILTER 102# proto tcp
>> FILTER 102# sport 81
>> FILTER 102# action redir
>> FILTER 101# group 256
>> FILTER 101# ena
>> # /cfg/slb/port 6
>> PORT 6# add 101
>> PORT 6# add 102
>> PORT 6# filt ena
>> # /cfg/slb/port 7
>> PORT 7# add 101
>> PORT 7# add 102
>> PORT 7# filt ena
>> # /cfg/slb/port 8
>> PORT 8# add 101
>> PORT 8# add 102
>> PORT 8# filt ena
>> # /cfg/slb
>> Server Load Balancing# on
>> Server Load Balancing# apply
>> Server Load Balancing# save
![]() |
![]() |
![]() |