VMWare vCenter Server Deployment
vcenter 分为两种形式, 一种使用现成的Appliance,一种是在Windows Server上安装vCenter Server服务。
vCenter Server Appliance你可以通过Windows、Mac、Linux在远程Esxi host上部署一个appliance,因为安装的时间比较长我等不及了,就直接在Windows Server上安装了vCenter Server。选择了快速安装,默认会建一个=user@vSphere.local=的SSO的登陆,本质是起了一个LDAP的服务,后台数据库嵌入的PostgreSQL。
前面我没有顾上是否可以直接配置走Windows AD域,我是安装好了以后按照[1][2]配置的。最后需要开启vMotion在esxi host之间migrate vm的话,那么需要配置第二张vswitch并为nic并配置好IP地址[3],免得做migrate时候影响production的网络。
上面说的这两种ISO都可以从官方下载,名字如下 - VMWARE vCenter Server Appliance - VMWARE vCenter Server 6.7
AD的配置关键如下,做的不是很细致,界面中不带LDAP Filter,所以就只能这么绑了,AD搜索的时候效率多少会有些影响
Administration->Sigle Sign On->Configuration->Identify Sources->Add Indentify Source->Active Directory over LDAP Base DN for Users: DC=oneops,DC=local Base DN for Groups: DC=oneops,DC=local [x]Any domain controller in the domain
-
[1][How to add AD Authentication in vCenter 6.5/6.7](https://www.virten.net/2017/01/how-to-add-ad-authentication-in-vcenter-6-5/)
-
[2][Add a vCenter Single Sign On Identity Source](https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.security.doc%2FGUID-B23B1360-8838-4FF2-B074-71643C4CB040.html)
-
[3][the Vmotion interface is not configured (or is misconfigured)](https://communities.vmware.com/thread/107170)