Cisco UCS Manager CLI コンフィギュレーション ガイド、リリース 2.2
統計関連ポリシーの設定
統計関連ポリシーの設定

目次

統計関連ポリシーの設定

この章は、次の項で構成されています。

Configuring Statistics Collection Policies

統計情報収集ポリシー

統計情報収集ポリシーは、統計情報を収集する頻度(収集インターバル)、および統計情報を報告する頻度(報告インターバル)を定義します。 報告インターバル中に複数の統計データ ポイントが収集できるように、報告インターバルは収集インターバルよりも長くなります。これにより、最小値、最大値、平均値を計算して報告するために十分なデータが Cisco UCS Manager に提供されます。

NIC 統計情報の場合、Cisco UCS Manager は最後の統計情報収集以降の平均値、最小値、最大値の変化を表示します。 値が 0 の場合、最後の収集以降変化はありません。

統計情報は、Cisco UCS システムの次の 5 種類の機能エリアについて収集し、報告できます。

  • アダプタ:アダプタ関連統計情報

  • シャーシ:ブレード シャーシ関連統計情報

  • ホスト:このポリシーは、将来サポートされる機能のためのプレースホルダです

  • ポート:サーバ ポート、アップリンク イーサネット ポート、およびアップリンク ファイバ チャネル ポートを含むポートに関連した統計情報

  • サーバ:サーバ関連統計情報


(注)  


Cisco UCS Manager には、5 つの機能エリアそれぞれについて、デフォルト統計情報収集ポリシーが 1 つずつあります。 追加で統計情報収集ポリシーを作成できません。また、既存のデフォルト ポリシーを削除できません。 デフォルト ポリシーを変更することだけが可能です。


Configuring a Statistics Collection Policy

