• 検索結果がありません。

dd_http_redirect.pdf

N/A
N/A
Protected

Academic year: 2021

シェア "dd_http_redirect.pdf"

Copied!
5
0
0

読み込み中.... (全文を見る)

全文

(1)

DistributedDirectorのHTTP リダイレクトの設定方法

目次

概要

前提条件

要件

使用するコンポーネント

表記法

設定

設定

確認

トラブルシューティング

関連情報

概要

このドキュメントでは、HTTP リダイレクトの設定例を紹介しています。 これを識別するキー コマンドは ip director

ip-address です。 各 Distributed Director(DD)は複数の Web サイトをサポートしますが、このドキュメントでは、東海岸およ

び西海岸のそれぞれ 1 台のサーバを使用した単一の Web サイトのみを扱います。

Cisco DD における 2 つの動作モードがあります:

ドメイン ネーム サービス(DNS)サーバとして動作し、IP アドレスを戻すこと

Webサーバとして動作し、HTTP リダイレクトを提供すること

Both モードの後ろの概念はクライアントに複数の幅別々サーバの 1 つのアドレスを指定することです。

前提条件

要件

このドキュメントに関する特別な要件はありません。

使用するコンポーネント

DD は Cisco シリーズ 2500 および 4700 ルータでだけ動作します。 DD 機能は Cisco IOS ソフトウェア リリース 12.2 から開

始する他のプラットフォームで利用できます。

この文書に記載されている情報はこれらのソフトウェア イメージに基づいています:

Cisco IOS ソフトウェア リリース 11.1(25)ia かより新しい 11.1(xx)IA イメージまたは Cisco IOS ソフトウェア リリー

ス 12.0(3)T と それ以降(を含む 12.1)

注:これらのイメージは Cisco IOS Planner で見つけることができます。 プラットフォーム タイプはどの DD ハードウェアバ

ージョンである場合もあります

このドキュメントの情報は、特定のラボ環境にあるデバイスに基づいて作成されたものです。 このドキュメントで使用するすべ

てのデバイスは、クリアな(デフォルト)設定で作業を開始しています。 ネットワークが稼働中の場合は、コマンドが及ぼす潜

在的な影響を十分に理解しておく必要があります。

表記法

ドキュメント表記の詳細は、『シスコ テクニカル ティップスの表記法』を参照してください。

設定

この項では、このドキュメントで説明する機能の設定に必要な情報を提供します。

(2)

注:このドキュメントで使用されているコマンドの詳細を調べるには、Command Lookup Tool(登録ユーザ専用)を使用してくだ

さい。

設定

このドキュメントでは、次の設定を使用します。

Cisco 2501 ルータ(Cisco IOS ソフトウェア リリース 11.1(27)ia)

Cisco 2621 ルータ(Cisco IOS ソフトウェア リリース 12.0(3)T3)

Cisco 2501 ルータ(Cisco IOS ソフトウェア リリース 11.1(27)ia)

DistributedDirector#show ver

Cisco DistributedDirector System Software

IOS (tm) 3000 Software (IGS-W3-L), Version 11.1(27)IA Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Wed 27-Oct-99 14:14 by cynthia

Image text-base: 0x03021328, data-base: 0x00001000 ROM: System Bootstrap, Version 11.0(10c), SOFTWARE

ROM: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1) DistributedDirector uptime is 2 days, 15 hours, 17 minutes

System restarted by power-on

System image file is "flash:igs-w3-l.111-27.IA.bin", booted via flash cisco 2500 (68030) processor (revision N) with 6144K/2048K bytes of memory. Processor board ID 16311988, with hardware revision 00000000

Bridging software.

X.25 software, Version 2.0, NET2, BFE and GOSIP compliant. 1 Ethernet/IEEE 802.3 interface.

2 Serial network interfaces.

32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read ONLY) Configuration register is 0x2102

Cisco 2621 ルータ(Cisco IOS ソフトウェア リリース 12.0(3)T3)

drp_router#show ver

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.0(3)T3, RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc.

Compiled Thu 15-Apr-99 15:41 by kpma

Image text-base: 0x80008088, data-base: 0x80693A88

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) drp_router uptime is 2 days, 15 hours, 53 minutes

System restarted by power-on

System image file is "flash:c2600-i-mz.120-3.T3"

cisco 2621 (MPC860) processor (revision 0x101) with 18432K/6144K bytes of memory. Processor board ID JAB032200NB (3274443039)

M860 processor: part number 0, mask 49 Bridging software.

X.25 software, Version 3.0.0.

2 FastEthernet/IEEE 802.3 interface(s)

32K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash (Read/Write) Configuration register is 0x2102

注:Director Response Protocol (DRP)サーバはいろいろな Cisco IOSソフトウェアを動作します。 Cisco IOSソフトウェアが

DRP をサポートすることを確認して下さい。 Cisco IOS ソフトウェア リリース 11.x と それ以降は好まれます。

(3)

分散型ディレクタ v.11.1

DistributedDirector# DistributedDirector#show run Building configuration... Current configuration: ! version 11.1 service udp-small-servers service tcp-small-servers ! hostname DistributedDirector !

enable password letmein !

!

