Monday, March 26, 2012
Moving the publisher/distributor to a new server
as the publisher and distributor and Server1 (hosted remotely by our ISP) as
a push subscriber. We are adding ServerB to our office network, and it will
replace ServerA, so it needs to become the publisher/distributor of the
publication. All instances of SQL Server are SQL Server 2000, SP4.
Two alternate approaches to this task come to mind: (1) drop the publication
on ServerA (using the option to delete the database on Server1), use
BACKUP/RESTORE to copy the published database from ServerA to ServerB, create
a new publication on ServerB, and create a new subscription on Server1; or
(2) create a new subscription on ServerB, drop the subscription on ServerB
without deleting the replicated database, drop the publication on ServerA
(again using the option to delete the database on Server1), create a new
publication on ServerB, and create a new subscription on Server1. I can think
of advantages to both approaches. I would greatly appreciate any guidance re
which way to go. Thanks in advance.
Steve,
I would use option (1). This is generally faster than using the snapshot to
set up the database, and you can be sure that all the constraints and
indexes etc have been included. It depends, however on how many tables you
have which don't participate in the publication.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com (Liverpool FC!)
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
sql
Wednesday, March 21, 2012
Moving SQL2000 to SQL2005 - COM+ Transaction Issue
I am trying to move an application that is currently using SQL2000 to SQL2005
Production environment:
Server1: Win 2000/SQL2000
Server2: Win 2003/IIS/COM+ & ASP
Trying to move to:
Server1: Win 2003/SQL2005
Server2: Win 2003/IIS/COM+ & ASP
The problem is that when a COM+ control tries to start up a transaction I keep getting the following error: error '8004d00a': New transaction cannot enlist in the specified transaction coordinator
I have discovered a ton of articles, blogs, etc. that suggest setting up security in component services, the firewall, testing with DTCPing (which works fine) and more but it seems that they were all talking about Win2003 and SQL2000. I cannot find anything that specifically references SQL2005.
I have modified both servers with all of the suggestions including the firewall (which is turned off BTW) but to no avail.
Has anyone run into this problem with SQL2005 and hopefully solved it?
Thanks,
Mark
I'm having the same problem... no resolution yet.
Using profiler I can tell that DTC is reaching SQL.
|||I actually figured out the problem (in my case). I was working within a test environment using 2 Virtual Servers. The problem was that the two servers were copied from the same base server image (without being sysprep'd) so they had identical identifiers throughout the system. When I created a brand new server and hooked everything up and followed all of the recommended setups it started working. My problem had nothing to do with SQL200 vs SQL2005.
The big clue came when I ran the DCOM "ping" app. It said that communication was working but the DCOM ID's were identical and that may cause a problem - and it did.
Good luck.
moving sql to a new server
way to export the following to the new server:
1. Linked server configurations
2. Replication configuration
I read the Microsoft document called "HOW TO: Move Databases Between
Computers That Are Running SQL Server" but it does not discuss replication
information and linked servers. Right now the server is a publisher and I
have another box for the distributor and multiple boxes for subscribers. I'de
like to do the least amount of change on the replication and hope that there
is a way to restore the publisher databases on the new server (which has a
different name) and still have replication working.
Thanks
"How to move SQL Server from one computer/server/machine to another"
http://vyaskn.tripod.com/moving_sql_server.htm
"Script out all linked/remote servers"
http://www.sqlservercentral.com/scri...utions/620.asp
Cristian Lefter, SQL Server MVP
"Anonymous" <Anonymous@.discussions.microsoft.com> wrote in message
news:979C3DDD-A9C9-486C-BAA3-5E00C94A3A1E@.microsoft.com...
>I just got a new server as the old server is too slow. What is the easiest
> way to export the following to the new server:
> 1. Linked server configurations
> 2. Replication configuration
> I read the Microsoft document called "HOW TO: Move Databases Between
> Computers That Are Running SQL Server" but it does not discuss replication
> information and linked servers. Right now the server is a publisher and I
> have another box for the distributor and multiple boxes for subscribers.
> I'de
> like to do the least amount of change on the replication and hope that
> there
> is a way to restore the publisher databases on the new server (which has a
> different name) and still have replication working.
> Thanks
sql
moving sql to a new server
way to export the following to the new server:
1. Linked server configurations
2. Replication configuration
I read the Microsoft document called "HOW TO: Move Databases Between
Computers That Are Running SQL Server" but it does not discuss replication
information and linked servers. Right now the server is a publisher and I
have another box for the distributor and multiple boxes for subscribers. I'd
e
like to do the least amount of change on the replication and hope that there
is a way to restore the publisher databases on the new server (which has a
different name) and still have replication working.
Thanks"How to move SQL Server from one computer/server/machine to another"
http://vyaskn.tripod.com/moving_sql_server.htm
"Script out all linked/remote servers"
http://www.sqlservercentral.com/scr...butions/620.asp
Cristian Lefter, SQL Server MVP
"Anonymous" <Anonymous@.discussions.microsoft.com> wrote in message
news:979C3DDD-A9C9-486C-BAA3-5E00C94A3A1E@.microsoft.com...
>I just got a new server as the old server is too slow. What is the easiest
> way to export the following to the new server:
> 1. Linked server configurations
> 2. Replication configuration
> I read the Microsoft document called "HOW TO: Move Databases Between
> Computers That Are Running SQL Server" but it does not discuss replication
> information and linked servers. Right now the server is a publisher and I
> have another box for the distributor and multiple boxes for subscribers.
> I'de
> like to do the least amount of change on the replication and hope that
> there
> is a way to restore the publisher databases on the new server (which has a
> different name) and still have replication working.
> Thanks
Friday, March 9, 2012
Moving Reporting Databases (redux)
I am trying to move my reporting databases on Server1 to another server (Server2). The databases are named ReportServer$Server1 and ReportServer$Server1TempDB, and I would like them to be named ReportServer$Server2 and ReportServer$Server2TempDB on Server2. I have followed all the steps in the KB articles on moving databases, and I have restored the key from Server1 onto Server2. I can use the Report Manager to change the Data Source connection string on Server2. However, when I try to access a report, or delete an unwanted object, it always errors out, and there is a reference to ReportServer$Server1TempDB in the error message.
Where is this dependency on the old name coming from? Is there no way to rename the report server databases?
Thx
Helen
Further to my question, it appears that changing the name of the report databases when moving them to another server is not supported. I have solved my problem by using the configuration tool to create new report databases on Server1, named ReportServer and ReportServerTempDB. I then rebuilt all my reporting objects, and following the instructions in the various KB articles, successfully moved the 3 databases to Server2 (without changing their names).
If anyone knows how to move report server databases and also change their names, I'd love to know how you did it. Also, if anyone knows where the dependency on the name of the tempdb is (somewhere in the reportserver db) I'd alsp be interested.
Cheers
Moving Reporting Databases (redux)
I am trying to move my reporting databases on Server1 to another server (Server2). The databases are named ReportServer$Server1 and ReportServer$Server1TempDB, and I would like them to be named ReportServer$Server2 and ReportServer$Server2TempDB on Server2. I have followed all the steps in the KB articles on moving databases, and I have restored the key from Server1 onto Server2. I can use the Report Manager to change the Data Source connection string on Server2. However, when I try to access a report, or delete an unwanted object, it always errors out, and there is a reference to ReportServer$Server1TempDB in the error message.
Where is this dependency on the old name coming from? Is there no way to rename the report server databases?
Thx
Helen
Further to my question, it appears that changing the name of the report databases when moving them to another server is not supported. I have solved my problem by using the configuration tool to create new report databases on Server1, named ReportServer and ReportServerTempDB. I then rebuilt all my reporting objects, and following the instructions in the various KB articles, successfully moved the 3 databases to Server2 (without changing their names).
If anyone knows how to move report server databases and also change their names, I'd love to know how you did it. Also, if anyone knows where the dependency on the name of the tempdb is (somewhere in the reportserver db) I'd alsp be interested.
Cheers
Monday, February 20, 2012
Moving MASTER and MSDB to a New Server
environment from SERVER1 to SERVER2. The old SQL is the default instance.
It's moving to an instance on SERVER2. The server name will be different
after the move. How do I move the MSDB and MASTER in this case?
ThanksHi,
Does this Help?
INF: Moving SQL Server databases to a new location with
Detach/Attach
http://support.microsoft.com/default.aspx?kbid=224071
Also Look into to the articles mentioned in References.
Regards
Thirumal
>--Original Message--
>I am working on a consolidation project. I would like to
move my SQL
>environment from SERVER1 to SERVER2. The old SQL is the
default instance.
>It's moving to an instance on SERVER2. The server name
will be different
>after the move. How do I move the MSDB and MASTER in
this case?
>Thanks
>
>.
>|||I've seen those articles. What's different in my case is that the name of
the server is also changing. I don't see references to that.
"Thirumal" <treddym@.hotmail.nospam.com> wrote in message
news:16b5a01c41cbc$aced51c0$a601280a@.phx.gbl...
> Hi,
> Does this Help?
> INF: Moving SQL Server databases to a new location with
> Detach/Attach
> http://support.microsoft.com/default.aspx?kbid=224071
> Also Look into to the articles mentioned in References.
> Regards
> Thirumal
> >--Original Message--
> >I am working on a consolidation project. I would like to
> move my SQL
> >environment from SERVER1 to SERVER2. The old SQL is the
> default instance.
> >It's moving to an instance on SERVER2. The server name
> will be different
> >after the move. How do I move the MSDB and MASTER in
> this case?
> >
> >Thanks
> >
> >
> >.
> >|||Hi,
The article is still applicable. You need to drop the old
server & add the new one.
http://www.karaszi.com/sqlserver/info_change_server_name.as
p
HTH
Regards
Thirumal
>--Original Message--
>I've seen those articles. What's different in my case is
that the name of
>the server is also changing. I don't see references to
that.
>
>"Thirumal" <treddym@.hotmail.nospam.com> wrote in message
>news:16b5a01c41cbc$aced51c0$a601280a@.phx.gbl...
>> Hi,
>> Does this Help?
>> INF: Moving SQL Server databases to a new location with
>> Detach/Attach
>> http://support.microsoft.com/default.aspx?kbid=224071
>> Also Look into to the articles mentioned in References.
>> Regards
>> Thirumal
>> >--Original Message--
>> >I am working on a consolidation project. I would like
to
>> move my SQL
>> >environment from SERVER1 to SERVER2. The old SQL is
the
>> default instance.
>> >It's moving to an instance on SERVER2. The server name
>> will be different
>> >after the move. How do I move the MSDB and MASTER in
>> this case?
>> >
>> >Thanks
>> >
>> >
>> >.
>> >
>
>.
>