sysadmin site_version

Description

Sets the site version number for the Replication Server. This lets you use the software features in the corresponding release, and prevents you from downgrading to an earlier release. If the Replication Server uses ERSSD, this command also shuts down the ERSSD, upgrades its database file and restarts ERSSD.

NoteIf your Replication Server uses ERSSD, this command may cause some threads to shutdown since ERSSD is being restarted. Replication should continue after you restart all threads that are shutdown.

Syntax

sysadmin site_version [, version]

Parameters

version

The site version number for Replication Server.

Version number

Site version

Pre-11.5

N/A

11.5

1150

12.0

1200

12.5

1250

12.6

1260

15.0, 15.0.1

1500

15.1

1510

No site version numbers exist for releases earlier than 11.5. Maintenance releases may support higher site version numbers.

Examples

Example 1

Displays the current site version number for the Replication Server:

sysadmin site_version

Example 2

Changes the site version number to correspond to release 15.1:

sysadmin site_version, 1510

Usage


Mixed-version replication systems

In a mixed-version replication system, different Replication Servers have different site versions. In such a system, some features are only available to Replication Servers with higher site versions. For example, the site version of a primary Replication Server and one of its replicate Replication Server is 1510, while the site version its other replicate Replication Server is 1260. When a table replication definition has a timestamp column, the replicate Replication Server with the lower site version can only subscribe to the timestamp as varbinary (8), while the replicate Replication Server with 1510 site version can subscribe to the timestamp column directly.


Upgrading routes


System tables for version information

Version information is stored in the rs_version system table. The rs_routes system table also contains version information. Route version information is stored in the rs_routeversions system table.

Permissions

sysadmin site_version requires “sa” permission.

See also

admin version, sysadmin fast_route_upgrade, sysadmin system_version