i believe partially the answer is, it connects to a listener server which redirects to a real database.
say for example, a connection string is
data source=SQLCL01;initial catalog=UserDatabase;user id=test-user;password=##pass##;MultipleActiveResultSets=True
and SQLCL01 is a listener, which i guess will route to a real database in that group, but what happens if SQLCL01 dies? wouldnt the connection break? how does this work as HA if there is a single point of failure there?
I know some databases have 8 servers. Are they worried the single listener at SQLCL01 would go down? Or do we set up multiple listeners and can pass two in the connection string?