Update slk 1s. How to configure SLC to work on multiple computers. Working in file mode with a single-user protection key SLK

SLK 2.0 is used in the following configurations:

  • "1C: Accounting for an agricultural enterprise" edition 2.0
  • "1C: Integrated accounting of an agricultural enterprise"

Let's first consider general principles SLK installations and differences from previous versions.

Unlike previous versions of SLK, the SLK version 2.0 distribution contains only the following components:

  • SLK Server Module
  • Security key driver
  • Files of registration information and protected data for a specific series of keys (one series “33CE” is used for both configurations)*
    *V latest versions, the protected data file is located in the general configuration layout

The external component of the SLK "LicenceAddIn" is made according to new technology NativeApi and is physically located in the general layout of the configuration itself.
On the thick client and on the 1C:Enterprise server, the component is installed and launched automatically. When starting the thin and web client for the first time, the component must be installed manually (starting from SLK version 2.0.5.133 this action unnecessary to perform).

Attention!!! Due to the limitation imposed current version SLK2.0, operation of the 1C-Enterprise server in client-server mode is possible only under operational Windows systems , as a client it is possible to use any operating systems and web browsers supported by the 1C:Enterprise platform.

Before installing the licensing and configuration protection system (not to be confused with external component SLK) configuration protection keys must be removed and all applications using them must be terminated.

To install the licensing system and protect the configuration, select “Install the configuration licensing system” in the start menu of the installation program.

Attention!!! When installing a distribution kit (including configuration updates), the SLK distribution kit is always installed in the configuration template folder
"C:\Program Files\1cv82\tmplts\AgroSoft\BUHSH\Version\" to the "Protection" subdirectory*

*path to the configuration template may differ from the specified one.

After installing SLK 2.0, if intended collaboration with SLK of previous versions, you need to specify a different port for the SLK server (by default it is 9099), for example 9098. This can be done by running the “LicenceServerOptions” server parameters configuration file.

Now let's look at the procedure for installing and configuring the SLK for each configuration launch option.

Working in file mode with a single-user protection key SLK

In this mode, the SLK distribution kit must be installed on each client computer.
If you have been selected standard settings server SLK, then no settings need to be made. You can run the configuration and everything should work.
If a different SLK server port was selected, then when you first start the configuration, in the SLK window that appears, you must specify the correct SLK server port.

Working in file mode with the multi-user protection key SLK

only on that computer USB port which it is supposed to connect a multi-user key (or several keys) for SLK protection (hereinafter we will call this computer SERVER SLK). On others client computers, install the SLK distribution kit no need.
When you first start the configuration, on each client computer, in the SLK window that appears, you must specify the IP address and port SLK SERVERS.
The specified settings will be saved automatically.

Working in client-server mode, when the 1C:Enterprise server and SLK protection keys are located on the same physical server

In this mode, the SLK distribution must be installed only on SERVER. On client computers, install the SLK distribution package no need.

Working in client-server mode, when the 1C:Enterprise server is located on one server, and the SLK protection keys are on another server

In this mode, the SLK distribution must be installed only on a computer to the USB port of which a multi-user key (or several keys) for SLK protection is connected (hereinafter we will call this computer SERVER SLK). On client computers and on the server with installed server 1C:Enterprise, install SLK distribution kit no need.
Next, on a server with 1C:Enterprise server installed, you need to go to the folder with general settings for all users (for example for Windows Vista it will be "C:\Users\All Users\1C\Licence 2.0", for Windows 8 it will be "C:\ProgramData\1C\Licence 2.0") put text file"LicenceAddIn.config" containing the following data:


Host=192.168.1.40
Port=9099
ReadTimeout=30
KeepAlivePeriod=60
KeyNo=0

Where Host is the IP address and Port is the port SLK SERVERS

Attention!!! After this, be sure to restart the 1C:Enterprise server.

P/S In the latest versions of SLK, this item can be automated; to do this, run the configuration (necessarily in file mode!!!) on a server with the 1C:Enterprise server installed, in the SLK window that appears, set the correct parameters for communication with SLK server and press right button mouse at the top of the window, in the menu that appears, select "Save settings for use by 1C server", the desired file will be automatically created in the right location.

