Sql-server – Sid’s for service accounts in alwayson

availability-groupsjobsservice-accountssql server

When creating new maintenance jobs for an alwayson setup with new service accounts, should we ensure that the sid's on both the nodes should be the same? I created a new login with the new domain service accounts and scheduled Olla Hallengren's scripts. I just wanted to check the sid of the service account on both the nodes. They are different. Is this something which i should worry about?Thanks!

Best Answer

If they are Windows domain accounts/groups, you shouldn't have to worry about it as they should be identical on both nodes.

The orphaned user issue and SID syncing across both nodes is only applicable to SQL authorization logins. With SQL authentication, you will have to sync the SIDs as, after a failover, the SIDs wont line up between the server level SID and db level SID.