SQL 2005 cluster rejects SQL logins when in failed over state

When SQL 2005 SP4 on Windows 2003 server cluster is failed over from Server_A to Server_B, it rejects all SQL Server logins. domain logins are OK. The message is "user is not associated with a trusted server connection", then the IP of the
client. This is error 18452. Anyone know how to fix this? They should work fine from both servers. We think this started just after installing SP4.
DaveK

Hello,
The connection string is good, you're definitely using sql auth.
LoginMode on Server_B is REG_DWORD 0x00000001 (1) LoginMode on Server_A is REG_DWORD 0x00000002 (2) Looks like you are on to something. I will schedule another test failover. I assume a 2 is mixed mode? If so, why would SQL allow two different modes
on each side of a cluster?
You definitely have a registry replication issue, or at the very least a registry that isn't in sync with the cluster. This could happen for various reasons, none of which we'll probably find out about now, but never the less...
A good test would be to set it to windows only on Node A, wait a minute and then set it to Windows Auth and see if that replicates the registry setting across nodes correctly - this is actually the windows level and doesn't have anything to do with SQL Server.
SQL Server reads this value from the registry and it is not stored inside any databases (read, nothing stored in the master database) as such it's a per machine setting. Since it's not set correctly on Node B, when SQL server starts up it correctly reads
that registry key and acts on it as it should. The culprit isn't SQL Server, it's Windows Clustering.
Hopefully this makes a little more sense now. You can actually just edit the registry setting to match Node A and fail over to B, everything should work correctly. It doesn't help you with a root cause analysis which definitely needs to be done as who knows
what else may not be correctly in sync.
Sean Gallardy | Blog |
Twitter

