Windows sql server configuration

Сетевая конфигурация сервера Server Network Configuration

Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions) Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions)

Задачи сетевой конфигурации сервера включают активацию протоколов, изменение порта или канала, используемого протоколом, настройку шифрования, настройку службы браузера SQL Server SQL Server , отображение или скрытие компонента Компонент SQL Server Database Engine SQL Server Database Engine в сети и регистрацию имени участника-службы сервера. Server network configuration tasks include enabling protocols, modifying the port or pipe used by a protocol, configuring encryption, configuring the SQL Server SQL Server Browser service, exposing or hiding the Компонент SQL Server Database Engine SQL Server Database Engine on the network, and registering the Server Principal Name. Обычно изменять сетевую конфигурацию сервера не требуется. Most of the time, you do not have to change the server network configuration. Проводить перенастройку сетевых протоколов сервера следует только в случае особых требований сети. Only reconfigure the server network protocols if special network requirements.

Настройка сети для SQL Server SQL Server выполняется с помощью диспетчера конфигурации SQL Server SQL Server . Network configuration for SQL Server SQL Server is done using SQL Server SQL Server Configuration Manager. В предыдущих версиях SQL Server SQL Server применялась программа Server Network Utility, которая поставлялась вместе с ними. For earlier versions of SQL Server SQL Server , use the Server Network Utility that ships with those products.

Протоколы Protocols

Диспетчер конфигурации SQL Server SQL Server применяется для включения или отключения протоколов, используемых SQL Server SQL Server , и настройки параметров, доступных протоколам. Use SQL Server SQL Server Configuration Manager to enable or disable the protocols used by SQL Server SQL Server , and to configure the options available for the protocols. Может быть активировано более одного протокола. More than one protocol can be enabled. Необходимо включить все протоколы, которые будут использоваться клиентами. You must enable all protocols that you want clients to use. Все протоколы имеют равный доступ к серверу. All protocols have equal access to the server. Сведения о том, какие протоколы следует использовать, см. в разделах Включение или отключение сетевого протокола сервера и Сетевая конфигурация SQL Server по умолчанию. For information about which protocols you should use, see Enable or Disable a Server Network Protocol and Default SQL Server Network Protocol Configuration.

Изменение порта Changing a Port

Протоколы TCP/IP могут быть настроены на прослушивание определенного порта. You can configure the TCP/IP protocol to listen on a designated port. По умолчанию экземпляр компонента Компонент Database Engine Database Engine по умолчанию прослушивает TCP-порт 1433. By default, the default instance of the Компонент Database Engine Database Engine listens on TCP port 1433. Именованные экземпляры компонента Компонент Database Engine Database Engine и SQL Server Compact SQL Server Compact настроены для использования динамических портов. Named instances of the Компонент Database Engine Database Engine and SQL Server Compact SQL Server Compact are configured for dynamic ports. Это означает, что при запуске службы SQL Server SQL Server для них выбирается свободный порт. This means they select an available port when the SQL Server SQL Server service is started. Служба браузера SQL Server SQL Server позволяет клиентам определить порт при подключении. The SQL Server SQL Server Browser service helps clients identify the port when they connect.

Читайте также:  Как запустить команду выполнить windows 10

При настройке на динамические порты порт, используемый SQL Server SQL Server , может меняться при каждом запуске. When configured for dynamic ports, the port used by SQL Server SQL Server may change each time it is started. При подключении к SQL Server SQL Server через брандмауэр необходимо открыть порт, используемый компонентом SQL Server SQL Server . When connecting to SQL Server SQL Server through a firewall, you must open the port used by SQL Server SQL Server . Следует настраивать компонент SQL Server SQL Server на использование определенного порта, что позволит настроить брандмауэр так, чтобы он разрешал связь с сервером. Configure SQL Server SQL Server to use a specific port, so you can configure the firewall to allow communication to the server. Дополнительные сведения см. в разделе Настройка сервера для прослушивания указанного TCP-порта (диспетчер конфигурации SQL Server). For more information, see Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager).

Изменение именованного канала Changing a Named Pipe

Можно настроить протокол именованного канала на прослушивание определенного именованного канала. You can configure the named pipe protocol to listen on a designated named pipe. По умолчанию экземпляр компонента Компонент SQL Server Database Engine SQL Server Database Engine прослушивает канал \\.\pipe\sql\query для экземпляра по умолчанию и \\.\pipe\MSSQL$ для именованного экземпляра. By default, the default instance of Компонент SQL Server Database Engine SQL Server Database Engine listens on pipe \\.\pipe\sql\query for the default instance and \\.\pipe\MSSQL$ \sql\query for a named instance. Компонент Компонент Database Engine Database Engine может прослушивать только один именованный канал, но при желании можно изменить имя канала на другое. The Компонент Database Engine Database Engine can only listen on one named pipe, but you can change the pipe to another name if you wish. Служба браузера SQL Server SQL Server позволяет клиентам определить канал при подключении. The SQL Server SQL Server Browser service helps clients identify the pipe when they connect. Дополнительные сведения см. в разделе Настройка сервера для прослушивания альтернативного канала (диспетчер конфигураций SQL Server). For more information, see Configure a Server to Listen on an Alternate Pipe (SQL Server Configuration Manager).

