LVDA2203 MCS发布Ubuntu

MCS模板机不用加域,easy install (ctxinstall.sh)脚本也不是必须要运行的。

1.安装XenTools或者VMWare tools

2.离线安装dotnet 6.0

下载地址:https://dotnet.microsoft.com/download/dotnet/6.0

创建/opt/dotnet目录并解压其中

sudo mkdir -p /opt/dotnet
sudo tar -C /opt/dotnet -xvf dotnet-runtime-6.0.3-linux-x64.tar.gz

3.安装Linux VDA包

sudo dpkg -i <path>/<VDA deb>
sudo apt-get install -f

4.配置/etc/xdl/mcs/mcs.conf 文件

#!/bin/bash

###############################################################################
#
# Citrix Virtual Apps & Desktops For Linux Script: Machine Creation Service
# Copyright (c) Citrix Systems, Inc. All Rights Reserved.
#
# This is the configuration file for mcs scripts.

#########################Template machine check################################
# If unspecified, the value is N by default, meaning that mcs configuration templates will overwrite configuration items
# If you choose Y, MCS created VMs will use the existing configurations of the current VDA that must running correctly
Use_Existing_Configurations_Of_Current_VDA=

#########################DNS Configuration#####################################
# Provide DNS information
# You can provide 4 DNS servers at most. 
# Leave empty if you do not have 4 servers. You may also leave all of them empty
# and configure dns manually.
# Format: 
# dns1="xx.xx.xx.xx"
# dns2="xx.xx.xx.xx"
# dns3=
# dns4=
//设置DNS Server地址
dns1=10.110.10.1
dns2=10.110.10.2
dns3=
dns4=

#########################NTP Configuration#####################################
# Provide NTP server information. 
# If not set here, the default value will be the address of domain controller.
# Format:
# NTP_SERVER="xx.xx.xx.xx"
//设置时间同步服务器
NTP_SERVER=10.110.10.1

#########################WORKGROUP Configuration###############################
# Provide Workgroup information.
# Usually workgroup is the same with domain name and you do not need to configure it here.
# If that is not the case, please config it according to the correct format:
# WORKGROUP="workgroup_name"
//以我的lab域名qicai.lab为例,这里要填写大写的QICAI。严谨的做法是在DDC上运行cmd,输入'set'命令列出域相关的值,这里填的是USERDOMAIN的Value
WORKGROUP=QICAI


#########################Domain Join Configuration#############################
# Provide Domain Join method. 
# Winbind: support RHEL6/CentOS6, RHEL7/CentOS7, SUSE12, Ubuntu1604
# SSSD: support RHEL6/CentOS6, RHEL7/CentOS7, Ubuntu1604
# AD_INTEGRATION="winbind" or AD_INTEGRATION="sssd"
//加域方式
AD_INTEGRATION="winbind"

#########################Linux VDA Configuration###############################
# Provide Linux VDA configuration information.
# Please refer to Linux VDA Documentation for these settings.
//dotnet runtime 解压路径
DOTNET_RUNTIME_PATH=/opt/dotnet
SUPPORT_DDC_AS_CNAME=N
VDA_PORT=80
REGISTER_SERVICE=Y
ADD_FIREWALL_RULES=Y
HDX_3D_PRO=N
//单会话还是多会话
VDI_MODE=Y
SITE_NAME='<none>'
LDAP_LIST=
SEARCH_BASE='<none>'
FAS_LIST=
START_SERVICE=Y 

5.运行/opt/Citrix/VDA/sbin/deploymcs.sh

6.将VM关机打快照

7.DDC上运行MCS向导

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注