Allen Kinsel - SQL DBA

SQL Server, PASS, and other data mishaps

SQL Active Directory User ID SID Mismapings

By Allen Kinsel, 6 months and 22 days ago

Sometimes login mapping issues exist where you least expect them

This is not the traditional SQL login SID mismap issue that is frequently encountered and discussed here. This mismap was a new one on me so I thought id document it.

When trying to add a new Windows login for SQL Server 2005 or 2008 (probably earlier versions but not tested) you may wind up with this error message

Msg 15025, Level 16, State 2, Line 1

Keep reading →

Your relationship with your professional organization

By Allen Kinsel, 6 months and 30 days ago

Do you have a relationship with your professional organization?

What is your professional organization?  is it in technology?  Something like Ineta, PASS, ISUG, IDUG, IOUG or one of the other various technology groups that exist.  Or maybe your preferred group is more in the business side of things like ASPA LOMA or AICPA.  If you dont know your desired professional organization, take a second and plug in your favorite search terms + professional organization into «binoogle» and see if the results lead you to a new beginning.

Expectations

If you already know your professional organization, what do you expect of your relationship with your organization?  Is it a two way street?  Do you give as well as receive?  Would you like the relationship between you and that organization to be stronger or weaker?  Do they do enough to help you succeed, do they provide value?  Do you do what you can to enable their success?  A little overly rhetorical probably, but you get the point.

Keep reading →

How do you do Disaster Recovery

By Allen Kinsel, 7 months and 12 days ago

Going through the process of a large scale multi-location disaster recovery made me stop and think about all the different incarnations that can be used to recover database servers. 

Living with a datacenter in Hurricane alley, We've been doing disaster preparedness(recovery) on a small scale for many years but this year we've been working towards recovering all of our assets to an offsite colocation.  That part of the decision is easy, the actual method used to do these recoveries is definitely up in the air and I fully expect our processes to change for the better, every time we redo our disaster testing (many times a year going forward).

In exploring the recovery process we quickly realized that our «hardware failure» recovery documents weren't going to work effectively in a datacenter failure situation.  So, it was time to design a new set of criteria for success.  I thought Id share our thought process and how we plan on tackling this always fun experience.  Its worth mentioning in a side note that no SQL replication is wanted/allowed for in our case.

Keep reading →

Using Aliases with SQL Server

By Allen Kinsel, 7 months and 18 days ago

Even an old dog can learn new tricks

Where Can I get a dog like this?
I had an Aha! moment recently.  For my entire career as a DBA I have generally considered aliases for connections a workaround for bad behaving applications.  Whenever someone said «alias» my mind immediately heads to SQL Server client configuration aliases which I try to avoid if at all possible (since they are configured on each client)  It never snapped to me until recently that DNS aliases may be a good solution to a few problems  we're currently experiencing.

For disaster recovery reasons, as well as for manageability reasons we have decided to start using DNS aliases for every application connection to database servers.  This should allow us to have the luxury of moving databases from server to server without having to reconfigure multiple applications which would normally be a whole process in itself since the code was already migrated to production which is locked.

Using DNS aliases should also allow us to swap highly important applications over individually to a remote datacenter, which could have less computing power, without having to switch every application and thus kill the performance of that standby server.


Keep reading →

← Previous 01 02 03 Next →