Itzikr
Enthusiast
Enthusiast

How do i set up an external PostgreSQL server

Hi,

how do i set up an external PostgreSQL

DB (or use the 1st embedded one) is order to scale the AV appliances to more than 1 in the same enviornment

Itzik Reich
Tags (1)
3 Replies
Lakshman
Champion
Champion

For configuring External Postgres database,

1. Go to "C:\Program Files(x86)\Cloud Volumes\Manager\config” folder

2. Open database.yml in notepad (Make sure to backup this file)

3. Under Production section add the below lines and replace including angled braces with the actual content.

production:

adapter: postgresql 

host: < host >                                 # Remote Postgres database IP Address/ Hostname

port: < port >                                  # Port 

database: < database name >       # Database Name 

username: < user_name >             # User Name 

password: '< password >'               # Password

0 Kudos
zipper99
Contributor
Contributor

Hi,

thanks for the answer, sorry, i wasn't providing enough details, i meant how do i use PostgreSQL in AV 3.0

the appliances are built on linux so i dont have a c:\progam files folder..

0 Kudos
Lakshman
Champion
Champion

The path of the database.yml file in AV 3.0 is /usr/local/av-manager/config/database.yml