Parameter: sqlalwayson




This parameter is used to enable SQL Server AwaysOn when Service Manager is running on a SQL Server (2012 or later) database cluster. You can set this parameter to the following values:

  • 1: SQL Server AlwaysOn is enabled. The Service Manager server turns on SQL_COPT_SS_MULTISUBNET_FAILOVER and sets SQL_COPT_SS_APPLICATION_INTENT as ReadWrite.
  • 0: SQL Server AlwaysOn is disabled.

For more information, see Support of SQL Server AlwaysOn.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?


Default value


Possible values

0 (Disabled)

1 (Enabled)

Example usage

Command line: sm -httpPort:13080 -sqlalwayson:1

Initialization file: sqlalwayson:1