Edb Cluster Setup with EFM failover manager

Prerequsite: edb installed efm installed configuration cluster open port 7800,7809 between node Step configure: install efm , get repo repo: curl -1sSLf 'https://downloads.enterprisedb.com/gmwxCGUaP97Ygbc4eQB7x8mo7kSVzT9I/enterprise/setup.rpm.sh' | sudo -E bash install efm tools sudo dnf -y install edb-efm47 Prereq before cluster on edb master Create User Replicator for Replication Role only su - enterprisedb psql edb create user replicator with replication encrypted password 'P@ssw0rd'; Change postgresql.conf parameter vi "/pgdata/postgresql.conf" cat "/pgdata/postgresql.conf" | grep -i listen_addresses listen_addresses = '*' # what IP address(es) to listen on; Change pg_hba.conf parameter cat "/pgdata/pg_hba.conf" | grep -i replicator host replication replicator 192.168.200.113/32 trust host replication replicator 192.168.200.114/32 trust Restart edb-as-15 service systemctl stop edb-as-15 systemctl start edb-as-15 systemctl status edb-as-15 Check replication master status (After Slaves Configured) ...

February 17, 2025 · 3 min · 448 words · kidtz

Edb Postgres Installation

Get repor from EDB here Select platform and verison edb platform: version edb: Then will show step how to installation Run script in the terminal Get repo auto: curl -1sSLf 'https://downloads.enterprisedb.com/gmwxCGUaP97Ygbc4eQB7x8mo7kSVzT9I/enterprise/setup.rpm.sh' | sudo -E bash install edb sudo dnf -y install edb-as15-server create /pgadata for data directory mkdir /pgdata chown enterprisedb:enterprisedb /pgdata initiate EDB database su - enterprisedb /usr/edb/as15/bin/initdb -D /pgdata Change edb-as-15.service parameter cd /lib/systemd/system vi /lib/systemd/system/edb-as-15.service type this: vi edb-as-15.service; cat edb-as-15.service # It's not recommended to modify this file in-place, because it will be # overwritten during package upgrades. If you want to customize, the # best way is to create a file "/etc/systemd/system/edb-as-15.service", # containing # .include /lib/systemd/system/edb-as-15.service # ...make your changes here... # For more info about custom unit files, see PT ANTAM Tbk-Instalasi EDB Advanced Server 15 19 # http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_cust om_unit_file.3F # Note: changing PGDATA will typically require adjusting SELinux # configuration as well. [Unit] Description=EDB Postgres Advanced Server 15 After=syslog.target network.target [Service] Type=notify User=enterprisedb Group=enterprisedb # Location of database directory #Environment=PGDATA=/var/lib/edb/as15/data #PIDFile=/var/lib/edb/as15/data/postmaster.pid Environment=PGDATA=/pgdata PIDFile=/pgdata/postmaster.pid # Where to send early-startup messages from the server (before the logging # options of postgresql.conf take effect) # This is normally controlled by the global default set by systemd # StandardOutput=syslog # Disable OOM kill on the postmaster OOMScoreAdjust=-1000 ExecStartPre=/usr/edb/as15/bin/edb-as-15-check-db-dir ${PGDATA} ExecStart=/usr/edb/as15/bin/edb-postgres -D ${PGDATA} ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed KillSignal=SIGINT # Give a reasonable amount of time for the server to start up/shut down TimeoutSec=300 [Install] WantedBy=multi-user.target Change postgresql.conf parameter ...

February 17, 2025 · 2 min · 261 words · kidtz

Hugo Command

https://www.markdownguide.org/tools/hugo/

January 7, 2025 · 1 min · word · kidtz

Oracle Explanation about the GAP

Primary Secondary =========== PROCESS: Ini menunjukkan jenis proses yang sedang berjalan pada sistem. Beberapa proses yang ada dalam output ini antara lain: DGRD: Data Guard (DG) Real-Time Apply (DGRD) process. Ini adalah proses yang berhubungan dengan penerapan data dari primary ke standby database dalam konfigurasi Oracle Data Guard. ARCH: Archive process. Ini adalah proses yang bertanggung jawab untuk mengarsipkan redo logs yang dibuat oleh database. LNS: Log Network Service. Proses ini bertanggung jawab untuk mengirimkan redo logs ke standby database dalam konfigurasi Data Guard. ...

January 7, 2025 · 2 min · 328 words · kidtz

Users, Roles & Profiles in Oracle

Reference https://docs.dbagenesis.com/post/users-roles-profiles-in-oracle

December 24, 2024 · 1 min · 2 words · kidtz