码迷,mamicode.com
首页 > 其他好文 > 详细

OCS 2007与Lync 2013的一点碎碎念

时间:2014-07-02 11:32:04      阅读:285      评论:0      收藏:0      [点我收藏+]

标签:ocs2007   sip   lync2013   迁移   升级   

最近的项目,跨度都比较大。这次碰上的是OCS2007升级Lync 2013。以下记录一些过程心得(吐槽),类似那篇《2003到2012》的博文。

最开始的计划是OCS2007(不带R2)全部推倒干净,然后启Lync2013。商量来商量去,怕推不干净的话,Lync2013部署会有问题。于是就想着OCS2007迁到R2再迁到Lync2013。

这时候一个非常屌的问题出现了!

原有OCS2007是企业版带有后端数据库,客户对于Lync2013企业版的价格有点唏嘘,需求也不高遂只要用标准版…那么…标准版是加不进企业版池的吧。最后计划又回到了原点,推倒OCS重来Lync。

1、推倒OCS 2007 :搜的网上的教程,大致顺序是deactive roles - 卸载OCS组件 - unprep架构(埋了个雷)

2、部署Lync2013标准版非常简单…51cto高手们的教程一篇比一篇长,这里只说几个自己出错的点:

建立共享文件夹的时候记得加入

RTCComponentUniversalServices

RTCHSUniversalServices

RTCUniversalConfigReplicator

RTCUniversalServerAdmins

这四个组。(多数教程的都写个  啊,加个everyone full control就行)

建立标准版前端池的时候输入的是本台Lync2013的FQDN,是FQDN而非单一的samAccountName(非常重要)。

如果你使用的介质是如下图所示的版本号(跟我一样不幸,大半时间花在下载上了),请手动编辑替换掉setup文件夹下的sqlexpress安装文件(重新下载一个)…不然会有SqlInstanceRTC安装失败报错。

bubuko.com,布布扣

3、安装完了之后,问题就来了…我这里没有截图,就凭空描述一下:

原有的OCS 用户的sip属性全部被保留,打开Lync2013的控制面板 - 用户 - ldap搜索 - 搜索 ,可以看到所有的OCS用户被识别为office communication server池用户,也就是LegacyUser。如果你想对它们通过执行“将所选用户移动到池”来移动到新的Lync2013前端池,是肯定会报错的,首当其冲的报错是你得装一个向下兼容的组件OCSWMIBC.msi,这个组件是迁移的时候要用到的…

安装好了之后,再执行此操作,就会得到进一步的报错:”找不到全局会议策略的有效值“,这时候OCS服务器已经删的一干二净…连Import-CSLegacyConfiguration导入配置都没地方跑。

后来我心一狠,按照下图选了个选项…然后再进启用用户,点搜索……这些用户终于不再被识别为LegacyUser了,可以通过正常流程设定sip类型并启用。

当然,domain admins的用户必须得通过enable-CSuser与disable-CSuser来操作咯。

bubuko.com,布布扣

4、后来我就想,还是老的SIP属性在作怪,为什么没有删干净呢,就去翻微软的文档…

http://technet.microsoft.com/zh-cn/library/bb936625(office.12).aspx

当然OCS2007的文档结构多烂我就不想吐槽了…(lync2013同样很烂…要读还是推荐读MicrosoftLyncServer2013DocumentationHelpFile这个CHM版本

中间有这么一段:

Disable SIP-enabled users:


You can obtain a list of SIP-enabled users, using the ldifde.exe to create the list. For more information about the Ldifde.exe tool, see Using LDIFDE to import and export directory objects to Active Directory at http://r.office.microsoft.com/r/rlidOCS?clid=1033&p1=kb237677.

To use the ldifde.exe to disable SIP-enabled users, run the following command from the command prompt:

ldifde -d "OU=Users‘ OU,DC=Domain,DC=Dom" -l msRTCSIP-UserEnabled:TRUE -f SIPEnabledUsers.txt


If SIP-enabled users are in more than one organizational unit (OU), run the command for each OU.


Open Office Communications Server 2007.

In the console tree, delete users from the Standard Edition server or Enterprise pool by expanding the forest, and then doing the following:

For an Enterprise pool, expand Enterprise pools, expand the pool name, click Users, right-click Users, and then click Delete users to start the Delete Office Communications Server Users Wizard.

For a Standard Edition server, expand Standard Edition servers, expand the pool name of the Standard Edition server, right-click Users, and then click Delete users to start the Delete Office Communications Server Users Wizard.

Complete the wizard to delete all users of the Standard Edition server, verifying on the Delete Operations Status page that the deletions succeeded.

In the console tree, right-click Users, click Refresh, and then verify that no users are listed in the details pane.

看完了之后不禁骂了一句FXXK…文档甚至都写了如何去查所有SIPEnabledUser(我之前还跑去找powershell导出的方法),然后在卸载所有OCS组件之前需要手动在控制台删除掉所有的OCS用户……这样才能保证Lync2013部署在完全干净的环境里。而我看了网上找的国内的卸载文档就想当然以为,哦你既然都Unprep架构了,那么msRTCSIP这架构肯定没了吧…结果……

所以说,太想当然又不走弯路是不可能的…以后还是多翻文档,多做测试吧。

本文出自 “卡斯特梅的雨季” 博客,请务必保留此出处http://sodaxu.blog.51cto.com/8850288/1433326

OCS 2007与Lync 2013的一点碎碎念,布布扣,bubuko.com

OCS 2007与Lync 2013的一点碎碎念

标签:ocs2007   sip   lync2013   迁移   升级   

原文地址:http://sodaxu.blog.51cto.com/8850288/1433326

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!