背景和实验环境介绍

操作系统环境:windows 2008R2 中文企业版

 

 

 

 

前期环境配置

配置IP信息,把DNS改成自己的IP

vcenter配置vlan id vcenter配置dns_数据源

 

修改主机名和后缀

vcenter配置vlan id vcenter配置dns_数据源_02

 

 

安装和配置DNS服务

Vcenter 添加dns角色

vcenter配置vlan id vcenter配置dns_Server_03

 

 

管理工具里打开dns管理器,创建相应的记录

vcenter配置vlan id vcenter配置dns_数据源_04

 

新建区域--->正向查找区域

vcenter配置vlan id vcenter配置dns_Server_05

下一步

vcenter配置vlan id vcenter配置dns_SQL_06

 

设置区域名称

vcenter配置vlan id vcenter配置dns_Server_07

 

创建文件名如下

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_08

 

正向查找区域里,新建一个主机

vcenter配置vlan id vcenter配置dns_数据源_09

设置如下

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_10

 

 

 

设置反向查找区域

vcenter配置vlan id vcenter配置dns_数据源_11

 

设置IPV4的

vcenter配置vlan id vcenter配置dns_SQL_12

 

vcenter配置vlan id vcenter配置dns_SQL_13

 

下面文件默认即可

vcenter配置vlan id vcenter配置dns_SQL_14

 

不允许动态更新

vcenter配置vlan id vcenter配置dns_Server_15

 

反向查找区域下面的,这个---新建指针

vcenter配置vlan id vcenter配置dns_Server_16

 

 

安装SQL Server数据库作为Vcenter使用的数据库

加载sql server 2008 r2 版本的镜像文件

cn_sql_server_2008_r2_enterprise_x86_x64_ia64_dvd_522233.iso

vcenter配置vlan id vcenter配置dns_SQL_17

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_18

 

点击确定

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_19

 

等一会弹出新界面(可能1-2分钟)

点击安装---全新安装

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_20

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_21

 

产品密钥,我这里是自带的

vcenter配置vlan id vcenter配置dns_SQL_22

 

vcenter配置vlan id vcenter配置dns_SQL_23

 

vcenter配置vlan id vcenter配置dns_数据源_24

 

在这之前,我已经关闭了防火墙

vcenter配置vlan id vcenter配置dns_数据源_25

 

vcenter配置vlan id vcenter配置dns_数据源_26

 

vcenter配置vlan id vcenter配置dns_Server_27

 

选择这几个即可,我喜欢装在D盘上

vcenter配置vlan id vcenter配置dns_数据源_28

 

vcenter配置vlan id vcenter配置dns_数据源_29

 

安装位默认实例即可

vcenter配置vlan id vcenter配置dns_数据源_30

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_31

 

全部都使用系统账户

vcenter配置vlan id vcenter配置dns_数据源_32

 

两种方式都可以连接数据库

sa密码设置为Admin1234

这个sa密码必须符合密码复杂性要求

vcenter配置vlan id vcenter配置dns_数据源_33

 

一直下一步,下一步到最后即可

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_34

 

vcenter配置vlan id vcenter配置dns_SQL_35

 

安装完毕

vcenter配置vlan id vcenter配置dns_数据源_36

 

安装完毕后,配置数据库,创建一个库给vcenter使用

create database VCDB;

vcenter配置vlan id vcenter配置dns_SQL_37

 

 

升级SQL Server为SQL Server 2008R2 SP1

升级原因:Vcenter6.0.0 默认SQL Server最低为SQL Server 2008R2 SP1,或者Oracle11gR2版本

从官网下载包

https://www.microsoft.com/zh-cn/download/details.aspx?id=26727

下载这个  SQLServer2008R2SP1-KB2528583-x64-CHS.exe

直接运行exe程序

vcenter配置vlan id vcenter配置dns_Server_38

 

vcenter配置vlan id vcenter配置dns_Server_39

 

 

vcenter配置vlan id vcenter配置dns_Server_40

 

 

 默认如下即可

vcenter配置vlan id vcenter配置dns_Server_41

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_42

 

vcenter配置vlan id vcenter配置dns_数据源_43

 

 

 

 

配置数据源

接下来配置数据源(下面我这里添加数据源,最开始添加错了,应该是系统数据源,系统DSN)

管理工具---数据源(ODBC)

添加数据源

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_44

 

vcenter配置vlan id vcenter配置dns_SQL_45

 

选择下面的

