connection string to a SQL Server cluster

后端 未结 4 721
时光说笑
时光说笑 2020-12-17 04:13

Could anyone point me or tell me how to write connection string to a SQL Server cluster instance?

I want to establish trusted connection to a database (initial cata

4条回答
  •  既然无缘
    2020-12-17 04:47

    The server name is the virtual server name.

    Example:

    • You have Physical pserver1, pserver2
    • These together make cluster cserver -This hosts virtual servers vserv1 (and perhaps, see below) vserv2

    So, it's vserv1\instancename or vserv1. you don't use physical server names

    Edit, based on number of possible names for virtual servers:

    The cluster may be active/passive /A/P) or active/active (A/A)

    • In A/P, only one virtual server is hosted and the standby node is not actively used.
    • In A/A, there are 2 virtual servers and normally each node hosts one. Each node is standby for the other.

提交回复
热议问题