PostgreSQL 14 - Setting up Virtual machines with vagrant for postgres. Part 1

Published: 01 January 1970
on channel: Josue Kula
703
10

In this video, we are starting a new series on configuring highly available database management system. You will learn how to install and configure more than one Postgres's servers for high availability, continuous backup, and zero down time disaster recovery. We installed and launched virtual boxes using vagrant from which future database will be configured and set up for high availability and disaster recovery. (ad hoc solution)

03:37 Start creating the vagrantfile
07:04 Network properties in vagrantfile; port forwarding and auto_correct set to true
09:24 Mount shared folder in vagrant (host folder should be an existing folder)
11:51 Add a hyperviser provider on vagrantfile
13:57 Start configuring the second virutal box in vagrantfile
18:58 Launching virtual boxes with vagrant up command (vagrant up web)
20:29 Lauching the standby server using vagrant up
21:15 SSH to the primary server
22:57 SSH to the secondary server
23:15 Update vagranfile to add our secondary server to the same network as the primary
25:34 SSH to the secondary server to verify it network IP
26:29 Change vagrant virtual box hostname on ubuntu (secondary server)
28:25 Update hostname on the primary server
29:29 Use `vagrant reload` to apply configuration change and restart VMs
30:22 Verify the hostname change on the standby server
30:52 Verify the hostname change on the primary server

#vagrant #postgresql #postgres #vagrantfile #josuekula.com #virtualbox

https://josuekula.com/videos
Twitter:   / j_kuler  
Linkedin:   / josue-kula-7bab4724  


Watch video PostgreSQL 14 - Setting up Virtual machines with vagrant for postgres. Part 1 online without registration, duration hours minute second in high quality. This video was added by user Josue Kula 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 70 once and liked it 1 people.