10.3.4. Monitoring the client licenses
10.3.4.1. General information
Depending on the client type and the location of the software license files, there are several options for accounting for licenses. Subsections below contain detailed information on client software license accounting methods.
10.3.4.2. File mode
In this case, you can use only single-user licenses, which ensures that the computer that contains the software license file will run an arbitrary number of application instances in 1C:Enterprise mode or in Designer mode.
The exception is the terminal mode of 1C:Enterprise. In this case, it is possible to use multi-user license infobase with file mode. For more information, see article Terminal server.
10.3.4.3. Client/server mode
In this case, there are the following options for obtaining licenses.
10.3.4.3.1. Single-user software license
Allows running any number of instances of the application in 1C:Enterprise mode or Designer on a computer with a software license file.
10.3.4.3.2. Multi-user software license
1C:Enterprise server counts the licenses.
In this case, the software license files are located on the computer where the 1C:Enterprise server is installed. The server directly counts the licenses. In this case, licenses are consumed at the rate of “one session – one license”. Thus, if two instances of 1C:Enterprise are running on the same computer (in any startup mode and with any client kind), then two licenses will be spent on it.
10.3.4.4. Web client
Depending on the infobase mode (file or client/server), licenses are counted by either the web server extension module (in file mode) or 1C:Enterprise server (in client/server mode).
In this case, the software license file can be located on the computer where the web server extension module is installed, or on the computer where the 1C:Enterprise server is installed. The web server extension module (or the server) directly counts the licenses. In this case, licenses are consumed at the rate of “one session – one license”. Thus, if two instances of 1C:Enterprise are running on the same computer (in any startup mode and with any client kind), then two licenses will be spent on it.
10.3.4.5. Thin client running via web server
To obtain licenses, the thin client can use:
- Single-user software license
- Web server extension module or 1C:Enterprise server
A single-user license ensures that the computer with a software license file will run an arbitrary number of application instances in 1C:Enterprise mode.
If you use a web server extension module or 1C:Enterprise server to obtain a license, then the web server extension module counts licenses for file mode and 1C:Enterprise server counts licenses for client/server mode. In this case, licenses are consumed at the rate of “one session – one license”. Thus, if two instances of 1C:Enterprise are running on the same computer (in any startup mode and with any client kind), then two licenses will be spent on it.
The software license file can be located on the computer where the web server extension module is installed, or on the computer where the 1C:Enterprise server is installed.
10.3.4.6. Single-user software license and web client
If a single-user software license is installed on a computer with 1C:Enterprise server or a web server (in the case of a file infobase), then you can run:
- Any number of Designer instances on a computer with a single-user software license file.
- Any number of client applications (except for the web client) on other computers if they have access to client licenses.
- One of the following startup options is also available:
- One client application (including the web client) on any computer if the client license is not available to it.
- Any number of client applications (except the web client) on a computer with the software license file.
In other words, you may perform developing and debugging with a web client using just the single-user software license. However, when you use the web client on the local computer, you can still run only Designer. You cannot start other types of clients.
10.3.4.7. COM connection
When using a 32-bit COM connection, the available licenses are searched for in the following order:
- Single-user software licenses
- Multi-user software licenses
- Client licenses on the 1C:Enterprise server (when in client/server mode) or on the web server (when in file mode, connected via the web server)
When using a 64-bit COM connection, the available licenses are searched for in the following order:
- Single-user software licenses
- Multi-user software licenses
- Client licenses on the 1C:Enterprise server (when in client/server mode) or on the web server (when in file mode, connected via the web server)
If a COM connection is started from the code executed on the 1C:Enterprise server as an in-process COM server, and the server uses the server software license, then the COM connection uses the server software license. Otherwise, the COM connection searches for the client software license as described above in this section.
10.3.4.8. Internet services, background jobs
Internet services (web services, HTTP services, and requests to OData) and background jobs do not require client licenses. However, if the infobase that provides Internet services operates in client/server mode, you must have a server license to operate 1C:Enterprise server.
10.3.4.9. Terminal server
10.3.4.9.1. General information
When using Windows applications, consider the following feature: in the software licensing system, the workplace is determined by the session ID number. All license requests made from the same computer and with the same session ID are considered to have been received from one workplace. For example, if there is a computer that has a single-user software license installed, the license can be used by an arbitrary number of client applications running interactively. However, if a client application (in any mode) is started on this computer from any Windows service, it will be considered analogous to a terminal server, and an additional license will be required. This feature concerns any software licenses (not necessarily single-user).
You can also consider the following features of accounting for client licenses.
10.3.4.9.2. Single-user software license
Allows running any number of application instances in 1C:Enterprise mode or Designer mode on behalf of one terminal session.
Software licenses (both single-user and multi-user) stored on the terminal server are added if the license files are available to all users of the terminal server.
10.3.4.9.3. Multi-user software license
Multi-user software license can be stored on a terminal server and used for both file and client/server modes of the application. In this case, you can run any number of application instances in 1C:Enterprise mode or Designer mode for the number of concurrent connections to the terminal server (terminal sessions) equal to the number of users a multi-user software license covers.
Software licenses (both single-user and multi-user) stored on the terminal server are added if the license files are available to all users of the terminal server.
10.3.4.10. Mobile client
Depending on the infobase mode (file or client/server), licenses are counted by either the web server extension module (in file mode) or 1C:Enterprise server (in client/server mode).
In this case, the software license file can be located on the computer where the web server extension module is installed, or on the computer where the 1C:Enterprise server is installed. The web server extension module (or the server) directly counts the licenses. In this case, licenses are consumed at the rate of “one session – one license”. Thus, if two instancies of mobile client are running on one mobile device, then two licenses will be spent for this. If Designer is running on the computer where the web server is located, and a mobile client is running on the mobile device that uses the web server to access the infobase, two licenses will also be required for such access.
10.3.4.11. Standalone server
If a standalone server is used, a license can be obtained using:
- Local software license (thin client only).
- Standalone 1C:Enterprise server.
If a license is obtained directly by a thin client, then on one computer, you can start an arbitrary number of instances of the application in 1C:Enterprise mode.
If a license is issued by a standalone server, then licenses are spent "per session". The file with the activated software license must be accessible to the instance of the standalone server, which serves the infobase used. When defining availability, consider the user on behalf of whom the standalone server instance is running. For the standalone server, enable the option to issue licenses (the infobase.distribute-licenses parameter of the standalone server configuration file).