473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sp_change_secon dary_role missing in SQL Server 2005?

I've got SQL Server 2005 Ent Ed 9.0.1399 and want to change my
secondary Log Shipping server into a primary. I've tried locating the
sp_change_secon dary_role, but can't seem to find it. Has it been
replaced with another stored procedure? If so, which are the procedures
to run?

On SQL Server 2000, the following were the steps listed:
1. Transfer logins
2. Run sp_change_prima ry_role
3. Run sp_change_secon dary_role
4. Run sp_change_monit or_role (this exists in SQL Server 2005)
5. Run sp_resolve_logi ns

3 & 5 are what I'd expect to perform if the primary isn't available.

N.I.T.I.N.

Jul 25 '06 #1
1 2030
To get a secondary up and running, I've disabled the SQL Server Agent
jobs, restored the last transaction log (with recovery) and I've got a
working database. I was just wondering what I'd do if the last
transaction log has already been applied with norecovery.

Later, when the former primary is functional, I'll just restore from a
full backup, overwriting the existing database, and then will setup
transaction log shipping on the new primary which will automatically
get the new logs restored.

I didn't execute any stored procedures, though... it was GUI all the
way for me.

N.I.T.I.N.
NiTiN wrote:
I've got SQL Server 2005 Ent Ed 9.0.1399 and want to change my
secondary Log Shipping server into a primary. I've tried locating the
sp_change_secon dary_role, but can't seem to find it. Has it been
replaced with another stored procedure? If so, which are the procedures
to run?

On SQL Server 2000, the following were the steps listed:
1. Transfer logins
2. Run sp_change_prima ry_role
3. Run sp_change_secon dary_role
4. Run sp_change_monit or_role (this exists in SQL Server 2005)
5. Run sp_resolve_logi ns

3 & 5 are what I'd expect to perform if the primary isn't available.

N.I.T.I.N.
Jul 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1837
by: barbara | last post by:
primary server is unavailable, I couldn't able to demote the primary server. I ran this query to promote secondary server. I've tried with different options @terminate=0. I've ensured no user connections exist. But still getting sqlmint.exe error. Any one experienced this problem? I've checked KB article, but still not working EXEC msdb.dbo.sp_change_secondary_role @db_name = 'test', @do_load = 1,
4
1422
by: Stephanie Stowe | last post by:
You have a page. On top of the page, there are some search criteria and other input elements and a submit button. The submit button is clicked, sending a request to the server. Server-side code is executed to write client-side vars. Based on these vars, divs are shown or hidden. Why not just write or not write the html stuff server-side? I cannot understand it. And it is UGLY. If other client-events were going to interact with the divs,...
4
6608
by: SQLJunkie | last post by:
Here is an issue that has me stumped for the past few days. I have a table called MerchTran. Among various columns, the relevant columns for this issue are: FileDate datetime , SourceTable varchar(25) SQL statement: SELECT DISTINCT FileDate
9
2930
by: Vorpal | last post by:
Here is a small sample of data from a table of about 500 rows (Using MSSqlserver 2000) EntryTime Speed Gross Net ------------------ ----- ----- 21:09:13.310 0 0 0 21:09:19.370 9000 NULL NULL 21:09:21.310 NULL 95 NULL 21:10:12.380 9000 NULL NULL 21:10:24.310 NULL 253 NULL
1
3376
by: Jason_Schaitel | last post by:
In Query Analyzer I could go to the Query menu and select Show Server Trace and it would give me trace information with duration, CPU, Reads and Writes cost. I have been using SQL Server 2005 for a couple months now and I can't seem to find that option in SQL Management Studio. Am I missing something? Jason
1
4689
by: Maricel Espejo | last post by:
Hi, Is there anyone encountered this error before & how it is being resolved? Missing end comment mark '*/' The error pops-up when I was running a DTS Import/Export from a SQL server (source) to another SQL server (destination) residing on a different machine. I'm copying all tables, views, & stored procedures of a database.
3
3167
by: Arpan | last post by:
I recently installed SQL Server 2005 (Management Studio Express) along with SQL Server 2005 Express (Configuration Manager) in my Win2K Pro m/c & use IIS 5.0 to run ASPX projects. I could add my database, named "MyDB", successfully. I am using the Windows Authentication mode to login to SQL Server. My server name is "AD\SQLEXPRESS" where "AD" is the name of my m/c. I could even establish a connection to the server & the database from...
17
2231
by: boa | last post by:
I'm currently planning disk layouts and use for a new version of our database. The current version has all data and indexes in the default filegroup, placed on one big raid-5 array(6 drives) along with the transaction log. Performance is not the best, as you may imagine... Next week we will add another 14 drives and organize them in different combos of raid-10 and raid-1, and then create several filegroups and place tables and index data...
1
1539
by: GinaM1 | last post by:
Hi All, I am working with a software package that logs messages via ODBC to a remote SQL Server 2005 Service Pack 2 database. The server OS is Server 2003 Service Pack 1. The software that we are working with successfully creates the SQL table and SQL user for the logging as the ODBC connection is set up. We have verified that both the user and the table have been set up on the SQL Server machine. By default, full permissions are not...
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10457
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4119
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.