Lab Server Setup: A Practical Guide for GxP Environments

In this article10 sections
A lab server is the machine that holds laboratory applications and the data they produce: a LIMS database, a chromatography data system, an electronic lab notebook, a document store, or a file share that instrument workstations write their results to. In a GxP environment it also has to be specified, installed, documented and maintained in a way that can be shown to an auditor.
Laboratory servers fail differently from office servers. An email server that runs out of disk causes complaints. A chromatography data server that runs out of disk mid-acquisition can lose a run that took eight hours of instrument time and a column that cost real money — and if the data is GxP-relevant, it creates a deviation your QA function has to investigate.
This guide covers how to size a laboratory server, whether to virtualise, how to design storage and redundancy, what hardening and qualification involve, and the monitoring that keeps the thing honest after go-live.
Key takeaways
- Size from the application vendor's stated requirements, then add headroom for data growth — not the other way round.
- Virtualise unless the vendor forbids it; it makes backup, recovery and qualification dramatically easier.
- Separate the operating system, application, database and data onto different volumes.
- Redundancy prevents downtime; backup prevents data loss. They are not substitutes for each other.
- Qualification is documentation of what you built and that it works — produce it during the build, not afterwards.
Decide what the server is actually for
The single biggest cause of badly specified lab servers is buying hardware before knowing the workload. Start by listing what will run on it, because the profiles are very different.
| Workload | Bottleneck | Design priority |
|---|---|---|
| LIMS or ELN database | Disk latency, then RAM | Fast SSD storage, generous RAM, regular database backups |
| Chromatography data system (CDS) | Disk throughput and capacity | Capacity headroom, resilient storage, vendor-supported layout |
| Instrument file share | Capacity and availability | Redundant storage, permissions, no local caching on clients |
| SDMS or archive | Capacity and long-term readability | Cheap bulk storage, immutability, migration plan |
| Terminal or application server | CPU and RAM per concurrent user | CPU cores, RAM sizing per session, profile management |
| Virtualisation host | All of the above combined | Headroom to run every guest with one host offline |
Then get the vendor's current system requirements in writing. Laboratory application vendors publish specific, and sometimes restrictive, requirements: a particular operating system build, a named database version, occasionally a prohibition on certain virtualisation configurations. Those documents define your boundaries, and deviating from them without assessment can put your qualification claims in question.
Sizing CPU, RAM and storage
Work from three numbers: the vendor minimum, your actual concurrency, and your data growth rate.
CPU. Most laboratory applications are not CPU-bound. Database servers benefit from fewer, faster cores rather than many slow ones, and some database licensing is per core — so over-provisioning cores can cost more in licence fees than the hardware saved.
RAM. This is where under-provisioning hurts most. A database that fits its working set in memory performs an order of magnitude better than one that does not. Take the vendor figure as a floor, not a target, and leave room to add more without a rebuild.
Storage. Size for capacity and for growth. The useful exercise is to measure, not guess:
- Take the current total size of the data set.
- Measure how much it grew over the last 6–12 months.
- Add planned instruments, each with its typical output per run and expected run volume.
- Multiply by your retention period, because GxP data is rarely deleted on schedule.
- Size so that the volume is no more than about 50% full on day one.
Mass spectrometry and imaging change this arithmetic sharply — a single LC-MS/MS system can generate more data than an entire HPLC suite. Labs that add a high-resolution MS without revisiting storage tend to discover the problem at an inconvenient moment. Our guide to NAS and SAN storage covers the options when a single server's internal disks are no longer the right answer.
Physical, virtual or cloud
Virtualise by default. The benefits in a regulated lab are substantial and directly relevant to compliance:
- Whole-machine backup. A virtual machine can be backed up and restored as a complete, consistent image, including the operating system and application configuration — far simpler than rebuilding a physical server from an install guide.
- Snapshot before change. A snapshot taken before patching gives a tested rollback path, which makes change control genuinely safer rather than merely documented.
- Hardware independence. When the hardware reaches end of life, the guest moves to new hardware without reinstalling the validated application.
- Isolation. One application per virtual machine avoids the classic lab problem of two vendor applications with conflicting dependencies on one box.
Keep physical only where a vendor explicitly requires it, where a licence dongle or specialised interface card cannot be presented to a guest, or for the virtualisation host itself.
Cloud hosting is viable for laboratory applications and increasingly offered by vendors as a managed service, but it is a different compliance conversation: supplier assessment, data residency, who holds administrative access, how audit trails are preserved, and what happens to your data if the contract ends. It also needs the lab's internet connectivity to be genuinely reliable, because an instrument that cannot reach its data system stops being useful. Hybrid is common and sensible — acquisition and raw data local, reporting and archive in the cloud.
Disk layout and redundancy
Separate volumes. It matters for performance, for backup granularity and for preventing one runaway process from filling the disk the operating system needs.
| Volume | Holds | Notes |
|---|---|---|
| C: / system | Operating system | Modest size, imaged in backup |
| Application | Installed application binaries | Keeps application separate from OS patching |
| Database | Database data files | Fastest storage, sized for growth |
| Logs | Database transaction logs | Separate from data files; fills unexpectedly |
| Data | Raw results, project folders | Largest volume, strict permissions |
| Backup staging | Local backup target | Never the only copy |
For redundancy, understand what each level protects against. RAID 1 or 10 mirrors data and tolerates a disk failure with good write performance — appropriate for databases. RAID 6 tolerates two simultaneous disk failures and suits large capacity volumes where rebuild times are long. RAID 5 is increasingly inadvisable on large modern disks because the rebuild window after a failure is long enough that a second failure is a realistic risk.
Specify a hot spare so a rebuild starts automatically rather than waiting for somebody to notice, and specify redundant power supplies. Then be clear with yourself about the limit: RAID is not backup. It protects against hardware failure. It does nothing about accidental deletion, a corrupting application bug, or ransomware encrypting every file it can reach — all of which write through the array quite happily.
Power, cooling and physical security
A laboratory server is frequently found in a cupboard, under a bench, or in the corner of a sample store. That matters, because physical conditions cause real failures and physical access control is an audit question.
Provide a UPS sized to ride out short interruptions and to shut the server down cleanly on a long one — and test the shutdown, because an untested UPS is a battery with opinions. Confirm the room's cooling can handle the heat load continuously, not just in winter. Restrict physical access to the server to named individuals, and keep a record of who has it. Our work on access control and power protection exists because these mundane items cause a surprising share of lab downtime.
Hardening and build standards
Build to a documented standard so that the server is reproducible and the configuration is known. A reasonable baseline for a GxP lab server:
- Remove or disable roles, features and software not needed for the application.
- No web browsing or email from the server; no general-purpose use.
- Unique named administrative accounts — never a shared
Administratorpassword known to the team. - Local administrator rights limited to those who need them, with a record of who they are.
- Host firewall enabled, with only the ports the application requires.
- Time synchronised to a reliable source, with users unable to change the clock.
- Operating system and application audit logging enabled and forwarded off the host.
- Antivirus with vendor-specified exclusions applied — check the vendor's documentation, because scanning a live database or acquisition folder can cause file locking and failed runs.
- Patching under change control, with a documented assessment of validation impact.
Write it down as a build standard and use it for every server. Two servers built by two engineers from memory will differ, and the differences will surface during an audit or an incident.
Backup before go-live
Configure and test backup before the server enters service, not after. The sequence that actually works:
- Define what must be recoverable: virtual machine image, database (using a database-aware backup, not a file copy of open data files), and the data volumes.
- Set frequency from how much work you can afford to lose — your recovery point objective.
- Keep at least one copy off the host and one copy off-site or immutable, so that a single event cannot destroy every copy.
- Perform a full restore to a test location and confirm the application starts and the data is intact.
- Record the restore test with a date and a named person. This record is what an auditor asks for.
- Monitor backup success actively and investigate failures, rather than relying on nobody mentioning a problem.
The design considerations are covered in depth in our laboratory backup and disaster recovery services.
Qualification of the server
A GxP lab server needs documented evidence that it was installed as specified and operates as intended. In practice that means producing, proportionate to risk:
| Document | What it records |
|---|---|
| Requirements specification | What the server must do and the constraints it must meet |
| Design specification | Hardware, virtualisation, disk layout, network, accounts |
| Risk assessment | What could go wrong, and the controls that address it |
| Installation qualification (IQ) | Evidence it was built as designed: versions, settings, serials |
| Operational qualification (OQ) | Evidence key functions work: backup, restore, failover, access control, alerting |
| Traceability | Each requirement mapped to the test that demonstrates it |
| Handover | Build standard, credentials process, support arrangements |
Capture this during the build. Reconstructing IQ evidence months later from a running server is slow, incomplete and visibly retrospective. Our validation support covers how deep this documentation needs to go for a given system's risk category — gold-plating low-risk infrastructure is a common and expensive mistake.
Monitoring and the first year
Lab servers rarely fail without warning; they fail after months of warnings nobody was receiving. Set alerting on disk space with enough margin to act, RAID and disk health, backup job outcomes, service and database availability, UPS status and battery health, temperature, and certificate expiry. Alerts should reach a person who is on duty, and someone should own them.
Review capacity quarterly against the growth you measured during sizing, and revisit the forecast whenever an instrument is added. Keep the build standard and network documentation current as changes are made — documentation that drifts from reality is worse than none, because it gets relied upon during an incident. Where there is no internal capacity to do this consistently, a managed service is the usual answer.
Frequently asked questions
Can a laboratory server be virtualised in a GxP environment?
Yes. Virtualisation is widely used in regulated laboratories and generally makes compliance easier, because whole-machine backup, snapshot rollback and hardware independence are all simpler. Confirm your application vendor supports the hypervisor and configuration you intend to use, and qualify the host as well as the guests.
How much storage does a lab server need?
Measure rather than guess: current data size, growth over the last six to twelve months, planned instruments and their output per run, multiplied by your retention period. Aim to be about half full on day one. Expect any high-resolution mass spectrometry or imaging system to change the figure substantially.
Is RAID enough to protect laboratory data?
No. RAID protects against disk hardware failure only. Deletion, corruption, application faults and ransomware all pass straight through it. You need RAID for availability and backup with a tested restore for data protection.
Should instrument workstations store data on the server instead of locally?
Where the instrument software supports it, yes — central storage is backed up, permission-controlled and far easier to defend. Some vendor software requires a local acquisition path, in which case the correct approach is a reliable, monitored transfer to central storage with verification, rather than leaving data on the workstation indefinitely.
How often should a lab server be patched?
On a defined cycle under change control, with each patch set assessed for validation impact and applied to a test or snapshotted system first. Neither automatic immediate patching nor never patching is appropriate — the first risks breaking a validated application, the second accumulates known vulnerabilities.
Planning a new laboratory server or inheriting one you do not trust? Our server and virtualisation services cover specification, build, qualification and ongoing support, within a wider laboratory IT infrastructure picture. Tell us what you are running and we will come back with a sizing and an approach.
Want an expert to look at your lab IT?
Tell us how your laboratory is set up. A senior lab IT consultant will reply within one working day with honest, practical advice. No obligation and no sales script.
- Reply within one working day
- Advice even if we are not the right fit
- We sign an NDA before any detail is shared