Принудительное шифрование Force Encryption

Компонент Компонент Database Engine Database Engine можно настроить так, чтобы требовать шифрования во время связи с клиентскими приложениями. The Компонент Database Engine Database Engine can be configured to require encryption when communicating with client applications. Дополнительные сведения см. в разделе Включение шифрования соединений в компоненте Database Engine (диспетчер конфигураций SQL Server). For more information, see Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager).

Расширенная защита для проверки подлинности Extended Protection for Authentication

Поддержка расширенной защиты для проверки подлинности с помощью привязки каналов и привязки служб доступна в операционных системах, поддерживающих расширенную защиту. Support for Extended Protection for Authentication by using channel binding and service binding is available for operating systems that support Extended Protection. Дополнительные сведения см. в разделе Соединение с компонентом Database Engine с использованием расширенной защиты. For more information, see Connect to the Database Engine Using Extended Protection.

Проверка подлинности Kerberos Authenticating by Using Kerberos

SQL Server SQL Server поддерживает проверку подлинности Kerberos. supports Kerberos authentication. Дополнительные сведения о регистрации SPN для SQL Server вручную см. в разделах Регистрация имени участника-службы для соединений Kerberos и Диспетчер конфигураций Microsoft Kerberos для SQL Server. For more information, see Register a Service Principal Name for Kerberos Connections and Microsoft Kerberos Configuration Manager for SQL Server.

Регистрация имени участника-службы сервера (SPN) Registering a Server Principal Name (SPN)

Служба проверки подлинности протокола Kerberos использует имя участника-службы для проверки подлинности служб. The Kerberos authentication service uses an SPN to authenticate a service. Дополнительные сведения см. в разделе Регистрация имени участника-службы для соединений Kerberos. For more information, see Register a Service Principal Name for Kerberos Connections.

Читайте также:  Тема windows aero что это такое

Для повышения защищенности проверки подлинности пользователя при соединении с NTLM можно также использовать SPN. SPNs may also be used to make client authentication more secure when connecting with NTLM. Дополнительные сведения см. в разделе Соединение с компонентом Database Engine с использованием расширенной защиты. For more information, see Connect to the Database Engine Using Extended Protection.

служба «SQL Server, браузер» SQL Server Browser Service

Служба браузера SQL Server SQL Server выполняется на сервере и позволяет клиентским компьютерам находить экземпляры SQL Server SQL Server . The SQL Server SQL Server Browser service runs on the server, and helps client computers to find instances of SQL Server SQL Server . Служба браузера SQL Server SQL Server не требует настройки, но она должна быть запущена для некоторых сценариев соединения. The SQL Server SQL Server Browser service does not need to be configured, but must be running under some connection scenarios. Дополнительные сведения о браузере SQL Server SQL Server см. в разделе Служба обозревателя SQL Server (компоненты Database Engine и SSAS) For more information about SQL Server SQL Server Browser, see SQL Server Browser Service (Database Engine and SSAS)

Скрытие экземпляра SQL Server Hiding SQL Server

При выполнении браузер SQL Server SQL Server отвечает на запросы, сообщая имя, версию и сведения о соединении для каждого установленного экземпляра. When running, SQL Server SQL Server Browser responds to queries, with the name, version, and connection information for each installed instance. Для SQL Server SQL Server флаг Скрыть экземпляр указывает на то, что браузер SQL Server SQL Server не должен возвращать сведения об этом экземпляре сервера. For SQL Server SQL Server , the HideInstance flag, indicates that SQL Server SQL Server Browser should not respond with information about this server instance. Клиентские приложения по-прежнему могут подключиться, но при этом им следует иметь необходимые сведения для соединения. Client applications can still connect, but they must know the required connection information. Дополнительные сведения см. в статье Скрытие экземпляра компонента Database Engine SQL Server. For more information, see Hide an Instance of SQL Server Database Engine.

SQL Server Configuration Manager

Applies to: SQL Server (all supported versions)

SQL Server Configuration Manager is a tool to manage the services associated with SQL Server, to configure the network protocols used by SQL Server, and to manage the network connectivity configuration from SQL Server client computers. SQL Server Configuration Manager is installed with your SQL Server installation. SQL Server Configuration Manager is a Microsoft Management Console snap-in that is available from the Start menu, or can be added to any other Microsoft Management Console display. Microsoft Management Console (mmc.exe) uses the SQLServerManager .msc file (such as SQLServerManager13.msc for SQL Server 2016 (13.x)) to open Configuration Manager. You will need the corresponding SQL Server Configuration Manager version to manage that particular version of SQL Server. Here are the paths to the last five versions when Windows is installed on the C drive.

