Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

📚 GuideСервер 1С на Windows и LinuxWindows Server · часть 3 из 14
Guide contents
Редакция КоммитРедакция портала
commit 7047c60 · 19 days ago

1C Server on Windows, step 1: preparing Windows Server

🌐 Machine-translated from Russian. Show original

In this part:

Windows version and updates#

  • Use a supported 64-bit Windows Server (2019, 2022, or later). Desktop versions of Windows are not suitable for a live server.
  • Install all updates and restart the server before installing 1C and DBMS.
  • Enable the "High Performance" power circuit: on "Balanced" the processor resets the frequency, and 1C runs slower.
powercfg /setactive SCHEME_MIN

Server name and IP address#

  • Set a permanent name right away, before installing 1C: changing the name then breaks the software licenses and cluster settings.
  • Assign a static IP or reservation in DHCP.
  • Check that the name is allowed from client computers:
# на клиентском компьютере
Resolve-DnsName srv1c
Test-NetConnection srv1c -Port 1540

If DNS is not available on the network, add a string in C:\Windows\System32\drivers\etc\hosts on each client:

192.168.1.10   srv1c

Account for the 1C service#

The 1C server service operates from an individual user. The installer can create it themselves (default USR1CV8), but it's better to understand which rights they need:

  • the right to "Log on as a service";
  • full access to the cluster data catalog (SRVINFO) and the log catalog;
  • membership in the "Performance Log Users" group — without it, the server cannot read performance counters.
Add-LocalGroupMember -Group "Пользователи журналов производительности" -Member "USR1CV8"

If the server is in a domain, it is convenient to use a service domain account — this makes it easier to grant access to network folders for sharing and backups.

Firewall#

Open the 1C server ports only for the local network, not the internet:

New-NetFirewallRule -DisplayName "1C Server" -Direction Inbound -Protocol TCP `
  -LocalPort 1540,1541,1560-1591 -RemoteAddress LocalSubnet -Action Allow

# если будете управлять кластером удаленно через RAS
New-NetFirewallRule -DisplayName "1C RAS" -Direction Inbound -Protocol TCP `
  -LocalPort 1545 -RemoteAddress LocalSubnet -Action Allow

Open the DBMS port (PostgreSQL 5432, MS SQL 1433) only if the DBMS is hosted on another server, and only for the 1C server address.

Antivirus and disks#

  • Add the database directories of DBMS, srvinfo**, and temporary** 1C files to the antivirus exceptions — checking these files on the fly greatly slows down.
  • Keep the DBMS data on a fast SSD/NVMe, separate from the system drive if possible.
  • Disable compression and indexing on database disks.

Checklist before installation#

  • Updates installed, server rebooted
  • Permanent name and IP, name resolves with clients
  • Power supply diagram "High Performance"
  • Firewall Rules for 1540, 1541, 1560–1591
  • Antivirus exceptions
  • Platform distribution and DBMS downloaded
Comments 01 участник · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.