Network Domain Migration - Merge Replication

My company was recently acquired by a different Parent company. We are currently in the process of migrating from one Domain to the new one using a Microsoft tool called ADMT. I currently have Merge replication with pull subscriptions setup. These have been
working for several years. The distributor is a SQL 2005 box and is on the old domain. I have several SQL 2005 express subscribers with Laptops and another full SQL 2005 box in another city connected over an MPLS line that is a pull subscriber as well.
Has anyone migrated a distributor to a different Domain using ADMT before and had any problems? The SQL agent does not run under a domain account, but rather a standard Windows account using pass through authentication. I would hate to lose the Replication
setup on the Distributor. I could reestablish / reinitialize each subscriber, if I had to.
Any thoughts?
Thanks,
Steve

Wrong forum. Sorry.

Similar Messages

  • Active Directory Cross Forest Domain Migration

    Dear All,
    We are in the process to rebuild new Active Directory infrastructure. Multiple single forest domains in organization which needs to be consolidated/migrated on single Active Directory Domain. For this consolidation, have some queries to be addressed before
    going to start consolidation.
    What is the best practices and what tool should we use for domain migration/consolidation
    Active directory is on Windows 2003, forest and domain level is on Windows 2003, this will support to Windows 2012 R2 forest and domain functional level, will be migrated
    directly from windows 2003 to windows 2012?
    When move users to new domain, how will they access the other resources on the network. For e.g. Printer, File server, local web base application
    After moving some computers to new domain would be possible to access remaining computers on old domain?
    How the file server data will be moved? Best practices with NTFS folder permissions and users rights?
    Is there any policy to register network printers on new Active Directory domain?
    How users would be access web base application on new domain as their FQDN would be define with old domain name? Any option to change old domain FQDN with new domain that would be describe with any URL link?
    Kindly give your valuable input to meet the desire result.
    Thanks in Advance.

    Dear Lucky,
     Ya you can Migrate contents from multiple forest domain. Using ADMT (Active Directory Migration Tool)is the best way to migrate AD content. But you can't migrate from Windows Server 2003 to Windows Server 2012 R2, cause in Windwos Server 2012 R2 don't
    have the supportebility of Windows Sever 2003.And not only users you can also migrate all others info (i.e. Computer object info, groups info, Exchange mailbox info, security info).You can migrate users face by face, means which peoples are in old domain they
    can access old domain and new users are in new domain.For more info please follow the given link:
    http://technet.microsoft.com/en-us/library/cc974332(v=WS.10).aspx
    Mithun Dey Web: http://cloudmithun.wordpress.com If this may give your necessary resolution please mark it as Answre.

  • Merge replication is not happening in one way

    Hi ALl,
    We have merge replications setup. it is not working in one direction. I enabled the logging to output fine but no use i could not find anything. The pings are fine no drops. Telnet is working. no load on server. i contacted network teams there is no issues.
    What could be the issue?
    The merge process could not retrieve column information for table 'dbo.MAINT'. Verify that you have sufficient privileges on the database and retry the operation.The merge process could not enumerate changes at the 'Subscriber'. When troubleshooting, restart
    the synchronization with verbose history logging and specify an output file to which to write.
    But the agent subsystem account and replication has sysadmin permission no possibility of password issue.
    Snapshot folder and file not be used here. 
    Select * from MSmerge_history
    order by time Desc
    Query result is
    Uploading data changes to the Publisher. 
    after that there is no status
    Please help Its very urgent issue

    Hi Ashwin,
    Thanks for the reply.
    PFB verbose output. there are no blocking on both publisher and suscriber.
    2015-01-27 13:07:23.493 Microsoft SQL Server Merge Agent 10.50.1600.1
    2015-01-27 13:07:23.502 Copyright (c) 2008 Microsoft Corporation
    2015-01-27 13:07:23.513 Microsoft SQL Server Replication Agent: replmerg
    2015-01-27 13:07:23.519 
    2015-01-27 13:07:23.524 The timestamps prepended to the output lines are expressed in terms of UTC time.
    2015-01-27 13:07:23.529 User-specified agent parameter values:
    -Publisher Publisher
    -PublisherDB DODA_Prod
    -Publication DODA_PUB
    -Subscriber Subsciber
    -SubscriberDB DODA
    -Distributor Publisher
    -DistributorSecurityMode 1
    -HostName West Ariel
    -Continuous
    -output E:\VerboseData\WAL\Replout.txt
    -XJOBID 0x9BBE899CE4C3FF4DB358BEDD0F7E3970
    -XJOBNAME Publisher-DODA_Prod-DODA_PUB-Subsciber-92
    -XSTEPID 2
    -XSUBSYSTEM Merge
    -XSERVER Publisher
    -XCMDLINE 0
    -XCancelEventHandle 0000000000001A34
    -XParentProcessHandle 0000000000002708
    2015-01-27 13:07:23.619 Percent Complete: 0
    2015-01-27 13:07:23.623 Connecting to Distributor 'Publisher'
    2015-01-27 13:07:23.627 Connecting to OLE DB Distributor at datasource: 'Publisher', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:07:23.715 OLE DB Distributor: Publisher
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: 
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:07:23.722 OLE DB Distributor 'Publisher': {call sp_MSgetversion }
    2015-01-27 13:07:23.738 OLE DB Distributor 'Publisher': {call sp_helpdistpublisher (N'Publisher') }
    2015-01-27 13:07:23.755 OLE DB Distributor 'Publisher': {call sp_MShelp_repl_agent (N'Publisher', N'DODA_Prod', N'DODA_PUB', N'Subsciber', N'DODA', 1)}
    2015-01-27 13:07:23.776 OLE DB Distributor 'Publisher': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'Publisher')
    2015-01-27 13:07:23.781 OLE DB Distributor 'Publisher': {call sp_MShelp_merge_agentid (0,N'DODA_Prod',N'DODA_PUB',null,N'DODA',90,N'Subsciber')}
    2015-01-27 13:07:23.788 OLE DB Distributor 'Publisher': {call sp_MShelp_profile (92, 4, N'')}
    2015-01-27 13:07:23.794 Percent Complete: 0
    2015-01-27 13:07:23.794 Connecting to OLE DB Publisher at datasource: 'Publisher', location: '', catalog: 'DODA_Prod', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:07:23.796 Initializing
    2015-01-27 13:07:23.806 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:23.812 OLE DB Publisher: Publisher
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: DODA_Prod
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:07:23.817 Percent Complete: 0
    2015-01-27 13:07:23.818 OLE DB Publisher 'Publisher': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
    N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
    as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2015-01-27 13:07:23.822 Connecting to Publisher 'Publisher'
    2015-01-27 13:07:23.832 OLE DB Publisher 'Publisher': {call sp_MSgetversion }
    2015-01-27 13:07:23.835 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:23.846 Connecting to OLE DB Publisher at datasource: 'Publisher', location: '', catalog: 'DODA_Prod', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:07:23.860 OLE DB Publisher: Publisher
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: DODA_Prod
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:07:23.870 OLE DB Distributor 'Publisher': {call sp_MShelp_repl_agent (N'Publisher', N'DODA_Prod', N'DODA_PUB', N'Subsciber', N'DODA', 1)}
    2015-01-27 13:07:23.878 Connecting to OLE DB Subscriber at datasource: 'Subsciber', location: '', catalog: 'DODA', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:07:29.240 OLE DB Subscriber: Subsciber
    DBMS: Microsoft SQL Server
    Version: 10.00.1600
    catalog name: DODA
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:07:32.330 OLE DB Subscriber 'Subsciber': {call sp_MSgetversion }
    2015-01-27 13:07:33.910 OLE DB Subscriber 'Subsciber': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
    N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
    as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2015-01-27 13:07:34.687 Percent Complete: 0
    2015-01-27 13:07:34.687 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:34.690 Connecting to Subscriber 'Subsciber'
    2015-01-27 13:07:34.697 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:35.730 Percent Complete: 0
    2015-01-27 13:07:35.730 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:35.736 Retrieving publication information
    2015-01-27 13:07:35.744 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:07:36.475 Percent Complete: 0
    2015-01-27 13:07:36.484 Retrieving subscription information.
    2015-01-27 13:07:36.490 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:08:03.441 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:08:04.265 Percent Complete: 0
    2015-01-27 13:08:04.269 Uploading data changes to the Publisher
    2015-01-27 13:08:04.278 OLE DB Distributor 'Publisher': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:08:11.122 Connecting to OLE DB Subscriber at datasource: 'Subsciber', location: '', catalog: 'DODA', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:08:15.591 OLE DB Subscriber: Subsciber
    DBMS: Microsoft SQL Server
    Version: 10.00.1600
    catalog name: DODA
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:08:18.670 Connecting to OLE DB Publisher at datasource: 'Publisher', location: '', catalog: 'DODA_Prod', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:08:18.690 OLE DB Publisher: Publisher
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: DODA_Prod
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:08:18.697 Connecting to OLE DB Subscriber at datasource: 'Subsciber', location: '', catalog: 'DODA', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:08:23.111 OLE DB Subscriber: Subsciber
    DBMS: Microsoft SQL Server
    Version: 10.00.1600
    catalog name: DODA
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:08:26.124 Connecting to OLE DB Publisher at datasource: 'Publisher', location: '', catalog: 'DODA_Prod', providerstring: '' using provider 'SQLNCLI10'
    2015-01-27 13:08:26.141 OLE DB Publisher: Publisher
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: DODA_Prod
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2015-01-27 13:39:38.053 The merge process could not retrieve column information for table 'dbo.MAINT_STOCK_COSTS'. Verify that you have sufficient privileges on the database and retry the operation.The merge process could not enumerate changes at the 'Subscriber'.
    When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write.
    2015-01-27 13:39:38.053 
    2015-01-27 13:39:38.078 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:39:39.119 Percent Complete: 0
    2015-01-27 13:39:39.133 No data needed to be merged.
    2015-01-27 13:39:39.138 The process was cancelled.
    2015-01-27 13:39:39.146 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:39:39.902 Percent Complete: 0
    2015-01-27 13:39:39.910 The process was successfully stopped.
    2015-01-27 13:39:39.915 The process was cancelled.
    2015-01-27 13:39:39.926 The Merge Agent was unable to update information about the last synchronization at the Subscriber. Ensure that the subscription exists at the Subscriber, and restart the Merge Agent. 
    2015-01-27 13:39:39.931 Percent Complete: 0
    2015-01-27 13:39:39.935 Category:NULL
    Source:  Merge Replication Provider
    Number:  -2147200999
    Message: The process was successfully stopped.
    2015-01-27 13:39:39.939 Percent Complete: 0
    2015-01-27 13:39:39.943 Category:NULL
    Source:  Merge Process
    Number:  -2147198718
    Message: The process was cancelled.
    2015-01-27 13:39:39.948 The Merge Agent was unable to update information about the last synchronization at the Subscriber. Ensure that the subscription exists at the Subscriber, and restart the Merge Agent. 
    2015-01-27 13:39:39.955 The merge process was unable to update last synchronization information at the Publisher.
    2015-01-27 13:39:39.962 OLE DB Subscriber 'Subsciber': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2015-01-27 13:39:40.738 [100%] Percent Complete: 100
    2015-01-27 13:39:40.744 The process was successfully stopped.
    2015-01-27 13:39:40.750 The process was cancelled.
    2015-01-27 13:39:40.756 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.762 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.768 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.773 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.778 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.783 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.787 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.791 Disconnecting from OLE DB Subscriber 'Subsciber'
    2015-01-27 13:39:40.795 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.799 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.805 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.810 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.814 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.819 Disconnecting from OLE DB Publisher 'Publisher'
    2015-01-27 13:39:40.823 Disconnecting from OLE DB Distributor 'Publisher'
    2015-01-27 13:39:40.829 Disconnecting from OLE DB Distributor 'Publisher'

  • Post domain migration Outlook needs Flush dns intermittently

    We have office in two cities X & Y, Y city is HO. Our entire DNS Server, Exchange server is in Z i.e. Head Quarters. Y city has file server, DC, Firewall. X & Y are connected via VPN tunnel. After our domain migration from abc.com to xyz.com only
    X city few laptop users on wi-fi started getting issue of 'Outlook freeze- connection store/restore error' emails are stuck in outbox and not received. Only when we do ipconfig/release, renew, flushdns...it resolves the issue temporarily.
    We found that issue might be on Wi-fi (Cisco SOHO - 3) we have changed the DNS setting of the WI-fi, pushed the DNS in host file, pushed in laptop settings, reduced the voltage of the wi-fi. Restarted the servers in Y city. Not sure if it is DNS or Wi-FI
    issue. Still the problem persists. Please advice.

    there is no easy way to find out the issue if it is related to client side configuration. as you already mentioned that it works after making DNS changes so the issue is somewhere at the Wi-Fi. it also depends how big is the mailbox, and if the outlook is
    setup to cache mode or not.
    For further troubleshooting I will use that same laptop on the wired network.
    also if that Wi-Fi has Ethernet port I will connect a Hub/switch to it and then connect the laptop to the Ethernet.  This is tell me if the issue with Wi-Fi on the laptop or the Wi-Fi Access Point.
    Plus this thread should be moved to Outlook Forum
    Where Technology Meets Talent

  • Slow merge replication over a WAN link - only downloads

    Hi all,
    We've been using SQL Server merge replication for a few years to synchronise data between our data centres, but we are now suffering with a big performance issue. This may be because the amount of data we are synchronising has increased a lot this year.
    Our publisher is an always-on data centre in the UK. Our subscriber is a mobile data centre that travels around the world and is on for periods of up to a week at a time, approx. 25 times a year. However, it also spends the same amount of time (if not more)
    switched off whilst on its travels - it is a well travelled data centre!
    We have 5 database that we synchronise on these servers. However, one of our databases has high numbers of data changes between periods of subscriber downtime and our issue is that it take days to catch up when the server is powered up - the other databases
    are fine.
    Downloads from publisher to subscriber run at about 1.5 rows a second (which is annoying when we have hundreds of thousands of rows) but strangely uploads from subscriber to publisher run about ten times faster.
    Things I have checked / tried:
    all tables have non-clustered primary keys on guid columns that have the rowguid property set
    changing the generation levelling threshold doesn't help
    setting the agent profile to high volume doesn't help
    running a trace at the publisher and subscriber shows the queries are all running very fast (less than 20 m/s generally, but there are gaps of 200 m/s or so between some batches of queries)
    analysis on our WAN link shows we have huge amounts of bandwidth spare
    analysis on our servers show we have huge amounts of Ram and CPU spare
    Some of the places the subscriber is at do suffer from high latency but this doesn't seem to have an impact - 300 m/s or 100m/s and we still get the same poor performance.
    One things I did wonder about - does the replication confirm to the publisher every time it has successfully processed a row at the subscriber? If we have thousands of rows and there is a latency on the line will this compound the issue if it confirms each
    item? If this does happen, is there a way to batch up messages between publisher and subscriber?
    Any help that you can offer will be gladly received!
    Thanks
    Mark

    1) merge replication processes the uploads/downloads in batches. So no, there is no confirmation for each row processes, but there is per batch. If there is an error/conflict a batch is retried as singletons (a single row processed at a time), so you need
    to minimize conflicts/errors.
    2) No, but you should use pull and wan accelerators for max performance and change your profile to use 2000 for the following:
    MaxDownloadChanges 
    MaxUploadChanges
    UploadGenerationsPerBatch  
    DownloadGenerationsPerBatch 
    UploadReadChangesPerBatch 
    DownloadReadChangesPerBatch 
    UploadWriteChangesPerBatch 
    DownloadWriteChangesPerBatch 
    set network packet size to a large value - you will need to work with your wan engineer to find out what works best. 32k will likely be best.
    Also you may want to copy a file of a known size from your publisher to your subscriber and then from your subscriber to your publisher to see if there is a significant difference in time. For drives will yield significant differences.
    I have found that you may have a trigger which is generating a large volume of unnessary changes. You will need to see what table/article is generating all the changes and evaluate whether the changes are legit.
    Precomputed partitions should speed up the enumeration times. Ensure you have supporting indexes - the missing indexes DMV helps here.
    Lastly you may find that a reinitialization is faster than processing the changes.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Merge replication - multi site, multi distributor, publisher, subscribers ...

    Hi,
    We have 2 sites at the moment. Each site has 2 servers. To reduce network load I was aiming at doing the following with a merge replication :
    * configure one server at each site to be distributor and publisher
    * configure the other server at each site to be a subscriber
    * configure the 2 publishers to also be subscribers to each other to sync the sites.
    Or even better:
    * have all the servers be distributors, publishers and subscribers, so that if one dies, who cares as they all have the same configuration.
    Also, I was thinking of:
    * having the distributor and publishers use a DFS share replicated on both sites (or maybe the same share on each sql server ? not sure what the best practice is on this one)
    However, I can't seem to find a good post / thread where it describes this kind of scenario in a step by step way nor what happens to the identity range management.
    If you could share any light on this or point me to the right English terms to describe the above scenario, thanks in advance.
    Olivier
    PS: We only have STD edition, so peer to peer and AG are not available to US. (which is why we are using merge)
    PS2: One way I could see this work is if I manually set the identity columns in the tables so that they won't overlap and make the range management manual. Then just setup publications / distributors and subscribers on each node. (But if I can dodge the
    manual management, it be great)

    Hi Brandon,
    Thx for the reply
    we are using web synchronization.
    According to the documentation ('The business logic handler you specify is executed for every row that is synchronized.') I would think this will do exactly the same as our trigger on the article.
    When we would use a business logic handler to update the record which is just uploaded to the Publisher I think we will end up with the same checksum error.
    We worked around the problem by not changing the status of orders once they are uploaded to the Publisher.
    For that part of the process we now have only 2 statusses anymore :
    - Not to be sent to central server
    - Upload(ed) to central server. 
    So an order is created at the subscriber and has the status 'not to be sent to central server'
    In a synchro-window the user can mark orders which must be uploaded to the central server.
    Only when the users clicks on the synchro button the orders which are marked (on screen) to be synchronised will get the status 'Upload(ed) to central server' and the pull subscriptions is started.
    On the central server we process only the articles with the status 'Upload(ed) to central server'.
    Before we had the statusses :
    - Not to be sent to central server
    - Upload to central server. 
    - Uploaded to central server.
    And we had our own trigger on the Publisher which updated the status of records from 'Upload to central server ' to 'uploaded to central server' which was not reliable because we often had checksum errors on that article.

  • Merge Replication Error When Initialising subscription

    I have a SQL server 2005 server with a merge publication of 6 articles all of which are tables which is also the distributor. I have two existing subscriptions one from a SQL 2005
    Server and one from a SQL Server 2008 R2 Server both of which are working fine on this publication. I am trying to setup a third subscription to another SQL Server 2008 R2 server, the only difference with this server is that it is a named instance. I have
    forced the port to 1433, and created an alias on the publisher connectivity is not an issue or at least i don't think so.
    when I try to initialise the subscription from a new snapshot I get the below error;
    Error: 14151, Severity: 18, State: 1.
    Replication-Replication Merge Subsystem: agent failed. No subscription is on this publication or article.
    I've changed the agent profile and turned on verbose logging and output the results to a file the snapshot delivery is failing on the below for the first table;
    call sys.sp_MSsetup_identity_range (?,?,?,?,?,?,?,?)
    I've checked the subscriber and the table does indeed get dropped and created, permissions / routes don't seem to be an issue. I've included some of the verbose logging output below.
    2012-01-11 12:05:40.684 Microsoft SQL Server Merge Agent 9.00.3042.00
    2012-01-11 12:05:40.700 Copyright (c) 2005 Microsoft Corporation
    2012-01-11 12:05:40.716 Microsoft SQL Server Replication Agent: replmerg
    2012-01-11 12:05:40.716 
    2012-01-11 12:05:40.731 The timestamps prepended to the output lines are expressed in terms of UTC time.
    2012-01-11 12:05:40.747 User-specified agent parameter values:
    -Publisher PubServerName
    -PublisherDB UserDBName
    -Publication MtoC_M
    -Subscriber SubServerName
    -SubscriberDB UserDBName
    -Distributor PubServerName
    -DistributorSecurityMode 1
    -Continuous
    -OutputVerboseLevel 4
    -Output G:\CMcReplicationLogging\OUTPUT.TXT
    -XJOBID 0x5FFBC73C3A4A494A9E10C369696B1C72
    -XJOBNAME PubServerName-UserDBName-MtoC_M-SubServerName-29
    -XSTEPID 2
    -XSUBSYSTEM Merge
    -XSERVER PubServerName
    -XCMDLINE 0
    -XCancelEventHandle 000008EC
    -XParentProcessHandle 00000E9C
    2012-01-11 12:05:40.841 Percent Complete: 0
    2012-01-11 12:05:40.841 Connecting to Distributor 'PubServerName'
    2012-01-11 12:05:40.856 Repl Agent Status: 3
    2012-01-11 12:05:40.856 Connecting to OLE DB Distributor at datasource: 'PubServerName', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI'
    2012-01-11 12:05:42.137 OLE DB Distributor: PubServerName
    DBMS: Microsoft SQL Server
    Version: 09.00.3042
    catalog name: 
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:42.137 OLE DB Distributor 'PubServerName': {call sp_MSgetversion }
    2012-01-11 12:05:42.153 OLE DB Distributor 'PubServerName': {call sp_helpdistpublisher (N'PubServerName') }
    2012-01-11 12:05:42.169 OLE DB Distributor 'PubServerName': {call sp_MShelp_repl_agent (N'PubServerName', N'UserDBName', N'MtoC_M', N'SubServerName', N'UserDBName', 1)}
    2012-01-11 12:05:42.169 OLE DB Distributor 'PubServerName': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'PubServerName')
    2012-01-11 12:05:42.184 OLE DB Distributor 'PubServerName': {call sp_MShelp_merge_agentid (0,N'UserDBName',N'MtoC_M',null,N'UserDBName',90,N'SubServerName')}
    2012-01-11 12:05:42.184 OLE DB Distributor 'PubServerName': {call sp_MShelp_profile (29, 4, N'')}
    2012-01-11 12:05:42.184 Percent Complete: 0
    2012-01-11 12:05:42.184 Connecting to OLE DB Publisher at datasource: 'PubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
    2012-01-11 12:05:42.200 Initializing
    2012-01-11 12:05:42.200 Repl Agent Status: 1
    2012-01-11 12:05:42.216 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:42.216 Percent Complete: 0
    2012-01-11 12:05:42.231 Connecting to Publisher 'PubServerName'
    2012-01-11 12:05:42.231 Repl Agent Status: 3
    2012-01-11 12:05:42.231 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:43.153 OLE DB Publisher: PubServerName
    DBMS: Microsoft SQL Server
    Version: 09.00.3042
    catalog name: UserDBName
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:43.169 OLE DB Publisher 'PubServerName': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
    N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
    as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2012-01-11 12:05:43.169 OLE DB Publisher 'PubServerName': {call sp_MSgetversion }
    2012-01-11 12:05:43.200 Connecting to OLE DB Publisher at datasource: 'PubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
    2012-01-11 12:05:44.137 OLE DB Publisher: PubServerName
    DBMS: Microsoft SQL Server
    Version: 09.00.3042
    catalog name: UserDBName
    user name: dbo
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:44.137 OLE DB Publisher 'PubServerName': {call sp_MSchecksnapshotstatus (N'MtoC_M')}
    2012-01-11 12:05:44.153 OLE DB Publisher 'PubServerName': {call sp_helpmergepublication (N'MtoC_M')}
    2012-01-11 12:05:44.153 OLE DB Publisher 'PubServerName': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
    2012-01-11 12:05:44.169 OLE DB Distributor 'PubServerName': {call sp_MShelp_repl_agent (N'PubServerName', N'UserDBName', N'MtoC_M', N'SubServerName', N'UserDBName', 1)}
    2012-01-11 12:05:44.169 Connecting to OLE DB Subscriber at datasource: 'SubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
    2012-01-11 12:05:44.747 OLE DB Subscriber: SubServerName
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: UserDBName
    user name: distributor_MtoC
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:45.122 OLE DB Subscriber 'SubServerName': {call sp_MSgetversion }
    2012-01-11 12:05:45.216 OLE DB Subscriber 'SubServerName': {call sp_MSreplcheck_subscribe}
    2012-01-11 12:05:45.309 OLE DB Subscriber 'SubServerName': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
    N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
    as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2012-01-11 12:05:45.419 Percent Complete: 0
    2012-01-11 12:05:45.419 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.419 Connecting to Subscriber 'SubServerName'
    2012-01-11 12:05:45.434 Repl Agent Status: 3
    2012-01-11 12:05:45.434 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.559 Percent Complete: 0
    2012-01-11 12:05:45.559 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.559 Retrieving publication information
    2012-01-11 12:05:45.575 Repl Agent Status: 3
    2012-01-11 12:05:45.575 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.653 OLE DB Subscriber 'SubServerName': {call sys.sp_MSmerge_upgrade_subscriber(1,?)}
    2012-01-11 12:05:45.653 Percent Complete: 0
    2012-01-11 12:05:45.669 Retrieving subscription information.
    2012-01-11 12:05:45.669 Repl Agent Status: 3
    2012-01-11 12:05:45.684 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.763 OLE DB Publisher 'PubServerName': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
    2012-01-11 12:05:45.763 OLE DB Publisher 'PubServerName': {call sys.sp_MShelpmergearticles (?,9000000,?) }
    2012-01-11 12:05:45.778 OLE DB Publisher 'PubServerName': {call sp_MSenumschemachange (?,?,9000000,?,0,1) }
    2012-01-11 12:05:45.794 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.888 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.888 Percent Complete: 0
    2012-01-11 12:05:45.903 Applying the snapshot to the Subscriber
    2012-01-11 12:05:45.903 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.903 Repl Agent Status: 3
    2012-01-11 12:05:45.919 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.919 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.919 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.934 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.950 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.950 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.966 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.981 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.997 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:45.997 OLE DB Subscriber 'SubServerName': {call master..sp_helpreplicationoption ('merge')}
    2012-01-11 12:05:46.091 OLE DB Subscriber 'SubServerName': {call sys.sp_MSmergesubscribedb ('true', 0) }
    2012-01-11 12:05:47.263 OLE DB Subscriber 'SubServerName': {call sp_MSpublicationcleanup (?,?,?)}
    2012-01-11 12:05:47.372 OLE DB Subscriber 'SubServerName': {call sp_MSCleanupForPullReinit (?,?,?)}
    2012-01-11 12:05:47.481 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblEmailMessages',N'dbo')}
    2012-01-11 12:05:47.606 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblUser',N'dbo')}
    2012-01-11 12:05:47.716 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblDPVLocked',N'dbo')}
    2012-01-11 12:05:47.809 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCaptureAppToken',N'dbo')}
    2012-01-11 12:05:47.903 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCreditThresholdNotification',N'dbo')}
    2012-01-11 12:05:48.013 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCreditPot',N'dbo')}
    2012-01-11 12:05:48.106 OLE DB Subscriber 'SubServerName': {call sys.sp_MSaddinitialpublication (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:48.247 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblEmailMessages',?, 1, ?, ?)}
    2012-01-11 12:05:48.403 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblUser',?, 1, ?, ?)}
    2012-01-11 12:05:48.513 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblDPVLocked',?, 1, ?, ?)}
    2012-01-11 12:05:48.606 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCaptureAppToken',?, 1, ?, ?)}
    2012-01-11 12:05:48.700 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCreditThresholdNotification',?, 1, ?, ?)}
    2012-01-11 12:05:48.809 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCreditPot',?, 1, ?, ?)}
    2012-01-11 12:05:48.903 OLE DB Publisher 'PubServerName': {call sp_MShelpmergeschemaarticles(?)}
    2012-01-11 12:05:48.919 OLE DB Subscriber 'SubServerName': {call sp_MSaddinitialsubscription (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}
    2012-01-11 12:05:49.059 OLE DB Distributor 'PubServerName': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'PubServerName')
    2012-01-11 12:05:49.059 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_mergesubentry_indistdb (0,N'PubServerName',N'UserDBName',N'MtoC_M',N'SubServerName',N'UserDBName',0,1,0,N'',?,90)}
    2012-01-11 12:05:49.075 OLE DB Subscriber 'SubServerName': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
    2012-01-11 12:05:49.341 Connecting to OLE DB Subscriber at datasource: 'SubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
    2012-01-11 12:05:49.825 OLE DB Subscriber: SubServerName
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: UserDBName
    user name: distributor_MtoC
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:50.185 OLE DB Subscriber: SubServerName
    DBMS: Microsoft SQL Server
    Version: 10.50.1600
    catalog name: UserDBName
    user name: distributor_MtoC
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2012-01-11 12:05:50.325 OLE DB Subscriber 'SubServerName': {call sys.sp_MSregistermergesnappubid(?, ?)}
    2012-01-11 12:05:50.450 OLE DB Subscriber 'SubServerName': sp_MSacquiresnapshotdeliverysessionlock
    2012-01-11 12:05:50.544 OLE DB Subscriber 'SubServerName': sp_MStrypurgingoldsnapshotdeliveryprogress
    2012-01-11 12:05:50.810 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:50.966 [2%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 4
    2012-01-11 12:05:50.997 Propagated 1 schema changes: 1 total
    2012-01-11 12:05:51.013 Repl Agent Status: 3
    2012-01-11 12:05:51.013 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:51.091 [6%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 6
    2012-01-11 12:05:51.122 Propagated 1 schema changes: 2 total
    2012-01-11 12:05:51.153 Repl Agent Status: 3
    2012-01-11 12:05:51.153 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:51.200 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkreplinfo (N'tblEmailMessages')}
    2012-01-11 12:05:51.200 [6%] Percent Complete: 6
    2012-01-11 12:05:51.231 Propagated 1 schema changes: 3 total
    2012-01-11 12:05:51.247 Repl Agent Status: 3
    2012-01-11 12:05:51.263 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:51.325 OLE DB Subscriber 'SubServerName': sp_MSissnapshotitemapplied @snapshot_session_token = N'E:\Microsoft SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\', @snapshot_progress_token = N'E:\Microsoft
    SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\tblEmailMessages_2.sch'
    2012-01-11 12:05:51.435 drop Table [dbo].[tblEmailMessages]
    go
    SET ANSI_PADDING ON
    go
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[tblEmailMessages](
    [EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
    [Guid] [nvarchar](32) NOT NULL,
    [Recipients] [varchar](8000) NOT NULL,
    [CcRecipients] [varchar](8000) NULL,
    [BccRecipients] [varchar](8000) NULL,
    [Sender] [varchar](8000) NOT NULL,
    [Subject] [nvarchar](4000) NOT NULL,
    [BodyText] [nvarchar](max) NULL,
    [BodyHTML] [nvarchar](max) NULL,
    [IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
    [Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
    [DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
    [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT (newsequentialid())
    GO
    GRANT DELETE ON [dbo].[tblEmailMessages] TO [odintermediary]
    GO
    GRANT INSERT ON [dbo].[tblEmailMessages] TO [odintermediary]
    GO
    GRANT SELECT ON [dbo].[tblEmailMessages] TO [odintermediary]
    GO
    GRANT UPDATE ON [dbo].[tblEmailMessages] TO [odintermediary]
    GO
    SET ANSI_NULLS ON
    go
    SET QUOTED_IDENTIFIER ON
    go
    ALTER TABLE [dbo].[tblEmailMessages] ADD CONSTRAINT [PK_tblEmailMessage] PRIMARY KEY CLUSTERED 
    [EmailMessageId] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
    GO
    2012-01-11 12:05:51.450 OLE DB Subscriber 'SubServerName': drop Table [dbo].[tblEmailMessages]
    2012-01-11 12:05:51.560 OLE DB Subscriber 'SubServerName': SET ANSI_PADDING ON
    2012-01-11 12:05:51.669 OLE DB Subscriber 'SubServerName': SET ANSI_NULLS ON
    2012-01-11 12:05:51.778 OLE DB Subscriber 'SubServerName': SET QUOTED_IDENTIFIER ON
    2012-01-11 12:05:51.872 OLE DB Subscriber 'SubServerName': CREATE TABLE [dbo].[tblEmailMessages](
    [EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
    [Guid] [nvarchar](32) NOT NULL,
    [Recipients] [varchar](8000) NOT NULL,
    [CcRecipients] [varchar](8000) NULL,
    [BccRecipients] [varchar](8000) NULL,
    [Sender] [varchar](8000) NOT NULL,
    [Subject] [nvarchar](4000) NOT NULL,
    [BodyText] [nvarchar](max) NULL,
    [BodyHTML] [nvarchar](max) NULL,
    [IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
    [Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
    [DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
    [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT (newsequentialid())
    2012-01-11 12:05:51.981 OLE DB Subscriber 'SubServerName': GRANT DELETE ON [dbo].[tblEmailMessages] TO [odintermediary]
    2012-01-11 12:05:52.091 OLE DB Subscriber 'SubServerName': GRANT INSERT ON [dbo].[tblEmailMessages] TO [odintermediary]
    2012-01-11 12:05:52.200 OLE DB Subscriber 'SubServerName': GRANT SELECT ON [dbo].[tblEmailMessages] TO [odintermediary]
    2012-01-11 12:05:52.294 OLE DB Subscriber 'SubServerName': GRANT UPDATE ON [dbo].[tblEmailMessages] TO [odintermediary]
    2012-01-11 12:05:52.403 OLE DB Subscriber 'SubServerName': SET ANSI_NULLS ON
    2012-01-11 12:05:52.497 OLE DB Subscriber 'SubServerName': SET QUOTED_IDENTIFIER ON
    2012-01-11 12:05:52.606 OLE DB Subscriber 'SubServerName': ALTER TABLE [dbo].[tblEmailMessages] ADD CONSTRAINT [PK_tblEmailMessage] PRIMARY KEY CLUSTERED 
    [EmailMessageId] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
    2012-01-11 12:05:52.716 OLE DB Subscriber 'SubServerName': sp_MSrecordsnapshotdeliveryprogress @snapshot_session_token = N'E:\Microsoft SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\', @snapshot_progress_token = N'E:\Microsoft
    SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\tblEmailMessages_2.sch'
    2012-01-11 12:05:52.841 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:52.966 [6%] Percent Complete: 6
    2012-01-11 12:05:52.981 Applied script 'tblEmailMessages_2.sch'
    2012-01-11 12:05:52.981 Repl Agent Status: 3
    2012-01-11 12:05:52.981 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:53.153 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:53.263 [6%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSaddinitialarticle (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 6
    2012-01-11 12:05:53.294 Preparing table 'tblEmailMessages' for merge replication
    2012-01-11 12:05:53.294 Repl Agent Status: 3
    2012-01-11 12:05:53.310 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:53.450 OLE DB Subscriber 'SubServerName': {call sp_MSupdatesysmergearticles (?,?,?,?,0)}
    2012-01-11 12:05:53.575 OLE DB Subscriber 'SubServerName': {call sys.sp_MSsetup_identity_range (?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:53.794 The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with
    verbose history logging and specify an output file to which to write.
    2012-01-11 12:05:53.825 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:53.966 Percent Complete: 6
    2012-01-11 12:05:53.966 No subscription is on this publication or article.
    2012-01-11 12:05:53.997 Repl Agent Status: 6
    2012-01-11 12:05:54.013 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2012-01-11 12:05:54.216 Percent Complete: 0
    2012-01-11 12:05:54.231 Category:SQLSERVER
    Source: SubServerName
    Number: 14050
    Message: No subscription is on this publication or article.
    2012-01-11 12:05:54.247 Repl Agent Status: 3
    2012-01-11 12:05:54.372 Percent Complete: 0
    2012-01-11 12:05:54.372 Category:NULL
    Source: Merge Replication Provider
    Number: -2147201001
    Message: The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history
    logging and specify an output file to which to write.
    2012-01-11 12:05:54.388 Repl Agent Status: 3
    2012-01-11 12:05:54.388 Disconnecting from OLE DB Subscriber 'SubServerName'
    2012-01-11 12:05:54.388 Disconnecting from OLE DB Subscriber 'SubServerName'
    2012-01-11 12:05:54.403 Disconnecting from OLE DB Subscriber 'SubServerName'
    2012-01-11 12:05:54.403 Disconnecting from OLE DB Subscriber 'SubServerName'
    2012-01-11 12:05:54.403 Disconnecting from OLE DB Publisher 'PubServerName'
    2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
    2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
    2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
    2012-01-11 12:05:54.435 Disconnecting from OLE DB Distributor 'PubServerName'
    2012-01-11 12:05:54.435 Disconnecting from OLE DB Distributor 'PubServerName'
    2012-01-11 12:05:54.450 The merge process will restart after waiting 30 second(s)...
    Percent Complete: 0
    Any help would be much appreciated.
    Thanks
    Chris 

    The error happens on this table every time.
    The schema of the table is below;
    CREATE TABLE [dbo].[tblEmailMessages](
    [EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
    [Guid] [nvarchar](32) NOT NULL,
    [Recipients] [varchar](8000) NOT NULL,
    [CcRecipients] [varchar](8000) NULL,
    [BccRecipients] [varchar](8000) NULL,
    [Sender] [varchar](8000) NOT NULL,
    [Subject] [nvarchar](4000) NOT NULL,
    [BodyText] [nvarchar](max) NULL,
    [BodyHTML] [nvarchar](max) NULL,
    [IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
    [Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
    [DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
    [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT
    (newsequentialid())
    The table gets dropped and recreated each time i try to reinitialise the subscription.  I can't remove the article at the moment as two other servers subscribe to the publication.
    Thanks for your help
    Chris
    I am the master of my fate: I am the captain of my soul.

  • SQL Server Compact 3.5 Merge Replication With SQL Server 2012 - Causing IIS App Pool to Crash

    Hi, I may be the only person in the world doing this but I wanted to give this information to anyone else who may follow this path in the future, and hopefully avoid a headache, or at least a paid support call to Microsoft.
    My original scenario was we had a SQL Server 2008 Server using Merge Replication through and IIS (web server) to several Windows Mobile 6 devices.  This has worked fairly well for a few years.
    Recently we upgraded our SQL server to version 2012 SP 1.  After moving the database over to the new server, and re-setting the merge replication stuff, we couldn't get merge replication to work on the Windows Mobile 6 handheld devices.  The replication
    would appear to start, and then we would get a message saying that the device could not get to the web site.  The message on the handheld device was this:
    "The IIS service is not available."
    After doing some more research, we found that the start of the replication process was causing the Thread Pool that was running the SQLCESA35.dll to crash.  
    The SQLCESALOG.txt file had this information:
    Date Time == SQLCESA Version ==> 3.5.8088.0
    Date Time Hr=80004005 ERR:Couldn't find existing RSCB 1
    After 2 days of trying to figure out the issue on our own, we gave in and called for paid Microsoft support.  They eventually found a known issue where a cumulative update was able to fix the problem.
    We installed the update on the IIS server and everything ran smoothly again.
    FIX: Merge replication fails when you use SQL Server Compact to perform a merge replication that synchronizes changes with a publisher in SQL Server 2012
    http://support.microsoft.com/kb/2845550
    Seth O'Neal

    Hi sonealtx,
    Glad to hear that the issue is resolved. Thanks for your sharing, other community members could benefit from your solution.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Merge Replication from 2012 SQL Server publisher/distributor to 2014 SQL Express subscriber

    Hi, I'm having a question about which version to use when running SQL Merge Replication.
    In my test enviroment I have a SQL 2012 server running as Publisher and Distributor for my Merge Replication. I have now set up a test client running Win7 with SQL 2014 Express as a subscriber. The subscription initializes and runs perfectly.
    But according to the SQL documentation this should not be possible as it states that the subscriber should have a version number equal or lower than the publisher. My subscription client was set ut using SQL-scripting, if I try using the wizard it will just
    cause an error message telling that this is not possible since the client has a newer version number. I still not encountered any problems after I set it up using the script with the sp_addmergepullsubscription and sp_addmergepullsubscription_agent procedures.
    The roll-out of my solution will start in a few weeks and I now have to decide whether to use 2014 Express or 2012 Express on the clients. Using 2014 Express will save me for a lot of upgades in a year or two. The 2012 SQL Server running as publisher/distributor
    will be upgraded to/replaced with a 2014 Server in some few months.
    I'm looking for good advices and recommendations for what to choose on the clients, 2012 Express or 2014 Express. Are the any known problems with using 2014 Express as a subscriber to a publisher/distributor running 2012 SQL Server?
    All responses are welcome!
    Regards, Anders

    Hi,
    As you understand that a Subscriber to a merge publication can be any version less than or equal to the Publisher version. When you set up a subscription from a publisher to a subscriber using SQL Server Management Studio, you will get error
    “The selected Subscriber does not satisfy the minimum version compatibility level of the selected publication.” And you can use T-SQL script to get around this error message.
    I would install SQL Server 2012 Express on the clients. Here is the reasons:
    1. If you upgrade the publisher to SQL Server 2014, it is still working with SQL Server 2012 on the subscriber.
    2. I cannot tell whether there are other potential problems if I choose the later one besides the error message.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms143699(v=sql.120).aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Is there anything available that covers the pros/cons of a simple and network PCD migration?

    Is there anything available that covers the pros/cons of a simple and network PCD migration?  

    Hi,
    as such there is no DOC but I can share my views:
    Under Pros:
    a. PCD is an application use to migrate older versions[6.1.5, 7.x , 8.x] running on MCS to VM servers.
    b.It can be used to change the IP address or hostname on new servers without affecting existing version .
    c. Many users using MCS Hardware are not willing to migrate to latest version because of existing HW not supporting interim releases which they have to hop through to get on to the target release.
    d. Further, this requires license re-hosting as well for interim releases and major downtimes as well which can be avoided by using PCD without disturbing existing setup.
    e. Also, DRAM/HDD sizing needs to be considered while doing migration on MCS.PCD addresses these issues for migration.
    Under CONS:
    a. It needs to be ordered through Product Upgrade Tool and bootable is not downloadable from Cisco site.
    b. You could face some issues while doing migration which could be bugs but can be resolved.
    c.could face issues while discovering  cluster/doing migration but can be resolved.
    regds,
    aman

  • Weblogic 10.0mp1 domain migration over windows to weblogic12c

    Need to know the migration steps while migrating the weblogic domain 10.0 mp1 hosted over windows server 2008 to another windows machine and the weblogic should be 12.2 .
    The admin server is running with 3 managed server in prodcution.Can anyone suggest the possible ways?Can i use the domain migration utility GUI as provided over 12C ?

    Hello.
    The "server restart needed" is handle by wlst like this: http://edocs.bea.com/wls/docs100/config_scripting/config_WLS.html#wp1029452
    Furthermore: http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1153965 but I still don"t know if a MBean is modified with this attribute, anyway, it could suffice for you script I think.
    Regards.
    Aurélien.
    Edited by: Aurelien DEHAY on 30 juil. 2009 09:25

  • Still about domain alias and domain migration

    Our company is under a domain name transition. Currently, our domain is lab.D.com, and we are moving to aaa.com.During the transition, we wish both domains could work for us for a long time.
    I added a domain alias aaa.com for our domain lab.D.com, the ldif shows:
    dn: dc=aaa, dc=com, o=internet
    objectclass: alias
    objectclass: inetDomainAlias
    aliasedObjectName: dc=lab, dc=D, dc=com, o=internet
    dc: aaa
    after restarting msg server, I can send email to [email protected] which is acutually [email protected]
    However, this is only half-way to my goal. I wish our emails at receivers' mailboxes were [email protected], not [email protected], if we send emails though loging in web mail typing [email protected] in the user ID box, or by creating [email protected] accounts in MS Outlook.
    ===> Is there any way to do it?
    ===> can [email protected] account be created in MS Outlook?
    In another post about domain migration, you suggested:
    If you want to stop using the old domain, and make the new domain your "default domain", that's a little harder. It involves several steps:
    1. changing all the mail addresses.
    2. changing the "default domain" settings everywhere.
    ===> I wonder, how to do it? is there any command? ldapmodify?
    as an alternative approach, if we decide to change our email addresses to [email protected] first,
    ===> will emails sending to either [email protected] or [email protected] arrive at users who are still in the lab.D.com, if I only change all the mail addresses' domian part to aaa.com since I have added domain alias aaa.com?
    and, I do not think sending emails from [email protected] to the internet would be a problem, right???
    The iMS we use is iPlanet Messaging Server 5.2 (built Feb 21 2002), Directory Server is 4.16 which are very old versions :(
    Thanks.

    I make no claim to be a programmer, nor am I expert
    with ldap commands.
    I know of no easy way to change all, other than
    export to ldif, and use a global change with a text
    editor, and then re-import.So, db2ldif -> change in text editor -> ldif2db, right?
    Another question here is about Direct LDAP.
    I enabled Direct LDAP.
    aaa.com is the domain alias to lab.oldD.com (our old domain).
    I also have changed user alas' email addresss from alas@ lab.oldD.com to [email protected] and added mailAlternateaddress for alas as [email protected], as you instructed in previous posts.
    However, whenever I click "send" either to aaa.com or lab.oldD.com, it shows errors, for examples, - "Returning unknown or illegal alias: [email protected]", "Returning unknown or illegal alias: [email protected]"
    The log shows:
    19:17:27.62: mmc_address_to_tree: Parsing address.
    19:17:27.62: Address: "user@[127.0.0.1]" 0x00000000
    19:17:27.62: Right default: honey.lab.oldD.com
    19:17:27.62: Parsing address with null fixup.
    19:17:27.62: mmc_address_to_tree: Returning.
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "$*", literal = "", tag = ""
    19:17:27.62: Rewrite: "$*", position 0, hash table -
    19:17:27.62: Found: "$E$F$U%[email protected]"
    // honey is our email server
    19:17:27.62: Rewrite failed, not forward.
    19:17:27.62: Rewrite: "$*", position 1, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "$*", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "[127.0.0.1]", literal = "", tag = ""
    19:17:27.62: Rewrite: "[127.0.0.1]", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: "[127.0.0.1]", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "[127.0.0.1]", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "[127.0.0.]", literal = "1", tag = ""
    19:17:27.62: Rewrite: "[127.0.0.*]", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: "[127.0.0.]", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "[127.0.0.]", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "[127.0.]", literal = "0.1", tag = ""
    19:17:27.62: Rewrite: "[127.0.*.*]", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: "[127.0.]", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "[127.0.]", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "[127.]", literal = "0.0.1", tag = ""
    19:17:27.62: Rewrite: "[127.*.*.*]", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: "[127.]", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "[127.]", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "user", host = "[127.0.0.1]", domain = "[]", literal = "127.0.0.1", tag = ""
    19:17:27.62: Rewrite: "[]", position 0, hash table -
    19:17:27.62: Found: "$E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon"
    19:17:27.62: Mapping: name = "INTERNAL_IP", input = "127.0.0.1".
    19:17:27.62: Mapping 2 applied to 127.0.0.1
    19:17:27.62: Entry #2 matched, pattern "127.0.0.1", template "$Y", match #0.
    19:17:27.62: New target ""
    19:17:27.62: Exiting...
    19:17:27.62: Final result ""
    19:17:27.62: Mapping result:
    19:17:27.62: New mailbox: "user".
    19:17:27.62: New host: "[127.0.0.1]".
    19:17:27.62: New route: "tcp_intranet-daemon".
    19:17:27.62: New channel system: "tcp_intranet-daemon".
    19:17:27.62: Looking up host "tcp_intranet-daemon".
    19:17:27.62: - found on channel tcp_intranet
    19:17:27.62: mmc_winit('tcp_intranet','[email protected]','') called.
    19:17:27.62: mmc_determine_url beginning with pattern , xadr , mbox , subaddress
    19:17:27.62: Queue area size 18871794, temp area size 18871794
    19:17:27.62: 4717948 blocks of effective free queue space available; setting d
    isk limit accordingly.
    19:17:27.62: mmc_address_to_tree: Parsing address.
    19:17:27.62: Address: "[email protected]" 0x00000000
    19:17:27.62: Right default: lab.oldD.com
    19:17:27.62: Parsing address with local fixup.
    19:17:27.62: mmc_address_to_tree: Returning.
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD.com", domain = "$*", literal
    = "", tag = ""
    19:17:27.62: Rewrite: "$*", position 0, hash table -
    19:17:27.62: Found: "$E$F$U%[email protected]"
    19:17:27.62: Rewrite failed, not forward.
    19:17:27.62: Rewrite: "$*", position 1, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "$*", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD", domain = "newD.com", litera
    l = "", tag = ""
    19:17:27.62: Rewrite: "newD.com", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "newD.com", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD", domain = ".com", literal =
    "", tag = ""
    19:17:27.62: Rewrite: "*.com", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: ".com", position 0, hash table -
    19:17:27.62: Found: "$U%$H$D@TCP-DAEMON"
    19:17:27.62: New mailbox: "alas".
    19:17:27.62: New host: "newD.com".
    19:17:27.62: New route: "TCP-DAEMON".
    19:17:27.62: New channel system: "TCP-DAEMON".
    19:17:27.62: Looking up host "TCP-DAEMON".
    19:17:27.62: - found on channel tcp_local
    19:17:27.62: mmc_address_to_tree: Parsing address.
    19:17:27.62: Address: "[email protected]" 0x00000000
    19:17:27.62: Right default: lab.oldD.com
    19:17:27.62: Parsing address with null fixup.
    19:17:27.62: mmc_address_to_tree: Returning.
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD.com", domain = "$*", literal
    = "", tag = ""
    19:17:27.62: Rewrite: "$*", position 0, hash table -
    19:17:27.62: Found: "$E$F$U%[email protected]"
    19:17:27.62: Rewrite failed, not forward.
    19:17:27.62: Rewrite: "$*", position 1, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "$*", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD", domain = "newD.com", litera
    l = "", tag = ""
    19:17:27.62: Rewrite: "newD.com", position 0, hash table -
    19:17:27.62: Failed.
    19:17:27.62: Rewrite: "newD.com", position 0, rewrite database -
    19:17:27.62: Failed
    19:17:27.62: Rewriting: Mbox = "alas", host = "newD", domain = ".com", literal =
    "", tag = ""
    19:17:27.62: Rewrite: "*.com", position 0, hash table -
    19:17:27.62: Failed
    19:17:27.62: Rewrite: ".com", position 0, hash table -
    19:17:27.62: Found: "$U%$H$D@TCP-DAEMON"
    19:17:27.62: New mailbox: "alas".
    19:17:27.62: New host: "newD.com".
    19:17:27.62: New route: "TCP-DAEMON".
    19:17:27.62: New channel system: "TCP-DAEMON".
    19:17:27.62: Looking up host "TCP-DAEMON".
    19:17:27.62: - found on channel tcp_local
    19:17:27.62: Mapped return address: [email protected]
    19:17:27.62: mmc_rrply: Return detailed status information.
    19:17:27.62: mmc_rrply: Returning return address and channel OK
    19:17:27.62: mmc_wadr(0x001abd40,'','[email protected]') called.
    19:17:27.62: Copy estimate before address addition is 1
    19:17:27.62: Parsing address [email protected]
    19:17:27.62: mmc_address_to_tree: Parsing address.
    19:17:27.62: Address: "[email protected]" 0x00000000
    19:17:27.62: Right default: lab.oldD.com
    19:17:27.62: Parsing address with local fixup.
    19:17:27.62: mmc_address_to_tree: Returning.
    19:17:27.62: Rewriting: Mbox = "alas", host = "lab.oldD.com", domain = "$*", l
    iteral = "", tag = ""
    19:17:27.62: Rewrite: "$*", position 0, hash table -
    19:17:27.62: Found: "$E$F$U%[email protected]"
    19:17:27.62: Match, pattern = "lab.oldD.com", current = "(*domaincheck*)"
    19:17:27.62: old state = not checked.
    19:17:27.62: Performing domainMap check on lab.oldD.com.
    19:17:27.62: Added domainMap result 1 to cache for lab.oldD.com.
    19:17:27.62: new state = succeeded.
    19:17:27.62: New mailbox: "alas".
    19:17:27.62: New host: "lab.oldD.com".
    19:17:27.62: New route: "honey.lab.oldD.com".
    19:17:27.62: New channel system: "honey.lab.oldD.com".
    19:17:27.62: Looking up host "honey.lab.oldD.com".
    19:17:27.62: - found on channel l
    19:17:27.62: Routelocal flag set; scanning for % and !
    19:17:27.62: Address [email protected] requires local processing.
    19:17:27.62: Variant #1 = [email protected]
    19:17:27.62: Variant #2 = *@lab.oldD.com
    19:17:27.62: Checking for [email protected] in the system alias file
    19:17:27.62: - not found
    19:17:27.62: Checking for *@lab.oldD.com in the system alias file
    19:17:27.62: - not found
    19:17:27.62: - adding address [email protected] to headers.
    19:17:27.62: Copy estimate after address addition is 1
    19:17:27.63: mmc_rrply: Return detailed status information.
    19:17:27.63: mmc_rrply: Returning unknown or illegal alias: [email protected]
    I wonder why?
    Thanks.

  • Update query is slow with merge replication

    Hello friend,
    I have a database with enabling merge replication.
    Then the problem is update query is taking more time.
    But when I disable the merge triggers then it'll update quickly.
    I really appreciate your
    quick response.
    Thanks.

    Hi Manjula,
    According to your description, the update query is slow after configuring merge replication. There are some proposals for you troubleshooting this issue as follows.
    1. Perform regular index maintenance, update statistics, re-index, on the following Replication system tables.
        •MSmerge_contents
        •MSmerge_genhistory
        •MSmerge_tombstone
        •MSmerge_current_partition_mappings
        •MSmerge_past_partition_mappings
    2. Make sure that your tables involved in the query have suitable indexes. Also do the re-indexing and update the statistics for these tables. Additionally, you can use
    Database Engine Tuning Advisor to tune databases for better query performance.
    Here are some related articles for your reference.
    http://blogs.msdn.com/b/chrissk/archive/2010/02/01/sql-server-merge-replication-best-practices.aspx
    http://technet.microsoft.com/en-us/library/ms177500(v=sql.105).aspx
    Thanks,
    Lydia Zhang

  • Add article in merger replication

    hello everyone,
    is there any way to add article in already configured publication in merge replication with out snapshot of entire database.
    as per my query it take snapshot of only newly added article not for entire db.
    for example:
    the distance between publisher and subscriber is 1200 km.
    db size=50 gb(it's already configured in merge replication) after that as per our requirement I added one new article(size 1 gb) for that database, if I run snapshot agent it take whole db snapshot it's time consuming.
    when I add one article in transaction replication it take snapshot of newly added article only. like that any way in merge replication.

    No, this is not possible with Merge Replication.  You must generate a full snapshot, however, only the newly added article will be synchronized with existing subscribers.
    Brandon Williams (blog |
    linkedin)

  • How to get localcomputer network  domain name?

    HI all
       Does any one know how to get  localcomputer's network domain name !  I call use function to get  local computername in sap system! But I could not find any functions to get network domain !

    Below link may be useful, check reply from Poornanand.
    Get user system domain name ?

Maybe you are looking for

  • Can someone help me with backing up my iphone over wifi then restoring it?

    basically i wanted to download the new ios 8 on my iphone 5c, i did not have enough memory and was unable to get onto a laptop/pc. i went onto settings>icloud>storage&backup>back up over wifi. i enable back up over wifi so when connected to wifi it w

  • Idoc to a flatfile and then email it as an attachment

    Hello, I know it is possible to convert an Idoc to an flatfile (not xml) when you use a file communication channel. This is done by content conversion. But in my case the flatfile has to be sent as an attachment in an email. Is there a way this can b

  • How to free space that is not being used?

    I have a tablespace with very few data (0.18 Mb) but somehow Oracle is using 10Gb for this tablespace, the tablespace is this one: Tablespace Name and Mb FREE_SPACE USED_SPACE TOTAL_SPACE HIST_PROMOTIONS_IDX 10099,8125 ,1875 10100 The tablespace is c

  • XA Datasource specified, visible in server, not working...

    I'm working with Glassfish, Toplink, and Postgres. I have a session bean that injects a persistence context and another session bean that also has a persistence context. ie: @Stateless public class AccountManagerEJBBean         extends    SomeBaseCla

  • 10 digit phone number format

    Does anyone know of a way to change the default BB 10-digit phone number format of NNNNNNNNNN to include either spaces or parentheses?  i.e. (NNN) NNN-NNNN or NNN NNN NNNN.