Version Path
SQL Server 2019 C:\Windows\SysWOW64\SQLServerManager15.msc
SQL Server 2017 C:\Windows\SysWOW64\SQLServerManager14.msc
SQL Server 2016 C:\Windows\SysWOW64\SQLServerManager13.msc
SQL Server 2014 (12.x) C:\Windows\SysWOW64\SQLServerManager12.msc
SQL Server 2012 (11.x) C:\Windows\SysWOW64\SQLServerManager11.msc

Because SQL Server Configuration Manager is a snap-in for the Microsoft Management Console program and not a stand-alone program, SQL Server Configuration Manager does not appear as an application in newer versions of Windows.

  • Windows 10:
    To open SQL Server Configuration Manager, on the Start Page, type SQLServerManager13.msc (for SQL Server 2016 (13.x)). For other versions of SQL Server, replace 13 with the corresponding number. Clicking SQLServerManager13.msc opens the Configuration Manager. To pin the Configuration Manager to the Start Page or Task Bar, right-click SQLServerManager13.msc, and then click Open file location. In the Windows File Explorer, right-click SQLServerManager13.msc, and then click Pin to Start or Pin to taskbar.
  • Windows 8:
    To open SQL Server Configuration Manager, in the Search charm, under Apps, type SQLServerManager .msc such as SQLServerManager13.msc, and then press Enter.

SQL Server Configuration Manager and SQL Server Management Studio use Window Management Instrumentation (WMI) to view and change some server settings. WMI provides a unified way for interfacing with the API calls that manage the registry operations requested by the SQL Server tools and to provide enhanced control and manipulation over the selected SQL services of the SQL Server Configuration Manager snap-in component. For information about configuring permissions related to WMI, see Configure WMI to Show Server Status in SQL Server Tools.

To start, stop, pause, resume, or configure services on another computer by using SQL Server Configuration Manager, see Connect to Another Computer (SQL Server Configuration Manager).

Managing Services

Use SQL Server Configuration Manager to start, pause, resume, or stop the services, to view service properties, or to change service properties.

Use SQL Server Configuration Manager to start the Database Engine using startup parameters. For more information, see Configure Server Startup Options (SQL Server Configuration Manager).

Changing the Accounts Used by the Services

Manage the SQL Server services using SQL Server Configuration Manager.

Always use SQL Server tools such as SQL Server Configuration Manager to change the account used by the SQL Server or SQL Server Agent services, or to change the password for the account. In addition to changing the account name, SQL Server Configuration Manager performs additional configuration such as setting permissions in the Windows Registry so that the new account can read the SQL Server settings. Other tools such as the Windows Services Control Manager can change the account name but do not change associated settings. If the service cannot access the SQL Server portion of the registry the service may not start properly.

As an additional benefit, passwords changed using SQL Server Configuration Manager, SMO, or WMI take affect immediately without restarting the service.

Manage Server & Client Network Protocols

SQL Server Configuration Manager allows you to configure server and client network protocols, and connectivity options. After the correct protocols are enabled, you usually do not need to change the server network connections. However, you can use SQL Server Configuration Manager if you need to reconfigure the server connections so SQL Server listens on a particular network protocol, port, or pipe. For more information about enabling protocols, see Enable or Disable a Server Network Protocol. For information about enabling access to protocols through a firewall, see Configure the Windows Firewall to Allow SQL Server Access.

SQL Server Configuration Manager allows you to manage server and client network protocols, including the ability to force protocol encryption, view alias properties, or enable/disable a protocol.

SQL Server Configuration Manager allows you to create or remove an alias, change the order in which protocols are used, or view properties for a server alias, including:

Server Alias — The server alias used for the computer to which the client is connecting.

Protocol — The network protocol used for the configuration entry.

Connection Parameters — The parameters associated with the connection address for the network protocol configuration.

The SQL Server Configuration Manager also allows you to view information about failover cluster instances, though Cluster Administrator should be used for some actions such as starting and stopping the services.

Available Network Protocols

SQL Server supports Shared Memory, TCP/IP, and Named Pipes protocols. For information about choosing a network protocols, see Configure Client Protocols. SQL Server does not support VIA, Banyan VINES Sequenced Packet Protocol (SPP), Multiprotocol, AppleTalk, or NWLink IPX/SPX network protocols. Clients previously connecting with these protocols must select a different protocol to connect to SQL Server. You cannot use SQL Server Configuration Manager to configure the WinSock proxy. To configure the WinSock proxy, see your ISA Server documentation.

Читайте также:  Scx 4521f ������� linux
Оцените статью