移轉使用外部 Platform Services ControllervCenter Server for Windows 時,會將其轉換為vCenter Server 執行個體,並將這些服務內嵌於應用裝置中。基於此原因,您必須在 JSON 移轉範本中指定複寫合作夥伴參數。

移轉使用外部 Platform Services ControllervCenter Server for Windows 時,您必須在 JSON 移轉範本中指定複寫合作夥伴參數。這些參數會指出移轉是否適用於下列其中一個 vCenter ServerPlatform Services Controller 移轉案例。
  • SSO 網域內的單一 vCenter Server和單一 Platform Services Controller 執行個體。
  • SSO 網域內的第一個 vCenter ServerPlatform Services Controller 執行個體包含多個 vCenter Server
  • 複寫 SSO 網域內的 vCenter ServerPlatform Services Controller 執行個體,您必須將這些執行個體指向做為複寫合作夥伴的現有 vCenter Server 7.0 執行個體。
重要: 無法移轉外部 Platform Services Controller。移轉程序會將 Platform Services Controller服務聚合到 vCenter Server Appliance 中。如需詳細資訊,請參閱 移除 Platform Services Controller

使用外部 Platform Services Controller的部署通常稱為 MxN 部署,其中 M 代表 vCenter Server,而 N 代表外部Platform Services Controller。代表網域中 vCenter ServerPlatform Services Controller 的多個執行個體時,這會以 MnxNn 表示,其中 n 為執行個體數目。例如,M2xN2指出相同網域中有兩個 vCenter Server 執行個體和兩個Platform Services Controller 執行個體。移轉此類部署時,請先將一個執行個體移轉至 7.0版,然後將第二個執行個體移轉至 7.0,並指定兩個執行個體中的第一個執行個體做為複寫合作夥伴。

JSON 移轉範本中的複寫參數位於範本的 sso區段中,並且為 first_instancereplication_partner_hostname

參數名稱 說明
first_instance first_instance參數會將 vCenter Server 識別為 vCenter Server SSO 網域中的第一個執行個體,或識別為複寫合作夥伴。

如果它是第一個 vCenter Server執行個體,請將 first_instance 設定為 true。針對相同 SSO 網域中的其他 vCenter Server 執行個體,請將 first_instance 設定為 false

replication_partner_hostname *

如果將 first_instance設定為 false,則必須指定已移轉至 7.0 版且其外部 PSC 已聚合至 vCenter Server Appliance 的 vCenter Server 的 FQDN 或 IP 位址。

當您使用 CLI 對使用外部 Platform Services Controller的單一 vCenter Server for Windows 執行個體執行移轉時,程序如下所示:
  1. ESXi上移轉時使用 win_vc_to_vCSA_on_ESXi.json 範本,或在 vCenter Server 部署上移轉時使用 win_vc_to_vCSA_on_VC.json 範本,藉此移轉您的拓撲中的 vCenter Server

  2. 針對包含單一 vCenter ServerPlatform Services Controller ( M1xN1 部署) 的部署拓撲,編輯範本的 sso 區段,以將 first_instance 參數設定為 true,然後移除 replication_partner_hostname 參數。
    "sso": {
    "__comments": [ This is the first instance (M1) vCenter Server management node, with "first_instance" set to "true" and "replication_partner_hostname" removed.
    ],
    "first_instance": true
    }
  3. 在 JSON 範本中指定其餘的組態參數,然後使用 CLI 將 vCenter Server移轉至7.0 版。請參閱執行將 vCenter Server從 Windows 至應用裝置的 CLI 移轉
  4. 成功移轉 vCenter Server後,解除委任Platform Services Controller。請參閱解除委任 Platform Services Controller
    重要: 僅在移轉和聚合拓撲中的所有 vCenter Server執行個體之後,才解除委任 Platform Services Controller 執行個體。
針對包含兩個或更多 vCenter ServerPlatform Services Controller 執行個體 ( M2xN2 部署) 的部署,先將 M1 vCenter Server 執行個體移轉至 7.0 版,然後再移轉第二個,即複寫 vCenter Server 執行個體。
  1. ESXi上移轉時使用 win_vc_to_vCSA_on_ESXi.json 範本,或在 vCenter Server 部署上移轉時使用 win_vc_to_vCSA_on_VC.json 範本,藉此移轉您的拓撲中的 vCenter Server

  2. 針對第一個 vCenter Server執行個體 ( M1),編輯範本的 sso 區段,以將 first_instance 參數設定為 true,然後移除 replication_partner_hostname 參數。
    "sso": {
    "__comments": [ This is the first instance (M1) vCenter Server management node, with "first_instance" set to "true" and "replication_partner_hostname" removed.
    ],
    "first_instance": true
    }
  3. 針對其餘的 vCenter Server執行個體 ( M2),編輯範本的 sso 區段,以將 first_instance 參數設定為 false,然後提供要將第二個節點複寫到的 vCenter Server 執行個體的 FQDN 或 IP 位址。複寫合作夥伴是您移轉至 7.0版的第一個 vCenter Server 執行個體 ( M1),它已與其 Platform Services Controller 執行個體聚合在一起。
    "sso": {
    "__comments": [ This is the second instance (M2) vCenter Server management node, with "first_instance" set to "false" and "replication_partner_hostname" set to the hostname of the replication partner.],
    "first_instance": false,
    "replication_partner_hostname": "FQDN_or_IP_address"
  4. 在 JSON 範本中指定其餘的組態參數,然後使用 CLI 將 vCenter Server移轉至7.0 版。請參閱執行將 vCenter Server從 Windows 至應用裝置的 CLI 移轉
  5. 成功移轉拓撲中的所有 vCenter Server執行個體後,解除委任Platform Services Controller 執行個體。請參閱解除委任 Platform Services Controller
    重要: 僅在移轉和聚合拓撲中的所有 vCenter Server執行個體之後,才解除委任 Platform Services Controller 執行個體。