Oracle® VM Server for SPARC 3.2 管理指南

退出打印视图

更新时间: 2015 年 5 月
 
 

域信息 (ldom_info) 资源

以下示例显示 ldom_info 资源的可选属性:

示例 22-6  ldom_info XML 输出示例

以下示例显示为多个 ldom_info 属性指定的值,例如,uuidhostidAddress

<Envelope>
  <References/>
  <Content xsi:type="ovf:VirtualSystem_Type" id="primary">
    <Section xsi:type="ovf:ResourceAllocationSection_type">
      <Item>
        <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType>
        <uuid>c2c3d93b-a3f9-60f6-a45e-f35d55c05fb6</uuid>
        <rasd:Address>00:03:ba:d8:ba:f6</rasd:Address>
        <gprop:GenericProperty key="hostid">83d8baf6</gprop:GenericProperty>
        <gprop:GenericProperty key="master">plum</gprop:GenericProperty>
        <gprop:GenericProperty key="failure-policy">reset</gprop:GenericProperty>
        <gprop:GenericProperty key="extended-mapin-space">on</gprop:GenericProperty>
        <gprop:GenericProperty key="progress">45%</gprop:GenericProperty>
        <gprop:GenericProperty key="status">ongoing</gprop:GenericProperty>
        <gprop:GenericProperty key="source">system1</gprop:GenericProperty>
        <gprop:GenericProperty key="rc-add-policy"></gprop:GenericProperty>
        <gprop:GenericProperty key="perf-counters">global</gprop:GenericProperty>
      </Item>
    </Section>
  </Content>
</Envelope>

    ldom_info 资源始终包含在 <Content> 段中。ldom_info 资源中的下列属性是可选属性:

  • <uuid> 标记(指定域的 UUID)。

  • <rasd:Address> 标记,指定要分配给域的 MAC 地址。

  • <gprop:GenericProperty key="extended-mapin-space"> 标记,用于指定为域启用 (on) 还是禁用 (off) 扩展 mapin 空间。默认值为 off

  • <gprop:GenericProperty key="failure-policy"> 标记,用于指定从属域在主域发生故障时应表现出的行为。默认值为 ignore。下面是有效的属性值:

    • ignore 忽略主域故障(从属域不受影响)。

    • panic 在主域发生故障时使所有从属域都发生紧急情况。

    • reset 在主域发生故障时重置所有从属域。

    • stop 在主域发生故障时停止所有从属域。

  • <gprop:GenericProperty key="hostid"> 标记,用于指定要分配给域的主机 ID。

  • <gprop:GenericProperty key="master"> 标记,用于最多指定四个以逗号分隔的主域名称。

  • <gprop:GenericProperty key="progress"> 标记,用于指定命令执行的进度百分比。

  • <gprop:GenericProperty key="source"> 标记,用于指定报告命令进度的计算机。

  • <gprop:GenericProperty key="status"> 标记,用于指定命令的状态(donefailedongoing)。

  • <gprop:GenericProperty key="rc-add-policy"> 标记,用于指定对于可能添加到指定域的根联合体是启用还是禁用直接 I/O 和 SR-IOV I/O 虚拟化操作。有效值为 iov 和空值 (rc-add-policy=)。

  • <gprop:GenericProperty key="perf-counters"> 标记,用于指定要访问的性能寄存器集(globalhtstrandstrand)。

    如果平台没有性能访问功能,将忽略 perf-counters 属性值。