一、【问题描述】

        1.通过VMware Horizon view administrator无法发布桌面;

        2.用户能正常使用连接服务器登录桌面。

二、【问题原因】

        多台Connection Server无法同步VDMDS数据库信息,导致无法发桌面。

三、【解决方法】

        1.分别在多台Connection Server解除VDMDS数据复制输出和输入,运行命令如下:

          

c:\Windows\system32\repadmin.exe /options localhost:389 -DISABLE_OUTBOUND_REPL -DISABLE_INBOUND_REPL

        2.同步VDMDS数据

C:\WINDOWS\adam\repadmin.exe /replicatelocalhost:389 [view connection计算机名]:389 dc=vdi,dc=vmware,dc=int
        注意:view connection计算机名不能为IP地址,上面命令区分大小写。

四、【总结】

开启VDMDS数据库复制命令:

repadmin.exe /options localhost:389 -DISABLE_OUTBOUND_REPL-DISABLE_INBOUND_REPL

同步VDMDS数据库命令:

C:\WINDOWS\adam\repadmin.exe /replicatelocalhost:389 [view connection计算机名]:389 dc=vdi,dc=vmware,dc=int

检查VDMDS同步情况命令:

repadmin.exe /showrepl localhost:389DC=vdi,DC=vmware,DC=int