This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde.(Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique.(Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica.(Aviso legal)
此内容已动态机器翻译。放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다.책임 부인
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt.(Haftungsausschluss)
Ce article a été traduit automatiquement.(Clause de non responsabilité)
Este artículo ha sido traducido automáticamente.(Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
一般的な負荷分散シナリオ
負荷分散セットアップでは、Citrix ADCアプライアンスはクライアントとサーバーファームの間に論理的に配置され、サーバーへのトラフィックフローを管理します。
次の図は、基本的な負荷分散構成のトポロジを示しています。
図1:基本的な負荷分散トポロジ
仮想サーバーは、クライアントからの要求に対してサービスを選択して割り当てます。サービス「service-HTTP-1」と「service-HTTP-2」が作成されて、「virtual server-LB-1」という仮想サーバーにバインドされている、前の図のシナリオについて考えてみましょう。virtual server-LB-1は、クライアント要求をservice-HTTP-1またはservice-HTTP-2に転送します。システムはLeast Connections負荷分散方式を使用して、各要求のサービスを選択します。次の表は、システムで設定する必要がある基本的なエンティティの名前と値を示しています。
表1. LB構成パラメーター値
次の図は、前の表で説明した負荷分散のサンプル値と、必須パラメーターを示しています。
図2:負荷分散エンティティモデル
次の表に、コマンドラインインターフェイスを使用してこの負荷分散セットアップを構成するためのコマンドを示します。
タスク | コマンド |
---|---|
負荷分散を有効にする | enable feature lb |
「service-HTTP-1」というサービスを作成する | add service service-HTTP-1 10.102.29.5 HTTP 80 |
「service-HTTP-2」というサービスを作成する | add service service-HTTP-2 10.102.29.6 HTTP 80 |
「vserver-LB-1」という仮想サーバーを作成する | add lb vserver vserver-LB-1 HTTP 10.102.29.60 80 |
「service-HTTP-1」というサービスを「vserver-LB-1」という仮想サーバーにバインドする | 绑定磅vserver vserver-LB-1 service-HTTP-1 |
「service-HTTP-2」というサービスを「vserver-LB-1」という仮想サーバーにバインドする | 绑定磅vserver vserver-LB-1 service-HTTP-2 |
表2. 初期構成タスク
初期構成タスクの詳細については、「基本的な負荷分散の設定」を参照してください。
タスク | コマンド |
---|---|
「vserver-LB-1」という仮想サーバーのプロパティを表示する | show lb vserver vserver-LB-1 |
「vserver-LB-1」という仮想サーバーの統計情報を表示する | stat lb vserver vserver-LB-1 |
「service-HTTP-1」というサービスのプロパティを表示する | show service service-HTTP-1 |
「service-HTTP-1」というサービスの統計情報を表示する | stat service service-HTTP-1 |
「service-HTTP-1」というサービスのバインド情報を表示する | show service bindings service-HTTP-1 |
表3. 検証タスク
タスク | コマンド |
---|---|
「vserver-LB-1」という仮想サーバーにパーシステンスを構成する | set lb vserver vserver-LB-1 -persistenceType SOURCEIP -persistenceMask 255.255.255.255 -timeout 2 |
「vserver-LB-1」という仮想サーバーにCOOKIEINSERTパーシステンスを構成する | set lb vserver vserver-LB-1 -persistenceType COOKIEINSERT |
「vserver-LB-1」という仮想サーバーにURLPassiveパーシステンスを構成する | set lb vserver vserver-LB-1 -persistenceType URLPASSIVE |
クライアント要求を「vserver-LB-1」という仮想サーバー上のURLへリダイレクトするように仮想サーバーを構成する | set lb vserver vserver-LB-1 -redirectURLhttp://www.newdomain.com/mysite/maintenance |
「vserver-LB-1」という仮想サーバーにバックアップ仮想サーバーを設定する | set lb vserver vserver-LB-1 -backupVserver vserver-LB-2 |
表4. カスタマイズタスク
パーシステンスの構成の詳細については、永続性設定の選択と構成を参照してください。クライアント要求を URL にリダイレクトするように仮想サーバーを構成し、バックアップ仮想サーバーを設定する方法については、「負荷分散構成を保護するための機能の構成」を参照してください。
共有
共有
この記事の概要
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.