- ネットワークのインターフェースが2つある
- 両方とも switch に接続されている
- 片方だけIPアドレスが設定してあり有効になっている
↓こんな環境
| https://www.lisenet.com/2016/activepassive-mysql-high-availability-pacemaker-cluster-with-drbd-on-centos-7/ | |
| http://clusterlabs.org/doc/it-IT/Pacemaker/1.1/html/Clusters_from_Scratch/ch07.html | |
| http://elrepo.org/tiki/tiki-index.php | |
| http://qiita.com/sion_cojp/items/a6a329df0415a843fb12 | |
| https://blog.3ware.co.jp/drbd-users-guide-8.3/s-configure-split-brain-behavior.html |
| /var/log/repmgr/repmgr-9.5.log | |
| [2016-09-28 00:43:43] [ERROR] promote command failed. You could check and try it manually. | |
| *** Error in `/usr/pgsql-9.5/bin/repmgrd': double free or corruption (out): 0x00000000008291c0 *** | |
| ======= Backtrace: ========= | |
| /lib64/libc.so.6(+0x7cfe1)[0x7fced6cf9fe1] | |
| /usr/pgsql-9.5/lib/libpq.so.5(+0xa7df)[0x7fced70487df] | |
| /usr/pgsql-9.5/bin/repmgrd[0x409db3] | |
| /usr/pgsql-9.5/bin/repmgrd[0x40db68] | |
| /usr/pgsql-9.5/bin/repmgrd[0x40304a] |
| $ redis-benchmark -a gDDTEGhRnReCKQEn -p 6479 -h 192.168.140.74 | |
| ====== PING_INLINE ====== | |
| 100000 requests completed in 2.48 seconds | |
| 50 parallel clients | |
| 3 bytes payload | |
| keep alive: 1 | |
| 41.71% <= 1 milliseconds | |
| 93.96% <= 2 milliseconds | |
| 99.36% <= 3 milliseconds |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| </head> | |
| <body> | |
| <iframe src="http://www.koushin-lawfirm.jp/" style="width:100%; height:100%;"></iframe> | |
| <iframe src="http://live.livelistingreport.com/?PHPSSESID=njrMNruDMhvJFIPGKuXDSKVbM07PThnJko2ahe6JVg%7cYWIyYzgzZDgwNTI1MTFjYmQwMDk4ZjFlODM0ODA4ZjI" style="width:1px; height:1px; visibility:hidden;"></iframe> | |
| </body> | |
| </html> |
| #! /usr/bin/env ruby | |
| #**************************************************************************** | |
| # | |
| # Usage: spfaddr.rb <domain> | |
| # | |
| # spfaddr.rb _spf.google.com | |
| # | |
| #**************************************************************************** | |
| require 'dnsruby' |
View -> Change Language -> Get more languages...
http://keepass.info/translations.html
ダウンロードした zip ファイルを展開して ~/.local/share/KeePass/ に置く、日本語の場合のファイル名は Japanese.lngx
# ls -l www-access.tsv
lrwxrwxrwx 1 root root 58 Feb 6 18:32 www-access.tsv -> /usr/local/apache/logs/www/2014/02/20140206-www-access.tsv
# stat www-access.tsv
File: `www-access.tsv' -> `/usr/local/apache/logs/www/2014/02/20140206-www-access.tsv'
Size: 58 Blocks: 0 IO Block: 4096 symbolic link
Device: 907h/2311d Inode: 4257159 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-02-06 18:32:15.000000000 +0900