Oracle® VM Server for SPARC 3.2 Administration Guide

Exit Print View

Updated: May 2015
 
 

DRM Policy Configuration (policy) Resource

    A DRM policy (policy) resource appears in an <Envelope> section and can have <gprop:GenericProperty> tags with the following keys:

  • policy_name – Name of the DRM policy

  • policy_enable – Specifies whether the DRM policy is enabled or disabled

  • policy_priority – Priority of the DRM policy

  • policy_vcpu_min – Minimum number of virtual CPU resources for a domain

  • policy_vcpu_max – Maximum number of virtual CPU resources for a domain

  • policy_util_lower – Lower utilization level at which policy analysis is triggered

  • policy_util_upper – Upper utilization level at which policy analysis is triggered

  • policy_tod_begin – Effective start time of the DRM policy

  • policy_tod_end – Effective stop time of the DRM policy

  • policy_sample_rate – The sample rate, which is the cycle time in seconds

  • policy_elastic_margin – Amount of buffer between the upper and lower CPU utilization bounds

  • policy_attack – Maximum amount of a resource to be added during any one resource control cycle

  • policy_decay – Maximum amount of a resource to be removed during any one resource control cycle

Example 22-21  Example policy XML
<Envelope>
   <Section xsi:type="ovf:VirtualHardwareSection_Type">
     <Item>
       <rasd:OtherResourceType>policy</rasd:OtherResourceType>
       <gprop:GenericProperty key="policy_name">test-policy</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_enable">on</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_priority">1</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_vcpu_min">12</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_vcpu_max">13</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_util_lower">8</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_util_upper">9</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_tod_begin">07:08:09</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_tod_end">09:08:07</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_sample_rate">1</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_elastic_margin">8</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_attack">8</gprop:GenericProperty>
       <gprop:GenericProperty key="policy_decay">9</gprop:GenericProperty>
     </Item>
   </Section>
</Envelope>