今天发现有新的 OCS 2007 R2 的更新,于是就跑去把几台 OCS 2007 R2 的服务器都给升级了,为了偷懒,用了那个一体化更新包ServerUpdateInstaller.exe,这个东西好是好,就是下载后没有点版本信息可以从文件名看出来,每次都一样,我只好自己在后面加个尾巴标注。更新完了重启,发现 Front-End 服务死活都起不来,检查系统日志,发现

Event ID
: 30968
Source: Live Communications User Services
Details: The component Live Communications User Services reported a critical error: code C3EE78F8 (Enterprise Edition Server successfully registered with the back-end, but a stored procedure version mismatch was detected. The service will not start until this problem is resolved. Cause: The database schema and the Enterprise Edition Server were updated by different installation packages. Resolution: Ensure both the Enterprise Edition Server and back-end were installed or modified by the same installation package. The service has to stop.
       最后搞了半天才发现是要先升级数据库才行,OCS2009-DBUpgrade.msi 否则会因为前端服务的版本和后端数据库版本不匹配而导致服务启动失败。唉,这种事情也不早说出来,ServerUpdateInstaller.exe 没法升级数据库,只好手动做咯
msiexec /i OCS2009-DBUpdate.msi POOLNAME=xxx
      打完了数据库补丁后,启动 Front-End 服务正常。

        另外还有个问题是关于.NET 4.0 Framework 的,如果你是新装的服务器,在安装OCS之前装了 .NET 4,你会发现安装程序老是会说 .NET 3.5x 没有安装,即便你已经装过,怎么办呢?只有先行卸载.NET 4.0 Framework, 安装 OCS,再安装 .NET 4.0 才行。
        我一向的原则都是新东西等等再装,因为说不准更新完后会出什么问题,先等等,大家都说没问题了,再装,这样安全。
新装的一台 SQL Server 2008 SP1, 上面有跑数据库引擎和报表服务,新装后不久在事件管理器中频繁出现以下错误:
Log Name:      Application
Source:        Report Server (MSSQLSERVER)
Date:          7/2/2010 12:48:21 AM
Event ID:      108
Task Category: Extension
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      M2AHKCRMWEB01.mail2any.local
Description:
Report Server (MSSQLSERVER) cannot load the TERADATA extension.
发生这个的原因是在2008的报表服务中,默认开启了 TeraData 的扩展,而2008的安装文件是不包含这个扩展的文件的,所以就会找不到扩展所需要的文件。
解决方案:
大多数情况下应该是没有用到 TeraData 的,所以可以打开 Reporting Service  所在的目录下的 RSReportServer.config 文件,注释掉 TeraData 相关部分即可。
比如 C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportServer.config 文件
 <!-- <Extension Name="TERADATA" Type="Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper,Microsoft.ReportingServices.DataExtensions" /> -->

<!-- <Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
        <Configuration>
          <EnableMathOpCasting>True</EnableMathOpCasting>
          <ReplaceFunctionName>oREPLACE</ReplaceFunctionName>
        </Configuration>
      </Extension> -->
第二:如果有用到 TeraData,那就去其网站下载 TeraData .Net Data Provider,注意要安装版本12以上的,比如 http://www.teradata.com/DownloadCenter/Topic9541-152-1.aspx



占个位

是的,您没有看错,我也没有写错!现在通过安装配置 XMPP 网关,您可以在 Office Communicator 中添加 Gmail (Google Talk)用户作为联系人,查看对方的忙/闲状态,并即时聊天。

微软的OCS团队早在去年就在其团队博客上面发布了配置指南,请移步 http://communicationsserverteam.com/archive/2009/10/01/599.aspx 查看。

另外本文也参考了MVP- Jeff Schertz 的博文

http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=91

基本上,您需要在现有运行良好的 OCS 2007 R2环境中添置至少一台 XMPP 网关服务器,通过配置其相关设定,来支持和Gmail用户的连接。

下面我也说说我自己的经验和步骤:

一、拓扑图

我们先来看看微软官方文档中的一幅图:

  • Gmail

o Gmail 云部分是由Google提供的XMPP网关服务器,目前有5个不同的Gtalk主机名,其名称和IP如下所示。

  • xmpp-server.l.google.com,  74.125.45.125
  • xmpp-server1.l.google.com, 74.125.155.125
  • xmpp-server2.l.google.com, 74.125.47.125
  • xmpp-server3.l.google.com, 74.125.45.125
  • xmpp-server4.l.google.com, 74.125.45.125
最近需要架设个论坛,需要支持 LDAP 认证,一番Google之后,选择了来源的 phpBB3
废话不多说了,直接来看看 LDAP 认证设置部分.
管理员控制面板->客户端通信->认证设置

关键参数设置
LDAP 服务器名称: 192.168.1.21 --domain.local 域控的IP
LDAP基础dn: OUTest, DC=Domain,DC=local
LDAP uid: sAMAccountName
LDAP 用户 dn: CN=phpBB,CN=Users,DC=domain,DC=local
LDAP 密码: phpBB用户的密码
因为2003以后域不再支持匿名用户查询,所以需要有个域用户来做 LDAP 查询
LDAP uid - 这里用的是 sAMAccountName, 当然你也可以使用 UPN - userPrincipalName 属性,甚至自定义字段,比如来个 employeeNumber 之类的,让用户以工号登录.

具体的认证过程:
当你第一次填入域用户的用户名和密码时,当 phpBB 发现验证通过,实际上会在php_users表里面添加这个域用户, 而之后的认证其实就分开了, 域用户和论坛用户修改各自的密码都不会影响到对方,这个过程仅仅在第一次登录论坛的时候有效.
那么此时如果你通过论坛页面注册个新用户,这个用户也是会存在于论坛程序的DB里面,而不会在AD中生成,而且,因为开的是 LDAP 认证, 所以这个新建的DB用户也是没法登录论坛的.

解决方法请参考 http://www.phpbb.com/community/viewtopic.php?f=46&t=981765
<?php

include_once($phpbb_root_path . 'includes/auth/auth_ldap.' . $phpEx);
include_once($phpbb_root_path . 'includes/auth/auth_db.' . $phpEx);

function init_ldap_db()
{
        init_ldap();
}

function login_ldap_db(&$username, &$password)
{
    $test_login_ldap = login_ldap(&$username, &$password);

    if (($test_login_ldap[status] == LOGIN_SUCCESS)||($test_login_ldap[status] == LOGIN_SUCCESS_CREATE_PROFILE))
    {
            return $test_login_ldap;
    }

    return login_db(&$username, &$password);
}
?>


最近 VMWare 释出了 VSphere 4.0 Update2 的更新,忍不住就把目前在跑的几台 Dell PE1950 给升级到了 Update2,别的都没啥问题,就是发现在 VC Client 中无法监测到主机的硬件状态了, 一点 Hardware Status,就出现
Error Message: "Hardware monitoring service not responding, the host is not powered on"
重启服务,重启主机都试过了,问题依旧,后来在Google大神的帮助下,终于找到了解决方法:
在 VC 中删掉原来的主机再重新添加,问题就解决了.
这几天碰到个问题,有个服务器原来安装的是 2008 Server Core系统,上面跑 Hyper-V,已经将其导入 SCVMM 2008 R2 来管理。最近实在是嫌 Server Core 管理太不方便,于是想把系统换成带图形界面的,也没在 SCVMM 里面把主机删除,直接就重装了,IP和计算机名什么的都没变,结果问题来了,再打开 SCVMM 的控制台,发现这台主机联系不上(当然,因为重装的没有了 Agent),就想删掉再重加,结果删除过程报错:

Error (801)

VMM cannot find ISO object .

Recommended Action

Ensure the library object is valid, and then try the operation again.

移除任务的进度一直停留在99% 而主机就是保持在 Pending 状态,结果就是旧的删不掉,新的加不了。后来试过用 PowerShell 来删:
Get-VMHost -Computername Hostname | Remove-VMHost -Force
一样的提示。
一番研究和搜索之后,终于发现直接操作 SCVMM 的数据库可以搞定此问题。

现在你可通过新的Microsoft Office Outlook Mobile更新程序和 Microsoft Exchange Server 2010 来保证你手上的信息是最有价值的。

这次的 Outlook Mobile 更新仅针对 Windows Mobile 6.1 的手机。 当你的手机连接到 Exchange Server 2010 时,如果有适合的更新你会收到自动的提示。 如果你的手机的系统是 Windows Mobile 6.5, 那么你不需要更新。

主要新特性

  • 电子邮件按会话分组: 在该新特性的帮助下, 你可以快速地浏览所有的回复并对整个会话执行诸如删除,回复,标记和移动电子邮件的常规操作。
    Emails grouped by conversation in Outlook Mobile

我刚刚在我全新的 Exchange 2010 服务器上安装了更新汇总1 - RU1, 然后运行 Get-Exchangeserver -Identity MyExchangeServer (译者: 可以用 Get-Exchangeserver -Identity MyExchangeServer | fl ExchangeVersion, AdminDisplayVersion)

得到以下关于AdminsDisplayVersion 和 ExchangeVersion 的版本信息:

嗯, 这看上去有点眼熟(译者: 因为 Exchange 2007 的 ExchangeVersion 信息和2010的一样). 接着我去到我的 Exchange 2010 RTM 服务器上运行了同样的 cmdlet :

...同样的结果! 但这里一台是 RU1, 一台是 RTM. 照理讲难道不应该返回不同的版本号吗?

好吧... 其实答案是否定的. Exchange 2007 及其后续产品(即2010)版本既不会在 AdminDisplayVersion, ExchangeVersion 中反映详细版本号, 也不会在注册表键值 HKLM\SOFTWARE\Microsoft\v8.0\<Role>\ConfiguredVersion 中反映更新汇总版本信息.这是一个常见的误解.

通常最准确地获得你所装 Exchange 的版本号/更新汇总信息的方法是检查 BIN 目录下 ExSetup.exe 的文件版本.

这是 Exchange 2010 RU1 的:

这里是 Exchange 2010 RTM 的:

另外一个方法是运行一条 PowerShell 命令 (译者: 同样适用于 Exchange 2007):

GCM exsetup |%{$_.Fileversioninfo}

以下是 Exchange 2010 RU1 的输出信息:

这里是 2010 RTM :

现在你可以通过这里, 还有这里 或者每个更新汇总的下载页面上找到 Exchange 对应的版本信息.

希望本文能澄清大家的一些误解!

最初发表时间: 2010 年 3 月 8 日,星期一,下午 1:57,作者:Tom Kern

这是一篇本地化的博客文章。请访问 http://msexchangeteam.com/archive/2010/03/08/454188.aspx 以查看原文。

Today Microsoft released Update Rollup 2 for Microsoft Exchange Server 2010. RU2 comes 3 months after the release of RU1. The list of included fixes is not as long as with RU1, but RU2 does contain some important additional fixes over RU1:

  • 977633 Certain third-party IMAP4 clients cannot connect to Exchange Server 2003 mailboxes through an Exchange Server 2010 CAS server
  • 979431 The POP3 service crashes when a user connects to a mailbox through the POP3 protocol and the user is migrated from an Exchange Server 2003 server to an Exchange Server 2010 server
  • 979480 Users cannot receive new messages if they access mailboxes that are moved to another Exchange Server 2010 RU1 server by using IMAP4 clients
  • 979563 Exchange Server 2010 Push Notifications does not work
  • 979566 A 0×85010014 error is generated when linked mailbox users try to synchronize their mailboxes with mobile devices in a CAS-CAS proxying scenario in Exchange Server 2010
  • 980261 This fix introduces the supports for Exchange Server 2010 page patching when a "-1022″ disk I/O error is generated
  • 980262 Event ID 2156 is logged on a computer that is running Exchange Server 2010

The related knowledgebase article (KB979611) can be found here. You can download Exchange 2010 Rollup 2 directly from here.

Recent Comments

Close