Oracle® VM Server for SPARC 3.2 管理指南

退出打印视图

更新时间: 2015 年 5 月
 
 

DRM 策略配置 (policy) 资源

    DRM 策略 (policy) 资源显示在 <Envelope> 段,可以包含带以下键的 <gprop:GenericProperty> 标记:

  • policy_nameDRM 策略的名称

  • policy_enable指定 DRM 策略启用还是禁用

  • policy_priorityDRM 策略的优先级

  • policy_vcpu_min域的虚拟 CPU 资源的最小数量

  • policy_vcpu_max域的虚拟 CPU 资源的最大数量

  • policy_util_lower触发策略分析的最低利用率级别

  • policy_util_upper触发策略分析的最高利用率级别

  • policy_tod_beginDRM 策略的有效启动时间

  • policy_tod_endDRM 策略的有效停止时间

  • policy_sample_rate抽样率,这是以秒为单位的周期时间

  • policy_elastic_margin介于 CPU 利用率上下限之间的缓冲量

  • policy_attack在任一资源控制周期内可添加的最大资源量

  • policy_decay在任一资源控制周期内可删除的最大资源量

示例 22-21  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>