{"id":20168,"date":"2022-06-21T09:20:05","date_gmt":"2022-06-21T09:20:05","guid":{"rendered":"http:\/\/dev.profelis.net\/?p=20168"},"modified":"2023-02-01T10:57:58","modified_gmt":"2023-02-01T07:57:58","slug":"enterprisedb-failover-manager-nedir-nasil-kurulur-2","status":"publish","type":"post","link":"https:\/\/profelis.com.tr\/en\/2022\/06\/21\/enterprisedb-failover-manager-nedir-nasil-kurulur-2\/","title":{"rendered":"EnterpriseDB Failover Manager Nedir? Nas\u0131l Kurulur?"},"content":{"rendered":"<h2>Y\u00fcksek Eri\u015filebilirlik \u00c7\u00f6z\u00fcmleri, B\u00f6l\u00fcm 1<\/h2>\n<p style=\"color: var(--awb-color4); line-height: 1;\" data-fusion-font=\"true\">Yazarlar: Aybars Hallik, Do\u011fan Kemal Cenan<\/p>\n<p>Y\u00fcksek Eri\u015filebilirlik \u00c7\u00f6z\u00fcmlerine odaklanacak yeni blog serimize ho\u015fgeldiniz.<\/p>\n<p>Serinin ilk b\u00f6l\u00fcm\u00fcnde <i>\u201cEnterpriseDB Failover Manager nedir? Nas\u0131l Kurulur?\u201d <\/i>konusuna odaklanacak, <a href=\"https:\/\/www.enterprisedb.com\/\" target=\"_blank\" rel=\"noopener\">EnterpriseDB<\/a>\u2019nin y\u00fcksek eri\u015filebilirlik arac\u0131 olan <a href=\"https:\/\/www.enterprisedb.com\/docs\/efm\/latest\/\" target=\"_blank\" rel=\"noopener\">EnterpriseDB Failover Manager<\/a> (EFM) ile Postgres toplulu\u011fu taraf\u0131ndan geli\u015ftirilen y\u00fck dengeleme, ba\u011flant\u0131 havuzlama gibi bir\u00e7ok \u00f6zellik sunan pgpool arac\u0131n\u0131n entegrasyonunu anlataca\u011f\u0131z.<\/p>\n<h2><strong>Replikasyon Nedir?<\/strong><\/h2>\n<p>Replikasyon, ana veritaban\u0131ndan bir veya daha fazla yedek veritaban\u0131na veri kopyalama i\u015flemidir. Replikasyonda ana veritaban\u0131 okuma-yazmadan sorumlu, yedek veritaban\u0131 ise sadece okumadan sorumlu olur.<br \/>\nBu yaz\u0131m\u0131zda \u201cprimary\u201d ya da \u201cmaster\u201d veritaban\u0131 ifadelerini \u201cana veritaban\u0131\u201d olarak, \u201csecondary\u201d ya da \u201cstandby\u201d veritaban\u0131 ifadelerini ise \u201cyedek veritaban\u0131\u201d olarak kullanaca\u011f\u0131z.<\/p>\n<h2><strong style=\"font-size: 25px;\" data-fusion-font=\"true\">EnterpriseDB Failover Manager Nedir?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">EFM y\u00fcksek eri\u015filebilirlik mod\u00fcl\u00fc, ana veritaban\u0131nda yaz\u0131l\u0131msal ve\/veya donan\u0131msal nedenlerden dolay\u0131 olu\u015fabilecek sorunlarda otomatik olarak yedek veritabanlar\u0131ndan birini ana veritaban\u0131 haline getiren yani \u201cPromote\u201d i\u015flemini ger\u00e7ekle\u015ftiren ve EnterpriseDB taraf\u0131ndan geli\u015ftirilmi\u015f bir ara\u00e7t\u0131r.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">EFM arac\u0131n\u0131n i\u015flevi ve nas\u0131l y\u00fcklenece\u011fi hakk\u0131nda bu belgede verece\u011fimiz bilgiler <a href=\"http:\/\/dev.profelis.net\/postgresql\/\" target=\"_blank\" rel=\"noopener\">PostgreSQL<\/a> ve <a href=\"http:\/\/dev.profelis.net\/edb-postgres-advanced-server\/\" target=\"_blank\" rel=\"noopener\">EDB Postgres Advanced Server (EPAS)<\/a> veritabanlar\u0131n\u0131n 9.6 ve sonraki s\u00fcr\u00fcmleri i\u00e7in ge\u00e7erlidir.<\/span><\/p>\n<p><strong>Tipik EFM k\u00fcmesi elemanlar\u0131, a\u015fa\u011f\u0131da belirtilen bile\u015fenlerden olu\u015fur.<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ana d\u00fc\u011f\u00fcm (node): Replikasyon yap\u0131s\u0131ndaki ana veritaban\u0131 sunucusudur.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Yedek d\u00fc\u011f\u00fcm: Yedek d\u00fc\u011f\u00fcm, ana d\u00fc\u011f\u00fcm ile aras\u0131nda streaming replikasyon bulunan veritaban\u0131 sunucusudur.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Tan\u0131k d\u00fc\u011f\u00fcm: Felaket senaryosu sonras\u0131nda, iki ya da daha fazla d\u00fc\u011f\u00fcm i\u00e7in belirlenen yeni g\u00f6rev tan\u0131mlar\u0131na ve durumlar\u0131na tan\u0131kl\u0131k eder. E\u011fer k\u00fcme \u00fc\u00e7 veya daha fazla d\u00fc\u011f\u00fcm i\u00e7eriyorsa (K\u00fcmede bulunan d\u00fc\u011f\u00fcm toplam\u0131n\u0131n tek say\u0131 olmas\u0131 ko\u015fuluyla), k\u00fcmede ayr\u0131ca bir tan\u0131k d\u00fc\u011f\u00fcm\u00fcne ihtiya\u00e7 yoktur. Zira d\u00fc\u011f\u00fcmlerden biri tan\u0131kl\u0131k g\u00f6revini yerine getirebilir. Ancak veritaban\u0131 i\u00e7eren \u00fc\u00e7\u00fcnc\u00fc bir k\u00fcme \u00fcyesi d\u00fc\u011f\u00fcm yoksa tan\u0131k d\u00fc\u011f\u00fcm\u00fc eklenmelidir. Bununla birlikte k\u00fcme birden \u00e7ok tan\u0131k d\u00fc\u011f\u00fcm\u00fc de i\u00e7erebilir (Yine toplam d\u00fc\u011f\u00fcm say\u0131s\u0131n\u0131n tek say\u0131 olmas\u0131 ko\u015fuluyla).<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Normalde, k\u00fcme terimi birden \u00e7ok veritaban\u0131n\u0131 y\u00f6neten tek bir PostgreSQL kurulumunu tan\u0131mlar. Ancak bu yaz\u0131 serisinde kullan\u0131lan k\u00fcme terimi EFM k\u00fcmesini ifade edecektir. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">EFM k\u00fcmesi, bulutta veya geleneksel a\u011fdaki sunucularda bulunabilir. Bire bir &#8211; bire \u00e7ok ileti\u015fimi sa\u011flamak i\u00e7in yaz\u0131lm\u0131\u015f olan JGroups k\u00fct\u00fcphanesi arac\u0131l\u0131\u011f\u0131yla ileti\u015fimi sa\u011flar. Bu k\u00fcme ana EFM ajan\u0131ndan, bir veya birden fazla yedek EFM ajan\u0131ndan ve iste\u011fe ba\u011fl\u0131 olarak tan\u0131k EFM ajan\u0131ndan olu\u015fabilir.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-21659\" src=\"https:\/\/profelis.com.tr\/wp-content\/uploads\/2022\/09\/efmss.png\" alt=\"EFMSS\" width=\"710\" height=\"1108\" title=\"\" srcset=\"https:\/\/profelis.com.tr\/wp-content\/uploads\/2022\/09\/efmss.png 710w, https:\/\/profelis.com.tr\/wp-content\/uploads\/2022\/09\/efmss-192x300.png 192w, https:\/\/profelis.com.tr\/wp-content\/uploads\/2022\/09\/efmss-656x1024.png 656w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Yukar\u0131daki \u015fekilde, Sanal IP adresi kullanan bir EFM k\u00fcmesi g\u00f6sterilmektedir. Sanal IP adresi, EFM k\u00fcmesine gelen t\u00fcm isteklerin tek bir IP adresine gelerek da\u011f\u0131t\u0131m\u0131n\u0131n buradan yap\u0131lmas\u0131n\u0131 sa\u011flar. E\u011fer veritabanlar\u0131 k\u00fcmeye online olarak eklenip \u00e7\u0131kar\u0131ld\u0131k\u00e7a y\u00fck dengeleyiciye bu de\u011fi\u015fiklikler haber verilebiliyorsa y\u00fck dengeleyici bir yaz\u0131l\u0131m da sanal IP adresi i\u015flevini \u00fcstlenebilir. Biz y\u00fck dengeleme arac\u0131 olarak pgpool kullanaca\u011f\u0131z. Sanal IP\u2019yi y\u00f6netme i\u015fini pgpool\u2019a b\u0131rakarak, k\u00fcmeye veritaban\u0131 eklendik\u00e7e ya da k\u00fcmeden veritaban\u0131 \u00e7\u0131kar\u0131ld\u0131k\u00e7a EFM\u2019ye haber vermek i\u00e7in de EFM taraf\u0131ndan sa\u011flanan konfig\u00fcrasyon dosyas\u0131n\u0131 d\u00fczenleyerek, pgpool- EFM entegrasyonu nas\u0131l yap\u0131ld\u0131\u011f\u0131n\u0131 g\u00f6sterece\u011fiz.<\/span><\/p>\n<p style=\"--fontsize: 22; line-height: 1.5; --minfontsize: 22;\"><span style=\"font-weight: 400;\">Tan\u0131k d\u0131\u015f\u0131nda herhangi bir EFM ajan\u0131 ba\u015flat\u0131ld\u0131\u011f\u0131nda, ajan veritaban\u0131na ba\u011flan\u0131r ve durumunu kontrol eder.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Veritaban\u0131na ula\u015famazsa, IDLE olarak ba\u015flar.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Veritaban\u0131 kurtarma (Recovery) i\u015fleminde ise, ajan\u0131n d\u00fc\u011f\u00fcm\u00fcndeki veritaban\u0131, yedek veritaban\u0131 rol\u00fcn\u00fc \u00fcstlenir. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Veritaban\u0131 kurtarma i\u015fleminde de\u011filse, ajan\u0131n d\u00fc\u011f\u00fcm\u00fcndeki veritaban\u0131, ana veritaban\u0131 rol\u00fcn\u00fc \u00fcstlenir.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Y\u00fck devretme yani \u201cFailover\u201d durumunda, EFM, ana veritaban\u0131 olarak atanan yedek sunucunun k\u00fcmedeki en g\u00fcncel yedek sunucusu oldu\u011funa emin olur. Buna kar\u015f\u0131n ana d\u00fc\u011f\u00fcm ve yedek d\u00fc\u011f\u00fcm e\u015f durumda yani \u201csync\u201d de\u011filse EFM promote i\u015flemini otomatik olarak ger\u00e7ekle\u015ftirmez.<\/span><\/p>\n<h2><strong>EnterpriseDB Failover Manager Gereksinimleri Nelerdir?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">EFM k\u00fcmesini yap\u0131land\u0131rmadan \u00f6nce, sistemin a\u015fa\u011f\u0131daki gereksinimleri kar\u015f\u0131l\u0131yor olmas\u0131 gerekmektedir.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Java 1.8 (veya sonras\u0131) Kurulumu<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM\u2019yi kullanmadan \u00f6nce, Java\u2019y\u0131 y\u00fcklemi\u015f olmam\u0131z gerekmektedir (1.8 s\u00fcr\u00fcm\u00fc veya sonras\u0131). <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM, OpenJDK ile test edilmi\u015ftir ve belirtilen s\u00fcr\u00fcm\u00fcn y\u00fcklenmesi tavsiye edilmektedir. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Java kurulumu i\u00e7in talimatlar kullan\u0131lan platformlara \u00f6zeldir.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SMTP Sunucusu Ayarlanmas\u0131 (\u0130ste\u011fe ba\u011fl\u0131)<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM kullan\u0131l\u0131rken kullan\u0131c\u0131 tan\u0131ml\u0131 komut dosyas\u0131, e-posta veya her ikisi ile taraf\u0131ndan bildirim alma se\u00e7ilebilir. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">E\u011fer bu y\u00f6ntemlerden biri kullan\u0131lacaksa SMTP sunucusunun aktif olmas\u0131 gerekmektedir.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Streaming Replikasyon Konfig\u00fcrasyonu<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM, ana ve yedek d\u00fc\u011f\u00fcmleri aras\u0131nda PostgreSQL streaming replikasyonunun (SR) yap\u0131land\u0131r\u0131lm\u0131\u015f olmas\u0131 gerekmektedir. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM di\u011fer replikasyon t\u00fcrlerini desteklemez.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">pg_hba.conf dosyas\u0131n\u0131n d\u00fczenlenmesi<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">ana d\u00fc\u011f\u00fcm ve yedek d\u00fc\u011f\u00fcmlerdeki pg_hba.conf dosyalar\u0131 k\u00fcmedeki t\u00fcm d\u00fc\u011f\u00fcmlerin birbirleriyle ileti\u015fimine izin verilecek \u015fekilde ayarlanmal\u0131d\u0131r. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">A\u015fa\u011f\u0131da, ana d\u00fc\u011f\u00fcmdeki pg_hba.conf dosyas\u0131nda bulunmas\u0131 gereken sat\u0131rlara bir \u00f6rnek g\u00f6sterilmektedir.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre># kendisine eri\u015fim i\u00e7in\n\nhost veritabani_adi efm 127.0.0.1\/32 md5\n\n# yedek sunucusuna eri\u015fim i\u00e7in\n\nhost veritabani_adi efm 192.168.1.1\/32 md5\n\n# tan\u0131k sunucusuna eri\u015fim i\u00e7in\n\nhost veritabani_adi efm 192.168.1.2\/32 md5<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">pg_hba.conf dosyas\u0131 de\u011fi\u015ftirildikten sonra de\u011fi\u015fikliklerin aktif olmas\u0131 i\u00e7in sistemin yeniden y\u00fcklenmesi (pg_ctl reload veya \u201cselect pg_reload_conf(); \u201d) gerekmektedir. <\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">G\u00fcvenlik duvarlar\u0131 aras\u0131ndaki ileti\u015fimin sa\u011flanmas\u0131<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">EFM d\u00fc\u011f\u00fcmlerindeki Linux g\u00fcvenlik duvarlar\u0131 etkinse, g\u00fcvenlik duvar\u0131 konfig\u00fcrasyonlar\u0131na gerekli izinlerin verildi\u011fi kurallar eklenmelidir.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">A\u015fa\u011f\u0131daki komut 7800 numaral\u0131 portu a\u00e7ar. EFM, konfig\u00fcrasyon dosyas\u0131nda belirtilen port numaras\u0131 ile ba\u011flant\u0131y\u0131 sa\u011flar. E\u011fer g\u00fcvenlik duvarlar\u0131 aktif de\u011filse bu i\u015fleme gerek yoktur.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>iptables -I INPUT -p tcp --dport 7800 -j ACCEPT \/sbin\/service iptables save<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Veritaban\u0131 kullan\u0131c\u0131s\u0131n\u0131n gerekli yetkilere sahip olmas\u0131<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">efm.properties dosyas\u0131nda db.user parametresinde belirtilen veritaban\u0131 kullan\u0131c\u0131s\u0131,\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">pg_current_wal_lsn()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">pg_last_wal_replay_lsn()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">pg_wal_replay_resume()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">pg_wal_replay_pause()<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">fonksiyonlar\u0131n\u0131 \u00e7a\u011f\u0131rabilmek i\u00e7in yeterli veritaban\u0131 yetkilerine sahip olmal\u0131d\u0131r.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>reconfigure.num.sync<\/b><span style=\"font-weight: 400;\"> veya<\/span><b> reconfigure.sync.primary<\/b><span style=\"font-weight: 400;\"> parametreleri \u2018true\u2019 olarak ayarlanm\u0131\u015f ise:<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">S\u00fcr\u00fcm 9.6 i\u00e7in <\/span><b>db.user<\/b><span style=\"font-weight: 400;\"> parametresinde belirtilen kullan\u0131c\u0131 superuser olmal\u0131d\u0131r.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">9.6 s\u00fcr\u00fcm\u00fcnden sonraki s\u00fcr\u00fcmler i\u00e7in, belirtilen veritaban\u0131 kullan\u0131c\u0131s\u0131 <\/span><b>pg_read_all_stats<\/b><span style=\"font-weight: 400;\"> yetkisine ve <\/span><b>pg_reload_conf()<\/b><span style=\"font-weight: 400;\">\u2019u \u00e7al\u0131\u015ft\u0131rmak i\u00e7in izne sahip olmal\u0131d\u0131r.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Ayr\u0131ca belirtilen kullan\u0131c\u0131, konfig\u00fcrasyon de\u011ferlerini okuma yetkisine sahip olmal\u0131d\u0131r. Veritaban\u0131nda yetkili kullan\u0131c\u0131 GRANT komutunu kullanarak gerekli izinleri\u00a0 kullan\u0131c\u0131ya sa\u011flayabilir.<\/span><\/li>\n<\/ul>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>GRANT pg_read_all_settings TO &lt;user_name&gt;;<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<h2><strong>EnterpriseDB Failover Manager Nas\u0131l Kurulur?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">EFM kurulumu, <\/span><b>root <\/b><span style=\"font-weight: 400;\">kullan\u0131c\u0131s\u0131 taraf\u0131ndan yap\u0131lmal\u0131d\u0131r. Kurulum s\u0131ras\u0131nda, enterprisedb (EPAS superuser) veya postgres (PostgreSQL superuser) kullan\u0131c\u0131s\u0131n\u0131n yetkili oldu\u011fu veritabanlar\u0131 (cluster) i\u00e7in EFM servisini denetleyen ve komut dosyalar\u0131n\u0131 kullanma yetkisine sahip efm isimli bir kullan\u0131c\u0131 kurulum s\u0131ras\u0131nda olu\u015fturulur. CentOS 7 i\u00e7in kurulum ad\u0131mlar\u0131 a\u015fa\u011f\u0131daki gibidir.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">1. Repo konfig\u00fcrasyon dosyalar\u0131n\u0131 olu\u015fturmak i\u00e7in, superuser yetkisi olmas\u0131 gereklidir. Ard\u0131ndan a\u015fa\u011f\u0131daki komut \u00e7al\u0131\u015ft\u0131r\u0131l\u0131r.<\/span><\/p>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>yum -y install https:\/\/yum.enterprisedb.com\/edbrepos\/edb-repo-latest.noarch.rpm<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">2. Birinci ad\u0131mdaki kurulum sonras\u0131nda \/etc\/yum.repos.d dizini alt\u0131nda edb.repo dosyas\u0131 olu\u015facakt\u0131r. Bu dosyadaki USERNAME ve PASSWORD bilgileri EnterpriseDB\u2019nin sitesinden al\u0131nm\u0131\u015f olan kullan\u0131c\u0131 ad\u0131 ve parola bilgileriyle de\u011fi\u015ftirilir. Bu i\u015flem, dosya herhangi bir edit\u00f6r ile a\u00e7\u0131larak yap\u0131labilece\u011fi gibi <\/span><\/p>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>sed -i \"s@&lt;username&gt;:&lt;password&gt;@USERNAME:PASSWORD@\" \/etc\/yum.repos.d\/edb.repo<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<p><span style=\"font-weight: 400;\">komutunu USERNAME PASSWORD k\u0131s\u0131mlar\u0131 EDB\u2019den edinilen bilgiler ile de\u011fi\u015ftirip \u00e7al\u0131\u015ft\u0131rarak da yap\u0131labilir.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">3. EPEL reposu kurulumu yap\u0131l\u0131r.<\/span><\/p>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>yum -y install epel-release<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">4. EFM paketinin kurulumu yap\u0131l\u0131r. Bu kurulum esnas\u0131nda hata al\u0131nmamas\u0131 i\u00e7in 2. ad\u0131mda belirtilen de\u011fi\u015fikliklerin edb.repo dosyas\u0131nda do\u011fru bir \u015fekilde ger\u00e7ekle\u015ftirilmi\u015f olmas\u0131 gerekir.<\/span><\/p>\n<div class=\"table-1\">\n<table width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\">\n<pre>yum -y install edb-efm44<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">5. Kurulum sonras\u0131nda dosyalar a\u015fa\u011f\u0131da belirtilen dizinlerde olu\u015facakt\u0131r.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u00c7al\u0131\u015ft\u0131r\u0131labilir dosyalar<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">\/usr\/edb\/efm-4.4\/bin<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">K\u00fct\u00fcphaneler<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">\/usr\/edb\/efm-4.4\/lib<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Konfig\u00fcrasyon dosyalar\u0131<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">\/etc\/edb\/efm-4.4<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Loglar<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">\/var\/log\/efm-4.4<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">6. Kurulum sonras\u0131nda her bir d\u00fc\u011f\u00fcm i\u00e7in<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">efm.properties dosyas\u0131 d\u00fczenlenir.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">efm.nodes dosyas\u0131 d\u00fczenlenir.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">E\u011fer Sanal IP adresi ve kod par\u00e7ac\u0131\u011f\u0131 efm.properties dosyas\u0131nda tan\u0131mlanm\u0131\u015fsa, yap\u0131land\u0131r\u0131lmas\u0131 ve test i\u015flemleri ger\u00e7ekle\u015ftirilmelidir.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">K\u00fcmenin her bir d\u00fc\u011f\u00fcmdeki EFM ajanlar\u0131 ba\u015flat\u0131l\u0131r.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><i><span style=\"font-weight: 400;\">Bu i\u015flemlerin detay\u0131n\u0131 \u00f6\u011frenmek i\u00e7in bir sonraki blog yaz\u0131m\u0131z\u0131 bekleyin.<\/span><\/i><\/p>\n<p>Bu s\u0131rada EnterpriseDB hakk\u0131nda daha fazla bilgi almak i\u00e7in <a href=\"\/en\/enterprisedb\/\">t\u0131klay\u0131n<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Y\u00fcksek Eri\u015filebilirlik \u00c7\u00f6z\u00fcmleri, B\u00f6l\u00fcm 1 Yazarlar: Aybars Hallik, Do\u011fan Kemal Cenan Y\u00fcksek Eri\u015filebilirlik \u00c7\u00f6z\u00fcmlerine odaklanacak yeni blog serimize ho\u015fgeldiniz. Serinin ilk b\u00f6l\u00fcm\u00fcnde \u201cEnterpriseDB Failover Manager nedir? Nas\u0131l Kurulur?\u201d konusuna odaklanacak, EnterpriseDB\u2019nin y\u00fcksek eri\u015filebilirlik arac\u0131 olan EnterpriseDB Failover Manager (EFM) ile&#8230;<\/p>","protected":false},"author":16,"featured_media":22104,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76,75,45],"tags":[58,48,61,60,50],"class_list":["post-20168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-postgresql","category-yazi","tag-acikkaynak","tag-enterprisedb","tag-linux","tag-postgresql","tag-veritabani"],"_links":{"self":[{"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/posts\/20168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/comments?post=20168"}],"version-history":[{"count":0,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/posts\/20168\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/media\/22104"}],"wp:attachment":[{"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/media?parent=20168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/categories?post=20168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/profelis.com.tr\/en\/wp-json\/wp\/v2\/tags?post=20168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}