SLK 2.0 is used in the following configurations:

  • "1C: Accounting for an agricultural enterprise" edition 2.0
  • "1C: Integrated accounting of an agricultural enterprise"

First, let's look at the general principles of installing SLK and the differences from previous versions.

Unlike previous versions of SLK, the SLK version 2.0 distribution contains only the following components:

  • SLK Server Module
  • Security key driver
  • Files of registration information and protected data for a specific series of keys (one series “33CE” is used for both configurations)*
    *in the latest versions, the protected data file is located in the general configuration layout

The external component of the SLK "LicenceAddIn" is made using the new NativeApi technology and is physically located in the general layout of the configuration itself.
On the thick client and on the 1C:Enterprise server, the component is installed and launched automatically. When starting the thin and web client for the first time, the component must be installed manually (starting from version SLK 2.0.5.133, this action is no longer necessary).

Attention!!! Due to the limitation imposed by the current version of SLK2.0, operation of the 1C-Enterprise server in client-server mode is possible only under Windows operating systems, as a client it is possible to use any operating systems and web browsers supported by the 1C:Enterprise platform.

Before installing the licensing and configuration protection system (not to be confused with the external SLK component), configuration protection keys must be removed and all applications using them must be terminated.

To install the licensing system and protect the configuration, select “Install the configuration licensing system” in the start menu of the installation program.

Attention!!! When installing a distribution kit (including configuration updates), the SLK distribution kit is always installed in the configuration template folder
"C:\Program Files\1cv82\tmplts\AgroSoft\BUHSH\Version\" to the "Protection" subdirectory*

*path to the configuration template may differ from the specified one.

After installing SLK 2.0, if you intend to work together with SLK of previous versions, then you need to specify a different port for the SLK server (9099 by default), for example 9098. This can be done by running the “LicenceServerOptions” server parameters configuration file.

Now let's look at the procedure for installing and configuring the SLK for each configuration launch option.

Working in file mode with a single-user protection key SLK

In this mode, the SLK distribution kit must be installed on each client computer.
If the standard SLK server settings were selected, then no settings need to be made. You can run the configuration and everything should work.
If a different SLK server port was selected, then when you first start the configuration, in the SLK window that appears, you must specify the correct SLK server port.

Working in file mode with the multi-user protection key SLK

only on the computer to the USB port of which the multi-user key (or several keys) of SLK protection is supposed to be connected (hereinafter we will call this computer SERVER SLK). On other client computers, install the SLK distribution kit no need.
When you first start the configuration, on each client computer, in the SLK window that appears, you must specify the IP address and port SLK SERVERS.
The specified settings will be saved automatically.

Working in client-server mode, when the 1C:Enterprise server and SLK protection keys are located on the same physical server

In this mode, the SLK distribution must be installed only on SERVER. On client computers, install the SLK distribution package no need.

Working in client-server mode, when the 1C:Enterprise server is located on one server, and the SLK protection keys are on another server

