This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| core@etcd2 ~ $ /opt/bin/etcd --version | |
| etcd version 2.0.3 | |
| core@etcd2 ~ $ /opt/bin/etcd --name etcd2 --data-dir /var/lib/etcd --advertise-client-urls http://192.168.12.52:2379 --listen-client-urls http://192.168.12.52:2379 --initial-advertise-peer-urls http://192.168.12.52:2380 --listen-peer-urls http://192.168.12.52:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster etcd0=http://192.168.12.50:2380,etcd1=http://192.168.12.51:2380,etcd2=http://192.168.12.52:2380 --initial-cluster-state new | |
| 2015/02/18 23:59:02 starter: please set --data-dir or ETCD_DATA_DIR for etcd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: flannel.service | |
| command: start | |
| content: | | |
| [Unit] | |
| After=network-online.target | |
| Wants=network-online.target | |
| Description=flannel is an etcd backed overlay network for containers | |
| [Service] | |
| Type=notify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: flannel.service | |
| command: start | |
| content: | | |
| [Unit] | |
| After=network-online.target | |
| Wants=network-online.target | |
| Description=flannel is an etcd backed overlay network for containers | |
| [Service] | |
| Type=notify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: etcd.service | |
| command: start | |
| content: | | |
| [Unit] | |
| Description=etcd | |
| [Service] | |
| User=etcd | |
| PermissionsStartOnly=true | |
| ExecStartPre=/usr/bin/wget -N -P /opt/bin http://192.168.0.1:8080/etcd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feb 27 15:01:43 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:01:42 rafthttp: client streaming to bf619fb87ac73ad6 at term 250 has been stopped | |
| Feb 27 15:02:09 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft: 6adb824079f8c80c is starting a new election at term 251 | |
| Feb 27 15:02:10 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft: 6adb824079f8c80c became candidate at term 252 | |
| Feb 27 15:02:10 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft: 6adb824079f8c80c received vote from 6adb824079f8c80c at term 252 | |
| Feb 27 15:02:10 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft: 6adb824079f8c80c [logterm: 251, index: 3419425] sent vote request to | |
| Feb 27 15:02:10 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft: 6adb824079f8c80c [logterm: 251, index: 3419425] sent vote request to | |
| Feb 27 15:02:10 ip-10-0-2-183.ec2.internal docker[633]: 2015/02/27 15:02:06 raft.node: 6adb824079f8c80c lost leader cb80322dee76319a at term 252 | |
| Feb 27 15: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo netstat -pantl | |
| Active Internet connections (servers and established) | |
| Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name | |
| tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 489/systemd-resolve | |
| tcp 0 0 10.240.21.79:55374 169.254.169.254:80 TIME_WAIT - | |
| tcp 0 0 10.240.21.79:55371 169.254.169.254:80 TIME_WAIT - | |
| tcp 0 0 10.240.21.79:55365 169.254.169.254:80 TIME_WAIT - | |
| tcp 0 0 10.240.21.79:55323 169.254.169.254:80 ESTABLISHED 18492/python2.7 | |
| tcp6 0 0 :::4001 :::* LISTEN 18817/etcd | |
| tcp6 0 0 :::5355 :::* LISTEN 489/systemd-resolve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "192.168.12.100", | |
| "kind": "Minion", | |
| "apiVersion": "v1beta1", | |
| "resources": { | |
| "capacity": { | |
| "cpu": 1000, | |
| "memory": 1073741824 | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "SnapshotCount": 1000, | |
| "Members": [ | |
| { | |
| "Name": "etcd", | |
| "ClientIp": "10.240.21.79", | |
| "PeerIp": "10.240.21.79" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data_dir": "/var/lib/etcd", | |
| "snapshot_count": 1000, | |
| "members": [ | |
| { | |
| "name": "etcd", | |
| "client_ip": "10.240.21.79", | |
| "peer_ip": "10.240.21.79" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| coreos: | |
| fleet: | |
| etcd_servers: http://192.168.12.10:2379 | |
| metadata: role=node | |
| units: |