Before you Begin

Ensure the following:

  • If planning to use replicated storage, have an extra volume/partition on both servers that can be used for data replication. Each target volume’s size must equal to or larger than the size of its source volume.

This section outlines the basic steps required to install Postgres 15 on Linux nodes.

Set Password to the postgres User

Create a Directory to Store Data on the Primary Node

Change Directory to Store Data to Under /datakeeper/pgsql/data

[root@node-a]# cp -p /var/lib/pgsql/.bash_profile /var/lib/pgsql/.bash_profile.org
[root@node-a]# vi /var/lib/pgsql/.bash_profile
[root@node-a]# cat /var/lib/pgsql/.bash_profile
[ -f /etc/profile ] && source /etc/profile
PGDATA=/datakeeper/pgsql/data
export PGDATA
# If you want to customize your settings,
# Use the file below. This is not overridden
# by the RPMS.
[ -f /var/lib/pgsql/.pgsql_profile ] && source /var/lib/pgsql/.pgsql_profile

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment