DEV Community

Rümeysa Öz for Açıklab

Posted on

3 1 1 1 1

Liman MYS Loadbalance

1. Liman Loadbalance Kurlumu

  • İki adet (clone olmamak şartıyla) ubuntu 20.04 kurulumu gerçekleştirilir.
  • Her ikisine de Liman MYS Core-784 versiyonu kurulur.
  • limactl administrator komutu öncesi iki ubuntu makinede de şu komut çalıştırılır:
supervisorctl restart all
Enter fullscreen mode Exit fullscreen mode
  • Ardından şu komut çalıştırılır:
sudo limactl administrator
Enter fullscreen mode Exit fullscreen mode
  • Kurulum tamamlandıktan sonra, ilk Liman sunucusuna girilir ve şu komut çalıştırılarak /liman/server/.env dosyasına girilir:
sudo nano /liman/server/.env
Enter fullscreen mode Exit fullscreen mode
  • Veritabanı 1. sunucuda olacak şekilde her ikisi de yapılandırlır:

Image description

  • .env dosyaları eşitlenir ve her ikisinde de HIGH_AVAILABILITY_MODE=true yapılır:

Image description

  • İkinci limanda şu komut çalıştırılır:
php /liman/server/artisan register_liman
Enter fullscreen mode Exit fullscreen mode
  • İlk limanın arayüzüne girilir, bir sunucu eklenir.

Image description

  • Ardından ikinci limanda kontrol edilir. Image description
  • İlk liman üzerinden bir eklentini güncel bir versiyonu eklenir, ikinci limanda eklenti üzerinden versiyon kontrol edilir. Image description Image description
  • ikinci limanda eklenti üzerinden arayüz kontrol edilir. Image description

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay