Stay organized with collections
Save and categorize content based on your preferences.
This page shows how to configure AlloyDB Omni after you have
installed it.
Single-server
Change your data directory location
AlloyDB Omni has a default configuration file named
dataplane.conf that's present in the /var/alloydb/config directory.
To change your server's data directory location, update the DATADIR_PATH variable in the dataplane.conf file.
To update the DATADIR_PATH variable in dataplane.conf, run the
following command:
The AlloyDB Omni installer populates both of these files with
default values to get you started. You can update both files in whatever
way is appropriate for your own needs.
Kubernetes
You configure and control a Kubernetes-based AlloyDB Omni database
cluster by pairing declarative manifest files with the kubectl utility, just
like any other Kubernetes-based deployment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["AlloyDB Omni's default configuration file, `dataplane.conf`, located in `/var/alloydb/config`, allows users to change the server's data directory location by updating the `DATADIR_PATH` variable."],["The `dataplane.conf` file can be updated using the `sed` command or a text editor, ensuring that `DATADIR_PATH` points to the directory containing the `data` subdirectory."],["The `/var/alloydb/config` directory also contains standard PostgreSQL configuration files, `postgresql.conf` and `pg_hba.conf`, which can be modified to suit specific needs, but only these originals should be edited, not the runtime copies."],["For Kubernetes-based deployments, AlloyDB Omni is managed using declarative manifest files and the `kubectl` utility, similar to other Kubernetes deployments."]]],[]]