key chain KEY-CHAIN-NAME key 1 key-string my_keychain_password ! interface Ethernet0 ip address 192.168.134.234 255.255.255.248 ! interface Serial0 no ip address shutdown no fair-queue ! interface Serial1 no ip address shutdown ! ip host ddwest-servers.mycompany.com 172.18.73.51 192.168.14.83 ip host ddwest.mycompany.com 192.168.134.236 ip name-server 192.168.187.10

ip drp authentication key-chain KEY-CHAIN-NAME no ip classless

ip route 0.0.0.0 0.0.0.0 192.168.134.233

ip dns primary ddwest-servers.mycompany.com soa ns.mycompany.comyourname.mycompany.com 21600 900 7776000 86400

ip dns primary ddwest.mycompany.com soans.mycompany.com yourname.mycompany.com 21600 900 7776000 86400

ip director ip-address 192.168.134.236

ip director server 172.18.73.51 drp-association 172.18.73.31 ip director server 192.168.14.83 drp-association 192.168.134.235 ip director hosts ddwest-servers.mycompany.com priority ran 10 drp-r 5 ip director hosts ddwest-servers.mycompany.com connect 80 interval 60 logging buffered

access-list 99 deny 171.70.24.166 access-list 99 permit any

tftp-server flash igs-w3-l.111-27.IA.bin snmp-server community public RO

(4)

line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 password letmein login ! end DistributedDirector#

DRPWest

DRPWest#show run Building configuration... Current configuration: ! version 12.0

service timestamps debug uptime service timestamps log uptime no service password-encryption !

hostname DRPWest !

enable password letmein !

ip subnet-zero !

!

key chain KEY-CHAIN-NAME key 1 key-string my_keychain_password ! ! ! interface FastEthernet0/0 ip address 192.168.134.235 255.255.255.248 no ip directed-broadcast no ip mroute-cache full-duplex ! interface FastEthernet0/1 no ip address no ip directed-broadcast no ip mroute-cache shutdown full-duplex !

ip drp authentication key-chain KEY-CHAIN-NAME ip drp server ip classless ip route 0.0.0.0 0.0.0.0 192.168.134.233 no ip http server ! ! line con 0

transport input none line aux 0 line vty 0 4 password letmein login ! end DRPWest#exit

DRPEast

DRPEast#show run Building configuration... Current configuration: ! version 12.0

service timestamps debug uptime service timestamps log uptime no service password-encryption !

hostname DRPEast !

enable password letmein !

(5)

! !

key chain KEY-CHAIN-NAME key 1 key-string my_keychain_password ! ! ! interface FastEthernet0/0 ip address 172.18.73.31 255.255.255.0 no ip directed-broadcast no ip mroute-cache full-duplex ! interface FastEthernet0/1 no ip address no ip directed-broadcast no ip mroute-cache shutdown full-duplex !

ip drp authentication key-chain KEY-CHAIN-NAME ip drp server ip classless ip route 0.0.0.0 0.0.0.0 172.18.73.233 no ip http server ! ! line con 0

transport input none line aux 0 line vty 0 4 password letmein login ! end DRPEast#exit

確認

このセクションでは、設定が正常に動作しているかどうかを確認する際に役立つ情報を提供しています。

特定の show コマンドは、Output Interpreter Tool(登録ユーザ専用)によってサポートされています。このツールを使用する

と、show コマンド出力の分析を表示できます。

show ip director DD パラメータの設定についての DD ステータスおよび情報を得るのにこのコマンドを使用して下さい。

show ip director hosts DD ホスト情報を表示するのにこのコマンドを使用して下さい。 コマンドはアドレスの正しいソ

ートを含む DD の正しいオペレーションに、関する問題の解決を助けることができます。

show ip director servers DD サーバ優先 情報を表示するのにこのコマンドを使用して下さい。 コマンドはアドレスの正

しいソートを含む DD の正しいオペレーションに、関する問題の解決を助けることができます。

debug ip director DD に show debugging 情報にこのコマンドを使用して下さい。

debug ip drp DRP 情報を表示するのにこのコマンドを使用して下さい。

注:debug コマンドを試みる前に、参照して下さい。

トラブルシューティング

現在のところ、この設定に関する特定のトラブルシューティング情報はありません。

関連情報

設定例とテクニカルノーツ

1992 - 2015 Cisco Systems, Inc. All rights reserved.

Updated: 2015 年 11 月 26 日

Document ID: 15052

参照

関連したドキュメント

Internet Explorer 11 Windows 8.1 Windows 10 Microsoft Edge Windows 10..

HD 映像コミュニケーションユニット、HD コム Live、HD コムモバイルから HD コム Live リンクの接続 用

as every loop is equivalent to its left (or right) inverse modulo the variety of

III.2 Polynomial majorants and minorants for the Heaviside indicator function 78 III.3 Polynomial majorants and minorants for the stop-loss function 79 III.4 The

191 IV.5.1 Analytical structure of the stop-loss ordered minimal distribution 191 IV.5.2 Comparisons with the Chebyshev-Markov extremal random variables 194 IV.5.3 Small

本製品のIPアドレスが不明な場合は、AXIS IP UtilityまたはAXIS Device Managerを使⽤して、ネットワー

「Wattbikeが卓越したエルゴメーターであることは間違いありません。テスト再現性の高さはア

筋障害が問題となる.常温下での冠状動脈遮断に