NSX-v 環境中的叢集會顯示在移轉主機頁面上。叢集會排列在多個移轉群組中,每個移轉群組包含一個 vSphere 主機叢集。有數個設定可控制主機移轉的執行方式。

  • Click Settings to change the global settings: Pause Between Groups and Migration Order Across Groups.
  • Select a single host group (cluster) and use the arrows to move it up or down in the migration sequence.
  • Select one or more host groups (clusters) and click Actions to change these host groups settings: Migration Order Within Groups, Migration State, and Migration Mode.

Pause Between Groups

Pause Between Groups is a global setting that applies to all host groups. If pausing is enabled, the migration coordinator migrates one host group, and then waits for input. You must click Continue to continue to the next host group.

By default, Pause Between Groups is disabled. If you want to verify the status of the applications running on each cluster before proceeding to the next one, enable Pause Between Groups.

Serial or Parallel Migration Order

You can define whether migration happens in a serial or parallel order. There are two ordering settings:
  • Migration Order Across Groups is a global setting that applies to all host groups.

    • Serial: One host group (cluster) at a time is migrated.
    • Parallel: Up to five host groups at a time are migrated. After those five host groups are migrated, the next batch of up to five host groups are migrated.
      重要:

      If you are migrating from NSX-v 6.4.4, 6.4.5, or 6.4.6, and your environment uses vSphere Distributed Switch 7.0, do not select parallel migration order across groups.

      If you are migrating from NSX-v 6.4.8 or later, and your environment uses vSphere Distributed Switch 7.0, parallel migration order across groups is supported.

  • Migration Order Within Groups is a host group (cluster) specific setting, so can be configured separately on each host group.

    • Serial: One host within the host group (cluster) at a time is migrated.
    • Parallel: Up to five hosts within the host group are migrated at a time. After those hosts are migrated, the next batch of up to five hosts are migrated.
      重要: Do not select parallel migration order within groups for a cluster if you plan to use Maintenance migration mode for that cluster.

By default, both settings are set to Serial. Together, the settings determine how many hosts are migrated at a time.

表 1. Effects of Migration Settings on Number of Hosts Attempting Migration Simultaneously
Migration Order Across Groups (Clusters) Migration Order Within Groups (Clusters) Maximum Number of Hosts Attempting Migration Simultaneously
Serial Serial 1

One host from one host group

Serial Parallel 5

Five hosts from one host group

Parallel Serial 5

One host from five host groups

Parallel Parallel 25

Five hosts from five host groups

重要:

If there is a failure to migrate a host, the migration process will pause after all in-progress host migrations have finished. If Parallel is selected for both migration across groups and migration within groups, there might be a long outage for the failed host before you can retry migration.

Sequence of Migration Groups

You can select a host group (cluster) and use the arrows to move it up or down in the list of groups.

如果主機無法移轉,您可以將其主機群組移至群組清單的底端。您在解決故障主機的問題時,可以繼續移轉其他主機群組。

Migration State

Host groups (clusters) can have one of two migration states:

  • Enabled

    Hosts groups with a migration state of Enabled are migrated to NSX-T when you click Start on the Migrate Hosts page.

  • Disabled

    You can temporarily exclude host groups from migration by setting the migration state for the groups to Disabled. Hosts in disabled groups are not migrated to NSX-T when you click Start on the Migrate Hosts page. However, you must enable and migrate all Disabled host groups before you can click Finish. Finish all host migration tasks and click Finish within the same maintenance window.

In the Resolve Configuration step, the migration coordinator identifies the hosts that are ineligible for migration. In the Migrate Hosts step, these hosts are assigned the migration state of Do not migrate. For example, hosts that do not have NSX-v installed have the Do not migrate status.

Migration Mode

Migration Mode is a host group (cluster) specific setting, and can be configured separately on each host group. In the Migrate Hosts step, you select whether to use In-Place or Maintenance mode.

There are two types of Maintenance migration modes:
  • Automated
  • Manual
In the Resolve Configuration step of the migration process, you select which type of Maintenance migration mode to use. You select a Maintenance mode even if you plan to migrate hosts using In-Place mode. When you select Maintenance migration mode in the Migrate Hosts step, the value you specified in the Resolve Configuration step determines whether Automated Maintenance mode or Manual Maintenance mode is used. However, in the Migrate Hosts step, if you select In-Place mode, your selected choice of Maintenance mode in the Resolve Configuration step does not take effect.

如果您的 NSX-v 安裝使用 vSphere Distributed Switch 7.0,則不支援就地移轉模式。

如果您的環境使用分散式防火牆,請選取自動維護移轉模式。如果您選取不同的移轉模式,則以下限制適用於具有分散式防火牆的環境:

  • 如果您使用手動維護移轉模式,則必須將所有虛擬機器移至 NSX-T 主機、連線至 NSX-T 區段,並在最後一個 NSX-v 主機開始進行移轉之前開啟電源。當您移轉最後的 NSX-v 主機時,請勿關閉主機上虛擬機器的電源。使用 vMotion 將它們移至 NSX-T 主機。
  • 如果您使用手動維護移轉模式,則在虛擬機器移至 NSX-T 主機後,最長將會有 5 分鐘缺乏防火牆保護。
  • 如果您使用 就地移轉模式,且有套用至虛擬機器的分散式防火牆規則,這些規則不會推送至主機,直到主機及其所有虛擬機器移轉為止。規則推送至主機後,會套用下列項目:
    • 如果 NSX-T 預設規則為 deny,則無法存取虛擬機器。
    • 如果 NSX-T 預設規則為 accept,則虛擬機器不受套用至規則保護。
每個移轉模式的移轉程序有所不同:
  • In-Place migration mode

    NSX-T is installed and NSX components are migrated while VMs are running on the hosts. Hosts are not put in maintenance mode during migration. Virtual machines experience a short network outage and network storage I/O outage during the migration.

  • Automated Maintenance migration mode

    A task of entering maintenance mode is automatically queued. VMs are moved to other hosts using vMotion. Depending on availability and capacity, VMs are migrated to NSX-v or NSX-T hosts. After the host is evacuated, the host enters maintenance mode, NSX-T is installed, and NSX components are migrated. VMs are migrated back to the newly configured NSX-T host. Note that Migration Coordinator will not reconfigure VMs that are powered off. After migration, you need to manually configure these VMs before powering them on.

  • Manual Maintenance migration mode

    A task of entering maintenance mode is automatically queued. To allow the host to enter maintenance mode, do one of the following tasks:
    • Power off all VMs on the hosts.
    • Move the VMs to another host using vMotion or cold migration.

    Once the host is in maintenance mode, NSX-T is installed on the host and NSX components are migrated. Note that the powered-off VMs and their network configurations are not migrated. You will need to manually connect the VMs to their NSX-T segments.