この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
この章では、Content Switching Module(CSM;コンテント スイッチング モジュール)の設定を始める前の必要事項について説明します。
• 「設定の概要」
CSMは、スーパバイザ エンジン上でCatalystオペレーティング システムを稼働し、Multilayer Switch Feature Card(MSFC;マルチレイヤ スイッチ フィーチャ カード)上でCisco IOSを稼働するスイッチ上でサポートされます。また、CSMはスーパバイザ エンジンとMSFCの両方でCisco IOSソフトウェアを稼働するスイッチでもサポートされます。
CSMはMSFC CLIで設定されるため、Catalystオペレーティング システムとCisco IOSソフトウェアの両方を稼働するスイッチを使用している場合は、MSFCへの最初のセッションで、CSMを設定するためのMSFC CLIへアクセスする必要があります。MSFC CLIへアクセスすると、Catalystオペレーティング システムのスイッチの場合でもCisco IOSスイッチの場合でもCSMの設定は同じになります。
Catalystオペレーティング システムとCisco IOSソフトウェアの両方が稼働するスイッチを使用する場合は、レイヤ2の設定(VLANおよびポート アソシエーションなど)はすべて、スーパバイザ エンジン上で実行されます。
(注) Cisco IOSソフトウェアのみを稼働するスイッチ上でCSMを実行すると、設定されたVLAN(仮想LAN)がCSMとスイッチのバックプレーンを接続するトランクまたはチャネルに自動的に追加されます。Catalystオペレーティング システムとCisco IOSソフトウェアの両方が稼働するスイッチでは、CSM VLANを手動でトランクまたはチャネルに追加する必要があります。
• スイッチとモジュールのCisco IOSバージョンが一致していることを確認します。『 Catalyst 6500 Series Switch Content Switching Module Installation Guide 』を参照してください。
• Server Load Balancing(SLB;サーバ ロードバランシング)を設定するには、次の情報を入手しておく必要があります。
–Domain Name Server(DNS;ドメイン ネーム サーバ)で使用するCSM VIP用エントリ(名前を使用してDNSにアクセスする必要がある場合)
• 先にCatalyst 6500シリーズ スイッチでVLANを設定してから、CSMに対してVLANを設定する必要があります。スイッチとモジュールのVLAN IDは同じでなければなりません。詳細については、『 Catalyst 6500 Series Switch Software Configuration Guide 』を参照してください。
• サーバまたはクライアントに接続する物理インターフェイスを、対応するVLAN内に組み込みます。
次に、物理インターフェイスをレイヤ2インターフェイスとして設定して、VLANに割り当てる例を示します。
• クライアント側またはサーバ側VLAN上のネクストホップ ルータでMSFCを使用する場合は、対応するレイヤ3 VLANインターフェイスを設定する必要があります。
次に、レイヤ3 VLANインターフェイスを設定する例を示します。
CSMのソフトウェア インターフェイスはCisco IOS CLIです。Cisco IOS CLIおよびCisco IOSコマンド モードの詳細については、『Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide』のChapter 2を参照してください。
(注) プロンプトに入力できる文字数に制限があるため、プロンプトが切り捨てられる場合があります。たとえば、
Router(config-slb-vlan-server)#はRouter(config-slb-vlan-serve)#のように表示されます。
どのコマンド モードでも、疑問符(?)を入力すると、使用できるコマンドのリストが表示されます。
(注) オンライン ヘルプでは、コマンドで使用できるデフォルトのコンフィギュレーション値、および値の範囲が表示されます。
設定の保存および復元については、『 Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide 』を参照してください。
Catalyst 6500シリーズ スイッチのSLB機能は、2種類のモードで設定されます。Routed Processor
(RP)モードおよびCSMモードです。スイッチの設定は、CSMの動作に影響しません。CSMはデフォルトで、RPモードで設定されます。RPモードを使用すると、同一シャーシで1つまたは複数のCSMを設定し、同一スイッチでCisco IOS SLBを実行できます。
(注) RPモードはデフォルト モードで、推奨されているモードです。CSMモードは、Release 2.1より前のCSMソフトウェア イメージとの下位互換性を維持するためだけに使用されます。新しいCSMまたはCSMイメージを搭載する場合は、RPモードを使用してください。
CSMモードの場合、設定できるのは1つのCSMだけです。CSMモードをサポートしているのは、旧ソフトウェア リリースとの下位互換性を維持するためです。単一CSM設定では、同一スイッチでCisco IOS SLBを実行できません。
• 「モードの変更」
スイッチにCSMコンフィギュレーション コマンドを入力するには、その前に設定対象のCSMを指定しなければなりません。設定するCSMを指定するには、 module csm slot-number コマンドを使用します。 slot-number 値は、設定対象のCSMが搭載されているシャーシ スロットです。
module csm コマンドによってCSMコンフィギュレーション サブモードが開始されます。以後、入力したすべてのコンフィギュレーション コマンドは、指定したスロットに搭載されたCSMに適用されます。
(注) 特に明記していないかぎり、このマニュアルの例はすべて、このコマンドが入力済みで、設定対象のCSMに対応するコンフィギュレーション サブモードがすでに開始されていることが前提です。
CSMモードおよびRPモードを設定するコマンドの構文は、次の点を除いて同じです。
• CSMモードで設定する場合、上位レベルのコマンドごとに、プレフィクスとして ip slb を指定する必要があります。
• CSMモードの設定とRPモードの設定では、プロンプトが異なります。
スロット5のCSMに仮想サーバを設定する手順は、次のとおりです。
|
|
|
---|---|---|
|
||
|
次に、config-module-csmモードでのすべてのコマンドのリスト例を表示します。
ip slb mode コマンドを使用してモードをCSMからRPに切り替えると、既存のCSM設定が新しい設定に移行します。既存のCSM設定がある場合は、スロット番号を要求されます。
Catalyst 6500シリーズ スイッチでは、RPモードの設定からCSMモードの設定に移行できます。
Cisco IOS SLBの設定からCSM設定への移行は、手動にかぎって可能です。
CSMモードとRPモードは、CSMがCLIから設定される方法に影響するだけで、CSM自体の動作および機能に影響するわけではありません。CSMと同一シャーシ内のCisco IOS SLBの場合と同様に、1つのシャーシ内の複数のCSMを設定する場合は、RPモードである必要があります。
ip slb mode csm コマンド モードを使用して、1.xリリースのCSMを設定することができます。このモードでは、シャーシ内の単一のCSMを設定できます(同じシャーシ内でその他のCSMまたはCisco IOS SLBを設定することはできません)。
このモードでは、すべてのCSMコンフィギュレーション コマンドは ip slb で始まります。
CSMの show コマンドは、 show ip slb で始まります。
CSM 2.1以降のリリースを使用している場合は、このモードは推奨できません。このモードは、Cisco IOS CLIで下位互換性の維持のためにオプションとして提供されているからです。
Cisco IOS SLBが稼働するシャーシで複数のCSMを設定するには、 ip slb mode rp コマンド モード(デフォルト)を使用します。このモードで設定できるのは、Release 2.1以降のCSMだけです。
このモードでは、CSMは次のコマンド サブモードから設定されます。
CSMのshowコマンドは、 show mod csm X で始まります。
CSMソフトウェアRelease 2.1以降でCSMを設定する場合は、RPモードが推奨されます。このモードでも、Cisco IOS SLBに適用されるすべてのコマンドは、シャーシ内のCSMには適用されません。これらのコマンドは、 ip slb で始まります。
CSMの動作モードをCSMモードからRPモードに、またはRPモードからCSMモードに変更することができます。次に、モードの変更方法を示します。
CSMモードからRPモードに変更する例を示します。これはCSM 1.xから2.1以降のリリースへの一般的な移行例で、モジュールのリセットは必要ありません。
これはRPモードからCSMモードへの移行例で、モジュールのリセットが必要です。
設定が適切に機能するかどうかを確認するには、RPモードで次のコマンドを使用します。
設定が適切に機能するかどうかを確認するには、Cisco IOS SLBモードで次のコマンドを使用します。
シャーシ内の単一のCSM設定が適切に機能するかどうかを確認するには、CSMモードで次のコマンドを使用します。
ここで説明する設定プロセスは、スイッチがRPモードであることを前提としています。図3-1は、設定プロセスで必須の操作と任意の操作の概要を示しています。
(注) レイヤ4ロードバランシングの場合、ポリシーの設定は不要です。
必要なパラメータの設定については、次の各項を参照してください。
必須のロードバランシング パラメータをCSM上で設定すると、任意のパラメータを設定することができます。次の各項を参照してください。
高度な設定と連動するには、第2章から第11章の次の項目を参照してください。
• 「RHIの設定」
ここでは、CSMをアップグレードする3種類の方法について説明します。
• 「スーパバイザ エンジン ブートフラッシュからのアップグレード」
(注) 新しいソフトウェア リリースにアップグレードする場合は、CSMイメージをアップグレードしてからCisco IOSイメージをアップグレードする必要があります。そうしないと、スーパバイザ エンジンがCSMを認識しません。スーパバイザ エンジンがCSMを認識しない場合は、Cisco IOSイメージをダウングレードし、CSMイメージをアップグレードしてから、Cisco IOSイメージをアップグレードする必要があります。
CSMをアップグレードするには、アップグレードするCSMモジュールとのセッションを開始する必要があります。アップグレード中は、スーパバイザ エンジンに接続されたコンソールにすべてのコマンドを入力します。コンフィギュレーション コマンドは、それぞれ異なるコマンドラインに入力してください。アップグレードを完了するには、 exit コマンドを入力して、スーパバイザ エンジン プロンプトに戻ります。「SLBモードの設定」を参照してください。
(注) ブートフラッシュにイメージをロードする手順については、『Catalyst 6500 Series Supervisor Engine Flash PC Card Installation Note』を参照してください。
スーパバイザ エンジンのブートフラッシュからCSMをアップグレードする手順は、次のとおりです。
ステップ 1 TFTPサーバをイネーブルにして、次のようにブートフラッシュからイメージを供給します。
ステップ 2 スーパバイザ エンジンとCSM間のセッションを確立します。
ステップ 3 スーパバイザ エンジンからCSMにイメージをロードします。
シャーシ スロット1に搭載されたスーパバイザ エンジンの場合、 zz は12です。
シャーシ スロット2に到来されたスーパバイザ エンジンの場合、 zz は22です。
(注) スーパバイザ エンジンを搭載できるのは、シャーシのスロット1またはスロット2だけです。
ステップ 4 CSMとのセッションを終了し、Cisco IOSプロンプトに戻ります。
ステップ 5 CSMの電源を切断して再投入するか、またはスーパバイザ エンジンのコンソールから次のコマンドを入力して、CSMを再起動します。
(注) このマニュアルでは全体を通して、PCMCIAカードの代わりにフラッシュPCカードという言葉を使用します。
スーパバイザ エンジンに装着された着脱式フラッシュPCカードからCSMをアップグレードする手順は、次のとおりです。
ステップ 1 TFTPサーバをイネーブルにして、着脱式フラッシュPCカードからイメージを供給します。
x 値 = 0(フラッシュPCカードがスーパバイザ エンジンのPCMCIAスロット0に搭載されている場合)
ステップ 2 スーパバイザ エンジンとCSM間のセッションを確立します。
ステップ 3 スーパバイザ エンジンからCSMにイメージをロードします。
(注) スーパバイザ エンジンを搭載できるのはシャーシのスロット1またはスロット2だけです。
ステップ 4 CSMとのセッションを終了し、Cisco IOSプロンプトに戻ります。
ステップ 5 CSMの電源を切断して再投入するか、またはスーパバイザ エンジンのコンソールから次のコマンドを入力して、CSMを再起動します。
外部TFTPサーバからCSMをアップグレードする手順は、次のとおりです。
ステップ 1 TFTP CSMランタイム イメージ ダウンロード用のVLANをスーパバイザ エンジン上に作成します。
(注) 既存のVLANも使用できますが、確実にダウンロードするには、TFTP接続専用のVLANを作成する必要があります。
ステップ 2 TFTPサーバに接続するインターフェイスを設定します。
詳細については、 第4章「VLANの設定」 を参照してください。
ステップ 6 show csm slot vlan detail コマンドを入力し、設定を確認します。
詳細については、 第4章「VLANの設定」 を参照してください。
ステップ 7 CSMからTFTPサーバに接続できるかどうかを確認します。
ステップ 8 スーパバイザ エンジンとCSM間のセッションを確立します。
ステップ 10 CSMとのセッションを終了し、Cisco IOSプロンプトに戻ります。
ステップ 11 CSMの電源を切断して再投入するか、またはスーパバイザ エンジンのコンソールから次のコマンドを入力して、CSMを再起動します。