为目标主机上的 vSphere Replication 流量设置 VMkernel 适配器
vSphere Replication
流量设置 VMkernel 适配器创建 VMkernel 适配器以隔离目标
ESXi
主机上的入站复制流量。
- 对于分布式网络交换机,确认具有可以专用于新 VMkernel 适配器的端口组。
为确保尽可能获得最佳结果,请对一种流量类型使用一个 VMkernel 适配器。
对每个用作复制目标并要隔离其复制流量的
ESXi
主机执行此过程。 - In thevSphere Client, navigate to theESXihost.
- Click theConfiguretab and underNetworking, selectVMkernel adapters.
- Click theAdd networkingicon
.
TheAdd Networkingwizard opens. - On the Select connection type page, selectVMkernel Network Adapterand clickNext.
- On the Select target device page, select a port group or a standard switch and clickNext.
- On the Port properties page, under VMkernel port settings, configure the IP settings and TCP/IP stack to comply with your environment.vSphere Replicationrequires that all components in your environment, such asvCenter Server,ESXihosts, and thevSphere Replicationappliance use the same IP version, IPv4 or IPv6.
- 在“可用服务”下,为专用vSphere ReplicationVMkernel 适配器上的vSphere Replication或vSphere Replication NFC或这两者启用服务。
- 单击下一步。
- Apply the IP settings, clickNext, andFinishto complete the wizard.
为 NFC 流量标记的 VMkernel 适配器将显示在适配器列表中。
vSphere Replication
服务器会将复制数据路由到该适配器,ESXi
主机会将这些数据保存到数据存储。
- 对环境中的每个ESXi主机应用 VMkernel 适配器的配置。
- 在源站点的每个ESXi主机上配置相关静态路由,以便与目标站点进行通信。要进行反向复制,您必须在目标站点的ESXi主机上配置反向路由。请参见https://kb.vmware.com/kb/2001426。如果要隔离 NFC 流量,则针对vSphere Replication和 NFC 流量配置 VMkernel 适配器后,必须配置相关的vSphere Replication和 NFCvSphere Replication静态路由,具体取决于环境的复杂程度。