虚拟交换机

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
VMWARE虚拟交换机配置
移动云计算服务端技术
2011年4月10
虚拟交换机分类
• 标准交换机
– 最基本的虚拟网络,属于单个服务器
• 分布式交换机
– 为虚机在不同服务器上迁移是提供一个始终如 一的网络配置
标准交换机
– 直连模式,虚机到虚机、虚机到物理网口 – 支持多网卡绑定 – 56个端口(4,088 maximum). – 一个虚机需要一个端口. – 上联网卡需要一个端口.
vCenter Server DB Control Plane
Host
Agent I/O Plane
Agent I/O Plane
Host
结 束
Host 1
Host 2
Distributed Switch Example
• Example:
– Create a distributed switch named Production, to be used for virtual machine networking. Assign uplinks, vmnic1 on host ESX01 and vmnic2 on host ESX02, to the distributed switch.
Connecting a Virtual Machine to a Port Group
Connect a virtual machine by assigning the port group to its network adapter.
Adding a Host to a Distributed Switch
• 分布式交换机功能
– 在分布式交换机上也可以配置vMotion、 Service Console
分布式交换机的好处
• The benefits of distributed switches over standard switches:
– Simplify datacenter administration – Provide support for private VLANs – Enable networking statistics and policies to migrate with virtual machines during a migration using VMware VMotion™ – Provide for customization and third-party development
distributed switch: Production
VMPortGroup uplink port group
virtual physical
uplinks
vmnic0 vmnic1 vmnic2 vmnic0 vmnic1 vmnic2
ESX01
ESX02
Creating a Distributed Switch
• Right-click the distributed switch, then choose Add Host.
VMkernel and Service Console Connections
Use the Manage Virtual Adapters dialog box to add a new virtual adapter or to migrate an existing one to a distributed switch.
Adding a Network: Network Adapters
– Create a new virtual switch or add the connection type to an existing virtual switch.
Adding a Network: Connection Settings
service VMkernel console port port
virtual machine port groups
uplink ports
虚拟交换机配置
• Different networks can coexist on the same virtual switch. Or they can exist on separate virtual switches. VMotion iSCSI

Enter name of switch, number of uplink ports, then choose the physical adapters from each host to add to the switch.
Viewing Distributed Switches
Use the Configuration tab to modify the switch.
– Name the connection and optionally define a VLAN ID (1–4,094) if using VLANs.
vSwitch Configuration
Display vNetwork standard switches.
Display virtual switch properties.
Delete the virtual switch.
Display port group properties.
Display Cisco Discovery Protocol information.
分布式交换机
• 分布式交换机和标准交换机功能类似,区 别在跨服务器
– 由vCenter来管理交换机的配置,而不是单个 ESX上
VMotion Port
VM Port Group
SC Port
Virtual Physical
Host
Host
虚拟交换机端口配置
• A vSwitch allows the following connection types:
– VMkernel port – Service console port (ESX only) – Virtual machine port group
Third-Party Distributed Switches
vSphere Client Plug-In
vNetwork Appliance APIs allow third-party developers to create distributed switch solutions.
vCenter Extension Control Plane Appliance
Virtual Machines Management
Management
iSCSI
VMotion
Virtual Machines
Baidu Nhomakorabea
Adding a Network: Connection Type
1.In the Configuration tab, click Add Networking. 2.In the Add Network wizard, choose desired connection type: Virtual Machine, VMkernel, or Service Console.
Managing Physical Adapters (Uplinks)
Modify physical adapter configuration at the host level.
VMware vSphere 4: Install, Configure, Manage – Revision B Copyright © 2009 VMware,
vSwitch
vSwitch
vSwitch Distributed Virtual Switch
standard switches
distributed switches
分布式交换机架构
distributed ports and port groups distributed switch (control plane)
标准交换机组件
Network configuration at the host level
service console
vNICs ports and port groups vSwitches physical NICs physical switches
VMotion Port
VM Port Group
VMotion Port Group Virtual Machine Port Group
Service Console Port Group
vCenter Server
service console
vNICs hidden vSwitches (I/O plane)
virtual
physical NICs (uplinks) physical switches physical
相关文档
最新文档