Application Delivery Management

操作

操作はStyleBookのオプションセクションです。このセクションでは、NetScaler Consoleアナリティクスを設定して、すべてのトラフィックトランザクションまたは一部のトラフィックトランザクションでAppFlowレコードを収集できます。StyleBookを使用してNetScalerインスタンス上に作成された仮想サーバーが、これらのトラフィックトランザクションを処理します。このセクションでは、特定のトラフィック条件が仮想サーバーで満たされたときに、NetScaler Consoleがアラームをトリガーするように設定することもできます。

StyleBookを通じてNetScaler Consoleを設定し、以下のNetScaler Console Insightsからトラフィック統計を収集できます。

  • Web Insight
  • WAFセキュリティ違反
  • HDX™ Insight
  • NetScaler Gateway Insight

サポートされている仮想サーバーは、負荷分散、コンテンツスイッチング、およびVPN仮想サーバーです。

負荷分散またはコンテンツスイッチング仮想サーバーでのアナリティクスには、Web InsightとWAFセキュリティ違反の両方、またはそのいずれかを有効にします。ただし、VPN仮想サーバーの場合は、HDX InsightとNetScaler Gateway Insightの両方、またはそのいずれかを有効にする必要があります。

StyleBookを通じてNetScalerインスタンスで有効にされたNetScaler Console Insightは、IPFIXプロトコル(AppFlow)を使用して、インスタンスからNetScalerにデータを送信します。

また、Web Insightを有効にすると、クライアント側測定が負荷分散およびコンテンツスイッチング仮想サーバーで有効になります。クライアント側測定が有効になっている場合、NetScaler ConsoleはHTMLインジェクションを通じて、HTMLページのロード時間とレンダリング時間のメトリックをキャプチャします。これらのメトリックを使用することで、管理者はL7遅延の問題を特定できます。

例 1:

次の例は、VPN仮想サーバーでHDX InsightとNetScaler Gateway Insightの両方を有効にするために、StyleBookに操作セクションを記述する方法を示しています。

name: simple-vpn-ops
namespace: com.example.stylebooks
schema-version: "1.0"
version: "0.1"
description: Test StyleBook to enable hdxinsight and gatewayinsight on a VPN vserver
import-stylebooks:
  -
    namespace: netscaler.nitro.config
    version: "10.5"
    prefix: ns
components:
  -
    name: vpnvserver-comp
    type: ns::vpnvserver
    properties:
      name: str("vpn-") + str($current-target.ip)
      servicetype: SSL
      ipv46: 1.1.21.37
      port: 443
operations:
  analytics:
    -
      name: comp-ops
      properties:
        target: $components.vpnvserver-comp
        filter: "true"
        insights:
          -
            type: hdxinsight
          -
            type: gatewayinsight
outputs:
  -
    name: myvpns
    value: $components.vpnvserver-comp
<!--NeedCopy-->

例 2:

次の例は、負荷分散仮想サーバーでWeb InsightとWAFセキュリティ違反の両方を有効にするために、StyleBookに操作セクションを記述する方法を示しています。

name: simple-lb-ops
namespace: com.example.stylebooks
schema-version: "1.0"
version: "0.1"
description: Test StyleBook to enable webinsight and securityinsight on LB vserver
import-stylebooks:
  -
    namespace: netscaler.nitro.config
    version: "10.5"
    prefix: ns
components:
  -
    name: lbvserver-comp
    type: ns::lbvserver
    properties:
      name: str("lb-") + str($current-target.ip)
      servicetype: HTTP
      ipv46: 1.1.21.37
      port: 80
operations:
  analytics:
    -
      name: comp-ops
      properties:
        target: $components.lbvserver-comp
        filter: "true"
        insights:
          -
            type: webinsight
          -
            type: securityinsight
outputs:
  -
    name: mylbs
    value: $components.lbvserver-comp
<!--NeedCopy-->
操作

この記事の概要