原创XenDesktop7.15版本虚拟桌面-AD/DB实施
下面列出来的是目录大纲,里面包含了Citrix完整搭建的教程,此次实验环境是利用Citrix XenDesktop 7.15 CU3长期稳定版虚拟桌面详细安装教程,含PVS及UPM相关配置,期待视频教程。虽然现在1912的长期稳定版已出来,但7.15与1912界面上都差不多,完全可以通用。---------------------------------------------------------------------------------以下为目录目录1. AD域1.1. AD域服务器的安装1.2. AD域上创建OU1.3. AD域用户帐号的创建2. AD23. SQL服务器安装装备4. SQL数据库安装5. 故障转移集群配置6. 配置AlwaysON7. DDC安装8. DDC1初始化配置9. DDC与VC对接10. DDC2冗余配置11. PVS1安装12. PVS1的初始化配置13. PVS2的安装及冗余配置14. BDM制作(适用于不配置DHCP66/67选择,使用光驱启动)15. 添加DDC、PVS数据库到AlwaysON15.4. 故障转移配置及验证15.5. 添加DDC、PVS访问SQL2的权限16. Win7模板收集如有疑问联系VX:JGECYL17. Win7模板的更新(安装VDA)18. 文件服务器的配置19. 文件重定向的域策略配置20. StoreFront的安装21. StoreFront的配置22. StoreFron冗余配置23. 发布虚拟桌面24. 附一:PVS镜像VHD格式转换为Vmware的VMDK格式25. End------------------------------------------------------------正文开始安装如有疑问联系VX:JGECYLAD域AD域服务器的安装准备好域控服务器,可用虚拟机,配置好IP,更改好计算机名,点击“服务器管理器”https://p1-tt.byteimg.com/origin/pgc-image/f10f4624b9c149588edec631e16b81d6?from=pc选择“添加角色和功能”https://p1-tt.byteimg.com/origin/pgc-image/f71b495d4b8a49999345a42d2afc4d96?from=pc
下一步:https://p6-tt.byteimg.com/origin/pgc-image/6da3a40668cb4283b206e4196655654e?from=pc
默认即可,下一步:https://p1-tt.byteimg.com/origin/pgc-image/eeafb27157f043a1903258818a8da32f?from=pc
下一步:https://p1-tt.byteimg.com/origin/pgc-image/1a651807558d4a6aa118b567837705da?from=pc
钩选“AD域服务和DNS服务器”,期间DNS会弹出一个窗口,选择添加功能:https://p6-tt.byteimg.com/origin/pgc-image/822e2234422e4c83a59163421ae4c6d3?from=pc
下一步:https://p6-tt.byteimg.com/origin/pgc-image/448cae5dbf6e435785809ceeb62c9b51?from=pc
默认,下一步:https://p1-tt.byteimg.com/origin/pgc-image/304a3383891d4405aa8f3456f37b677b?from=pc
下一步:https://p1-tt.byteimg.com/origin/pgc-image/910a357d7a9740f6bdd52c4c5cfadfe3?from=pc
钩选自动重启的功能,点“是”,点“安装”https://p3-tt.byteimg.com/origin/pgc-image/6d70dd6337d54c20a2d6592dbf208e35?from=pc
上一步安装完成后,点击菜单栏上的“https://p6-tt.byteimg.com/origin/pgc-image/25d950fdc44f4941bc355276836a31b2?from=pc
”符号,选择“将此服务器提升为域控制器”https://p1-tt.byteimg.com/origin/pgc-image/74e244c0aed94d06ada05fe999216a39?from=pc
【图】选择“添加新林”,输入公司即将希望使用的域名:https://p6-tt.byteimg.com/origin/pgc-image/110ab97cc2aa4341af4f38cd63803a76?from=pc
输入还原密码,点击下一步:https://p3-tt.byteimg.com/origin/pgc-image/b67bff83e4564a6fb4e8b53360037a7f?from=pc
【图】默认,下一步:https://p6-tt.byteimg.com/origin/pgc-image/986b3baf70e1469099aee738143dd4ac?from=pc
下一步:https://p3-tt.byteimg.com/origin/pgc-image/d3fc473471dd4111870e9c1cf2c98748?from=pc
下一步:https://p1-tt.byteimg.com/origin/pgc-image/2ed2d4f88ad24993ba700fb7ac41f26d?from=pc
点击“安装”,安装安成后系统将会自动重启https://p6-tt.byteimg.com/origin/pgc-image/f9286c6e411045cc982f70643c153e20?from=pc
AD域上创建OU接上一章节,重启启完成后,点击开始菜单,Windows管理工具:https://p1-tt.byteimg.com/origin/pgc-image/36d9861de8864e3184fa7372c7c0fb15?from=pc
此时可以看到管理工具里多了几项域控的组件,打开“Active Directory用户和计算机”,选择主域,点击工具栏上的https://p1-tt.byteimg.com/origin/pgc-image/426086fab7a1440a9450aa624c4b4dc8?from=pc
按钮,开始创建OUhttps://p3-tt.byteimg.com/origin/pgc-image/473b183a238f4d18b66ee52f7952e543?from=pc
输入要创建的主OUhttps://p6-tt.byteimg.com/origin/pgc-image/737d5329a36c4aca8ae9f90d0420f797?from=pc
此时我们选中刚创建的主OU,在主OU下再创建子OU,输入子OU名称https://p1-tt.byteimg.com/origin/pgc-image/b6c8694eeae64085a9b3d1a2d978650a?from=pc
AD域用户帐号的创建选择我们创建的子OU,在此OU下创建用户帐号,点击工具栏上的https://p6-tt.byteimg.com/origin/pgc-image/467fb2a66fd74026ad4d7477cf2406e6?from=pc
图标,输入帐号名,点击下一步:下图我们创建的CTX帐号将做为Citrix的管理员帐号https://p3-tt.byteimg.com/origin/pgc-image/3f14614ae14f46df87354368b4d63424?from=pc
输入两次密码,选择密码永不过期,点击下一步。PS:这里密码不能设置为太简,必须满足“大写,小写,数字,特殊符号”四种中的三种。https://p1-tt.byteimg.com/origin/pgc-image/4749442d2ead418d89e09927b1067124?from=pc
确定无误后点完成。https://p1-tt.byteimg.com/origin/pgc-image/4c1a7030016740f4ad41beb3f2477152?from=pc
由于我们需要将此用户做于管理员帐号,因此需要将此帐号加入到域管理员组里,按如下图所示操作:https://p6-tt.byteimg.com/origin/pgc-image/84e14028df7142a89f749b3c2cee95bd?from=pc
AD2AD域通常是做为辅助域,也称之为备用域。此域会与主域进行实实同步,在主域上创建的帐号,会被系统自动同步到辅助域里;在辅助域上创建的信息也同样会被同步到主域里,所以我们在新建用户帐号和做配置更改时,可随便在哪台上设置都行。步骤和主域差不多,开始菜单,选择“服务器管理器”https://p6-tt.byteimg.com/origin/pgc-image/a8050e9771124a7eb2f0d4eea8a4225b?from=pc
选择“添加角色和功能”https://p3-tt.byteimg.com/origin/pgc-image/ce0c905069164b90ae671deaa293ca54?from=pc
下一步https://p3-tt.byteimg.com/origin/pgc-image/4179b9e9ddef47a3bebd42a3451fe2ab?from=pc
下一步:https://p3-tt.byteimg.com/origin/pgc-image/0d91db4584934b71abb4ee19e8f3dece?from=pc
下一步:https://p6-tt.byteimg.com/origin/pgc-image/8d2a884de1e04fe6a64af14df2d78bb7?from=pc
钩选“AD域服务和DNS服务器”,期间DNS会弹出一个窗口,选择添加功能:https://p1-tt.byteimg.com/origin/pgc-image/ae476c7a69784071b84104d3de6feaa8?from=pc
下一步:https://p1-tt.byteimg.com/origin/pgc-image/8dcc03708bfd435085458516214211e6?from=pc
默认,下一步:https://p6-tt.byteimg.com/origin/pgc-image/a407ed5936b741029a4a35a140055977?from=pc
下一步:https://p3-tt.byteimg.com/origin/pgc-image/54c3fc1dcb164996bf407cc3d39ff3af?from=pc
钩选自动重启的功能,点“是”,点“安装”https://p1-tt.byteimg.com/origin/pgc-image/7ce6ba1b47374731a62b4265c6aed85b?from=pc
上一步安装完成后,点击菜单栏上的“https://p1-tt.byteimg.com/origin/pgc-image/592e4fbcd4b249a397436e70b0587705?from=pc
”符号,选择“将此服务器提升为域控制器”https://p3-tt.byteimg.com/origin/pgc-image/26ca7e5e590a41c896b547d848b0234c?from=pc
选择“将域控制器添加到现有域”,输入主域的域名,输入具有域管理员的一个域帐号:https://p6-tt.byteimg.com/origin/pgc-image/62e1800bf2014d03a176f5be9b481bb3?from=pc
输入主域创建时配置的密码:https://p1-tt.byteimg.com/origin/pgc-image/ea1900586b21440e806470cf4154ca5f?from=pc
下一步:https://p3-tt.byteimg.com/origin/pgc-image/a6af5fb899354f02ace72bd10a5a5237?from=pc
下一步:https://p6-tt.byteimg.com/origin/pgc-image/928f1ae5fe2c4268a62e963d6c9130e5?from=pc
下一步:https://p3-tt.byteimg.com/origin/pgc-image/d9aba2806dec4c33b72061593ca38612?from=pc
下一步:https://p6-tt.byteimg.com/origin/pgc-image/fb2d2522c7af464ab78a703905e02bfd?from=pc
点安装,等待一会即完成:https://p1-tt.byteimg.com/origin/pgc-image/efed54b5a4704cf9a7dd36950eb52853?from=pc
SQL服务器安装装备创建好SQL服务器后,配置好IP,将DNS指向域控服务器https://p3-tt.byteimg.com/origin/pgc-image/14885e16d7984d78a775513141263639?from=pc
计算机命名并加域https://p3-tt.byteimg.com/origin/pgc-image/99d9bb34207044959d18dca4c3a1375a?from=pc
为此服务器挂一块300G的D盘,用户存储数据库:https://p1-tt.byteimg.com/origin/pgc-image/4bcb20cd871e46f59427b9d544a34f5f?from=pc
创建一个Sqladmin的数据库专用域帐号,并且给提供Domain admin权限https://p1-tt.byteimg.com/origin/pgc-image/7cf8f3955f5b4ba99ec49afd8cd43e7f?from=pc
使用创建的SQLadmin帐号登陆SQL1数据库:https://p6-tt.byteimg.com/origin/pgc-image/fe4f080a2c254ff4ba8acdc2b3cd1b81?from=pc
登陆成功后点击“服务器管理器”-“添加角色和功能”https://p1-tt.byteimg.com/origin/pgc-image/b0b2f5afa8114822b78b69b558a6c79f?from=pc
下一步https://p6-tt.byteimg.com/origin/pgc-image/353d7085cd33418f8bb67df207830bf3?from=pc
下一步https://p3-tt.byteimg.com/origin/pgc-image/12fb23a0d4114df496d5f3f19ae19f58?from=pc
下一步https://p6-tt.byteimg.com/origin/pgc-image/b0be83a6914c4d67a6a1d1095f38eefd?from=pc
下一步https://p6-tt.byteimg.com/origin/pgc-image/2e1e1ff436994535869a92587b0fa7df?from=pc
选择“故障转移群集”,在弹出的向导中点击添加功能,然后下一步https://p6-tt.byteimg.com/origin/pgc-image/24438769df0a4c56a58860507520bebc?from=pc
勾选上如需要自动重启的选项,下一步https://p1-tt.byteimg.com/origin/pgc-image/1976593254264d7b8018f6d2fb33867b?from=pc
SQL数据库安装接下来开始安装SQL数据库,插入SQL安装备,选择“Setup”开始安装https://p3-tt.byteimg.com/origin/pgc-image/b62bc1a669cd4e33a7ec67a891dfcadc?from=pc
输入安装密钥,下一步https://p1-tt.byteimg.com/origin/pgc-image/ac40fb955e8849fab4811e87171f0b0d?from=pc
接受条款,下一步https://p6-tt.byteimg.com/origin/pgc-image/bec56543868a44ec938f92b816d06923?from=pc
下一步https://p1-tt.byteimg.com/origin/pgc-image/48f1f7a8f10f4e43a0f0241107f59135?from=pc
下一步https://p3-tt.byteimg.com/origin/pgc-image/ff702d9560a8434aac0f83f62b1071b1?from=pc
下一步https://p1-tt.byteimg.com/origin/pgc-image/d4fbb1902c87490a9600bd24b0d2f5a1?from=pc
先打开控制面板里的防火墙设置,关闭防火墙https://p1-tt.byteimg.com/origin/pgc-image/3d7d8e680e7f464c9ce36a9844b25264?from=pc
勾选数据库引擎服务和SQL Server复制,下一步https://p6-tt.byteimg.com/origin/pgc-image/ade6c65292bb4dbf824ceef29bd0a792?from=pc
下一步https://p3-tt.byteimg.com/origin/pgc-image/a9f4b62f8de34cb2be6a39ef7b222c66?from=pc
下一步https://p1-tt.byteimg.com/origin/pgc-image/9d508ecd035442c89e7c5bf6366d6ff6?from=pc
选择混合格式,输入两次相同的SA密码,点击添加当前用户,然后再点击数据目录https://p6-tt.byteimg.com/origin/pgc-image/679ac8e873bc426792d7835d2fdcd5d8?from=pc
只需要将数据根目录的C改为D即可,下方会自动跟随变更,下一步https://p6-tt.byteimg.com/origin/pgc-image/fd0d91fe36b346a58d3c4c5f50f1dd68?from=pc
点击“安装”https://p6-tt.byteimg.com/origin/pgc-image/4d98cbfc097f4deca42d4787b8bfc426?from=pc
故障转移集群配置如上步骤将另外一台SQL2也做相应的配置网络、加域、安装SQL,即可按如下步骤开始配置故障转移集群:注:仅需要在SQL1、 SQL2、SQL3任意一台上配置如下的故障转移群集即可。打开控制面板里的管理工具,双击“故障转移群集管理器”https://p1-tt.byteimg.com/origin/pgc-image/cfac75b621f94e7ab034ad7fe6974c41?from=pc
点击右上角的创建群集,下一步https://p1-tt.byteimg.com/origin/pgc-image/b3f68023529647b7b5c456eae651c76b?from=pc
分别输入SQL1和SQL2两台服务器的FQDN全称,点击添加https://p6-tt.byteimg.com/origin/pgc-image/ee97388ecbf14a399ed8772eac6265dd?from=pc
完成后下一步https://p1-tt.byteimg.com/origin/pgc-image/88f229f06d0a4eac95096be93fa065b2?from=pc
下一步https://p3-tt.byteimg.com/origin/pgc-image/b3810aa5518d4d40aa891af85a08a45d?from=pc
设置一个群集名称及IP地址:https://p6-tt.byteimg.com/origin/pgc-image/b50f8941cd6b4fb985be6336117ddcb8?from=pc
下一步https://p1-tt.byteimg.com/origin/pgc-image/fea33eb2cbaa476e86c2d9ff8d49fce9?from=pc
点击完成https://p3-tt.byteimg.com/origin/pgc-image/7c4b5ccdf7654ddc8289d2b849153d14?from=pc
状态都是正常,完成配置https://p1-tt.byteimg.com/origin/pgc-image/11ed9a29c5dd488e9f3a7fa03982ee48?from=pc
分别登陆到YZMSQL1和YZMSQL2上将SQL的“启用AlwaysON可用性组”功能给钩选上https://p3-tt.byteimg.com/origin/pgc-image/8e5f36cf89c84aa6a6958623f5b84900?from=pc
打开“SQL Server Configuration Manager”工具,定位到SQL Server服务,双击”SQL Server(MSSQLSERVER)“,选中”AlwaysON高可性“的标签卡,勾选上”启用AlwaysON可用性组“,确定,确定。https://p6-tt.byteimg.com/origin/pgc-image/c1b97e62ea154710933bed487c104aa4?from=pc
按下图操作重启” SQL Server(MSSQLSERVER)“服务。https://p1-tt.byteimg.com/origin/pgc-image/ba7aeebd2b504bf1a554e62d46b7b907?from=pc
在某台SQL服务器安装Studio管理工具下载链接:
https://docs.microsoft.com/zh-cn/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017https://p3-tt.byteimg.com/origin/pgc-image/c0aad835259640d28c8253145278a2e7?from=pc
安装完成后点击重启https://p3-tt.byteimg.com/origin/pgc-image/36cc73d20aed412d892a4f8bda303a90?from=pc
在开始菜单找到:Microsoft SQL Server Manager管理工具https://p3-tt.byteimg.com/origin/pgc-image/87bef5c277c04deaa7fa88e3511bc7c6?from=pc
使用登陆的SQLADMIN域帐号认证登陆,SQL1数据库https://p1-tt.byteimg.com/origin/pgc-image/f345aeb2b6404c498d03486074449e11?from=pc
选择“数字引擎”https://p6-tt.byteimg.com/origin/pgc-image/faf8bdbce2bb493f9607082d9d3715e0?from=pc
在服务名称输入:SQL的计算机名,同样也是使用SQLADMIN域帐号登陆https://p3-tt.byteimg.com/origin/pgc-image/3569810ca72c4e838cc5d71e33455014?from=pc
两台成功登陆后的效果https://p3-tt.byteimg.com/origin/pgc-image/fa179ad90c8c401d9f84a358690e8034?from=pc
授权ctx帐号的访问权限https://p6-tt.byteimg.com/origin/pgc-image/a33175cef30441e68b5035b396598d46?from=pc
输入要授权的域帐号https://p1-tt.byteimg.com/origin/pgc-image/394fcfcd866446649629c57b664eacb3?from=pc
赋予“sysadmin”的权限https://p6-tt.byteimg.com/origin/pgc-image/ff08cda2d290448aa428a0b684bab10b?from=pc
配置AlwaysON使用数据库专用帐号登陆第3台数据库https://p6-tt.byteimg.com/origin/pgc-image/abd3f280ae5f4964beac4afb966165a6?from=pc
新定个共享路径,设置共享权限为anyone完全控制https://p1-tt.byteimg.com/origin/pgc-image/37d271cca7cf43d486d8e10368e6ac6b?from=pc
登陆第1台数据库服务器,新建一个测试数据库https://p3-tt.byteimg.com/origin/pgc-image/735c45b6a3fd485887d9d5e905471e83?from=pc
输入测试数据库名称https://p6-tt.byteimg.com/origin/pgc-image/1e78597857a64a24911b1527e94e8846?from=pc
将新建好的数据库做个备份,依次右键点击数据库-任务-备份https://p3-tt.byteimg.com/origin/pgc-image/bb12f373033744a082dd0ba32869b6c2?from=pc
在前面我们有新建一个共享路径,将备份文件存放于网络路径。https://p6-tt.byteimg.com/origin/pgc-image/404bc665d733486593460753ca7649d0?from=pc
将原有的默认路径删除https://p6-tt.byteimg.com/origin/pgc-image/ee0581eb83854a59b8c7149cad6f4262?from=pc
完成备份https://p3-tt.byteimg.com/origin/pgc-image/65a40cc40eee43f2a1434839a0bff464?from=pc
依次进行事务日志备份,点击备份https://p1-tt.byteimg.com/origin/pgc-image/db63044848b54658b7f2b9ecfbee075e?from=pc
选择事务日志,可以备份到同一个文件。https://p6-tt.byteimg.com/origin/pgc-image/ac5e98e834bf4d81944d699806042fe6?from=pc
完成事务日志备份https://p1-tt.byteimg.com/origin/pgc-image/65266e12563d487ba8fa301189a5ecbc?from=pc
启用AQL Server代理https://p1-tt.byteimg.com/origin/pgc-image/72db25ff1c534286b0793e3fa9f72ddd?from=pc
右键 可用性组-新建可用性组向导https://p6-tt.byteimg.com/origin/pgc-image/1ec65b622e8148609e3b13db3b11f6f4?from=pc
为可用性组命名一个名称https://p1-tt.byteimg.com/origin/pgc-image/e4ec2059810d4df2ba959d00eaaebe71?from=pc
选择测试数据库https://p3-tt.byteimg.com/origin/pgc-image/62998fb096fb4f2c99cf2f58f88284c8?from=pc
添加备用数据库,名称为2号数据库名称https://p1-tt.byteimg.com/origin/pgc-image/8ac7b0e2e7fa452f871a2dc24c0ebb0e?from=pc
自动故障转移的勾选上,下一步https://p1-tt.byteimg.com/origin/pgc-image/a0f6999744b049139a0efbeb1827e4d2?from=pc
选择备份日志目录,下一步https://p1-tt.byteimg.com/origin/pgc-image/35e8b64c7e5245dba93f9190f0817c21?from=pc
由于我们还未建立侦听器,所以这里会有警告,后面我们会创建,下一步https://p3-tt.byteimg.com/origin/pgc-image/a18bbc8ba5c34a248711062043a73934?from=pc
完成https://p6-tt.byteimg.com/origin/pgc-image/437600a338724f2e946c9eb7a52a8ba7?from=pc
刚开始时会显示正在还原,稍等一会即可。https://p6-tt.byteimg.com/origin/pgc-image/8de9c999f1674bf1a897123577ad91a3?from=pc
添加侦听器https://p3-tt.byteimg.com/origin/pgc-image/bb6994449e244dc6b7a96baed8da81ca?from=pc
输入侦听器的名称,端口及IP地址后确定https://p6-tt.byteimg.com/origin/pgc-image/bc657fc668d54f51b71ee7ab59b1b171?from=pc
完成后即可查看到新建的侦听器https://p6-tt.byteimg.com/origin/pgc-image/a8566bcf15e54eca8eeac29a28b32610?from=pc
数据库是整个实施过程中较复杂的一部份,如果用户数据不多,也可以不配置AlwaysON,毕竟后面维护起来也相当麻烦。像一二百用户的,直接创建一个SQL数据库,定期做个备份即可。后续的东西比较多,下一篇文章更新!
欢迎大家指正错误
页:
[1]