• vsphere6.7+Horizon7.8推送桌面遇到的一些问题


    系统环境

    • esxi6.7+vSphere6+Horizon7.8
    • VC环境为windows server 2016 standard

    问题描述

    • vc安装 链接外部数据库找不到DSN
    • 安装view compose server安装失败
    • 置备桌面时,显示置备失败,提示内部错误

    问题1的解决

    首先,在使用链接外部数据库时需进行以下设置:

    账户使用vCenteradministrator
    在准备设置vCenter Server服务帐户之前,需要为帐户分配“服务登陆”特权,打开“本地组策略”,依次展开“计算机配置”-“Windows配置”-“安全设置”-“本地策略”-“用户权限分配”,然后在右侧双击“作为服务登陆”,在弹出对话框单击“添加用户或组”将帐加入,确认无误后单击“确定”

    其次,在选择数据库时找不到外部DSN

    发现时ODBC的驱动问题,跟换低版本的ODBC驱动即可。具体需要看虚拟化桌面中对应的驱动版本(本次未找到官方说明,只是尝试了多个驱动)。

    问题2的解决

    在安装报错后查看了安装日志,发现有错误代码:error code 1603。同时,在windows安全事件报错5038,内容为" DeviceHarddiskVolume4Program Files (x86)Common FilesVMwareVMware Universal File Accessvstor2-ufa.sys"。在网上查到了解决方式https://vjonathan.com/2018/06/17/vmware-horizon-view-composer-failing-to-install-and-secure-boot/。测试修改安全启动项,如下:

    需要注意的是,如果是基于BIOS启动的话则不会有上述报错,如下图:

    问题3的解决

    置备报错后,查询了compose的日志和vc的日志,发现如下报错:

    2019-06-06 14:06:51,657 | UFA main thread 12 | FATAL | CommonLib.UfaSubsystem.UfaWorkItem - UFA error: fail in disk format operation.
    2019-06-06 14:06:51,657 | UFA main thread 12 | INFO | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA error: fail to finish init disk operation for disk: datastore: [ܯȺզԢ] kyvdi-02/kyvdi-021-internal.vmdk, host: 10.27.10.2, port: 902.
    2019-06-06 14:06:51,657 | UFA main thread 12 | DEBUG | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA: Making a call to UFA's CloseVolumesAndDisks
    2019-06-06 14:06:51,672 | UFA main thread 11 | DEBUG | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA: formatting the disk: datastore: [ܯȺզԢ] kyvdi-02/kyvdi-02-vdm-user-disk-D-7f71e82f-c22a-4aec-9bd1-283df1d7ef35.vmdk, host: 10.27.10.2, port: 902.
    2019-06-06 14:06:51,672 | UFA main thread 12 | DEBUG | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA: Returned from UFA's CloseVolumesAndDisks method
    2019-06-06 14:06:51,672 | UFA main thread 11 | FATAL | CommonLib.UfaSubsystem.UfaWorkItem - UFA error: fail in disk format operation.
    2019-06-06 14:06:51,672 | UFA main thread 11 | INFO | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA error: fail to finish init disk operation for disk: datastore: [ܯȺզԢ] kyvdi-02/kyvdi-02-vdm-user-disk-D-7f71e82f-c22a-4aec-9bd1-283df1d7ef35.vmdk, host: 10.27.10.2, port: 902.
    2019-06-06 14:06:51,672 | UFA main thread 11 | DEBUG | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA: Making a call to UFA's CloseVolumesAndDisks
    2019-06-06 14:06:51,672 | UFA main thread 12 | FATAL | CommonLib.UfaSubsystem.UfaSubsystem - UFA error: failure in operation with soap fault: SysimageFaultVstor2NotRunningFault
    VMware.Sim.CommonLib.Exception.SimUfaSubsystemException: UFA soap fault error. ---> System.Web.Services.Protocols.SoapException: sysimage.fault.Vstor2NotRunning
    ՚ System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    ՚ System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    ՚ Sysimage.SysimageService.Format(ManagedObjectReference _this, String fsType, String volumeLabel, Int32 allocationSizeInBytes, Boolean allocationSizeInBytesSpecified, Boolean compress, Boolean compressSpecified, Boolean quickFormat, Boolean quickFormatSpecified)
    ՚ VMware.Sim.CommonLib.UfaSubsystem.UfaWorkItem.Format(ManagedObjectReference volume)
    ՚ VMware.Sim.CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem.DoWork()
    ՚ VMware.Sim.CommonLib.UfaSubsystem.UfaWorkItem.Run()
    --- ŚҿӬӣבջٺؙքޡβ ---, Machine Name: CP1, Timestamp: 2019/6/6 6:06:51, App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITYSYSTEM, OS Version: Microsoft Windows NT 6.2.9200.0, reason: InternalError access host: 10.27.10.2 access port: 902 disk datastore path: [ܯȺզԢ] kyvdi-02/kyvdi-021-internal.vmdk expected certificate thumbprint: , ufaFaultName: SysimageFaultVstor2NotRunningFault ufaFaultDetails: Invalid fault

    VC上的日志发现如下报错:

    VIEINSTUTIL: Begin install
    VIEINSTUTIL: CustomActionData = vstor2-ufa;Vstor2 UFA Virtual Storage Driver;C:Program Files (x86)Common FilesVMwareVMware Universal File Accessvstor2-ufa.sys;2;1
    VIEINSTUTIL: Attempting to remove vstor2-ufa (stoppable=1)
    VIEINSTUTIL: Opened Service Control Manager
    VIEINSTUTIL: Failed to open vstor2-ufa (0x424)
    VIEINSTUTIL: InstallDriver: params = vstor2-ufa, Vstor2 UFA Virtual Storage Driver, C:Program Files (x86)Common FilesVMwareVMware Universal File Accessvstor2-ufa.sys, 2, 1, (no load order), 1
    VIEINSTUTIL: Opened Service Control Manager
    VIEINSTUTIL: Created service vstor2-ufa for C:Program Files (x86)Common FilesVMwareVMware Universal File Accessvstor2-ufa.sys
    VIEINSTUTIL: Failed to start service (0x241)
    VIEINSTUTIL: Finish install
    CustomAction InstallVstor2Driver.5ACA97E0_7C64_4970_A763_840E81DAAF0B returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

    根据报错提示,测试了902端口,telnet没问题,同时的内容有SSL链接。之后在看VC日志时,返现同样有1603错误,且vstor2-ufa.sys这个服务没启动。到系统内排查后,发现服务正常。所以猜测可能和问题2相同。采用问题2的处理方式,关闭了安全启动,桌面推送正常。

  • 相关阅读:
    vue路由守卫
    Vue里面提供的三大类钩子及两种函数
    VUE一款适用于pc平台的简单toast
    FileReader与URL.createObjectURL实现图片、视频上传前预览
    vue post请求 参数带有中文后端无法接收或者收到乱码,无法返回数据问题
    vue项目中跳转到外部链接方法
    在vue+elementUI项目中使用分页功能
    vue中通过修改element-ui的类修改相关组件的样式
    [Vue warn]: Failed to mount component: template or render function not defined. found in ---> <XFbwz> at src/views/XFbwz.vue <App> at src/App.vue <Root>
    Vue点击当前元素添加class 去掉兄弟的class
  • 原文地址:https://www.cnblogs.com/GYoungBean/p/11007830.html
Copyright © 2020-2023  润新知