vcenter配置vlan id vcenter配置dns_SQL_46

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_47

 

vcenter配置vlan id vcenter配置dns_SQL_48

 

更改默认数据库为vcdb,然后下一步

vcenter配置vlan id vcenter配置dns_数据源_49

 

其余默认即可

vcenter配置vlan id vcenter配置dns_Server_50

 

测试连接

vcenter配置vlan id vcenter配置dns_数据源_51

 

vcenter配置vlan id vcenter配置dns_SQL_52

 

点击确定,数据源配置完毕

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_53

 

 

 

 

 

 安装VCenter软件

放入光盘  VMware-VIMSetup-all-6.0.0-3343019.iso

 

 

一、打开vCenter Server6.0安装光盘的引导程序,选择“适用于Windows的vCenter Server”,然后单击“安装”

vcenter配置vlan id vcenter配置dns_Server_54

 

二、vCenter的安装向导,单击“下一步”

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_55

 

三、选择“我接受许可协议条款”,单击“下一步”

vcenter配置vlan id vcenter配置dns_Server_56

 

四、这里部署类型选择“嵌入式部署”,单击“下一步”
从vSphere 6.0开始,vCenter Single Sign-On包括在嵌入式部署中或是Platform Services Controller的一部分。
Platform Services Controller 包含vSphere组件之间进行通信所需的全部服务,其中包括vCenter SingleSign-On、VMware 证书颁发机构、VMware Lookup Service以及许可服务
安装顺序
1、如果部署类型选择外部部署,又称分布式部署,那么必须先安装Platform Services Controller,然后再安装vCenter Server。
2、如果部署类型选择嵌入式部署,将自动执行正确的安装顺序。
注意
一个Platform Services Controller最多支持八个vCenter实例,如果超出需要额外安装Platform Services Controller

vcenter配置vlan id vcenter配置dns_Server_57

 

五、确认系统名称无误后,单击“下一步”

vcenter配置vlan id vcenter配置dns_数据源_58

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_59

 

六、因为是首次安装,所以选择“创建新vCenter Single Sign-On域”,然后输入管理员administrator密码,其他保持默认即可,单击“下一步”

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_60

 

如果这里和数据源都选择使用Windows本地系统帐户运行,那么下面一步设置数据源的时候将会报错,无法继续安装

vcenter配置vlan id vcenter配置dns_Server_61

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_62

 

vcenter配置vlan id vcenter配置dns_Server_63

 

vcenter配置vlan id vcenter配置dns_数据源_64

 

 

vcenter配置vlan id vcenter配置dns_Server_65

 

把用户添加上去

vcenter配置vlan id vcenter配置dns_数据源_66

 

然后Vcenter安装过程继续,下面填写如下

vcenter配置vlan id vcenter配置dns_SQL_67

 

 

上面安装完毕,点击直接通过了

端口保持默认。点击下一步

vcenter配置vlan id vcenter配置dns_SQL_68

 

更改默认存储的位置

vcenter配置vlan id vcenter配置dns_SQL_69

 

 我比较习惯把后期安装的软件放在D盘,把上面都改为D盘下的

 

vcenter配置vlan id vcenter配置dns_数据源_70

 

vcenter配置vlan id vcenter配置dns_数据源_71

 

 

安装过程中

vcenter配置vlan id vcenter配置dns_SQL_72

 

vcenter配置vlan id vcenter配置dns_数据源_73

 

 

vcenter配置vlan id vcenter配置dns_Server_74

 

 

 通过Vsphere Client登录Vcenter

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_75

上面无法登录,下面才可以

vcenter配置vlan id vcenter配置dns_Server_76

 

登录提示

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_77

 

按照步骤即可

vcenter配置vlan id vcenter配置dns_SQL_78

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_79

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_80

 

vcenter配置vlan id vcenter配置dns_SQL_81

 

 

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_82

 

 

不要勾选。不然vcenter坏了也无法登录esxi管理了

vcenter配置vlan id vcenter配置dns_SQL_83

 

vcenter配置vlan id vcenter配置dns_Server_84

 

vcenter配置vlan id vcenter配置dns_数据源_85

 

 添加Vcenter的许可

视图---系统管理---许可

 右键 选中可以更换许可

vcenter配置vlan id vcenter配置dns_SQL_86

 

生成许可的工具。慎用

vcenter配置vlan id vcenter配置dns_vcenter配置vlan id_87

 

vcenter配置vlan id vcenter配置dns_Server_88

 

关机做快照,保护好Vcenter