DistributedDirectorのHTTP リダイレクトの 方 法 目 次 概 要 前 提 条 件 要 件 使 用 するコンポーネント 表 記 法 確 認 トラブルシューティング 関 連 情 報 概 要 このドキュメントでは HTTP リダイレクトの 例 を 紹 介 しています これを 識 別 するキー コマンドは ip director ipaddress です 各 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 ハードウェアバ ージョンである 場 合 もあります このドキュメントの 情 報 は 特 定 のラボ 環 境 にあるデバイスに 基 づいて 作 成 されたものです このドキュメントで 使 用 するすべ てのデバイスは クリアな(デフォルト) で 作 業 を 開 始 しています ネットワークが 稼 働 中 の 場 合 は コマンドが 及 ぼす 潜 在 的 な 影 響 を 十 分 に 理 解 しておく 必 要 があります 表 記 法 ドキュメント 表 記 の 詳 細 は シスコ テクニカル ティップスの 表 記 法 を 参 照 してください この 項 では このドキュメントで 説 明 する 機 能 の に 必 要 な 情 報 を 提 供 します
注 :このドキュメントで 使 用 されているコマンドの 詳 細 を 調 べるには 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 と それ 以 降 は 好 まれます 分 散 型 ディレクタ v.11.1 DRPWest および DRPEast コンフィギュレーションのためのこのダイアグラムを 参 照 して 下 さい:
分 散 型 ディレクタ v.11.1 DistributedDirector# DistributedDirector#show run version 11.1 service udp-small-servers service tcp-small-servers hostname DistributedDirector interface Ethernet0 ip address 192.168.134.234 255.255.255.248 interface Serial0 no fair-queue interface Serial1 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 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
line con 0 exec-timeout 0 0 DistributedDirector# DRPWest DRPWest#show run version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname DRPWest ip subnet-zero interface FastEthernet0/0 ip address 192.168.134.235 255.255.255.248 interface FastEthernet0/1 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 DRPWest#exit DRPEast DRPEast#show run version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname DRPEast ip subnet-zero
interface FastEthernet0/0 ip address 172.18.73.31 255.255.255.0 interface FastEthernet0/1 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 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 http://www.cisco.com/cisco/web/support/jp/100/1002/1002159_dd_http_redirect.html