In this mode, the SLK distribution must be installed only on a computer to the USB port of which a multi-user key (or several keys) for SLK protection is connected (hereinafter we will call this computer SERVER SLK). On client computers and on a server with 1C:Enterprise server installed, install the SLK distribution kit no need.
Next, on the server with the 1C:Enterprise server installed, you need to go to the folder with general settings for all users (for example, for Windows Vista it will be “C:\Users\All Users\1C\Licence 2.0”, for Windows 8 it will be “C: \ProgramData\1C\Licence 2.0") place the text file "LicenceAddIn.config" containing the following data:


Host=192.168.1.40
Port=9099
ReadTimeout=30
KeepAlivePeriod=60
KeyNo=0

Where Host is the IP address and Port is the port SLK SERVERS

Attention!!! After this, be sure to restart the 1C:Enterprise server.

P/S In the latest versions of SLK, this item can be automated; to do this, run the configuration (necessarily in file mode!!!) on a server with the 1C:Enterprise server installed, in the SLK window that appears, set the correct parameters for communication with SLK server and right-click at the top of the window, in the menu that appears, select “Save settings for use by 1C server”, the required file will be automatically created in the right location.

In this manual, we will look at how to configure SLK to work on several computers. The example will consider working on two computers connected to a single network. Two hardware protection keys are used: for the main workplace red and for an additional workplace yellow.

Note: Instructions for working with software protection keys can be viewed


Setting up SLK

    First of all, you need to install the licensing system itself (SLK), detailed instructions can be viewed via the link. SLK needs to be installed only on the main computer, on which the protection keys will be located.

    After installing SLK, install both keys on the main computer and launch the SLK console. The console can be opened from the Start menu:


    Note: the console should open in the browser. If it does not open automatically, you need to open any browser on your computer and address bar specify http://127.0.0.1:9099.

    If the keys are functional and everything is installed correctly, they will be displayed in the console:


    For each key, its type and number of licenses are written.

    In this case, there is a main key for 1 workplace and an additional key for 5 workplaces.

    IMPORTANT: the additional key will not work without the main one. If you install only this on your computer, the console will display a warning that a master key is required:



    If the keys are not displayed in the console, you need to check the following:


    If the device does not work correctly, you need to try updating the driver:


  1. We launch the 1C program.

    When running the program on an additional workstation, the following message may appear:


    You need to follow the link “Licensing system parameters”. In the window that opens, indicate the name or IP address of the computer on which the protection keys are installed, as well as network port. The computer name can only be specified if it is written in Latin letters. Next, click “Check license”; if the key is found, a message will appear:


    After this, close the settings window using the “Save and close” button.

    The next time you open the program, the settings will be saved.

    Note: If the check fails, your firewall or antivirus may be blocking port 9099 or another one you are using. You should check if this port is open. If a port is closed, you can either disable your antivirus and firewall, or configure rules for that port.

    Note: You can find out which port is used in the SLK console:

    What to do if SLK “does not see” the security key

    If after the steps described above you still cannot configure the operation of the SLK, you need to create a request to our technical support by mail [email protected]. For quick analysis It is advisable to indicate the question:

    1. Full name and release of the program.

      Operating mode in 1C: file, client-server, web server. Where to see the operating mode, see

      SLK version, information on licenses used:

      hardware or software keys;

      how many workplaces are licensed for?

  2. Detailed description of the question:

    wording of displayed messages, if any (attach screenshots);

    whether the security keys are lit. If not, have you tried to check their functionality on other ports or computers;

    whether the keys are displayed in the SLK console;

    Which computer can’t be configured to work on: the main one or the secondary ones.

Acquisition

Distribution of products of the licensing and configuration protection system is carried out only by 1C franchise partners.

Sequence of purchasing 1C:SLK system components

"1C:SLK. Development kit" (article 2900001759540)

"1C:SLK. Development Kit" is an archive that consists of a security software component, documentation in in electronic format and two trial single-user SLK software licenses with parameters for limiting the operation of the software key for 10 and 30 days.

A trial version of the SLK development kit is provided for free. In trial mode, only those software licenses that are included in the delivery are available. To continue working with the system in full mode and order software licenses for the product, you must purchase “1C:SLK. Developer Kit” (item number 2900001759540).

1C:SLK. Software licenses (articles2900001759502, 2900001759519, 2900001759526)

SLK software licenses are a digital-alphabetic activation code transmitted electronically for subsequent receipt of a license at the SLK Licensing Center. The software license is tied to the configuration of the user’s computer or to the hardware carrier of the SLK licenses.

If the computer configuration is changed, the software license may become inoperative. To restore functionality, it is possible to obtain a limited number (no more than 2) backup codes. When all backup codes are used, a new license is purchased.

The line of software licenses "1C:SLK" version 3 is backward compatible with "1C:SLK" version 2; There are no electronic software licenses for "1C:SLK" version 1.

"1C:SLK. Hardware license carrier (USB) "(article 2900001759496)

"1C:SLK. Hardware license carrier (USB)" (article 2900001759496) is hardware device, connected to the USB port of the computer and is a non-activated hardware key for "1C:SLK" version 3. Activation of the "Hardware license carrier" occurs by "binding" the SLK software license, activated using the "activation code", to this device. In this case, the hardware media becomes a hardware configuration protection key that corresponds to the type and number of seats of the software license. In this case, the software license becomes inactive, and there is no duplication of jobs.

"1C:SLK. Hardware license media (USB)" is designed to work with "1C:SLK" version 3.

"1C:SLK. Set of software licenses (PROMO, 100 pcs.)" (article 2900001765480)

To conduct targeted promotions and free distribution of non-commercial versions of their own product among potential clients, a development partner can order "1C:SLK. Set of software licenses (PROMO, 100 pcs.)". The electronic delivery of the kit consists of a file containing 100 single-user software licenses (activation codes) for 30 days of operation of a specific series configuration belonging to that product developer.

1C:SLK. Electronic hardware keys (items 2900001488099, 2900001488105, 2900001941044, 2900001488112)

The electronic hardware key is USB device, prepared for a specific configuration and containing a license of a specific type.

Some third-party configurations, incl. manufactured under the 1C brand within the framework of the 1C-Sovostvo projects have additional protection with a software or hardware key, working through the Configuration Licensing System (CLS).

Installation without “crutches” in the form of Wine@Etersoft is possible starting from version SLK 3. At the time of writing this article, version 3 is available in Release Candidate (rc) status

Version 3.0 is a development of version 2.1 and is backward compatible with it, i.e. a configuration that included SLK version 2.1 can be transferred to SLK version 3.0 without interfering with its program code.

Start by receiving SLK version 3. Write a letter to technical support configuration (specified in the documentation for it) with approximately the following content:

We are installing a 1C:Enterprise server on Linux and we would like to install SLK on the same server. We know that there is already a version of SLK 3 that works fine on Linux, but has not yet been officially released and is backward compatible with SLK 2.1. We really need its distribution. You, as developers, can obtain it by contacting SLK technical support at [email protected]. Please provide us with server distributions and SLK 3 components.

You need to get two archives

Licenseserver-3.0.10.6556-rc1.zip licenseaddin-3.0.10.6556-rc1.zip

where 3.0.10.6556-rc1 is the current SLK build number; at the time of writing this article, you can get a more recent build.

Server installation

The server delivery package includes a distribution package for Windows OS and 4 distribution packages for various Linux architectures.

Copy necessary files to the Linux user's home folder, for example ~/slk . Installation, for example, for Ubuntu 64-bit architecture:

$ cd ~/skl $ sudo dpkg -i licenseserver-3.0.10-6556.rc1.amd64.deb

Running the SLK service on Linux

$ sudo service licenseserver start

The SLK console is accessible in the browser via the default port 9099. Type in the address bar of any browser through which you can reach the server server_address: 9099

The console looks something like this:

The server service is installed and running. Hardware keys work immediately, without installing any additional drivers. If necessary, activate software keys.

Updating client components

If for some reason the configuration developer is not ready to transfer the configuration to SLK 3.0, you can independently update the protection components at your workplaces. Everything you need for this is contained in the licenseaddin archive.

For client-server installation, server on Linux

The server checks the availability of licenses in the client-server version of 1C:Enterprise. To do this, you need to install an external component on the server. Support for Linux OS components appeared only in version SLK 3.

Copy the package corresponding to the server architecture to the Linux user's home folder and install it, for example, Ubuntu 64-bit architecture

$ cd ~/slk $ sudo dpkg -i licenseaddin-3.0.10-6556.rc1.amd64.deb

For file operating mode

Go through the workstations on OS Windows and install the licenseaddIn-3.0.10.6556-rc1.win.exe distribution on them (3.0.10.6556-rc1 - the current SLK build number at the time of writing, you may have a different one, the main thing is that it matches with the build number of the SLK server). On Linux OS workstations, install the distribution kit for the appropriate architecture, as described in the previous section.



2024 wisemotors.ru. How it works. Iron. Mining. Cryptocurrency.