好,一切准备就绪,现在开始准备我们正式的lync服务器:
2台前端服务器
2台边缘服务器
2台中介服务器
2台持久聊天服务器
2台office web app服务器
2台控制器服务器
2台反向代理服务器,我们用Haproxy+keepalived
所有服务器安装好系统,打好所有补丁
前端服务器需要安装的功能powershell:
Add-WindowsFeature RSAT-ADDS, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Windows-Identity-Foundation,Web-Scripting-Tools, Web-Mgmt-Compat, Desktop-Experience, Telnet-Client, BITS,RSAT-DNS-Server,MSMQ-Server,MSMQ-Directory -source F:\sources\sxs -restart
边缘服务器需要安装的功能powershell
Add-WindowsFeature Web-Asp-Net45, Web-Mgmt-Tools,Windows-Identity-Foundation,Telnet-Client -source F:\sources\sxs -restart
中介服务器需要安装的功能powershell
Add-WindowsFeature Web-Asp-Net45, Web-Mgmt-Tools,Windows-Identity-Foundation,Telnet-Client -source F:\sources\sxs -restart
Office Web App服务器需要安装的功能Powershell
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices -source F:\sources\sxs -restart
控制器服务器需要安装的功能powershell
Add-WindowsFeature RSAT-ADDS, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Windows-Identity-Foundation,Web-Scripting-Tools, Web-Mgmt-Compat, Desktop-Experience, BITS,MSMQ-Server,MSMQ-Directory -source F:\sources\sxs -restart
除此之外,边缘服务器的配置较多:
配置网卡:
内网网卡不配置网关和DNS
外网网卡配置公网IP和公网DNS
配置网卡路由:
当需要访问的IP为内部IP时,走内部网卡:
查看好网卡的设备名称:
在powershell输入route print,记住对应的内网网卡的ID号:
添加一条永久路由,让所有内网访问都走内网网卡:
Route add 192.168.1.0 mask 255.255.255.0 192.168.1.201 if 12 �Cp
配置主机名:
边缘服务器不加域,且修改DNS后缀为contoso.com
同时我们需要在内部DNS服务器上添加两天边缘服务器的A记录和边缘池的记录。