add install pg_auto_failover with psql 11 in ubuntu 18.04
This commit is contained in:
962
content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md
Normal file
962
content/post/pg_auto_failover_in_ubuntu_1804_psql_11.md
Normal file
@@ -0,0 +1,962 @@
|
||||
---
|
||||
title: "[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04"
|
||||
date: 2019-09-20T10:17:17+08:00
|
||||
noSummary: false
|
||||
featuredImage: "https://h.cowbay.org/images/post-default-11.jpg"
|
||||
categories: ['筆記']
|
||||
tags: ['postgresql','failover']
|
||||
author: "Eric Chang"
|
||||
keywords:
|
||||
- postgresql
|
||||
- pg_auto_failover
|
||||
---
|
||||
|
||||
最近都在弄postgresql
|
||||
|
||||
備份、還原測試得差不多了,就等著看到時候要用什麼方式
|
||||
|
||||
前幾天看到 pg_auto_failover 這個postgresql 的extension
|
||||
|
||||
https://github.com/citusdata/pg_auto_failover
|
||||
|
||||
感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA
|
||||
|
||||
不過,反正當作練功嘛,多測試一套也不錯!
|
||||
|
||||
<!--more-->
|
||||
|
||||
基本的邏輯是 一台 monitor , 一台 master/primary node ,一台 slave/secondary node 組成一個cluster
|
||||
|
||||
當master/primary node 上面的 postgresql 服務死掉了,slave/secondary node 會自動接手
|
||||
|
||||
等到master/primary node 回來之後,會自動降級為 slave/secondary node
|
||||
|
||||
而原本的 slave/secondary node 就會變成 master/primary
|
||||
|
||||
***
|
||||
|
||||
#### 安裝相關套件
|
||||
|
||||
**以下步驟在三個node 都要操作**
|
||||
|
||||
安裝相依套件
|
||||
|
||||
```
|
||||
sudo apt install make libssl1.0.0 libssl-dev libkrb5-3 libkrb5-dev libpq5 libpq-dev pgdg-keyring ssl-cert postgresql-plperl-11 postgresql-pltcl-11 postgresql-plpython-11 postgresql-plpython3-11 postgresql-11 postgresql-common postgresql-server-dev-11 postgresql-client-11 postgresql-client-common postgresql-doc-11 tcl8.6 libjson-perl tcl-tclreadline
|
||||
```
|
||||
|
||||
安裝完成後,切換到postgres身份,把原本系統內的postgresql 檔存放目錄還有資料庫檔案目錄都清掉
|
||||
```
|
||||
sudo su - postgres
|
||||
mv /etc/postgresql/11 /etc/postgresql/11.bak
|
||||
mv /var/lib/postgresql/11 /var/lib/postgresql/11.bak
|
||||
exit
|
||||
```
|
||||
開始安裝 pg_auto_failover
|
||||
|
||||
```
|
||||
curl https://install.citusdata.com/community/deb.sh | sudo bash
|
||||
sudo apt install postgresql-11-auto-failover -y
|
||||
```
|
||||
|
||||
postgresql 的相關執行檔路徑,預設不會載入到PATH變數中,所以要自己手動增加
|
||||
|
||||
直接加入 /etc/environment ,或者是去修改使用者的 .profile 載入正確的 $PATH 都可以
|
||||
````
|
||||
#replace PATH variable in /etc/environment
|
||||
PATH="/usr/lib/postgresql/11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||
|
||||
```
|
||||
因為要用 pg_auto_failover 來控制postgresql ,所以要把系統內建的服務先停掉,並且設定開啟不啟動
|
||||
```
|
||||
sudo systemctl disable postgresql
|
||||
sudo systemctl stop postgresql
|
||||
```
|
||||
|
||||
為了讓三台機器可以直接用hostname溝通,所以要修改 /etc/hosts
|
||||
```
|
||||
#add to /etc/hosts
|
||||
192.168.11.151 monitor monitor.abc.com
|
||||
192.168.11.152 pg-primary pg-primary.abc.com
|
||||
192.168.11.153 pg-slave pg-slave.abc.com
|
||||
```
|
||||
以上完成在三台node上,安裝postgresql/pg_auto_failover 的工作
|
||||
|
||||
***
|
||||
|
||||
#### 設定 monitor node
|
||||
|
||||
**在monitor node操作**
|
||||
|
||||
**建立monitor node**
|
||||
|
||||
```
|
||||
sudo runuser -l postgres -c "/usr/bin/pg_autoctl create monitor --pgdata /var/lib/postgresql/11/main --pgport 5432 --nodename monitor"
|
||||
```
|
||||
這個步驟會在pg_hba.conf 中,新增一筆紀錄
|
||||
|
||||
```
|
||||
host "pg_auto_failover" "autoctl_node" 192.168.11.0/24 trust # Auto-generated by pg_auto_failover
|
||||
```
|
||||
|
||||
檢查一下狀態,看看有沒有安裝成功
|
||||
|
||||
```
|
||||
2019-09-19 06:56:09 [administrator@monitor ~]$ sudo runuser -l postgres -c "psql -c '\'du"
|
||||
List of roles
|
||||
Role name | Attributes | Member of
|
||||
--------------+------------------------------------------------------------+-----------
|
||||
autoctl | | {}
|
||||
autoctl_node | | {}
|
||||
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
|
||||
|
||||
|
||||
2019-09-19 06:56:15 [administrator@monitor ~]$ sudo runuser -l postgres -c "psql -c '\'l"
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
------------------+----------+-----------+---------+-------+-----------------------
|
||||
pg_auto_failover | autoctl | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
(4 rows)
|
||||
```
|
||||
|
||||
OK,看起來沒有問題
|
||||
|
||||
**啟動pg_auto_failover monitor**
|
||||
|
||||
```
|
||||
2019-09-19 06:56:19 [administrator@monitor ~]$ sudo runuser -l postgres -c "pg_autoctl run --pgdata /var/lib/postgresql/11/main"
|
||||
06:57:38 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
06:57:38 INFO PostgreSQL is running in "/var/lib/postgresql/11/main" on port 5432
|
||||
06:57:38 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
06:57:38 INFO pg_auto_failover monitor is ready at postgres://autoctl_node@monitor:5432/pg_auto_failover
|
||||
06:57:38 INFO Contacting the monitor to LISTEN to its events
|
||||
```
|
||||
這個指令會停留在console畫面上,要不就是在最後加上 ```&``` 放去背景執行
|
||||
|
||||
要不就是用systemd/supervisor 來控制,這個後面再來改
|
||||
|
||||
就先放著讓他跑,還可以順便觀察cluster變動時的狀態
|
||||
|
||||
再開一個terminal 跑底下的指令,產生monitor node 的URI ,在建立maser/slave node 的時候會用到
|
||||
|
||||
```
|
||||
2019-09-19 06:58:39 [administrator@monitor ~]$ sudo runuser -l postgres -c "pg_autoctl show uri --pgdata /var/lib/postgresql/11/main"
|
||||
postgres://autoctl_node@monitor:5432/pg_auto_failover
|
||||
2019-09-19 06:59:01 [administrator@monitor ~]$
|
||||
```
|
||||
|
||||
以上完成monitor node 的準備工作
|
||||
|
||||
***
|
||||
|
||||
#### 設定master/primary node
|
||||
|
||||
**建立pg_auto_failover master/primary node**
|
||||
|
||||
```
|
||||
2019-09-19 15:04:16 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "pg_autoctl create postgres --pgdata /var/lib/postgresql/11/main --pgport 5432 --nodename pg-primary --monitor postgres://autoctl_node@monitor:5432/pg_auto_failover"
|
||||
15:04:19 INFO Found pg_ctl for PostgreSQL 11.5 at /usr/lib/postgresql/11/bin/pg_ctl
|
||||
15:04:19 INFO Registered node pg-primary:5432 with id 1 in formation "default", group 0.
|
||||
15:04:19 INFO Writing keeper init state file at "/var/lib/postgresql/.local/share/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.init"
|
||||
15:04:19 INFO Successfully registered as "single" to the monitor.
|
||||
15:04:21 INFO Initialising a PostgreSQL cluster at "/var/lib/postgresql/11/main"
|
||||
15:04:21 INFO Postgres is not running, starting postgres
|
||||
15:04:21 INFO /usr/lib/postgresql/11/bin/pg_ctl --pgdata /var/lib/postgresql/11/main --options "-p 5432" --options "-h *" --wait start
|
||||
15:04:21 INFO CREATE DATABASE postgres;
|
||||
15:04:21 INFO The database "postgres" already exists, skipping.
|
||||
15:04:21 INFO FSM transition from "init" to "single": Start as a single node
|
||||
15:04:21 INFO Initialising postgres as a primary
|
||||
15:04:21 INFO Transition complete: current state is now "single"
|
||||
15:04:21 INFO Keeper has been succesfully initialized.
|
||||
2019-09-19 15:04:21 [administrator@pg-primary ~]$
|
||||
```
|
||||
|
||||
**啟動 pg_auto_failover master/primary node**
|
||||
|
||||
```
|
||||
2019-09-19 15:14:34 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "pg_autoctl run --pgdata /var/lib/postgresql/11/main"
|
||||
15:15:11 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
15:15:11 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
15:15:11 INFO pg_autoctl service is starting
|
||||
15:15:11 INFO Calling node_active for node default/1/0 with current state: single, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
15:15:16 INFO Calling node_active for node default/1/0 with current state: single, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
15:15:21 INFO Calling node_active for node default/1/0 with current state: single, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
```
|
||||
|
||||
一樣,執行完之後,會停留在畫面上,所以開另一個視窗來執行以下檢查的指令
|
||||
|
||||
```
|
||||
2019-09-19 15:17:08 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "pg_autoctl show state --pgdata /var/lib/postgresql/11/main"
|
||||
Name | Port | Group | Node | Current State | Assigned State
|
||||
-----------+--------+-------+-------+-------------------+------------------
|
||||
pg-primary | 5432 | 0 | 1 | single | single
|
||||
|
||||
2019-09-19 15:17:16 [administrator@pg-primary ~]$
|
||||
```
|
||||
|
||||
以上,master/primary node 設定結束
|
||||
|
||||
***
|
||||
|
||||
####設定 slave/secondary node
|
||||
|
||||
**建立 pg_auto_failover slave/secondary node**
|
||||
|
||||
```
|
||||
2019-09-19 07:04:08 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "pg_autoctl create postgres --pgdata /var/lib/postgresql/11/main --pgport 5432 --nodename pg-slave --monitor postgres://autoctl_node@monitor:5432/pg_auto_failover"
|
||||
07:19:57 INFO Found pg_ctl for PostgreSQL 11.5 at /usr/lib/postgresql/11/bin/pg_ctl
|
||||
07:19:57 INFO Registered node pg-slave:5432 with id 2 in formation "default", group 0.
|
||||
07:19:57 INFO Writing keeper init state file at "/var/lib/postgresql/.local/share/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.init"
|
||||
07:19:57 INFO Successfully registered as "wait_standby" to the monitor.
|
||||
07:19:57 INFO FSM transition from "init" to "wait_standby": Start following a primary
|
||||
07:19:57 INFO Transition complete: current state is now "wait_standby"
|
||||
07:20:02 INFO FSM transition from "wait_standby" to "catchingup": The primary is now ready to accept a standby
|
||||
07:20:02 INFO The primary node returned by the monitor is pg-primary:5432
|
||||
07:20:02 INFO Initialising PostgreSQL as a hot standby
|
||||
07:20:02 INFO Running /usr/lib/postgresql/11/bin/pg_basebackup -w -h pg-primary -p 5432 --pgdata /var/lib/postgresql/11/backup -U pgautofailover_replicator --write-recovery-conf --max-rate 100M --wal-method=stream --slot pgautofailover_standby ...
|
||||
07:20:04 INFO pg_basebackup: initiating base backup, waiting for checkpoint to complete
|
||||
pg_basebackup: checkpoint completed
|
||||
pg_basebackup: write-ahead log start point: 0/2000028 on timeline 1
|
||||
pg_basebackup: starting background WAL receiver
|
||||
0/23751 kB (0%), 0/1 tablespace (...ostgresql/11/backup/backup_label)
|
||||
13103/23751 kB (55%), 0/1 tablespace (...gresql/11/backup/base/13091/2602)
|
||||
23761/23761 kB (100%), 0/1 tablespace (...esql/11/backup/global/pg_control)
|
||||
23761/23761 kB (100%), 1/1 tablespace
|
||||
pg_basebackup: write-ahead log end point: 0/20000F8
|
||||
pg_basebackup: waiting for background process to finish streaming ...
|
||||
pg_basebackup: base backup completed
|
||||
|
||||
07:20:04 INFO Postgres is not running, starting postgres
|
||||
07:20:04 INFO /usr/lib/postgresql/11/bin/pg_ctl --pgdata /var/lib/postgresql/11/main --options "-p 5432" --options "-h *" --wait start
|
||||
07:20:04 INFO PostgreSQL started on port 5432
|
||||
07:20:04 INFO Transition complete: current state is now "catchingup"
|
||||
07:20:04 INFO Keeper has been succesfully initialized.
|
||||
2019-09-19 07:20:04 [administrator@pg-slave ~]$
|
||||
```
|
||||
可以看到在建立slave/secondary node 的時候,就會開始第一次的同步
|
||||
|
||||
**啟動 pg_auto_failover slave/secondary node
|
||||
|
||||
```
|
||||
2019-09-19 07:20:04 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "pg_autoctl run --pgdata /var/lib/postgresql/11/main"
|
||||
07:21:33 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
07:21:33 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
07:21:33 INFO pg_autoctl service is starting
|
||||
07:21:33 INFO Calling node_active for node default/2/0 with current state: catchingup, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
07:21:33 INFO FSM transition from "catchingup" to "secondary": Convinced the monitor that I'm up and running, and eligible for promotion again
|
||||
07:21:33 INFO Transition complete: current state is now "secondary"
|
||||
07:21:34 INFO Calling node_active for node default/2/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
07:21:39 INFO Calling node_active for node default/2/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
```
|
||||
|
||||
開新視窗確認狀態
|
||||
|
||||
```
|
||||
2019-09-19 07:22:03 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "pg_autoctl show state --pgdata /var/lib/postgresql/11/main"
|
||||
Name | Port | Group | Node | Current State | Assigned State
|
||||
-----------+--------+-------+-------+-------------------+------------------
|
||||
pg-primary | 5432 | 0 | 1 | primary | primary
|
||||
pg-slave | 5432 | 0 | 2 | secondary | secondary
|
||||
|
||||
2019-09-19 07:22:45 [administrator@pg-slave ~]$
|
||||
```
|
||||
|
||||
正常的話,應該就是會出現兩個 node ,一個 pg-primary 一個pg-slave
|
||||
|
||||
**generate URI for applications**
|
||||
|
||||
這個步驟是用來產生給client/applications 連線用的連線字串(connection string)
|
||||
|
||||
```
|
||||
2019-09-19 07:29:56 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "pg_autoctl show uri --formation default --pgdata /var/lib/postgresql/11/main"
|
||||
postgres://pg-slave:5432,pg-primary:5432/postgres?target_session_attrs=read-write
|
||||
2019-09-19 07:30:06 [administrator@pg-slave ~]$
|
||||
```
|
||||
以後就都通過這個URI來存取這個cluster
|
||||
|
||||
切記,**不可以用系統內建的postgresql service,一定要用 pg_auto_failover 來啟動DB**
|
||||
|
||||
以上 slave/secondary node 設定完成
|
||||
|
||||
***
|
||||
|
||||
設定上並不複雜,比起keepalived 要簡單太多了..
|
||||
|
||||
那就要評估看看在異常狀況發生,切換資料庫時的表現了
|
||||
|
||||
接下來就繼續測試auto failover 的功能!
|
||||
|
||||
***
|
||||
|
||||
#### 測試 auto failover
|
||||
|
||||
首先,在 pg-prmiary node 上,透過上面產生的URI來進入psql
|
||||
|
||||
然後建立一個測試db、建立一個測試table,插入幾筆資料
|
||||
|
||||
```
|
||||
2019-09-20 10:58:21 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "psql postgres://pg-slave:5432,pg-primary:5432/postgres?target_session_attrs=read-write"
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# create database testdb_1058;
|
||||
CREATE DATABASE
|
||||
postgres=# create table testtbl (serial int);
|
||||
CREATE TABLE
|
||||
postgres=# insert into testtbl values (111);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl values (222);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl values (3);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl values (444);
|
||||
INSERT 0 1
|
||||
postgres=# select * from testtbl;
|
||||
serial
|
||||
--------
|
||||
111
|
||||
222
|
||||
3
|
||||
444
|
||||
(4 rows)
|
||||
|
||||
postgres=# \q
|
||||
2019-09-20 10:59:30 [administrator@pg-primary ~]$
|
||||
```
|
||||
|
||||
然後切換到 pg-slave ,一樣透過URI進入psql 撈看看資料
|
||||
|
||||
```
|
||||
2019-09-20 03:02:12 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "psql postgres://pg-slave:5432,pg-primary:5432/postgres?target_session_attrs=read-write"
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# select * from testtbl;
|
||||
serial
|
||||
--------
|
||||
111
|
||||
222
|
||||
3
|
||||
444
|
||||
(4 rows)
|
||||
|
||||
postgres=#
|
||||
```
|
||||
|
||||
確認透過URI的確是可以正常的存取資料
|
||||
|
||||
在兩台單機上(master/slave)上也都可以看到同樣的資料,代表資料有正確的被同步到兩台node上
|
||||
|
||||
**pg-slave**
|
||||
|
||||
```
|
||||
2019-09-20 03:03:06 [administrator@pg-slave ~]$ sudo runuser -l postgres -c psql
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# \l
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
-------------+----------+-----------+---------+-------+-----------------------
|
||||
nexus | postgres | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
testdb_1058 | postgres | SQL_ASCII | C | C |
|
||||
(5 rows)
|
||||
|
||||
postgres=# select * from testtbl;
|
||||
serial
|
||||
--------
|
||||
111
|
||||
222
|
||||
3
|
||||
444
|
||||
(4 rows)
|
||||
|
||||
postgres=#
|
||||
```
|
||||
|
||||
**pg-master**
|
||||
```
|
||||
2019-09-20 10:59:30 [administrator@pg-primary ~]$ sudo runuser -l postgres -c psql
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# \l
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
-------------+----------+-----------+---------+-------+-----------------------
|
||||
nexus | postgres | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
testdb_1058 | postgres | SQL_ASCII | C | C |
|
||||
(5 rows)
|
||||
|
||||
postgres=# select * from testtbl;
|
||||
serial
|
||||
--------
|
||||
111
|
||||
222
|
||||
3
|
||||
444
|
||||
(4 rows)
|
||||
|
||||
postgres=#
|
||||
```
|
||||
|
||||
接著來把本來是master的機器關掉,看看會有什麼變化
|
||||
|
||||
首先,在pg-slave 這台機器上,就會看到cluster 有狀況,primary 不見了
|
||||
```
|
||||
03:06:02 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
03:06:08 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
03:06:13 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
03:06:18 ERROR PostgreSQL cannot reach the primary server: the system view pg_stat_wal_receiver has no rows.
|
||||
03:06:18 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
03:06:23 ERROR PostgreSQL cannot reach the primary server: the system view pg_stat_wal_receiver has no rows.
|
||||
03:06:23 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
03:06:28 ERROR PostgreSQL cannot reach the primary server: the system view pg_stat_wal_receiver has no rows.
|
||||
03:06:28 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
03:06:33 ERROR PostgreSQL cannot reach the primary server: the system view pg_stat_wal_receiver has no rows.
|
||||
03:06:33 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
03:06:38 ERROR PostgreSQL cannot reach the primary server: the system view pg_stat_wal_receiver has no rows.
|
||||
03:06:38 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
```
|
||||
|
||||
這時候在pg-slave 還能不能透過URI 連線進去psql操作?
|
||||
```
|
||||
2019-09-20 03:08:06 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "psql postgres://pg-slave:5432,pg-primary:5432/postgres?target_session_attrs=read-write"
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# \l
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
-------------+----------+-----------+---------+-------+-----------------------
|
||||
nexus | postgres | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
testdb_1058 | postgres | SQL_ASCII | C | C |
|
||||
(5 rows)
|
||||
|
||||
postgres=# create database testdb_1108;
|
||||
CREATE DATABASE
|
||||
postgres=# create table testtbl_1108 (serial int);
|
||||
CREATE TABLE
|
||||
postgres=# insert into testtbl_1108 values (999);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl_1108 values (888);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl_1108 values (77);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl_1108 values (66);
|
||||
INSERT 0 1
|
||||
postgres=# insert into testtbl_1108 values (55);
|
||||
INSERT 0 1
|
||||
postgres=# \q
|
||||
2019-09-20 03:09:34 [administrator@pg-slave ~]$
|
||||
```
|
||||
|
||||
很好,看起來沒有問題,這時候把 pg-primary 打開,執行啟動 pg_auto_failover node 的指令,看看會發生什麼事
|
||||
|
||||
```
|
||||
2019-09-20 11:12:13 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "pg_autoctl run"
|
||||
11:12:29 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
11:12:29 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
11:12:29 INFO pg_autoctl service is starting
|
||||
11:12:29 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is not running, sync_state is "", WAL delta is -1.
|
||||
11:12:29 INFO Postgres is not running, starting postgres
|
||||
11:12:29 INFO /usr/lib/postgresql/11/bin/pg_ctl --pgdata /var/lib/postgresql/11/main --options "-p 5432" --options "-h *" --wait start
|
||||
11:12:30 WARN PostgreSQL was not running, restarted with pid 1407
|
||||
11:12:30 INFO FSM transition from "primary" to "demoted": A failover occurred, no longer primary
|
||||
11:12:30 INFO Transition complete: current state is now "demoted"
|
||||
11:12:30 INFO Calling node_active for node default/1/0 with current state: demoted, PostgreSQL is not running, sync_state is "", WAL delta is -1.
|
||||
11:12:30 INFO FSM transition from "demoted" to "catchingup": A new primary is available. First, try to rewind. If that fails, do a pg_basebackup.
|
||||
11:12:30 INFO The primary node returned by the monitor is pg-slave:5432
|
||||
11:12:30 INFO Rewinding PostgreSQL to follow new primary pg-slave:5432
|
||||
11:12:30 ERROR Connection to database failed: could not connect to server: No such file or directory
|
||||
Is the server running locally and accepting
|
||||
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
|
||||
|
||||
11:12:30 ERROR Failed to get the postgresql.conf path from the local postgres server, see above for details
|
||||
11:12:30 WARN Failed to rewind demoted primary to standby, trying pg_basebackup instead
|
||||
11:12:30 INFO Initialising PostgreSQL as a hot standby
|
||||
11:12:30 INFO Target directory exists: "/var/lib/postgresql/11/main", stopping PostgreSQL
|
||||
11:12:30 INFO pg_ctl: no server running
|
||||
|
||||
11:12:30 INFO pg_ctl stop failed, but PostgreSQL is not running anyway
|
||||
11:12:30 INFO Running /usr/lib/postgresql/11/bin/pg_basebackup -w -h pg-slave -p 5432 --pgdata /var/lib/postgresql/11/backup -U pgautofailover_replicator --write-recovery-conf --max-rate 100M --wal-method=stream --slot pgautofailover_standby ...
|
||||
11:12:33 INFO pg_basebackup: initiating base backup, waiting for checkpoint to complete
|
||||
pg_basebackup: checkpoint completed
|
||||
pg_basebackup: write-ahead log start point: 0/12000028 on timeline 6
|
||||
pg_basebackup: starting background WAL receiver
|
||||
0/46937 kB (0%), 0/1 tablespace (...ostgresql/11/backup/backup_label)
|
||||
46947/46947 kB (100%), 0/1 tablespace (...esql/11/backup/global/pg_control)
|
||||
46947/46947 kB (100%), 1/1 tablespace
|
||||
pg_basebackup: write-ahead log end point: 0/120000F8
|
||||
pg_basebackup: waiting for background process to finish streaming ...
|
||||
pg_basebackup: base backup completed
|
||||
|
||||
11:12:33 INFO Postgres is not running, starting postgres
|
||||
11:12:33 INFO /usr/lib/postgresql/11/bin/pg_ctl --pgdata /var/lib/postgresql/11/main --options "-p 5432" --options "-h *" --wait start
|
||||
11:12:33 INFO PostgreSQL started on port 5432
|
||||
11:12:33 INFO Drop replication slot "pgautofailover_standby"
|
||||
11:12:33 INFO Transition complete: current state is now "catchingup"
|
||||
11:12:33 INFO Calling node_active for node default/1/0 with current state: catchingup, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
11:12:38 INFO Calling node_active for node default/1/0 with current state: catchingup, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
11:12:43 INFO Calling node_active for node default/1/0 with current state: catchingup, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
11:12:48 INFO Calling node_active for node default/1/0 with current state: catchingup, PostgreSQL is running, sync_state is "", WAL delta is -1.
|
||||
11:12:48 INFO FSM transition from "catchingup" to "secondary": Convinced the monitor that I'm up and running, and eligible for promotion again
|
||||
11:12:48 INFO Transition complete: current state is now "secondary"
|
||||
11:12:48 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
11:12:53 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
11:12:58 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
11:13:03 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
```
|
||||
|
||||
可以看到 pg_auto_failover 偵測到了cluster node 有意異動,開始同步資料,然後切換角色,從primary變成了 secondary
|
||||
|
||||
|
||||
同一時間,在pg-slave 的訊息也有變動
|
||||
```
|
||||
03:12:34 INFO Calling node_active for node default/4/0 with current state: wait_primary, PostgreSQL is running, sync_state is "async", WAL delta is 0.
|
||||
03:12:39 INFO Calling node_active for node default/4/0 with current state: wait_primary, PostgreSQL is running, sync_state is "async", WAL delta is 0.
|
||||
03:12:45 INFO Calling node_active for node default/4/0 with current state: wait_primary, PostgreSQL is running, sync_state is "async", WAL delta is 0.
|
||||
03:12:50 INFO Calling node_active for node default/4/0 with current state: wait_primary, PostgreSQL is running, sync_state is "async", WAL delta is 0.
|
||||
03:12:50 INFO FSM transition from "wait_primary" to "primary": A healthy secondary appeared
|
||||
03:12:50 INFO Enabling synchronous replication
|
||||
03:12:50 INFO Transition complete: current state is now "primary"
|
||||
03:12:50 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
03:12:55 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
```
|
||||
|
||||
pg-slave 的狀態從原本的secondary 變成了 primary
|
||||
|
||||
來檢查看看
|
||||
```
|
||||
2019-09-20 03:19:04 [administrator@pg-slave ~]$ sudo runuser -l postgres -c "pg_autoctl show state"
|
||||
Name | Port | Group | Node | Current State | Assigned State
|
||||
-----------+--------+-------+-------+-------------------+------------------
|
||||
pg-primary | 5432 | 0 | 1 | secondary | secondary
|
||||
pg-slave | 5432 | 0 | 4 | primary | primary
|
||||
|
||||
2019-09-20 03:19:07 [administrator@pg-slave ~]$
|
||||
```
|
||||
|
||||
跟上面第一次執行的結果不同了,兩台角色互換了,這也是預期中的結果
|
||||
|
||||
那在pg-master 離線期間的異動資料呢?在 pg-master上查得到嗎?
|
||||
|
||||
先透過 URI存取DB 檢查看看
|
||||
|
||||
```
|
||||
2019-09-20 11:12:16 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "psql postgres://pg-slave:5432,pg-primary:5432/postgres?target_session_attrs=read-write"
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# \l
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
-------------+----------+-----------+---------+-------+-----------------------
|
||||
nexus | postgres | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
testdb_1058 | postgres | SQL_ASCII | C | C |
|
||||
testdb_1108 | postgres | SQL_ASCII | C | C |
|
||||
(6 rows)
|
||||
|
||||
postgres=# select * from testtbl_1108;
|
||||
serial
|
||||
--------
|
||||
999
|
||||
888
|
||||
77
|
||||
66
|
||||
55
|
||||
(5 rows)
|
||||
|
||||
postgres=#
|
||||
```
|
||||
|
||||
GOOD!看來資料也同步過來了
|
||||
|
||||
再來看看單機的狀態
|
||||
```
|
||||
2019-09-20 11:22:07 [administrator@pg-primary ~]$ sudo runuser -l postgres -c "psql"
|
||||
psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1))
|
||||
Type "help" for help.
|
||||
|
||||
postgres=# \l
|
||||
List of databases
|
||||
Name | Owner | Encoding | Collate | Ctype | Access privileges
|
||||
-------------+----------+-----------+---------+-------+-----------------------
|
||||
nexus | postgres | SQL_ASCII | C | C |
|
||||
postgres | postgres | SQL_ASCII | C | C |
|
||||
template0 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
template1 | postgres | SQL_ASCII | C | C | =c/postgres +
|
||||
| | | | | postgres=CTc/postgres
|
||||
testdb_1058 | postgres | SQL_ASCII | C | C |
|
||||
testdb_1108 | postgres | SQL_ASCII | C | C |
|
||||
(6 rows)
|
||||
|
||||
postgres=# select * from testtbl_1108;
|
||||
serial
|
||||
--------
|
||||
999
|
||||
888
|
||||
77
|
||||
66
|
||||
55
|
||||
(5 rows)
|
||||
|
||||
postgres=#
|
||||
```
|
||||
|
||||
很好,確認資料有正確的抄寫過來!
|
||||
|
||||
***
|
||||
|
||||
以上測試可以發現 pg_auto_failover 這個postgresql的extension 還真的很好用!
|
||||
|
||||
設定簡單、快速、方便,設定完成後也不用傷腦筋,反正有異常,會自動幫你搞定master-slave之間的主從關係
|
||||
|
||||
資料也都會自動同步好,真的是非常推薦啊!
|
||||
|
||||
UPDATE
|
||||
|
||||
#### 將 pg_auto_failover 用 systemd 管理
|
||||
|
||||
每次都要手動執行 pg_autoctl run 太麻煩了,應該用systemd 或者是 supervisor 來管理
|
||||
|
||||
而pg_auto_failover 有指令可以做成 systemd 的service 檔案
|
||||
|
||||
既然人家都做好了,當然就直接用 systemd 來做
|
||||
|
||||
執行以下指令,產生 systemd configuration
|
||||
|
||||
```
|
||||
sudo runuser -l postgres -c "pg_autoctl -q show systemd" | sudo tee /etc/systemd/system/pgautofailover.service
|
||||
```
|
||||
在/etc/systemd/system底下會多出一個 pgautofailover.service檔案
|
||||
|
||||
內容就是 pg_auto_failover 所提供的 systemd config
|
||||
|
||||
接下來就可以直接用 sudo service pgautofailover start 來啟動
|
||||
|
||||
沒有什麼問題,不過呢,這樣的作法,會在 /var/log/syslog 塞滿了 pg_auto_failover 的紀錄
|
||||
```
|
||||
Sep 20 14:59:34 pg-primary systemd[1]: Started pg_auto_failover.
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 INFO Found a stale pidfile at "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 WARN Removing the stale pid file "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 INFO pg_autoctl service is starting
|
||||
Sep 20 14:59:34 pg-primary pg_autoctl[7817]: 14:59:34 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 14:59:39 pg-primary pg_autoctl[7817]: 14:59:39 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 14:59:44 pg-primary pg_autoctl[7817]: 14:59:44 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 14:59:49 pg-primary pg_autoctl[7817]: 14:59:49 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 14:59:54 pg-primary pg_autoctl[7817]: 14:59:54 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 14:59:59 pg-primary pg_autoctl[7817]: 14:59:59 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:04 pg-primary pg_autoctl[7817]: 15:00:04 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:09 pg-primary pg_autoctl[7817]: 15:00:09 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:15 pg-primary pg_autoctl[7817]: 15:00:14 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:20 pg-primary pg_autoctl[7817]: 15:00:20 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:25 pg-primary pg_autoctl[7817]: 15:00:25 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:30 pg-primary pg_autoctl[7817]: 15:00:30 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:35 pg-primary pg_autoctl[7817]: 15:00:35 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:40 pg-primary pg_autoctl[7817]: 15:00:40 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:45 pg-primary pg_autoctl[7817]: 15:00:45 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:50 pg-primary pg_autoctl[7817]: 15:00:50 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:00:55 pg-primary pg_autoctl[7817]: 15:00:55 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:00 pg-primary pg_autoctl[7817]: 15:01:00 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:05 pg-primary pg_autoctl[7817]: 15:01:05 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:10 pg-primary pg_autoctl[7817]: 15:01:10 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:15 pg-primary pg_autoctl[7817]: 15:01:15 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:20 pg-primary pg_autoctl[7817]: 15:01:20 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:25 pg-primary pg_autoctl[7817]: 15:01:25 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:30 pg-primary pg_autoctl[7817]: 15:01:30 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:35 pg-primary pg_autoctl[7817]: 15:01:35 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:40 pg-primary pg_autoctl[7817]: 15:01:40 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:45 pg-primary pg_autoctl[7817]: 15:01:45 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:50 pg-primary pg_autoctl[7817]: 15:01:50 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:01:55 pg-primary pg_autoctl[7817]: 15:01:55 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:00 pg-primary pg_autoctl[7817]: 15:02:00 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:05 pg-primary pg_autoctl[7817]: 15:02:05 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:10 pg-primary pg_autoctl[7817]: 15:02:10 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:15 pg-primary pg_autoctl[7817]: 15:02:15 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:20 pg-primary pg_autoctl[7817]: 15:02:20 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:25 pg-primary pg_autoctl[7817]: 15:02:25 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:30 pg-primary pg_autoctl[7817]: 15:02:30 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:35 pg-primary pg_autoctl[7817]: 15:02:35 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:40 pg-primary pg_autoctl[7817]: 15:02:40 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:46 pg-primary pg_autoctl[7817]: 15:02:46 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:51 pg-primary pg_autoctl[7817]: 15:02:51 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:02:56 pg-primary pg_autoctl[7817]: 15:02:56 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:01 pg-primary pg_autoctl[7817]: 15:03:01 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:06 pg-primary pg_autoctl[7817]: 15:03:06 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:11 pg-primary pg_autoctl[7817]: 15:03:11 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:16 pg-primary pg_autoctl[7817]: 15:03:16 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:21 pg-primary pg_autoctl[7817]: 15:03:21 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:26 pg-primary pg_autoctl[7817]: 15:03:26 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:31 pg-primary pg_autoctl[7817]: 15:03:31 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:36 pg-primary pg_autoctl[7817]: 15:03:36 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:41 pg-primary pg_autoctl[7817]: 15:03:41 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:46 pg-primary pg_autoctl[7817]: 15:03:46 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:51 pg-primary pg_autoctl[7817]: 15:03:51 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:03:57 pg-primary pg_autoctl[7817]: 15:03:57 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:02 pg-primary pg_autoctl[7817]: 15:04:02 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:07 pg-primary pg_autoctl[7817]: 15:04:07 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:12 pg-primary pg_autoctl[7817]: 15:04:12 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:17 pg-primary pg_autoctl[7817]: 15:04:17 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:22 pg-primary pg_autoctl[7817]: 15:04:22 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:27 pg-primary pg_autoctl[7817]: 15:04:27 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:32 pg-primary pg_autoctl[7817]: 15:04:32 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:37 pg-primary pg_autoctl[7817]: 15:04:37 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:42 pg-primary pg_autoctl[7817]: 15:04:42 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:47 pg-primary pg_autoctl[7817]: 15:04:47 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
Sep 20 15:04:52 pg-primary pg_autoctl[7817]: 15:04:52 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
```
|
||||
|
||||
這樣下去不用多久,syslog 一定爆,而且嚴重干擾到其他的系統訊息
|
||||
|
||||
所以要修改一下 config ,把log 寫到另外的檔案去
|
||||
|
||||
在/etc/systemd/system/pgautofailover.service 加入底下兩行
|
||||
```
|
||||
StandardOutput=file:/var/log/pgautofailover.log
|
||||
StandardError=file:/var/log/pgautofailover-error.log
|
||||
```
|
||||
然後 sudo systemctl daemon-reload 接著重起 sudo service pgautofailover restart
|
||||
|
||||
就會把訊息都寫到 /var/log/pgautofailover.log , /var/log/pgautofailover-error.log
|
||||
|
||||
再用 logrotate 來管理就可以了
|
||||
|
||||
這個動作需要在三台node都執行
|
||||
|
||||
不過我在想應該是可以不要產生那麼多log ,只要紀錄 critical 就好了?來試試看加入 LogLevelMax=3 的效果
|
||||
|
||||
在 /etc/systemd/system/pgautofailover.service 檔案中的service 區段 加入
|
||||
```
|
||||
LogLevelMax=3
|
||||
```
|
||||
loglevel 的等級定義看這邊
|
||||
|
||||
https://www.ctrl.blog/entry/systemd-log-levels.html
|
||||
|
||||
|
||||
* emergency (0)
|
||||
* alert (1)
|
||||
* critical (2)
|
||||
* error (3)
|
||||
* warning (4)
|
||||
* notice (5)
|
||||
* info (6)
|
||||
* debug (7)
|
||||
|
||||
完成後,一樣執行
|
||||
|
||||
```
|
||||
sudo systemctl daemon-reload
|
||||
sudo service pgautofailover restart
|
||||
```
|
||||
看一下檔案內容,怎麼就沒有訊息了!
|
||||
```
|
||||
2019-09-20 15:23:15 [administrator@pg-primary ~]$ sudo tail -30 /var/log/pgautofailover.log
|
||||
15:14:22 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:27 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:32 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:37 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:42 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:47 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:52 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:14:57 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:02 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:07 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:12 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:17 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:22 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:27 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:32 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:37 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:42 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:47 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:52 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:15:58 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:03 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:08 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:13 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:18 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:23 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:28 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:34 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:39 INFO Calling node_active for node default/1/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 0.
|
||||
15:16:39 WARN Smart shutdown: received signal Terminated
|
||||
15:16:39 INFO pg_autoctl service stopping
|
||||
2019-09-20 15:23:29 [administrator@pg-primary ~]$
|
||||
```
|
||||
|
||||
可是我的服務活著啊!
|
||||
|
||||
```
|
||||
2019-09-20 15:23:29 [administrator@pg-primary ~]$ sudo service pgautofailover status
|
||||
● pgautofailover.service - pg_auto_failover
|
||||
Loaded: loaded (/etc/systemd/system/pgautofailover.service; disabled; vendor preset: enabled)
|
||||
Active: active (running) since Fri 2019-09-20 15:16:39 CST; 7min ago
|
||||
Main PID: 8611 (pg_autoctl)
|
||||
Tasks: 1 (limit: 2321)
|
||||
CGroup: /system.slice/pgautofailover.service
|
||||
└─8611 /usr/bin/pg_autoctl run
|
||||
|
||||
Sep 20 15:16:39 pg-primary systemd[1]: Started pg_auto_failover.
|
||||
2019-09-20 15:23:56 [administrator@pg-primary ~]$
|
||||
```
|
||||
|
||||
拿另一台來做實驗,先不要加入 loglevelmax=3 ,看看log到底長怎樣!
|
||||
|
||||
```
|
||||
2019-09-20 07:25:34 [administrator@pg-slave ~]$ sudo service pgautofailover stop
|
||||
2019-09-20 07:25:58 [administrator@pg-slave ~]$ sudo tail -10 /var/log/syslog
|
||||
Sep 20 07:25:32 pg-slave pg_autoctl[5840]: 07:25:32 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:37 pg-slave pg_autoctl[5840]: 07:25:37 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:42 pg-slave pg_autoctl[5840]: 07:25:42 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:47 pg-slave pg_autoctl[5840]: 07:25:47 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:52 pg-slave pg_autoctl[5840]: 07:25:52 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:57 pg-slave pg_autoctl[5840]: 07:25:57 INFO Calling node_active for node default/4/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
Sep 20 07:25:58 pg-slave systemd[1]: Stopping pg_auto_failover...
|
||||
Sep 20 07:25:58 pg-slave pg_autoctl[5840]: 07:25:58 WARN Smart shutdown: received signal Terminated
|
||||
Sep 20 07:25:58 pg-slave pg_autoctl[5840]: 07:25:58 INFO pg_autoctl service stopping
|
||||
Sep 20 07:25:58 pg-slave systemd[1]: Stopped pg_auto_failover.
|
||||
```
|
||||
|
||||
好吧,看不出有什麼差別! 直接把primary 關機測試! 結果還是看不出來 0rz
|
||||
|
||||
放棄加入loglevel 的想法,就用logrotate 來管理吧!
|
||||
|
||||
UPDATE
|
||||
|
||||
用systemd 來管理的作法失敗了,重起之後, pgautofailover 不會自動啟動...
|
||||
|
||||
找了很久找不出原因,改用 supervisor來做好了
|
||||
|
||||
***
|
||||
|
||||
#### 設定 supervisor
|
||||
|
||||
**安裝supervisor**
|
||||
```
|
||||
sudo apt install supervisor
|
||||
sudo vim /etc/supervisor/conf.d/pgautofailover.conf
|
||||
加入以下內容
|
||||
[program:pgautofailover]
|
||||
command = pg_autoctl run
|
||||
user = postgres
|
||||
autostart=true
|
||||
autorestart=true
|
||||
redirect_stderr = true
|
||||
environment=PGDATA=/var/lib/postgresql/11/main,HOME=/var/lib/postgresql
|
||||
```
|
||||
重新啟動 supervisor & 檢查狀態
|
||||
```
|
||||
2019-09-20 17:26:22 [administrator@pg-primary postgresql]$ sudo service supervisor restart
|
||||
2019-09-20 17:26:57 [administrator@pg-primary postgresql]$ sudo supervisorctl status
|
||||
pgautofailover RUNNING pid 14554, uptime 0:00:05
|
||||
2019-09-20 17:27:03 [administrator@pg-primary postgresql]$
|
||||
```
|
||||
檢查 supervisor log
|
||||
```
|
||||
2019-09-20 17:27:03 [administrator@pg-primary postgresql]$ sudo tail -30 /var/log/supervisor/pgautofailover-stdout---supervisor-5V8qET.log
|
||||
17:26:58 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
17:26:58 INFO Found a stale pidfile at "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
17:26:58 WARN Removing the stale pid file "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
17:26:58 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
17:26:58 INFO pg_autoctl service is starting
|
||||
17:26:58 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
17:27:03 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
17:27:08 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
17:27:13 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
17:27:18 INFO Calling node_active for node default/1/0 with current state: primary, PostgreSQL is running, sync_state is "sync", WAL delta is 0.
|
||||
2019-09-20 17:27:21 [administrator@pg-primary postgresql]$
|
||||
```
|
||||
|
||||
簡單多了 ... 在剩下的monitor/slave 也一樣操作安裝、設定supervisor 就可以了
|
||||
|
||||
喔,順便把剛剛新增的 systemd config 給砍了..
|
||||
|
||||
不過不砍也沒差,反正開機也不會自己啟動 = =+
|
||||
|
||||
```
|
||||
2019-09-20 17:24:17 [administrator@pg-slave ~]$ sudo rm -rf /etc/systemd/system/pgautofailover.service
|
||||
#安裝supervisor
|
||||
2019-09-20 17:23:08 [administrator@pg-slave ~]$ sudo apt install supervisor
|
||||
Reading package lists... Done
|
||||
Building dependency tree
|
||||
Reading state information... Done
|
||||
The following additional packages will be installed:
|
||||
python-meld3 python-pkg-resources
|
||||
Suggested packages:
|
||||
python-setuptools supervisor-doc
|
||||
The following NEW packages will be installed:
|
||||
python-meld3 python-pkg-resources supervisor
|
||||
0 upgraded, 3 newly installed, 0 to remove and 167 not upgraded.
|
||||
Need to get 415 kB of archives.
|
||||
After this operation, 2,138 kB of additional disk space will be used.
|
||||
Do you want to continue? [Y/n] y
|
||||
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
|
||||
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python-meld3 all 1.0.2-2 [30.9 kB]
|
||||
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 supervisor all 3.3.1-1.1 [256 kB]
|
||||
Fetched 415 kB in 0s (6,752 kB/s)
|
||||
Selecting previously unselected package python-pkg-resources.
|
||||
(Reading database ... 103586 files and directories currently installed.)
|
||||
Preparing to unpack .../python-pkg-resources_39.0.1-2_all.deb ...
|
||||
Unpacking python-pkg-resources (39.0.1-2) ...
|
||||
Selecting previously unselected package python-meld3.
|
||||
Preparing to unpack .../python-meld3_1.0.2-2_all.deb ...
|
||||
Unpacking python-meld3 (1.0.2-2) ...
|
||||
Selecting previously unselected package supervisor.
|
||||
Preparing to unpack .../supervisor_3.3.1-1.1_all.deb ...
|
||||
Unpacking supervisor (3.3.1-1.1) ...
|
||||
Processing triggers for ureadahead (0.100.0-20) ...
|
||||
Setting up python-meld3 (1.0.2-2) ...
|
||||
Setting up python-pkg-resources (39.0.1-2) ...
|
||||
Setting up supervisor (3.3.1-1.1) ...
|
||||
Created symlink /etc/systemd/system/multi-user.target.wants/supervisor.service → /lib/systemd/system/supervisor.service.
|
||||
Processing triggers for systemd (237-3ubuntu10.29) ...
|
||||
Processing triggers for man-db (2.8.3-2) ...
|
||||
Processing triggers for ureadahead (0.100.0-20) ...
|
||||
2019-09-20 17:23:37 [administrator@pg-slave ~]$ sudo vim /etc/supervisor/conf.d/pgautofailover.conf
|
||||
#貼上上面的 conf 內容
|
||||
2019-09-20 17:30:12 [administrator@pg-slave ~]$ sudo service supervisor restart
|
||||
2019-09-20 17:30:58 [administrator@pg-slave ~]$ sudo supervisorctl status
|
||||
pgautofailover RUNNING pid 2232, uptime 0:00:04
|
||||
2019-09-20 17:31:03 [administrator@pg-slave ~]$ sudo tail -30 /var/log/supervisor/pgautofailover-stdout---supervisor-LC_FG8.log
|
||||
17:30:59 INFO Managing PostgreSQL installation at "/var/lib/postgresql/11/main"
|
||||
17:30:59 INFO Found a stale pidfile at "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
17:30:59 WARN Removing the stale pid file "/tmp/pg_autoctl/var/lib/postgresql/11/main/pg_autoctl.pid"
|
||||
17:30:59 INFO The version of extenstion "pgautofailover" is "1.0" on the monitor
|
||||
17:30:59 INFO pg_autoctl service is starting
|
||||
17:30:59 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 320.
|
||||
17:31:04 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 320.
|
||||
17:31:09 INFO Calling node_active for node default/4/0 with current state: secondary, PostgreSQL is running, sync_state is "", WAL delta is 320.
|
||||
2019-09-20 17:31:13 [administrator@pg-slave ~]$
|
||||
```
|
||||
|
||||
搞定,收工!準備寫 ansible playbook!
|
||||
@@ -116,6 +116,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -140,10 +144,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,91 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-09-20</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/postgresql">postgresql</a>
|
||||
|
||||
<a href="/tags/failover">failover</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">
|
||||
@@ -819,90 +904,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -933,6 +934,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -957,10 +962,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -971,7 +972,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,11 +5,32 @@
|
||||
<link>https://h.cowbay.org/author/eric-chang/</link>
|
||||
<description>Recent content in Eric Chang on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 10 Sep 2019 14:37:09 +0800</lastBuildDate>
|
||||
<lastBuildDate>Fri, 20 Sep 2019 10:17:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</title>
|
||||
<link>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</guid>
|
||||
<description><p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</title>
|
||||
<link>https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/</link>
|
||||
|
||||
@@ -91,6 +91,90 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
@@ -813,83 +897,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -922,6 +929,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -946,10 +957,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -960,7 +967,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,83 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||
@@ -784,99 +861,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -909,6 +893,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -933,10 +921,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -947,7 +931,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,99 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||
@@ -889,6 +982,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -913,10 +1010,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -927,7 +1020,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
<hr>
|
||||
<ul id="all-categories">
|
||||
|
||||
<li><a href="/author/eric-chang">Eric chang (39)</a></li>
|
||||
<li><a href="/author/eric-chang">Eric chang (40)</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
@@ -121,6 +121,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -145,10 +149,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<item>
|
||||
<title>Eric Chang</title>
|
||||
<link>https://h.cowbay.org/author/eric-chang/</link>
|
||||
<pubDate>Tue, 10 Sep 2019 14:37:09 +0800</pubDate>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/author/eric-chang/</guid>
|
||||
<description></description>
|
||||
|
||||
@@ -350,6 +350,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -374,10 +378,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -388,7 +388,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
<li><a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a></li>
|
||||
|
||||
<li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a></li>
|
||||
<li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a></li>
|
||||
|
||||
<li><a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a></li>
|
||||
|
||||
@@ -133,6 +133,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -157,10 +161,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<item>
|
||||
<title>筆記</title>
|
||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
||||
<pubDate>Tue, 10 Sep 2019 14:37:09 +0800</pubDate>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid>
|
||||
<description></description>
|
||||
|
||||
@@ -191,6 +191,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -215,10 +219,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -193,6 +193,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -217,10 +221,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -180,6 +180,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -204,10 +208,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -193,6 +193,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -217,10 +221,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,91 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-09-20</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/postgresql">postgresql</a>
|
||||
|
||||
<a href="/tags/failover">failover</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">
|
||||
@@ -819,97 +904,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-07-31</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近有個任務,需要大量安裝client</p>
|
||||
|
||||
<p>想用PXE來處理,只要user開機按F12(acer 桌機) 選擇PXE Boot</p>
|
||||
|
||||
<p>然後選擇OS版本,就可以自動進行安裝</p>
|
||||
|
||||
<p>安裝完成後,會自動重新開機,接著就用ansible來做user環境設定</p>
|
||||
|
||||
<p>PXE的部份本來是沒有什麼問題,自動安裝系統的部份都做好了</p>
|
||||
|
||||
<p>可是因為這次的量比較多,想說讓每一台在完成PXE安裝後的第一次重開機</p>
|
||||
|
||||
<p>就送出一封郵件來通知我,說已經完成安裝,可以執行ansible 了</p>
|
||||
|
||||
<p>看似很簡單的一件事情,卻搞了我兩天….</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/pxe">PXE</a>
|
||||
|
||||
<a href="/tags/ubuntu">ubuntu</a>
|
||||
|
||||
<a href="/tags/linux">linux</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -940,6 +934,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -964,10 +962,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -978,7 +972,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,11 +5,32 @@
|
||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
||||
<description>Recent content in 筆記 on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 10 Sep 2019 14:37:09 +0800</lastBuildDate>
|
||||
<lastBuildDate>Fri, 20 Sep 2019 10:17:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</title>
|
||||
<link>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</guid>
|
||||
<description><p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</title>
|
||||
<link>https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/</link>
|
||||
|
||||
@@ -91,6 +91,97 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-07-31</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近有個任務,需要大量安裝client</p>
|
||||
|
||||
<p>想用PXE來處理,只要user開機按F12(acer 桌機) 選擇PXE Boot</p>
|
||||
|
||||
<p>然後選擇OS版本,就可以自動進行安裝</p>
|
||||
|
||||
<p>安裝完成後,會自動重新開機,接著就用ansible來做user環境設定</p>
|
||||
|
||||
<p>PXE的部份本來是沒有什麼問題,自動安裝系統的部份都做好了</p>
|
||||
|
||||
<p>可是因為這次的量比較多,想說讓每一台在完成PXE安裝後的第一次重開機</p>
|
||||
|
||||
<p>就送出一封郵件來通知我,說已經完成安裝,可以執行ansible 了</p>
|
||||
|
||||
<p>看似很簡單的一件事情,卻搞了我兩天….</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/pxe">PXE</a>
|
||||
|
||||
<a href="/tags/ubuntu">ubuntu</a>
|
||||
|
||||
<a href="/tags/linux">linux</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/remote-management-system-meshcentral/">
|
||||
@@ -795,85 +886,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/smartd-failed-to-start-in-freenas/">
|
||||
<img src="/images/post-default-2.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-12-13</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>這兩天在弄兩台Freenas ,準備當作Proxmox 的Storage & Server Backup</p>
|
||||
|
||||
<p>因為伺服器的限制,只能接六個SATA,我接了六個2T的硬碟做raid10</p>
|
||||
|
||||
<p>然後把Freenas 安裝在隨身碟上</p>
|
||||
|
||||
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/freenas">freenas</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -906,6 +918,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -930,10 +946,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -944,7 +956,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,85 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/smartd-failed-to-start-in-freenas/">
|
||||
<img src="/images/post-default-2.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/smartd-failed-to-start-in-freenas/">[筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-12-13</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>這兩天在弄兩台Freenas ,準備當作Proxmox 的Storage & Server Backup</p>
|
||||
|
||||
<p>因為伺服器的限制,只能接六個SATA,我接了六個2T的硬碟做raid10</p>
|
||||
|
||||
<p>然後把Freenas 安裝在隨身碟上</p>
|
||||
|
||||
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/smartd-failed-to-start-in-freenas/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/freenas">freenas</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/create-portable-vim-environment/">
|
||||
@@ -871,98 +950,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/enable-synology-public-ssh/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/enable-synology-public-ssh/">
|
||||
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>公司內有幾台NAS,其中有一台用來放開發人員的postgresql dump file
|
||||
之前都是主要的開發人員上傳到google drive,分享出來 ,然後其他人去抓回來</p>
|
||||
|
||||
<p>這樣子有個問題是,當server要存取這些檔案時,就沒辦法了,除非透過一些 3rd party的軟體
|
||||
像是這篇</p>
|
||||
|
||||
<p><a href="https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux">https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux</a></p>
|
||||
|
||||
<p>或者是這篇</p>
|
||||
|
||||
<p><a href="https://www.maketecheasier.com/mount-google-drive-ubuntu/">https://www.maketecheasier.com/mount-google-drive-ubuntu/</a></p>
|
||||
|
||||
<p>但是手邊的伺服器,原則上除非有必要,不然都沒有開放internet
|
||||
所以導致明明檔案就在那邊,但是要取得就是很麻煩</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/enable-synology-public-ssh/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/synology">synology</a>
|
||||
|
||||
<a href="/tags/nas">NAS</a>
|
||||
|
||||
<a href="/tags/ssh">SSH</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -974,6 +961,8 @@
|
||||
|
||||
<div class="paginator">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98/page/4/" class="older"><i class="fa fa-angle-double-left"></i> </a>
|
||||
|
||||
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||
@@ -993,6 +982,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -1017,10 +1010,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -1031,7 +1020,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
416
public/categories/筆記/page/4/index.html
Normal file
416
public/categories/筆記/page/4/index.html
Normal file
@@ -0,0 +1,416 @@
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="tw">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="Eric Chang">
|
||||
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||
<meta content="" name="keywords">
|
||||
<meta name="generator" content="Hugo 0.50" />
|
||||
<title> 筆記 | MCの飄狂山莊㊣</title>
|
||||
<meta name="description" content="筆記 - What’s the Worst That Could Happen?">
|
||||
<meta itemprop="name" content="筆記">
|
||||
<meta itemprop="description" content="筆記 - What’s the Worst That Could Happen?">
|
||||
<meta property="og:title" content="筆記">
|
||||
<meta property="og:description" content="筆記 - What’s the Worst That Could Happen?">
|
||||
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
|
||||
<meta property="og:url" content="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/">
|
||||
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
|
||||
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||
|
||||
|
||||
<link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||
<link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
</head>
|
||||
<body class="bilberry-hugo-theme">
|
||||
|
||||
<nav class="permanentTopNav">
|
||||
|
||||
<div class="container">
|
||||
<ul class="topnav">
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="search-box" class="search">
|
||||
<i class="fa fa-search"></i>
|
||||
<input id="search" type="text" placeholder="">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<a href="/" class="logo">
|
||||
|
||||
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||
|
||||
|
||||
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="titles">
|
||||
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||
|
||||
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="toggler permanentTopNav">
|
||||
|
||||
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="main container">
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/enable-synology-public-ssh/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/enable-synology-public-ssh/">
|
||||
<img src="https://i.imgur.com/jcDQmI1.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/enable-synology-public-ssh/">筆記- 啟用群暉NAS (Synology NAS)的SSH Server 透過Publickey 認證免密碼登入</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>公司內有幾台NAS,其中有一台用來放開發人員的postgresql dump file
|
||||
之前都是主要的開發人員上傳到google drive,分享出來 ,然後其他人去抓回來</p>
|
||||
|
||||
<p>這樣子有個問題是,當server要存取這些檔案時,就沒辦法了,除非透過一些 3rd party的軟體
|
||||
像是這篇</p>
|
||||
|
||||
<p><a href="https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux">https://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux</a></p>
|
||||
|
||||
<p>或者是這篇</p>
|
||||
|
||||
<p><a href="https://www.maketecheasier.com/mount-google-drive-ubuntu/">https://www.maketecheasier.com/mount-google-drive-ubuntu/</a></p>
|
||||
|
||||
<p>但是手邊的伺服器,原則上除非有必要,不然都沒有開放internet
|
||||
所以導致明明檔案就在那邊,但是要取得就是很麻煩</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/enable-synology-public-ssh/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/synology">synology</a>
|
||||
|
||||
<a href="/tags/nas">NAS</a>
|
||||
|
||||
<a href="/tags/ssh">SSH</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="paginator">
|
||||
|
||||
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98/page/3/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
|
||||
|
||||
<div class="recent-posts">
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/postgresql-backup-restore-using-zfs-snapshot/">[筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/backup-restore-postgresql-with-pgbackrest/">[筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman rsync/ssh backup 備份 postgresql 10 / backup postgresql 10 with pgbarman via ssh/rsync in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/pgbarman-in-ubuntu-1804-postgresql-10/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman streaming backup 備份 postgresql 10/ backup postgresql 10 with pgbarman straming backup in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="categories">
|
||||
<a href="/categories/"><strong></strong></a>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/linux">Linux (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ps">Ps (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="right">
|
||||
|
||||
<div class="external-profiles">
|
||||
<strong></strong>
|
||||
|
||||
|
||||
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||
|
||||
|
||||
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<div class="credits">
|
||||
<div class="container">
|
||||
<div class="copyright">
|
||||
<a href="https://github.com/Lednerb" target="_blank">
|
||||
©
|
||||
|
||||
2017
|
||||
|
||||
by Lednerb
|
||||
</a>
|
||||
-
|
||||
<a href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml">RSS</a>
|
||||
</div>
|
||||
<div class="author">
|
||||
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script type="application/javascript">
|
||||
var doNotTrack = false;
|
||||
if (!doNotTrack) {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', 'UA-138954876-1', 'auto');
|
||||
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||
|
||||
<script>
|
||||
$(".moment").each(function() {
|
||||
$(this).text(
|
||||
moment( $(this).text() )
|
||||
.locale( "tw" )
|
||||
.format('LL')
|
||||
);
|
||||
});
|
||||
|
||||
$(".footnote-return sup").html("");
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||
var index = client.initIndex("h_cowbay_org");
|
||||
|
||||
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||
[
|
||||
{
|
||||
|
||||
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||
|
||||
displayKey: function(suggestion) {
|
||||
return suggestion.title || suggestion.author
|
||||
},
|
||||
templates: {
|
||||
suggestion: function(suggestion) {
|
||||
return "<span class='entry " + suggestion.type + "'>"
|
||||
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||
+ "</span>"
|
||||
;
|
||||
},
|
||||
empty: function() {
|
||||
return "<span class='empty'></span>"
|
||||
},
|
||||
footer: function() {
|
||||
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
])
|
||||
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||
window.location = (suggestion.url);
|
||||
})
|
||||
.keypress(function (event, suggestion) {
|
||||
if (event.which == 13) {
|
||||
window.location = (suggestion.url);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -203,6 +203,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -227,10 +231,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -180,6 +180,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -204,10 +208,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -192,6 +192,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -216,10 +220,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -96,6 +96,93 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-09-20</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/postgresql">postgresql</a>
|
||||
|
||||
<a href="/tags/failover">failover</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">
|
||||
@@ -840,92 +927,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -957,6 +958,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -981,10 +986,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -995,7 +996,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -125,6 +125,13 @@
|
||||
"type": "tag",
|
||||
"url": "https://h.cowbay.org/tags/edgerouter"
|
||||
},
|
||||
{
|
||||
"iconClass": "fa-tag",
|
||||
"objectID": "https://h.cowbay.org/tags/failover",
|
||||
"title": "Failover",
|
||||
"type": "tag",
|
||||
"url": "https://h.cowbay.org/tags/failover"
|
||||
},
|
||||
{
|
||||
"iconClass": "fa-tag",
|
||||
"objectID": "https://h.cowbay.org/tags/firefox",
|
||||
|
||||
@@ -5,11 +5,32 @@
|
||||
<link>https://h.cowbay.org/</link>
|
||||
<description>Recent content on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 10 Sep 2019 14:37:09 +0800</lastBuildDate>
|
||||
<lastBuildDate>Fri, 20 Sep 2019 10:17:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</title>
|
||||
<link>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</guid>
|
||||
<description><p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</title>
|
||||
<link>https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/</link>
|
||||
|
||||
@@ -96,6 +96,92 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
@@ -834,85 +920,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -946,6 +953,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -970,10 +981,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -984,7 +991,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -96,6 +96,85 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||
@@ -805,101 +884,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -933,6 +917,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -957,10 +945,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -971,7 +955,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -96,6 +96,101 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||
@@ -911,6 +1006,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -935,10 +1034,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -949,7 +1044,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -416,6 +416,10 @@ TCP window size: 85.0 KByte (default)
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -440,10 +444,6 @@ TCP window size: 85.0 KByte (default)
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -454,7 +454,7 @@ TCP window size: 85.0 KByte (default)
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -216,6 +216,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -240,10 +244,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -298,6 +298,10 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -322,10 +326,6 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -336,7 +336,7 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -219,6 +219,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -243,10 +247,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -257,7 +257,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -274,6 +274,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -298,10 +302,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -330,6 +330,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -354,10 +358,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -368,7 +368,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -456,6 +456,10 @@ postgres@hqdc034:/zp/database$
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -480,10 +484,6 @@ postgres@hqdc034:/zp/database$
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -494,7 +494,7 @@ postgres@hqdc034:/zp/database$
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -597,6 +597,10 @@ postgres@hqdc075:~$
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -621,10 +625,6 @@ postgres@hqdc075:~$
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -635,7 +635,7 @@ postgres@hqdc075:~$
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -285,6 +285,10 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -309,10 +313,6 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -323,7 +323,7 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -259,6 +259,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -283,10 +287,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -322,6 +322,10 @@ Tue May 21 17:39:48 CST 2019
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -346,10 +350,6 @@ Tue May 21 17:39:48 CST 2019
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -360,7 +360,7 @@ Tue May 21 17:39:48 CST 2019
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -393,6 +393,10 @@ openssl s_client -showcerts -connect mail.example.com:465
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -417,10 +421,6 @@ openssl s_client -showcerts -connect mail.example.com:465
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -431,7 +431,7 @@ openssl s_client -showcerts -connect mail.example.com:465
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -217,6 +217,10 @@ GRANT a TO b;
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -241,10 +245,6 @@ GRANT a TO b;
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -255,7 +255,7 @@ GRANT a TO b;
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -230,6 +230,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -254,10 +258,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -285,6 +285,10 @@ traceroute to term.ptt.cc (104.31.231.9), 30 hops max, 60 byte packets
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -309,10 +313,6 @@ traceroute to term.ptt.cc (104.31.231.9), 30 hops max, 60 byte packets
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -323,7 +323,7 @@ traceroute to term.ptt.cc (104.31.231.9), 30 hops max, 60 byte packets
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -303,6 +303,10 @@ admin@storage:~$
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -327,10 +331,6 @@ admin@storage:~$
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -341,7 +341,7 @@ admin@storage:~$
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -250,6 +250,10 @@ root@pve:~#
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -274,10 +278,6 @@ root@pve:~#
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -288,7 +288,7 @@ root@pve:~#
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -273,6 +273,10 @@ unused devices: <none>
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -297,10 +301,6 @@ unused devices: <none>
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -311,7 +311,7 @@ unused devices: <none>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,91 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-09-20</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/postgresql">postgresql</a>
|
||||
|
||||
<a href="/tags/failover">failover</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">
|
||||
@@ -819,90 +904,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -933,6 +934,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -957,10 +962,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -971,7 +972,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,11 +5,32 @@
|
||||
<link>https://h.cowbay.org/post/</link>
|
||||
<description>Recent content in Posts on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 10 Sep 2019 14:37:09 +0800</lastBuildDate>
|
||||
<lastBuildDate>Fri, 20 Sep 2019 10:17:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/post/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</title>
|
||||
<link>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</guid>
|
||||
<description><p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</title>
|
||||
<link>https://h.cowbay.org/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/</link>
|
||||
|
||||
@@ -311,6 +311,10 @@ root@pve:~#
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -335,10 +339,6 @@ root@pve:~#
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -349,7 +349,7 @@ root@pve:~#
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -432,6 +432,10 @@ Aug 20 14:23:43 hqdc032 systemd[1]: Failed to start PostgreSQL Cluster 11-main.
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -456,10 +460,6 @@ Aug 20 14:23:43 hqdc032 systemd[1]: Failed to start PostgreSQL Cluster 11-main.
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -470,7 +470,7 @@ Aug 20 14:23:43 hqdc032 systemd[1]: Failed to start PostgreSQL Cluster 11-main.
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -775,6 +775,10 @@ sudo apt install joe-jupp
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -799,10 +803,6 @@ sudo apt install joe-jupp
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -813,7 +813,7 @@ sudo apt install joe-jupp
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -235,6 +235,10 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -259,10 +263,6 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -273,7 +273,7 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -321,6 +321,10 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -345,10 +349,6 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -359,7 +359,7 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -254,6 +254,10 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -278,10 +282,6 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -292,7 +292,7 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -478,6 +478,10 @@ root@sdvpn:~#
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -502,10 +506,6 @@ root@sdvpn:~#
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -516,7 +516,7 @@ root@sdvpn:~#
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -252,6 +252,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -276,10 +280,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,90 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
@@ -813,83 +897,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -922,6 +929,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -946,10 +957,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -960,7 +967,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,83 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-04-01</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/zfs">zfs</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||
@@ -784,99 +861,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -909,6 +893,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -933,10 +921,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -947,7 +931,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -91,6 +91,99 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||
<img src="/images/post-default-03.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-30</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||
|
||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||
|
||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||
|
||||
<p>所以一直沒有付諸行動。</p>
|
||||
|
||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||
|
||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||
|
||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||
|
||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||
|
||||
<p>今天就花了點時間測試一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/10g">10G</a>
|
||||
|
||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
<a href="/tags/mellanox">mellanox</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||
@@ -821,6 +914,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -845,10 +942,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -859,7 +952,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
1402
public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html
Normal file
1402
public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -342,6 +342,10 @@ barman@barman:~$
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -366,10 +370,6 @@ barman@barman:~$
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -380,7 +380,7 @@ barman@barman:~$
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -506,6 +506,10 @@ Deleted backup 20190822T171355 (start time: Fri Aug 23 09:36:43 2019, elapsed ti
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -530,10 +534,6 @@ Deleted backup 20190822T171355 (start time: Fri Aug 23 09:36:43 2019, elapsed ti
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -544,7 +544,7 @@ Deleted backup 20190822T171355 (start time: Fri Aug 23 09:36:43 2019, elapsed ti
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -607,6 +607,10 @@ postgres@hqdc034:~$
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -631,10 +635,6 @@ postgres@hqdc034:~$
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -645,7 +645,7 @@ postgres@hqdc034:~$
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -315,6 +315,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -339,10 +343,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -353,7 +353,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -282,6 +282,10 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -306,10 +310,6 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -320,7 +320,7 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -411,6 +411,10 @@ ip route add 192.168.112.0/24 dev wg0
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -435,10 +439,6 @@ ip route add 192.168.112.0/24 dev wg0
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -449,7 +449,7 @@ ip route add 192.168.112.0/24 dev wg0
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -215,6 +215,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -239,10 +243,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -265,6 +265,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -289,10 +293,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -303,7 +303,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -580,6 +580,10 @@ df -h
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -604,10 +608,6 @@ df -h
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -618,7 +618,7 @@ df -h
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -264,6 +264,10 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -288,10 +292,6 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -302,7 +302,7 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -327,6 +327,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -351,10 +355,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -365,7 +365,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -296,6 +296,10 @@ acl CONNECT method CONNECT
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -320,10 +324,6 @@ acl CONNECT method CONNECT
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@ acl CONNECT method CONNECT
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<sitemap>
|
||||
<loc>https://h.cowbay.org/tw/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2019-09-10T14:37:09+08:00</lastmod>
|
||||
<lastmod>2019-09-20T10:17:17+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
||||
@@ -205,6 +205,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -229,10 +233,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -545,6 +545,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -569,10 +573,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -583,7 +583,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -276,6 +276,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -300,10 +304,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -189,6 +189,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -213,10 +217,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -227,7 +227,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -203,6 +203,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -227,10 +231,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -197,6 +197,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -221,10 +225,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -188,6 +188,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -212,10 +216,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -278,6 +278,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -302,10 +306,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -190,6 +190,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -214,10 +218,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -205,6 +205,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -229,10 +233,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
407
public/tags/failover/index.html
Normal file
407
public/tags/failover/index.html
Normal file
@@ -0,0 +1,407 @@
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="tw">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="Eric Chang">
|
||||
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||
<meta content="" name="keywords">
|
||||
<meta name="generator" content="Hugo 0.50" />
|
||||
<title> Failover | MCの飄狂山莊㊣</title>
|
||||
<meta name="description" content="Failover - What’s the Worst That Could Happen?">
|
||||
<meta itemprop="name" content="Failover">
|
||||
<meta itemprop="description" content="Failover - What’s the Worst That Could Happen?">
|
||||
<meta property="og:title" content="Failover">
|
||||
<meta property="og:description" content="Failover - What’s the Worst That Could Happen?">
|
||||
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
|
||||
<meta property="og:url" content="https://h.cowbay.org/tags/failover/">
|
||||
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
|
||||
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||
|
||||
|
||||
<link href="https://h.cowbay.org/tags/failover/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||
<link href="https://h.cowbay.org/tags/failover/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
</head>
|
||||
<body class="bilberry-hugo-theme">
|
||||
|
||||
<nav class="permanentTopNav">
|
||||
|
||||
<div class="container">
|
||||
<ul class="topnav">
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="search-box" class="search">
|
||||
<i class="fa fa-search"></i>
|
||||
<input id="search" type="text" placeholder="">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<a href="/" class="logo">
|
||||
|
||||
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||
|
||||
|
||||
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="titles">
|
||||
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||
|
||||
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="toggler permanentTopNav">
|
||||
|
||||
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="main container">
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-09-20</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/postgresql">postgresql</a>
|
||||
|
||||
<a href="/tags/failover">failover</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="paginator">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
|
||||
|
||||
<div class="recent-posts">
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/postgresql-backup-restore-using-zfs-snapshot/">[筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/backup-restore-postgresql-with-pgbackrest/">[筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman rsync/ssh backup 備份 postgresql 10 / backup postgresql 10 with pgbarman via ssh/rsync in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/pgbarman-in-ubuntu-1804-postgresql-10/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman streaming backup 備份 postgresql 10/ backup postgresql 10 with pgbarman straming backup in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="categories">
|
||||
<a href="/categories/"><strong></strong></a>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/linux">Linux (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ps">Ps (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="right">
|
||||
|
||||
<div class="external-profiles">
|
||||
<strong></strong>
|
||||
|
||||
|
||||
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||
|
||||
|
||||
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<div class="credits">
|
||||
<div class="container">
|
||||
<div class="copyright">
|
||||
<a href="https://github.com/Lednerb" target="_blank">
|
||||
©
|
||||
|
||||
2017
|
||||
|
||||
by Lednerb
|
||||
</a>
|
||||
-
|
||||
<a href="https://h.cowbay.org/tags/failover/index.xml">RSS</a>
|
||||
</div>
|
||||
<div class="author">
|
||||
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script type="application/javascript">
|
||||
var doNotTrack = false;
|
||||
if (!doNotTrack) {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', 'UA-138954876-1', 'auto');
|
||||
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||
|
||||
<script>
|
||||
$(".moment").each(function() {
|
||||
$(this).text(
|
||||
moment( $(this).text() )
|
||||
.locale( "tw" )
|
||||
.format('LL')
|
||||
);
|
||||
});
|
||||
|
||||
$(".footnote-return sup").html("");
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||
var index = client.initIndex("h_cowbay_org");
|
||||
|
||||
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||
[
|
||||
{
|
||||
|
||||
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||
|
||||
displayKey: function(suggestion) {
|
||||
return suggestion.title || suggestion.author
|
||||
},
|
||||
templates: {
|
||||
suggestion: function(suggestion) {
|
||||
return "<span class='entry " + suggestion.type + "'>"
|
||||
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||
+ "</span>"
|
||||
;
|
||||
},
|
||||
empty: function() {
|
||||
return "<span class='empty'></span>"
|
||||
},
|
||||
footer: function() {
|
||||
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
])
|
||||
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||
window.location = (suggestion.url);
|
||||
})
|
||||
.keypress(function (event, suggestion) {
|
||||
if (event.which == 13) {
|
||||
window.location = (suggestion.url);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
public/tags/failover/index.xml
Normal file
35
public/tags/failover/index.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Failover on MCの飄狂山莊㊣</title>
|
||||
<link>https://h.cowbay.org/tags/failover/</link>
|
||||
<description>Recent content in Failover on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Fri, 20 Sep 2019 10:17:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/tags/failover/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</title>
|
||||
<link>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/pg_auto_failover_in_ubuntu_1804_psql_11/</guid>
|
||||
<description><p>最近都在弄postgresql</p>
|
||||
|
||||
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
||||
|
||||
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
||||
|
||||
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
||||
|
||||
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
||||
|
||||
<p>不過,反正當作練功嘛,多測試一套也不錯!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
1
public/tags/failover/page/1/index.html
Normal file
1
public/tags/failover/page/1/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><title>https://h.cowbay.org/tags/failover/</title><link rel="canonical" href="https://h.cowbay.org/tags/failover/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://h.cowbay.org/tags/failover/" /></head></html>
|
||||
@@ -195,6 +195,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -219,10 +223,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -191,6 +191,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -215,10 +219,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -122,6 +122,8 @@
|
||||
|
||||
<li><a href="/tags/edgerouter">Edgerouter (1)</a></li>
|
||||
|
||||
<li><a href="/tags/failover">Failover (1)</a></li>
|
||||
|
||||
<li><a href="/tags/firefox">Firefox (1)</a></li>
|
||||
|
||||
<li><a href="/tags/freenas">Freenas (1)</a></li>
|
||||
@@ -148,7 +150,7 @@
|
||||
|
||||
<li><a href="/tags/pgbarman">Pgbarman (2)</a></li>
|
||||
|
||||
<li><a href="/tags/postgresql">Postgresql (5)</a></li>
|
||||
<li><a href="/tags/postgresql">Postgresql (6)</a></li>
|
||||
|
||||
<li><a href="/tags/proxmox">Proxmox (1)</a></li>
|
||||
|
||||
@@ -203,6 +205,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -227,10 +233,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -241,7 +243,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -100,6 +100,15 @@
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Failover</title>
|
||||
<link>https://h.cowbay.org/tags/failover/</link>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/tags/failover/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Firefox</title>
|
||||
<link>https://h.cowbay.org/tags/firefox/</link>
|
||||
@@ -220,7 +229,7 @@
|
||||
<item>
|
||||
<title>Postgresql</title>
|
||||
<link>https://h.cowbay.org/tags/postgresql/</link>
|
||||
<pubDate>Tue, 10 Sep 2019 14:37:09 +0800</pubDate>
|
||||
<pubDate>Fri, 20 Sep 2019 10:17:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/tags/postgresql/</guid>
|
||||
<description></description>
|
||||
|
||||
@@ -197,6 +197,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -221,10 +225,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -724,6 +724,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -748,10 +752,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -762,7 +762,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -191,6 +191,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -215,10 +219,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -193,6 +193,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -217,10 +221,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -205,6 +205,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -229,10 +233,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -197,6 +197,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -221,10 +225,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -195,6 +195,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -219,10 +223,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -295,6 +295,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a>
|
||||
</li>
|
||||
@@ -319,10 +323,6 @@
|
||||
<a href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -333,7 +333,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (30)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (31)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user