Operations 编辑

Operations is an optional section in a StyleBook. In this section, you can configure Citrix Application Delivery Management (ADM) analytics to collect AppFlow records on all or some of the traffic transactions. The virtual server created on a Citrix ADC instance by using the StyleBook handles these traffic transactions. In this section, you can also configure Citrix ADM to trigger alarms when certain traffic conditions are met on a virtual server.

You can configure Citrix ADM through StyleBooks to collect traffic statistics from various Citrix ADM Insights that are listed as follows:

  • Web Insight
  • WAF Security Violations
  • HDX Insight
  • Citrix Gateway Insight.

The virtual servers supported are load balancing, content switching, and VPN virtual servers.

Enable both Web Insight and WAF Security Violations or one of them for analytics on a load balancing or content switching virtual server. For VPN virtual servers, however, you must enable both HDX Insight and Citrix Gateway Insight or one of them.

Any Citrix ADM Insight enabled on Citrix ADC instances through StyleBooks uses the IPFIX protocol (AppFlow) to send the data from the instances to Citrix ADC.

Also, when you enable Web Insight, Client-Side Measurements is enabled on the load balancing and the content switching virtual servers. With client side measurements enabled, ADM captures load time and render time metrics for HTML pages, through HTML injection. Using these metrics, admins can identify L7 latency issues.

Example 1:

The following example shows how to write the operations section in a StyleBook to enable both HDX Insight and Citrix Gateway Insight on a VPN virtual server:


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-->

Example 2:

The following example shows how to write the operations section in a StyleBook to enable both Web Insight and WAF Security Violations on a load balancing virtual server:


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-->

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:2 次

字数:4307

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文