Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
prodapp03_migration

29th April 2017 prodapp03 Migration

 


step 1 .First will enable maintenance page

step 2 . We are going to add prodapp03 and remove prodapp02 in Haproxy 

## comment following line server prodapp02 10.166.152.19
## uncomment following line server prodapp03 10.166.152.14

Haproxy config

 



backend learnexa
balance roundrobin
option httplog
option forwardfor
cookie SERVERID insert indirect
source 10.166.152.246
#timeout client 150000ms
timeout connect 35000ms
timeout server 8m
option httpchk HEAD /contact-us/new HTTP/1.1\r\nHost:\ www.learnexa.com\r\nUser-Agent:\ HaProxy
server prodapp01 10.166.152.11:80 check port 80  cookie app1 maxconn 31 inter 5000 rise 2 fall 3
#server prodapp02 10.166.152.19:80 check port 80 cookie app2 maxconn 31 inter 5000 rise 2 fall 3
server prodapp03 10.166.152.14:80 check port 80 cookie app3 maxconn 31 inter 5000 rise 2 fall 3

Step 3 haproxy reload

/etc/init.d/haproxy reload

Step 4 will give for validation
add below host entry in /etc/hosts file ##NOT REQUIRED VPN THIS IS PUBLIC IP
207.20.54.0 test.learnexa.com

step 5 once validated result positive

step 6 remove maintenance page

step 7 If test result negative will rollback haproxy changes

step 8 remove maintenance page

prodapp03_migration.txt · Last modified: 2018/08/31 16:16 (external edit)