
1C Server, Part 1: Cluster Architecture, Ports, and Server Requirements
🌐 Machine-translated from Russian. Show original
In this part:
What a 1C server consists of#
The 1C:Enterprise server is a cluster of processes that operate as a service (Windows) or daemon (Linux):
| Process | What does the | Default port |
|---|---|---|
| ragent — a server agent | launches and controls the cluster, storing a list of clusters | 1540 |
| rmngr — cluster manager | manages databases, sessions, locks, licenses, | 1541 |
| rphost — workflows | execute configuration code and work with DBMSs | range 1560–1591 |
| RAS — an administration server | allows cluster management over the network via RAC and the | 1545 console |
The client first contacts the agent and cluster manager, and then works with the workflow. Therefore, you need to open the entire set of ports, not just 1540.
Where data is stored#
- Database data — in DBMSs: PostgreSQL, Microsoft SQL Server, Postgres Pro, as well as IBM Db2 and Oracle Database for individual cases.
- Cluster service data (cluster registry, cache) are in the srvinfo directory: on Windows the default is
C:\Program Files\1cv8\srvinfo, on Linux — in the service user's home directory. - The 1C server and DBMS can be installed on the same machine or on different ones. For small companies, it is usually one machine.
Which OS and DBMS to choose#
| Option | Pros | Cons |
|---|---|---|
| Windows Server + MS SQL Server | familiar, many instructions, convenient tools, | paid licenses for Windows and SQL Server (Express is limited in database size) |
| Windows Server + PostgreSQL | a free DBMS familiar to the OS | PostgreSQL on Windows is rarer, with fewer practices |
| Linux + PostgreSQL | without licenses for OS and DBMS, stability, fewer resources, | require Linux experience, some external components and processing can only run on Windows |
If databases use external components, COM objects, or processing linked to Windows (for example, trading hardware via a server), check their compatibility with Linux before transitioning.
Resource requirements#
These are benchmarks for the start; exact figures depend on configuration and load:
| CPU load | RAM | Disk | |
|---|---|---|---|
| up to 10–15 users, 1–3 bases | 4 cores | 16 GB | SSD from 200 GB |
| 30–50 users | 8 cores | 32 GB | NVMe SSD, separate drive for DBMS |
| 100+ users | 16+ cores | 64+ GB | NVMe, RAID 10, DBMS server separately |
- The disk is more important than the processor: a slow disk is the main reason for 1C's 'lags.'
- For the DBMS, leave most of the memory: it caches the data.
- Kernel frequency is more important than quantity: 1C code inside a single call is executed in a single thread.
Network and names#
- The server must have a persistent IP and a name that is allowed from all client computers (DNS or hosts file).
- 1C clients connect by server name, and the server also provides its name in responses. If the client's name is not resolved, the connection breaks even with open ports.
- The client version must match the server version down to the last digit. After updating the server, update the clients.
What to prepare in advance#
- Distribution of the technological platform of the required version (personal account releases.1c.ru).
- Licenses: security key or software license PIN codes — detailed in the section about licenses.
- The DBMS distribution and the solution where it will be located.
- Passwords: server administrator, DBMS user, cluster administrator — directly to the password manager.
- A backup of existing databases in .dt format if you are transferring them from the old server.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.