手順
     コマンドまたはアクション目的
    ステップ 1UCS-A# scope monitoring  

    Enters monitoring mode.

     
    ステップ 2UCS-A/monitoring # scope stats-collection-policy {adapter | chassis | host | port | server}  

    Enters statistics collection policy mode for the specified policy type.

     
    ステップ 3UCS-A /monitoring/stats-collection-policy # set collection-interval {1minute | 2minutes | 30seconds | 5minutes}  

    Specifies the interval at which statistics are collected from the system.

     
    ステップ 4UCS-A /monitoring/stats-collection-policy # set reporting-interval {15minutes | 30minutes | 60minutes}  

    Specifies the interval at which collected statistics are reported.

     
    ステップ 5UCS-A /monitoring/stats-collection-policy # commit-buffer  

    Commits the transaction to the system configuration.

     

    The following example creates a statistics collection policy for ports, sets the collection interval to one minute, the reporting interval to 30 minutes, and commits the transaction:

    UCS-A# scope monitoring
    UCS-A /monitoring # scope stats-collection-policy port
    UCS-A /monitoring/stats-collection-policy* # set collection-interval 1minute
    UCS-A /monitoring/stats-collection-policy* # set reporting-interval 30minutes
    UCS-A /monitoring/stats-collection-policy* # commit-buffer
    UCS-A /monitoring/stats-collection-policy #
     

    Configuring Statistics Threshold Policies

    統計情報しきい値ポリシー

    統計情報しきい値ポリシーは、システムの特定の側面についての統計情報をモニタし、しきい値を超えた場合にはイベントを生成します。 最小値と最大値の両方のしきい値を設定できます。 たとえば、CPU の温度が特定の値を超えた場合や、サーバを過度に使用していたり、サーバの使用に余裕がある場合には、アラームを発生するようにポリシーを設定できます。

    これらのしきい値ポリシーが、CIMC などのエンドポイントに適用される、ハードウェアやデバイス レベルのしきい値を制御することはありません。 このしきい値は、製造時にハードウェア コンポーネントに焼き付けられます。

    Cisco UCS を使用して、次のコンポーネントに対して統計情報のしきい値ポリシーを設定できます。

    • サーバおよびサーバ コンポーネント

    • アップリンクのイーサネット ポート

    • イーサネット サーバ ポート、シャーシ、およびファブリック インターコネクト

    • ファイバ チャネル ポート


    (注)  


    イーサネット サーバ ポート、アップリンクのイーサネット ポート、またはアップリンクのファイバ チャネル ポートには、統計情報のしきい値ポリシーを作成したり、削除できません。 既存のデフォルト ポリシーの設定だけを行うことができます。


    Server and Server Component Statistics Threshold Policy Configuration

    Configuring a Server and Server Component Statistics Threshold Policy

    手順
       コマンドまたはアクション目的
      ステップ 1UCS-A# scope org org-name  

      Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name .

       
      ステップ 2UCS-A /org # create stats-threshold-policy policy-name  

      Creates the specified statistics threshold policy and enters organization statistics threshold policy mode.

       
      ステップ 3UCS-A /org/stats-threshold-policy # set descr description   (任意)

      Provides a description for the policy.

      (注)     

      If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output.

       
      ステップ 4UCS-A /org/stats-threshold-policy # commit-buffer  

      Commits the transaction to the system configuration.

       

      The following example creates the server and server component statistics threshold policy named ServStatsPolicy, provides a description for the policy, and commits the transaction:

      UCS-A# scope org /
      UCS-A /org* # create stats-threshold-policy ServStatsPolicy
      UCS-A /org/stats-threshold-policy* # set descr "Server stats threshold policy."
      UCS-A /org/stats-threshold-policy* # commit-buffer
      UCS-A /org/stats-threshold-policy # 
      
      次の作業

      Configure one or more policy classes for the statistics threshold policy. For more information, see "Configuring a Server and Server Component Statistics Threshold Policy Class."

      Deleting a Server and Server Component Statistics Threshold Policy

      手順
         コマンドまたはアクション目的
        ステップ 1UCS-A# scope org org-name  

        Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name .

         
        ステップ 2UCS-A /org # delete stats-threshold-policy policy-name  

        Deletes the specified statistics threshold policy.

         
        ステップ 3UCS-A /org # commit-buffer  

        Commits the transaction to the system configuration.

         

        The following example deletes the server and server component statistics threshold policy named ServStatsPolicy and commits the transaction:

        UCS-A# scope org /
        UCS-A /org* # delete stats-threshold-policy ServStatsPolicy
        UCS-A /org* # commit-buffer
        UCS-A /org # 
        

        Configuring a Server and Server Component Statistics Threshold Policy Class

        はじめる前に

        Configure or identify the server and server component statistics threshold policy that will contain the policy class. For more information, see "Configuring a Server and Server Component Statistics Threshold Policy."

        手順
           コマンドまたはアクション目的
          ステップ 1UCS-A# scope org org-name  

          Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name .

           
          ステップ 2UCS-A /org # scope stats-threshold-policy policy-name  

          Enters organization statistics threshold policy mode.

           
          ステップ 3UCS-A /org/stats-threshold-policy # create class class-name  

          Creates the specified statistics threshold policy class and enters organization statistics threshold policy class mode. The class-name argument can be any of the class name keywords available for the particular statistics threshold policy being configured. To see a list of the available class name keywords, enter the create class ? command in organization statistics threshold policy mode.

          (注)     

          You can configure multiple classes for the statistics threshold policy.

           
          ステップ 4UCS-A /org/stats-threshold-policy /class # create property property-name  

          Creates the specified statistics threshold policy class property and enters organization statistics threshold policy class property mode. The property-name argument can be any of the property name keywords available for the particular policy class being configured. To see a list of the available property name keywords, enter the create property ? command in organization statistics threshold policy class mode.

          (注)     

          You can configure multiple properties for the policy class.

           
          ステップ 5UCS-A /org/stats-threshold-policy/class/property # set normal-value value  

          Specifies the normal value for the class property. The value format can vary depending on the class property being configured. To see the required format, enter the set normal-value ? command in organization statistics threshold policy class property mode.

           
          ステップ 6UCS-A /org/stats-threshold-policy /class/property # create threshold-value {above-normal | below-normal} {cleared | condition | critical | info | major | minor | warning}  

          Creates the specified threshold value for the class property and enters organization statistics threshold policy class property threshold value mode.

          (注)     

          You can configure multiple threshold values for the class property.

           
          ステップ 7UCS-A /org/stats-threshold-policy /class/property/threshold-value # set {deescalating | escalating} value  

          Specifies the de-escalating or escalating class property threshold value. The value format can vary depending on the class property threshold value being configured. To see the required format, enter the set deescalating ? or set escalating ? command in organization statistics threshold policy class property threshold value mode.

          (注)     

          You can specify both de-escalating and escalating class property threshold values.

           
          ステップ 8UCS-A /org/stats-threshold-policy /class/property/threshold-value # commit-buffer  

          Commits the transaction to the system configuration.

           

          The following example creates the server and server component statistics threshold policy class for CPU statistics, creates a CPU temperature property, specifies that the normal CPU temperature is 48.5° C, creates an above normal warning threshold of 50° C, and commits the transaction:

          UCS-A# scope org /
          UCS-A /org* # scope stats-threshold-policy ServStatsPolicy
          UCS-A /org/stats-threshold-policy* # create class cpu-stats
          UCS-A /org/stats-threshold-policy/class* # create property cpu-temp
          UCS-A /org/stats-threshold-policy/class/property* # set normal-value 48.5
          UCS-A /org/stats-threshold-policy/class/property* # create threshold-value above-normal warning
          UCS-A /org/stats-threshold-policy/class/property/threshold-value* # set escalating 50.0
          UCS-A /org/stats-threshold-policy/class/property/threshold-value* # commit-buffer
          UCS-A /org/stats-threshold-policy/class/property/threshold-value # 
          

          Deleting a Server and Server Component Statistics Threshold Policy Class

          手順
             コマンドまたはアクション目的
            ステップ 1UCS-A# scope org org-name  

            Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name .

             
            ステップ 2UCS-A /org # scope stats-threshold-policy policy-name  

            Enters the specified statistics threshold policy.

             
            ステップ 3UCS-A /org/stats-threshold-policy # delete class class-name  

            Deletes the specified statistics threshold policy class from the policy.

             
            ステップ 4UCS-A /org/stats-threshold-policy # commit-buffer  

            Commits the transaction to the system configuration.

             

            The following example deletes the server and server component statistics threshold policy class for CPU statistics and commits the transaction:

            UCS-A# scope org /
            UCS-A /org* # scope stats-threshold-policy ServStatsPolicy
            UCS-A /org/stats-threshold-policy* # delete class cpu-stats
            UCS-A /org/stats-threshold-policy* # commit-buffer
            UCS-A /org/stats-threshold-policy # 
            

            Uplink Ethernet Port Statistics Threshold Policy Configuration

            Configuring an Uplink Ethernet Port Statistics Threshold Policy

            手順
               コマンドまたはアクション目的
              ステップ 1UCS-A# scope eth-uplink  

              Enters Ethernet uplink mode.

               
              ステップ 2UCS-A /eth-uplink # scope stats-threshold-policy default  

              Enters Ethernet uplink statistics threshold policy mode.

              (注)     

              You cannot create (or delete) an uplink Ethernet port statistics threshold policy. You can only enter (scope to) the existing default policy.

               
              ステップ 3UCS-A /eth-uplink/stats-threshold-policy # set descr description   (任意)

              Provides a description for the policy.

              (注)     

              If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output.

               
              ステップ 4UCS-A /eth-uplink/stats-threshold-policy # commit-buffer  

              Commits the transaction to the system configuration.

               

              The following example enters the default uplink Ethernet port threshold policy, provides a description for the policy, and commits the transaction:

              UCS-A# scope eth-uplink
              UCS-A /eth-uplink* # scope stats-threshold-policy default
              UCS-A /eth-uplink/stats-threshold-policy* # set descr "Uplink Ethernet port stats threshold policy."
              UCS-A /eth-uplink/stats-threshold-policy* # commit-buffer
              UCS-A /eth-uplink/stats-threshold-policy # 
              
              次の作業

              Configure one or more policy classes for the statistics threshold policy. For more information, see "Configuring an Uplink Ethernet Port Statistics Threshold Policy Class."

              Configuring an Uplink Ethernet Port Statistics Threshold Policy Class

              手順
                 コマンドまたはアクション目的
                ステップ 1UCS-A# scope eth-uplink  

                Enters Ethernet uplink mode.

                 
                ステップ 2UCS-A /eth-uplink # scope stats-threshold-policy default  

                Enters Ethernet uplink statistics threshold policy mode.

                 
                ステップ 3UCS-A /eth-uplink/stats-threshold-policy # create class class-name  

                Creates the specified statistics threshold policy class and enters Ethernet uplink statistics threshold policy class mode. The class-name argument can be any of the class name keywords available for the particular statistics threshold policy being configured. To see a list of the available class name keywords, enter the create class ? command in Ethernet uplink statistics threshold policy mode.

                (注)     

                You can configure multiple classes for the statistics threshold policy.

                 
                ステップ 4UCS-A /eth-uplink/stats-threshold-policy /class # create property property-name  

                Creates the specified statistics threshold policy class property and enters Ethernet uplink statistics threshold policy class property mode. The property-name argument can be any of the property name keywords available for the particular policy class being configured. To see a list of the available property name keywords, enter the create property ? command in Ethernet uplink statistics threshold policy class mode.

                (注)     

                You can configure multiple properties for the policy class.

                 
                ステップ 5UCS-A /eth-uplink/stats-threshold-policy /class/property # set normal-value value  

                Specifies the normal value for the class property. The value format can vary depending on the class property being configured. To see the required format, enter the set normal-value ? command in Ethernet uplink statistics threshold policy class property mode.

                 
                ステップ 6UCS-A /eth-uplink/stats-threshold-policy /class/property # create threshold-value {above-normal | below-normal} {cleared | condition | critical | info | major | minor | warning}  

                Creates the specified threshold value for the class property and enters Ethernet uplink statistics threshold policy class property threshold value mode.

                (注)     

                You can configure multiple threshold values for the class property.

                 
                ステップ 7UCS-A /eth-uplink/stats-threshold-policy /class/property/threshold-value # set {deescalating | escalating} value  

                Specifies the de-escalating or escalating class property threshold value. The value format can vary depending on the class property threshold value being configured. To see the required format, enter the set deescalating ? or set escalating ? command in Ethernet uplink statistics threshold policy class property threshold value mode.

                (注)     

                You can specify both de-escalating and escalating class property threshold values.

                 
                ステップ 8UCS-A /eth-uplink/stats-threshold-policy /class/property/threshold-value # commit-buffer  

                Commits the transaction to the system configuration.

                 

                The following example creates the uplink Ethernet port statistics threshold policy class for Ethernet error statistics, creates a cyclic redundancy check (CRC) error count property, specifies that the normal CRC error count for each polling interval is 1000, creates an above normal warning threshold of 1250, and commits the transaction:

                UCS-A# scope eth-uplink
                UCS-A /eth-uplink* # scope stats-threshold-policy default
                UCS-A /eth-uplink/stats-threshold-policy* # create class ether-error-stats
                UCS-A /eth-uplink/stats-threshold-policy/class* # create property crc-delta
                UCS-A /eth-uplink/stats-threshold-policy/class/property* # set normal-value 1000
                UCS-A /eth-uplink/stats-threshold-policy/class/property* # create threshold-value above-normal warning
                UCS-A /eth-uplink/stats-threshold-policy/class/property/threshold-value* # set escalating 1250
                UCS-A /eth-uplink/stats-threshold-policy/class/property/threshold-value* # commit-buffer
                UCS-A /eth-uplink/stats-threshold-policy/class/property/threshold-value # 
                

                Deleting an Uplink Ethernet Port Statistics Threshold Policy Class

                手順
                   コマンドまたはアクション目的
                  ステップ 1UCS-A# scope eth-uplink  

                  Enters Ethernet uplink mode.

                   
                  ステップ 2UCS-A /eth-uplink # scope stats-threshold-policy default  

                  Enters Ethernet uplink statistics threshold policy mode.

                   
                  ステップ 3UCS-A /eth-uplink/stats-threshold-policy # delete class class-name  

                  Deletes the specified statistics threshold policy class from the policy.

                   
                  ステップ 4UCS-A /eth-uplink/stats-threshold-policy # commit-buffer  

                  Commits the transaction to the system configuration.

                   

                  The following example deletes the uplink Ethernet port statistics threshold policy class for Ethernet error statistics and commits the transaction:

                  UCS-A# scope eth-uplink
                  UCS-A /eth-uplink # scope stats-threshold-policy default
                  UCS-A /eth-uplink/stats-threshold-policy # delete class ether-error-stats
                  UCS-A /eth-uplink/stats-threshold-policy* # commit-buffer
                  UCS-A /eth-uplink/stats-threshold-policy # 
                  

                  Server Port, Chassis, and Fabric Interconnect Statistics Threshold Policy Configuration

                  Configuring a Server Port, Chassis, and Fabric Interconnect Statistics Threshold Policy

                  手順
                     コマンドまたはアクション目的
                    ステップ 1UCS-A# scope eth-server  

                    Enters Ethernet server mode.

                     
                    ステップ 2UCS-A /eth-server # scope stats-threshold-policy default  

                    Enters Ethernet server statistics threshold policy mode.

                    (注)     

                    You cannot create (or delete) a server port, chassis, and fabric interconnect statistics threshold policy. You can only enter (scope to) the existing default policy.

                     
                    ステップ 3UCS-A /eth-server/stats-threshold-policy # set descr description   (任意)

                    Provides a description for the policy.

                    (注)     

                    If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output.

                     
                    ステップ 4UCS-A /eth-server/stats-threshold-policy # commit-buffer  

                    Commits the transaction to the system configuration.

                     

                    The following example enters the default server port, chassis, and fabric interconnect statistics threshold policy, provides a description for the policy, and commits the transaction:

                    UCS-A# scope eth-server
                    UCS-A /eth-server* # scope stats-threshold-policy default
                    UCS-A /eth-server/stats-threshold-policy* # set descr "Server port, chassis, and fabric interconnect stats threshold policy."
                    UCS-A /eth-server/stats-threshold-policy* # commit-buffer
                    UCS-A /eth-server/stats-threshold-policy # 
                    
                    次の作業

                    Configure one or more policy classes for the statistics threshold policy. For more information, see "Configuring a Server Port, Chassis, and Fabric Interconnect Statistics Threshold Policy Class."

                    Configuring a Server Port, Chassis, and Fabric Interconnect Statistics Threshold Policy Class

                    手順
                       コマンドまたはアクション目的
                      ステップ 1UCS-A# scope eth-server  

                      Enters Ethernet server mode.

                       
                      ステップ 2UCS-A /eth-server # scope stats-threshold-policy default  

                      Enters Ethernet server statistics threshold policy mode.

                       
                      ステップ 3UCS-A /eth-server/stats-threshold-policy # create class class-name  

                      Creates the specified statistics threshold policy class and enters Ethernet server statistics threshold policy class mode. The class-name argument can be any of the class name keywords available for the particular statistics threshold policy being configured. To see a list of the available class name keywords, enter the create class ? command in Ethernet server statistics threshold policy mode.

                      (注)     

                      You can configure multiple classes for the statistics threshold policy.

                       
                      ステップ 4UCS-A /eth-server/stats-threshold-policy /class # create property property-name  

                      Creates the specified statistics threshold policy class property and enters Ethernet server statistics threshold policy class property mode. The property-name argument can be any of the property name keywords available for the particular policy class being configured. To see a list of the available property name keywords, enter the create property ? command in Ethernet server statistics threshold policy class mode.

                      (注)     

                      You can configure multiple properties for the policy class.

                       
                      ステップ 5UCS-A /eth-server/stats-threshold-policy /class/property # set normal-value value  

                      Specifies the normal value for the class property. The value format can vary depending on the class property being configured. To see the required format, enter the set normal-value ? command in Ethernet server statistics threshold policy class property mode.

                       
                      ステップ 6UCS-A /eth-server/stats-threshold-policy /class/property # create threshold-value {above-normal | below-normal} {cleared | condition | critical | info | major | minor | warning}  

                      Creates the specified threshold value for the class property and enters Ethernet server statistics threshold policy class property threshold value mode.

                      (注)     

                      You can configure multiple threshold values for the class property.

                       
                      ステップ 7UCS-A /eth-server/stats-threshold-policy /class/property/threshold-value # set {deescalating | escalating} value  

                      Specifies the de-escalating or escalating class property threshold value. The value format can vary depending on the class property threshold value being configured. To see the required format, enter the set deescalating ? or set escalating ? command in Ethernet server statistics threshold policy class property threshold value mode.

                      (注)     

                      You can specify both de-escalating and escalating class property threshold values.

                       
                      ステップ 8UCS-A /eth-server/stats-threshold-policy /class/property/threshold-value # commit-buffer  

                      Commits the transaction to the system configuration.

                       

                      The following example creates the server port, chassis, and fabric interconnect statistics threshold policy class for chassis statistics, creates an input power (Watts) property, specifies that the normal power is 8kW, creates an above normal warning threshold of 11kW, and commits the transaction:

                      UCS-A# scope eth-server
                      UCS-A /eth-server* # scope stats-threshold-policy default
                      UCS-A /eth-server/stats-threshold-policy* # create class chassis-stats
                      UCS-A /eth-server/stats-threshold-policy/class* # create property input-power
                      UCS-A /eth-server/stats-threshold-policy/class/property* # set normal-value 8000.0
                      UCS-A /eth-server/stats-threshold-policy/class/property* # create threshold-value above-normal warning
                      UCS-A /eth-server/stats-threshold-policy/class/property/threshold-value* # set escalating 11000.0
                      UCS-A /eth-server/stats-threshold-policy/class/property/threshold-value* # commit-buffer
                      UCS-A /eth-server/stats-threshold-policy/class/property/threshold-value # 
                      

                      Deleting a Server Port, Chassis, and Fabric Interconnect Statistics Threshold Policy Class

                      手順
                         コマンドまたはアクション目的
                        ステップ 1UCS-A# scope eth-server  

                        Enters Ethernet server mode.

                         
                        ステップ 2UCS-A /eth-server # scope stats-threshold-policy default  

                        Enters Ethernet server statistics threshold policy mode.

                         
                        ステップ 3UCS-A /eth-server/stats-threshold-policy # delete class class-name  

                        Deletes the specified statistics threshold policy class from the policy.

                         
                        ステップ 4UCS-A /eth-server/stats-threshold-policy # commit-buffer  

                        Commits the transaction to the system configuration.

                         

                        The following example deletes the server port, chassis, and fabric interconnect statistics threshold policy class for chassis statistics and commits the transaction:

                        UCS-A# scope eth-server
                        UCS-A /eth-server* # scope stats-threshold-policy default
                        UCS-A /eth-server/stats-threshold-policy* # delete class chassis-stats
                        UCS-A /eth-server/stats-threshold-policy* # commit-buffer
                        UCS-A /eth-server/stats-threshold-policy # 
                        

                        Fibre Channel Port Statistics Threshold Policy Configuration

                        Configuring a Fibre Channel Port Statistics Threshold Policy

                        手順
                           コマンドまたはアクション目的
                          ステップ 1UCS-A# scope fc-uplink  

                          Enters Fibre Channel uplink mode.

                           
                          ステップ 2UCS-A /fc-uplink # scope stats-threshold-policy default  

                          Enters Fibre Channel uplink statistics threshold policy mode.

                          (注)     

                          You cannot create (or delete) an uplink Fibre Channel port statistics threshold policy. You can only enter (scope to) the existing default policy.

                           
                          ステップ 3UCS-A /fc-uplink/stats-threshold-policy # set descr description   (任意)

                          Provides a description for the policy.

                          (注)     

                          If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output.

                           
                          ステップ 4UCS-A /fc-uplink/stats-threshold-policy # commit-buffer  

                          Commits the transaction to the system configuration.

                           

                          The following example enters the default uplink Fibre Channel port statistics threshold policy, provides a description for the policy, and commits the transaction:

                          UCS-A# scope fc-uplink
                          UCS-A /fc-uplink* # scope stats-threshold-policy default
                          UCS-A /fc-uplink/stats-threshold-policy* # set descr "Uplink Fibre Channel stats threshold policy."
                          UCS-A /fc-uplink/stats-threshold-policy* # commit-buffer
                          UCS-A /fc-uplink/stats-threshold-policy # 
                          
                          次の作業

                          Configure one or more policy classes for the statistics threshold policy. For more information, see "Configuring a Fibre Channel Port Statistics Threshold Policy Class."

                          Configuring a Fibre Channel Port Statistics Threshold Policy Class

                          手順
                             コマンドまたはアクション目的
                            ステップ 1UCS-A# scope fc-uplink  

                            Enters Fibre Channel uplink mode.

                             
                            ステップ 2UCS-A /fc-uplink # scope stats-threshold-policy default  

                            Enters Fibre Channel uplink statistics threshold policy mode.

                             
                            ステップ 3UCS-A /fc-uplink/stats-threshold-policy # create class class-name  

                            Creates the specified statistics threshold policy class and enters Fibre Channel uplink statistics threshold policy class mode. The class-name argument can be any of the class name keywords available for the particular statistics threshold policy being configured. To see a list of the available class name keywords, enter the create class ? command in Fibre Channel uplink statistics threshold policy mode.

                            (注)     

                            You can configure multiple classes for the statistics threshold policy.

                             
                            ステップ 4UCS-A /fc-uplink/stats-threshold-policy /class # create property property-name  

                            Creates the specified statistics threshold policy class property and enters Fibre Channel uplink statistics threshold policy class property mode. The property-name argument can be any of the property name keywords available for the particular policy class being configured. To see a list of the available property name keywords, enter the create property ? command in Fibre Channel uplink statistics threshold policy class mode.

                            (注)     

                            You can configure multiple properties for the policy class.

                             
                            ステップ 5UCS-A /fc-uplink/stats-threshold-policy /class/property # set normal-value value  

                            Specifies the normal value for the class property. The value format can vary depending on the class property being configured. To see the required format, enter the set normal-value ? command in Fibre Channel uplink statistics threshold policy class property mode.

                             
                            ステップ 6UCS-A /fc-uplink/stats-threshold-policy /class/property # create threshold-value {above-normal | below-normal} {cleared | condition | critical | info | major | minor | warning}  

                            Creates the specified threshold value for the class property and enters Fibre Channel uplink statistics threshold policy class property threshold value mode.

                            (注)     

                            You can configure multiple threshold values for the class property.

                             
                            ステップ 7UCS-A /fc-uplink/stats-threshold-policy /class/property/threshold-value # set {deescalating | escalating} value  

                            Specifies the de-escalating or escalating class property threshold value. The value format can vary depending on the class property threshold value being configured. To see the required format, enter the set deescalating ? or set escalating ? command in Fibre Channel uplink statistics threshold policy class property threshold value mode.

                            (注)     

                            You can specify both de-escalating and escalating class property threshold values.

                             
                            ステップ 8UCS-A /fc-uplink/stats-threshold-policy /class/property/threshold-value # commit-buffer  

                            Commits the transaction to the system configuration.

                             

                            The following example creates the uplink Fibre Channel port statistics threshold policy class for Fibre Channel statistics, creates an average bytes received property, specifies that the normal average number of bytes received for each polling interval is 150MB, creates an above normal warning threshold of 200MB, and commits the transaction:

                            UCS-A# scope fc-uplink
                            UCS-A /fc-uplink* # scope stats-threshold-policy default
                            UCS-A /fc-uplink/stats-threshold-policy* # create class fc-stats
                            UCS-A /fc-uplink/stats-threshold-policy/class* # create property bytes-rx-avg
                            UCS-A /fc-uplink/stats-threshold-policy/class/property* # set normal-value 150000000
                            UCS-A /fc-uplink/stats-threshold-policy/class/property* # create threshold-value above-normal warning
                            UCS-A /fc-uplink/stats-threshold-policy/class/property/threshold-value* # set escalating 200000000
                            UCS-A /fc-uplink/stats-threshold-policy/class/property/threshold-value* # commit-buffer
                            UCS-A /fc-uplink/stats-threshold-policy/class/property/threshold-value # 
                            

                            Deleting an Uplink Fibre Channel Port Statistics Threshold Policy Class

                            手順
                               コマンドまたはアクション目的
                              ステップ 1UCS-A# scope fc-uplink  

                              Enters Fibre Channel uplink mode.

                               
                              ステップ 2UCS-A /fc-uplink # scope stats-threshold-policy default  

                              Enters Fibre Channel uplink statistics threshold policy mode.

                               
                              ステップ 3UCS-A /fc-uplink/stats-threshold-policy # delete class class-name  

                              Deletes the specified statistics threshold policy class from the policy.

                               
                              ステップ 4UCS-A /fc-uplink/stats-threshold-policy # commit-buffer  

                              Commits the transaction to the system configuration.

                               

                              The following example deletes the uplink Fibre Channel port statistics threshold policy class for Fibre Channel statistics and commits the transaction:

                              UCS-A# scope fc-uplink
                              UCS-A /fc-uplink # scope stats-threshold-policy default
                              UCS-A /fc-uplink/stats-threshold-policy # delete class fc-stats
                              UCS-A /fc-uplink/stats-threshold-policy* # commit-buffer
                              UCS-A /fc-uplink/stats-threshold-policy #