|
Wednesday, October 9, 2013
Configuring Database Mirroring and Testing Mirroring Failover
Tuesday, October 8, 2013
Unable to start SQL Server Service on a cluster instance
When you try to bring online the SQL Server cluster service, it might fail with the error "Login timeout expired".
In my case the SQL Server version was SQL Server 2005 and when I failover to Node1 it was working fine, however when I failback to Node2, it was failing with this error.
This is unusually right?
It works on one node but not on the other node.
In my case the SQL Server version was SQL Server 2005 and when I failover to Node1 it was working fine, however when I failback to Node2, it was failing with this error.
This is unusually right?
It works on one node but not on the other node.
Labels:
MSSQL,
SQL Server 2005,
SQL Server Browser
Monday, October 7, 2013
SQL Server Agent Could not be started (reason: Error creating new session) - Error 15247
Recently, I was working a server which is newly built and when I tried to start the SQL Server Agent, it failed saying that the Agent service could not be started on the local computer.
When I investigate more in the event viewer i found a message which says "SQL Server Agent Could not be started (reason: Error creating new session)".
When I investigate more in the event viewer i found a message which says "SQL Server Agent Could not be started (reason: Error creating new session)".
Labels:
SQL Server Agent
Friday, October 4, 2013
Change SQL Server Collation without rebuilding system databases
How many of you want to change the SQL Server Collation without rebuilding the system databases?
In this post, I will explain a method using which the server collation can be easily changed and is through a undocumented start up parameter.
Since this is undocumented, I highly recommend to use this with extra care and with your own risk.
In this post, I will explain a method using which the server collation can be easily changed and is through a undocumented start up parameter.
Since this is undocumented, I highly recommend to use this with extra care and with your own risk.
Saturday, September 28, 2013
Restore master database on a cluster instance
Below is the sequence for restoring master database on a cluster instance
- Take SQL Server Service Offline from Cluster Admin
- Login to the active node of the cluster
- Start the SQL Server service in single user mode
net start "SQL Server (InstanceName)" /c /m /T3608 - Login to the instance using sqlcmd
- RESTORE master database
RESTORE DATABASE master FROM DISK = '<BackupLocation>' WITH REPLACE
- Once the master database is restored, the SQL Service will be shutdown automatically
- Start SQL Server Service from Cluster Admin
Labels:
Cluster,
Restore Master database
Subscribe to:
Posts (Atom)