Oracle® VM Server for SPARC 3.2 管理指南

退出打印视图

更新时间: 2015 年 5 月
 
 

域迁移

    以下示例显示了 ldm migrate-domain 命令的 <data> 段中包含的内容。

  • 第一个 <Content> 节点(不含 <ldom_info> 段)是要迁移的源域。

  • 第二个 <Content> 节点(含有 <ldom_info> 段)是要迁移到的目标域。源域和目标域的名称可以相同。

  • 目标域的 <ldom_info> 段描述要迁移到的计算机以及迁移到该计算机所需的详细信息:

    • target-host 是要迁移到的目标计算机。

    • user-name 是目标计算机的登录用户名,该用户名必须采用 SASL 64 位编码。

    • password 是目标计算机的登录密码,该密码必须采用 SASL 64 位编码。


注 - Logical Domains Manager 使用 sasl_decode64() 对目标用户名和密码进行解码,使用 sasl_encode64() 对这些值进行编码。SASL 64 编码等同于 base64 编码。
示例 22-25  migrate-domain <data> 段示例
<Envelope>
  <References/>
  <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="ldg1"/>
  <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="ldg1"/>
    <Section xsi:type="ovf:ResourceAllocationSection_Type">
      <Item>
        <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType>
        <gprop:GenericProperty key="target">target-host</gprop:GenericProperty>
        <gprop:GenericProperty key="username">user-name</gprop:GenericProperty>
        <gprop:GenericProperty key="password">password</gprop:GenericProperty>
      <Item>
    </Section>
  </Content>
</Envelope>