Cisco Cisco Elastic Services Controller 1.0 Guía Del Desarrollador

Descargar
Página de 73
 
                    <max_active>1</max_active> 
                    <elastic>true</elastic> 
                  </scaling> 
                </vm_group> 
                <vm_group> 
                  <name>wsa-vm</name> 
                  <bootup_time>600</bootup_time> 
                  <recovery_wait_time>0</recovery_wait_time> 
                  <interfaces> 
                    <interface> 
                      <nicid>0</nicid> 
                      <network>7af5c7df-6246-4d53-91bd-
aa12a1607656</network> 
                    </interface> 
                  </interfaces> 
                  <kpi_data> 
                    <kpi> 
                      <event_name>VM_ALIVE</event_name> 
                      <metric_value>50</metric_value> 
                      <metric_cond>GT</metric_cond> 
                      <metric_type>UINT32</metric_type> 
                      <metric_occurrences_true>3</metric_occurrences_true> 
                      
<metric_occurrences_false>3</metric_occurrences_false> 
                      <metric_collector> 
                        <type>ICMPPing</type> 
                        <nicid>0</nicid> 
                        <poll_frequency>15</poll_frequency> 
                        <polling_unit>seconds</polling_unit> 
                        <continuous_alarm>false</continuous_alarm> 
                      </metric_collector> 
                    </kpi> 
                  </kpi_data> 
                  <rules> 
                    <admin_rules> 
                      <rule> 
                        <event_name>VM_ALIVE</event_name> 
                        <action>ALWAYS log</action> 
                        <action>FALSE recover autohealing</action> 
                        <action>TRUE servicebooted.sh</action> 
                      </rule> 
                    </admin_rules> 
                  </rules> 
                  <config_data> 
                    <configuration> 
                      <dst>iosxe_config.txt</dst> 
                      <file>file://cisco/images/csr_config.sh</file> 
                    </configuration> 
                  </config_data> 
                  <scaling> 
                    <min_active>1</min_active> 
                    <max_active>1</max_active> 
                    <elastic>true</elastic> 
                  </scaling> 
                </vm_group> 
                <vm_group> 
                  <name>asa-vm</name> 
                  <bootup_time>600</bootup_time> 
                  <recovery_wait_time>0</recovery_wait_time> 
                  <interfaces> 
                    <interface> 
                      <nicid>0</nicid> 
                      <network>N/A</network> 
                    </interface> 
                  </interfaces> 
                  <kpi_data> 
                    <kpi> 
                      <event_name>VM_ALIVE</event_name> 
                      <metric_value>50</metric_value> 
                      <metric_cond>GT</metric_cond> 
                      <metric_type>UINT32</metric_type>