Similar Messages

  • It needs to recover by hand when the fail-over occured.

    Hi all,
    I have the database using Oracle10g(10.1.0.5)SE on Windows Server 2003 with HA Cluster using Oracle Fail Safe(3.3.4).
    It had smoothly run with fail-over before.
    But now,It needs to recover by hand when the fail-over occured.
    Even no connection with it,it needs to recover by hand.
    Have anyone met same situation or Is someone who understand it?
    Thanks in advance.
    Tom

    Hi Frank...
    I see from your post, no one was able to help you however, I encountered this EXACT same scenario and don't know what to do to fix this. What did you finally do???  -- Andy

  • Sql 2005 cluster

    Hello
    Our site SAP ECC6 bo installed on win2003 os and SQL entrpraise 2005. The db be install on microst cluster with two nodes.
    I nedd to replace the two nodes with new ones.
    It is posible to add the two new nodes to the current cluster (cluster with 4 nodes) ?
    When i install the sap software at the new node , the sap can be online at the other node ? or it is down time necessary ?
    I read at microsoft site that sql 2005 can work with more than 2 nodes , also with sap software.
    someone can help me with my questions ?
    Regards
    Shabtay

    Hello Shabtay,
    Sorry, I could not understand your query. Following is my reply based on what I understood:
    The number of nodes supported in the clustered configuration of SQL Server 2005 depends on the OS limits.
    With Windows 2003 Server Enterprise Edition upto 4 nodes can be configured.
    Hence, you can add two more nodes to the existing cluster.
    A downtime is surely involved while replacing both the existing nodes.
    Applications must be down while doing the same.
    To my knowledge following query by you is not possible :
    "When i install the sap software at the new node , the sap can be online at the other node ?" So the answer is No. There will be instance conflict. ( This means installing 2 SAP systems with same name in such case).
    Regards

  • Can't restore SQL 2005 BAK to SQL 2008 R2 running on Server 2012

    Hi there,
    Preparing to switch from SQL 2005/Server 2003 to SQL 2008 R2 / Server 2012.   Took a backup of the SQL database on 2005 (stored at a cloud backup provider nightly) and copied to the new machine.  Unable to restore the .BAK file, with the error:
    The media family on device <backup path> is incorrectly formed.  SQL Server cannot process this media family.
    RESTORE HEADERONLY is terminating abnormally.  (Microsoft SQL Server, Error: 3241)
    Tried it with two different backup files from two different nights, same error.  I understand that this error can show up when restoring to a lower version of SQL, but that's not the case here.
    Also, I know this can occur if the BAK file is corrupt, and I can't verify that yet, but two in a row failed.  I'm hoping our cloud solution isn't part of the problem somehow.  
    BAK file is 15 Gb in size, so don't have the ability to attempt the restore on the 2005 production server.   Just not enough room, and can't afford to cause performance issues on that box anyway.
    Anyone know of any way to get a better handle on what's going on, or, even better, how to resolve it?
    Thanks
    Robin

    Hello,
    Since you are using a cloud solution, maybe the following article applies in your scenario.
    http://www.sqlcoffee.com/Troubleshooting047.htm
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Installation of Golf Program requires uninstalling Microsoft SQL 2005 and installing SQL 2000

    I am running Win 7 and about to purchased a new computer with Win 8.1. 
    The USGA wrote a Tournament Program which is used nationwide called TPP (Tournament Pairing Program).  It was developed prior to XP but it is updated every time you run the update.  It runs on XP without any adjustments.  To load the program
    on Win 7 or Win 8 you are instructed to remove Microsoft SQL Server 2005, which I did.  The program loads SQL 2000 when it is installed.  I am concerned when I uninstall the TPP program that it will also uninstall SQL 2000 (which it installed) and
    then there will be no SQL server on my Win 7.
    I was going to make sure that I could install the TPP program on Win 8 (before buying another computer) by installing it on a friends new Win 8.1 computer.  But I am concerned about removing the preinstalled SQL Server program.
    1) How does one get the original Microsoft SQL Server back once it has been removed and the recycle bin has been emptied?  Does the SQL program even get sent to the recycle bin when it is removed?
    2)  Is there any harm done by removing the original SQL program be it 2005 or a new one?

    SQL 2000 is not supported on Windows 7.
    http://support.microsoft.com/kb/2028963/en-us
    whenever you uninstall SQL Server, databases files are not deleted. So you can move them to safe location. if they are delete by you then you have very less chances to recover the data.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Upgrade MS SQL 2005 to MS SQL 2008 (R2) for High-Availability SAP ERP System

    Hi,
    We are having ECC 6.0 SR3 Hight-Availability system on windows cluster environment.
    Our platform is Windows Server 2008 SR2  with MS SQL Server 2005 SR3. We have two nodes in our windows cluster. Active-passive nodes.
    Node-1 is having CI, ASCS, ERS & DATABASE
    Node-2 is having DI, ERS & stand-by database software.
    I've check all the pre-requisites for sql upgrade.
    our kernel is on 700_Rel. I'm planning to stabilize the kernel with 721_Rel before Database upgrade.
    Support package patch level condition is met for sql upgrade in our scenario.
    Now we are planning to upgrade our MS SQL Server from 2005 sr3 to MS SQL Server 2008r2.
    Please provide me the steps for Kernel upgrade and sql upgrade to 2008r2 on Windows cluster environment.
    Thanks
    Venkat

    Hi Venkat
    1. Could you share your ECC support package level & also you can check the PAM
    2. Yes you can upgrade the MS Sql to 2008 R2, before starting upgrade Kindly ensure the full OS / DB level backup on both cluster node's
    3. MS Sql 2008 R2 upgrade refer the SAP Note
    1152240 - Setting Up Microsoft SQL Server 2008 (R2)
    4. For Kernel upgrade its release change kindly go thru the SAP Notes
    1713986 - Installation of kernel 721 (EXT)
    1728283 - SAP Kernel 721: General Information
    1726899 - 721 DCK: Upgrade from 7.0n to 7.1n
    BR
    SS

  • 2 node Sun Cluster 3.2, resource groups not failing over.

    Hello,
    I am currently running two v490s connected to a 6540 Sun Storagetek array. After attempting to install the latest OS patches the cluster seems nearly destroyed. I backed out the patches and right now only one node can process the resource groups properly. The other node will appear to take over the Veritas disk groups but will not mount them automatically. I have been working on this for over a month and have learned alot and fixed alot of other issues that came up, but the cluster is just not working properly. Here is some output.
    bash-3.00# clresourcegroup switch -n coins01 DataWatch-rg
    clresourcegroup: (C776397) Request failed because node coins01 is not a potential primary for resource group DataWatch-rg. Ensure that when a zone is intended, it is explicitly specified by using the node:zonename format.
    bash-3.00# clresourcegroup switch -z zcoins01 -n coins01 DataWatch-rg
    clresourcegroup: (C298182) Cannot use node coins01:zcoins01 because it is not currently in the cluster membership.
    clresourcegroup: (C916474) Request failed because none of the specified nodes are usable.
    bash-3.00# clresource status
    === Cluster Resources ===
    Resource Name Node Name State Status Message
    ftp-rs coins01:zftp01 Offline Offline
    coins02:zftp01 Offline Offline - LogicalHostname offline.
    xprcoins coins01:zcoins01 Offline Offline
    coins02:zcoins01 Offline Offline - LogicalHostname offline.
    xprcoins-rs coins01:zcoins01 Offline Offline
    coins02:zcoins01 Offline Offline - LogicalHostname offline.
    DataWatch-hasp-rs coins01:zcoins01 Offline Offline
    coins02:zcoins01 Offline Offline
    BDSarchive-res coins01:zcoins01 Offline Offline
    coins02:zcoins01 Offline Offline
    I am really at a loss here. Any help appreciated.
    Thanks

    My advice is to open a service call, provided you have a service contract with Oracle. There is much more information required to understand that specific configuration and to analyse the various log files. This is beyond what can be done in this forum.
    From your description I can guess that you want to failover a resource group between non-global zones. And it looks like the zone coins01:zcoins01 is reported to not be in cluster membership.
    Obviously node coins01 needs to be a cluster member. If it is reported as online and has joined the cluster, then you need to verify if the zone zcoins01 is really properly up and running.
    Specifically you need to verify that it reached the multi-user milestone and all cluster related SMF services are running correctly (ie. verify "svcs -x" in the non-global zone).
    You mention Veritas diskgroups. Note that VxVM diskgroups are handled in the global cluster level (ie. in the global zone). The VxVM diskgroup is not imported for a non-global zone. However, with SUNW.HAStoragePlus you can ensure that file systems on top of VxVM diskgroups can be mounted into a non-global zone. But again, more information would be required to see how you configued things and why they don't work as you expect it.
    Regards
    Thorsten

  • How does BPM continue when a fail over ocurrs?

    Hello,
    If a BPM is running inside a cluster of XI, and the node  running the BPM fails, Would the other nodes continue processing or the BPM will finish with a error?
    Best regards,
    Luis Carlos

    Hi Luis,
    There is no automatic failover mechanism is there , if BPM fails. Rather if you consider your Scenario, then BPM will be a part of your end -to-end scenario. So it should execute sequentially.
    It is just my view...
    For more on BPM-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/287842f9e03654e10000000a155106/frameset.htm
    Regards,
    Moorthy

  • The acount information could not be verified - SQL 2005 SP3 installation on Windows 2008 R2 Failover Cluster

    Hi,
    We have a problem when we are trying to install SQL SP3 on SQL 2005 cluster.
    The problem is described bellow:
    We installed a new Windows 2008 R2 x64 failover cluster with two nodes.
    As a next step we installed SQL 2005 Enterprise edition x64 on this failover cluster. We have finished the installation without problems. After SQL installation we are trying to install SQL SP3 . We have logged on using a domain administrator account and
    we start the installation of SP3 with that user. In authentication mode screen the test gives a success status using either domain administrator-windows authentication or sa-sql authentication. On remote user account screen, when we give the domain
    administrator account we get the message "the account information could not be verified. Press ok to return to authentication mode screen to determine the reason for failure".
    We have tried to give the SQL services startup user on remote user account screen but the error is the same.
    the domain administrator account exists on security logins of SQL with sysadmin rights.
    Can someone help?
    Thanks. 

    Hi StelioMavro,
    According to your error message, when you install SQL Server 2005 SP3 in your failover cluster, we need to verify if there was other instance that had been removed and the installation did not pass the login check. I recommend you use windows authentication
    instead of SQL Server authentication when applying SP3. And the windows account used to run the SP3 setup program must have administrator privileges on the computer where SP3 will be installed.
    For more information about how to install SQL Server 2005 SP3 in failover cluster, you can review the following article.
    http://www.sqlcoffee.com/Tips0007.htm
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Howto take SQL Server 2005 Cluster AND Cluster Group Offline

    I need to update firmware on the backend storage used by our Active/Passive SQL Server 2005 Cluster.  The first step in the process states that all I/O to the disks should be stopped.  Per that, I need to take the the SQL Server cluster offline AND the cluster group; however, I then need to use one of the servers that participates in the cluster to perform the upgrade on the storage array.  Using the process (which doesn't account for having to use one of clustered servers to perform updates) outlined at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1550288&SiteID=1 as a basis, below is my best guess regarding what I will need to do: 
    Shutdown:
    1. Backup all of your databases prior to the outage and ensure they are in a safe place (NOT on the disk drives in the cluster)
    2. Take the SQL Server group OFFLINE.  This will cleanly shutdown the SQL Server and it will remain offline when you power the machine back on.
    3. Once SQL Server is offline, power off the node which does NOT have the cluster resource currently running on it
    4. Save the node which is running the cluster group for last - make a note of this machine as it will be the first one you power back on.  MY ADDITION: Before powering it down, set the cluster service to manual so that when you restart the server to perform the storage array maintenance, the cluster will not be running - and likewise not generating I/O against the disk array.
    MY ADDITION: 5. Restart the server from step 4.  Takes the cluster offline "cleanly" and brings the server back on line so that the storage array maintenance can be performed.
    6. Update the firmware on the storage array.  After that is complete, set the cluster service back to "Automatic".
    Start up:
    1. Restart the server.  Per the previous steps, the server to be restarted will be the server that last hosted the cluster group and the one used to update the firmware on the storage array.
    2. RDP into the node, open cluster administrator, and verify that the cluster came back online successfully and everything looks clean
    3. Power on the second node.
    4. Failover the cluster group across each node in the cluster and validate that everything looks OK
    5. Bring your SQL Server groups back online
    6. Validate that everything is operational
    Is there a better way to do this or official documentation for the process? 
    Thanks.

    FYI: I did use the process outlined above to briing the cluster offline, perform updates, and bring it back online.  It worked as I had hoped.  As a test, I had also done the same on a test [non-SQL] cluster prior to making the updates to our SQL cluster.  Is it the best way to do it?  Who knows. Did it work?  Yes.

  • Daily backup on Ms sql server management  studio (MS sql 2005).

    I wander how to perform daily backup on Ms sql server management  studio (MS sql 2005).
    In sql server  Entereprise manager (MS sql 2000) I had no problem to shedule.
    But now I do not find this option

    Hi
    Please follow these steps in SQL Server Management Studio in SQL Server 2005 and <b>award points</b>
    1. Start SQL Server Management Studio.
    2. In the Connect to Server dialog box, click the appropriate values in the Server type list, in the Server name list, and in the Authentication list. 
    3. Click Connect.
    4. In Object Explorer, expand Databases.
    5. Right-click the database that you want to back up, click Tasks, and then click Back Up.
    6. In the Back Up Database - DatabaseName dialog box, type the name of the backup set in the Name box, and then click Add under Destination.
    7. In the Select Backup Destination dialog box, type a path and a file name in the Destinations on disk box, and then click OK.
    8. In the Script list, click Script Action to Job.
    9. In the New Job dialog box, click Steps under Select a page, and then click Edit if you want to change the job parameters.
    Note In the Job Step Properties - 1 dialog box, you can see the backup command.
    10. Under Select a page, click Schedules, and then click New.
    11. In the New Job Schedule dialog box, type the job name in the Name box, specify the job schedule, and then click OK.
    Note If you want to configure alerts or notifications, you can click Alerts or Notifications under Select a page.
    12. Click OK two times.
    You receive the following message:
    The backup of database 'DatabaseName' completed successfully.
    Note To verify the backup job, expand SQL Server Agent, and then expand Jobs. When you do this, the SQL Server Agent service must be running.

  • SQL 2005 to SQL 2014

    The following MSDN reference
    http://msdn.microsoft.com/en-us/library/ms143393%28v=sql.120%29.aspx says
    SQL Server 2014 supports upgrade from the following versions of SQL Server:
    SQL Server 2008 SP3 or later
    SQL Server 2008 R2 SP2 or later
    SQL Server 2012 SP1 or later
    However, in our testing, it is possible to upgrade from SQL 2005 SP4 to SQL 2014.  There are no messages or detection errors when doing so.  Will the final release of SQL 2014 support upgrading from SQL 2005 directly or will there be detection
    added to the installation to prevent it?

    Hello,
    SQL Server 2005 won’t be supported as a valid upgrade path when SQL Server 2014 RTM is released as the article you posted states. The behavior you are seeing with the CTP version of SQL Server 2014 maybe is part due to some binaries of the SQL Server 2012
    version still in use on the CTP version.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SSRS 2012 rendering issue/Enabling Anonymous access - Upgraded SSRS from SQL 2005 to SQL 2012.

    Hi,
    I just recently upgraded SQL 2005 SSRS to SQL 2012 SSRS. Everything is working great other than small issue.
    Sounds like some authentication issue. SQL 2005 SSRS - IIS, we enabled anonymous access and we never had this problem. SQL 2012 SSRS /WIN 2008 R2 -  I am not sure how to enable anonymous access.
    If anyone can help me on this? I really appreciate your help.
    Thanks,
    Vel
    Vel Thavasi

    Hi Vel,
    According your description, you want to know how the enable anonymous access to SSRS 2012. Right?
    In SSRS 2008 or later version, we are not using IIS any more. If we want to configure the authentication, we need to configure in RSReportServer.config. This file locate at:
    <drive>:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer
    However, in SSRS 2012, Anonymous authentication is not supported on report server. Please see:
    Authentication with the Report Server
    In this scenario, we need to custom an authentication type to achieve the "Anonymous" goal. Please refer to the link:
    Configure Custom or Forms Authentication on the Report Server
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Is Replica aware stubs are in infinite loop when fail over????

              Hi
              Any help on this Appreciated
              See in this senario, where there is four weblogic instance runs in the cluster
              and a replica aware stub(stateless bean with idempodent methods) finds a particular
              method fails on a server and it redircets the request to another one server but the
              same method fails on all the server, then what is goin to happen?? is it going to
              throw some exception or gonna be in a loop to keep on redirecting the method request
              to all servers in Round???
              Regards
              Aruna
              

              Aruna,
              A stateless session bean whose methods have been declared idempotent will automatically
              retry on another service provider in a fail-over situation. When a fail-over situation
              occurs, the stub refreshes its list of service providers. Note: Just because your
              method call fails, doesn't mean it's a fail-over situation.
              Jane
              "Aruna" <[email protected]> wrote:
              >
              >Hi
              >
              > Any help on this Appreciated
              >
              > See in this senario, where there is four weblogic instance runs in
              >the cluster
              >and a replica aware stub(stateless bean with idempodent methods) finds a
              >particular
              >method fails on a server and it redircets the request to another one server
              >but the
              >same method fails on all the server, then what is goin to happen?? is it
              >going to
              >throw some exception or gonna be in a loop to keep on redirecting the method
              >request
              >to all servers in Round???
              >
              >
              >Regards
              >Aruna
              

  • How to identify a cluster fail over?

    Hello,
    I am looking for event IDs which show that a cluster failed over. Which log? Application, System, Cluster, Others?
    What initiated the fail over?
    When the fail over happened?
    etc...
    Thanks,
    DOm
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi Sir,
    Please refer to following article regarding how to create cluster log :
    http://blogs.technet.com/b/askcore/archive/2010/04/13/understanding-the-cluster-debug-log-in-2008.aspx
    http://blogs.technet.com/b/askcore/archive/2010/04/13/understanding-the-cluster-debug-log-in-2008.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Maybe you are looking for

  • How do you get drum loops tempo to match your track?

    We've recorded a few different projects with acoustic guitar tracks and are having trouble getting the drum loops to match the beat/tempo of our tracks. Even with Groove Matching, it still sounds a little bit off. Any suggestions?

  • Receiving an event with no To: email address

    I'm trying to access an email that is sent to a blinded mailing list... in particular the email contains an .ics event file. When I click on the hyperlink to open the event in iCal, iCal eventually gives me an error. The error states that since the T

  • Wepage not displaying content

    I am using a math homework website, Webassign.net, and certain features that were displaying normally a few days ago are suddenly not displaying now, and a link to the textbook is not displaying the content either. My plug-ins are all updated, I chec

  • Radix sort help again

    I created a linked list and are now trying to pass a word into a radix sort (which works outside of this particular program) so that it will sort the words and place them back into the appropriate places in the list. Just for the record, I haven't re

  • I have an Imac OS 10.6.8 Snow Leopard. Safari crashes each time I try to print.

    my operating system 10.6.8 was not listed.  Snow Leopard My Safari and Firefox "crash" every time I try to print. This just started yesterday. Will not print and closes with a "crash report"