Chapter 16. Server Setup and Operation

Table of Contents

16.1. The LightDB User Account
16.2. Creating a Database Cluster
16.2.1. Use of Secondary File Systems
16.2.2. File Systems
16.3. Starting the Database Server
16.3.1. Server Start-up Failures
16.3.2. Client Connection Problems
16.4. Managing Kernel Resources
16.4.1. Shared Memory and Semaphores
16.4.2. systemd RemoveIPC
16.4.3. Resource Limits
16.4.4. Linux Memory Overcommit
16.4.5. Linux Huge Pages
16.5. Shutting Down the Server
16.6. Upgrading a LightDB Cluster
16.6.1. Upgrading Data via lt_dumpall
16.6.2. Upgrading Data via lt_upgrade
16.6.3. Upgrading Data via Replication
16.7. Preventing Server Spoofing
16.8. Encryption Options
16.9. Secure TCP/IP Connections with SSL
16.9.1. Basic Setup
16.9.2. OpenSSL Configuration
16.9.3. Using Client Certificates
16.9.4. SSL Server File Usage
16.9.5. Creating Certificates
16.10. Secure TCP/IP Connections with GSSAPI Encryption
16.10.1. Basic Setup
16.11. Secure TCP/IP Connections with SSH Tunnels
16.12. Registering Event Log on Windows

This chapter discusses how to set up and run the database server, and its interactions with the operating system.

The directions in this chapter assume that you are working with plain LightDB without any additional infrastructure, for example a copy that you built from source according to the directions in the preceding chapters. If you are working with a pre-packaged or vendor-supplied version of LightDB, it is likely that the packager has made special provisions for installing and starting the database server according to your system's conventions. Consult the package-level documentation for details.