We have a mirrored SQL server setup with a pair of LTM's holding the mirror VIP. We're trying to setup a health monitor that runs a query against both servers in the mirror and directs traffic to the principal. Right now we have a query running that should only be possible on the active side of the mirror, but it's showing that both nodes are green. Any ideas?
feedback
|
|
SELECT mirroring_role_desc FROM sys.database_mirroring WHERE database_id=(YOur database number) --expected response = 'MIRROR' or 'PRINCIPAL' | |||
|
feedback
|