freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

centos7雙機(jī)熱備(pgpoolreplication)(編輯修改稿)

2025-08-19 22:30 本頁面
 

【文章內(nèi)容簡介】 ostgresql%Y%m%39。(紅字部分按實(shí)際情況配置)vi ~/data/host all all host replication postgres (紅字部分按實(shí)際情況配置)cp ~/share/ ~/data/vi ~/data/備機(jī)恢復(fù)timelinerecovery_target_timeline = 39。latest39。備機(jī)模式standby_mode = on主機(jī)的信息primary_conninfo = 39。host=DBServer0239。備機(jī)提升為主機(jī)的觸發(fā)文件trigger_file = 39。/opt/postgres/39。11. 啟動實(shí)例[postgres主]啟動實(shí)例pg_ctl start12. 復(fù)制備機(jī)[postgres備]從主機(jī)復(fù)制(紅字部分按實(shí)際情況配置)pg_basebackup D $PGDATA Fp Xs v P h DBServer01 U postgres(紅字部分按實(shí)際情況配置)mv ~/data/ ~/data/vi ~/data/primary_conninfo = 39。host=DBServer0139。(紅字部分按實(shí)際情況配置)vi ~/data/host replication postgres trust啟動實(shí)例pg_ctl start檢查進(jìn)程ps ef | grep receiverpostgres 21527 21521 0 20:01 ? 00:00:00 postgres: wal receiver process13. 注冊服務(wù)[root 主/備]ftp上傳postgres至/etc/(可以從/opt/postgres/src/)chkconfig add postgreschkconfig postgres on3. pgpool1. 創(chuàng)建用戶[root主/備]useradd d /opt/pgpool s /bin/bash g postgres m pgpoolpasswd pgpool2. 開放權(quán)限[root 主/備]生成虛擬ip用到chmod u+s /sbin/ifconfigchmod u+s /sbin/arping3. 環(huán)境變量[pgpool主/備]修改profilevi ~/.bash_profile. /opt/postgres/.bash_profileexport PATH=$PATH:$HOME/bin生效profilesource ~/.bash_profile4. 建立ssh信任生成ssh key(密碼設(shè)置為空)sshkeygen本機(jī)postgres信任sshcopyid
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1