none
Merge-CsLegacyTopology error " duplicate key sequence 'ExternalServer 1' "

    Frage

  • I'm trying to merge the legacy topology of OCS 2007 R2 with Lync 2010 but I am unable to do so.  Below is a snippet from the log.  I looked through CN=Trusted Services but didn't see any msRTC attributes that contained an 'External Server 1'.  I looked at a number of other threads along similar lines of duplicate key but ExternalServer  wasn't among the topics I found.  Any assistance resolving this would be greatly appreciated.  

    2012-06-27 14:56:22 ERROR :  There were errors while creating and validating a topology.
    2012-06-27 14:56:22 ERROR :  Total number of validation errors: "1"
    2012-06-27 14:56:22 ERROR :  Topology error description: "There was a problem validating the topology XML against the XSD that defines the schema."
    2012-06-27 14:56:22 ERROR :  Topology error instances: "[ System.Xml.Schema.XmlSchemaValidationException: There is a duplicate key sequence 'ExternalServer 1' for the 'urn:schema:Microsoft.Rtc.Management.Deploy.WritableTopology.2008:ServiceRole' key or unique identity constraint. ][ System.Collections.Generic.List`1[System.Object] ]"
    2012-06-27 14:56:22 ERROR :  Topology error reason: "FailedSchemaValidation"
    2012-06-27 14:56:22 WARNING :  Total number of errors is 1
    2012-06-27 14:56:22 WARNING :  Total number of warnings is 0
    2012-06-27 14:56:22 ERROR : BuildTopologyError


    Mittwoch, 27. Juni 2012 22:37

Antworten

  • Hi,

    Did you install other OCS role in the ocs FE server, as Group chat role?

    Please make sure just ocs FE role is deployed on the FE server.

    If there are other roles on the server, please uninstall it and delete the related entries under the following path of Active Directory: CN=Trusted Services,CN=RTC
    Service,CN=Services,CN=Configuration,DC=example,DC=com


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Freitag, 29. Juni 2012 09:26
    Moderator

Alle Antworten

  • Have you look in all your Folders in the AD configuration store?

    Normal this error means you have a duplicated key from a failed OCS/Lync Installation.


    regards Holger Technical Specialist UC

    Mittwoch, 27. Juni 2012 22:42
  • I am double checking all the nodes again but I believe so, yes.  originally we had OCS, then OCS 2007 R2.  Now I'm trying to setup a pilot pool for Lync 2010.  "External Server 1" should be an msRTC attribute or....?

    Mittwoch, 27. Juni 2012 22:50
  • Hm,

    I'm not sure, maybe you use LDP to search in the Configuration Partition RTC Services to find the entry.


    regards Holger Technical Specialist UC

    Mittwoch, 27. Juni 2012 22:54
  • I'm really at a loss then.   I used powershell to dump property names and values for all objects at RTC Service and lower and found nothing for "External Server" or even "Externalserver"

    PS C:\Windows\system32>  Get-ADObject -filter * -SearchBase "CN=RTC Service,CN=Services,CN=Configuration,DC=contoso,DC=local" -properties *

    Donnerstag, 28. Juni 2012 14:57
  • I'm guessing ExternalServer 1 refers to Edge servers.  I don't know where to look but I saw a note that edge servers don't store their info in AD.  Would this be on the file store, or somewhere else?

    We have no edge servers in OCS 2007 but we are planning to deploy them for Lync

    Freitag, 29. Juni 2012 00:33
  • Hi,

    Did you install other OCS role in the ocs FE server, as Group chat role?

    Please make sure just ocs FE role is deployed on the FE server.

    If there are other roles on the server, please uninstall it and delete the related entries under the following path of Active Directory: CN=Trusted Services,CN=RTC
    Service,CN=Services,CN=Configuration,DC=example,DC=com


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Freitag, 29. Juni 2012 09:26
    Moderator
  • Yes groupchat is installed on the original servers.  I'll have to migrate it to temporary boxes.  I had the foresight to make dedicated lync groupchat servers :(

    Freitag, 29. Juni 2012 20:30
  • I wanted to report back - it was indeed group chat thank you!

    I installed a third groupchat server, got it working, then uninstalled from the other two FE servers.  I then searched for objects with msRTCSIP-TrustedServiceType     : Microsoft.Rtc.Chat.ChannelServer and deleted those entries.  the merge was now successful.  Thanks!

    Mittwoch, 11. Juli 2012 20:36