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
[root@ose3-ansible-host2 ~]# while [ 1 ]; do curl stretch-haproxy.stretch.e2e.bos.redhat.com && sleep 2;done | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 | |
stretch-infra-2 |
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
[root@ose3-ansible-host2 ~]# curl stretch-haproxy.stretch.e2e.bos.redhat.com | |
stretch-infra-2 | |
[root@ose3-ansible-host2 ~]# curl stretch-haproxy.stretch.e2e.bos.redhat.com | |
stretch-infra-2 | |
[root@ose3-ansible-host2 ~]# curl stretch-haproxy.stretch.e2e.bos.redhat.com | |
stretch-infra-2 | |
[root@ose3-ansible-host2 ~]# curl stretch-haproxy.stretch.e2e.bos.redhat.com | |
stretch-infra-1 | |
[root@ose3-ansible-host2 ~]# curl stretch-haproxy.stretch.e2e.bos.redhat.com | |
stretch-infra-0 |
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
$ORIGIN apps.stretch.e2e.bos.redhat.com. | |
* A 10.19.114.20 | |
A 10.19.114.21 | |
$ORIGIN stretch.e2e.bos.redhat.com. | |
stretch-master-0 A 10.19.114.6 | |
stretch-master-1 A 10.19.114.7 | |
stretch-master-2 A 10.19.114.17 | |
stretch-infra-0 A 10.19.114.8 | |
stretch-infra-1 A 10.19.114.9 | |
stretch-infra-2 A 10.19.114.13 |
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
DEVICE=bond0 | |
IPADDR=192.168.0.1 | |
NETMASK=255.255.255.0 | |
ONBOOT=yes | |
HOTPLUG=no | |
BOOTPROTO=none | |
USERCTL=no | |
NM_CONTROLLED=no | |
BONDING_OPTS="mode=4 miimon=100 |
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
[root@master-0 ~]# docker info | |
Containers: 0 | |
Running: 0 | |
Paused: 0 | |
Stopped: 0 | |
Images: 0 | |
Server Version: 1.12.6 | |
Storage Driver: devicemapper | |
Pool Name: docker-253:0-67399977-pool | |
Pool Blocksize: 65.54 kB |
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
[OSEv3:children] | |
ansible | |
masters | |
etcd | |
apps | |
infras | |
nodes | |
haproxy | |
nfs |
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: run pre-reqs | |
import_playbook: /root/git/openshift-ansible-contrib-3.7/reference-architecture/vmware-ansible/openshift-ansible/playbooks/prerequisites.yml | |
- name: call openshift includes for installer | |
import_playbook: /root/git/openshift-ansible-contrib-3.7/reference-architecture/vmware-ansible/openshift-ansible/playbooks/deploy_cluster.yml |
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
[root@master-0 ~]# oc get nodes -o wide | |
NAME STATUS ROLES AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME | |
app-0 Ready <none> 10d v1.9.1+a0ce1bc657 10.19.114.244 Unknown 3.10.0-693.el7.x86_64 docker://1.12.6 | |
infra-0 Ready <none> 10d v1.9.1+a0ce1bc657 10.19.114.245 Unknown 3.10.0-693.el7.x86_64 docker://1.12.6 | |
master-0 Ready master 10d v1.9.1+a0ce1bc657 10.19.114.241 Unknown 3.10.0-693.el7.x86_64 docker://1.12.6 | |
master-1 Ready master 10d v1.9.1+a0ce1bc657 10.19.114.242 Unknown 3.10.0-693.el7.x86_64 docker://1.12.6 | |
master-2 Ready master 10d v1.9.1+a0ce1bc657 10.19.114.243 Unknown 3.10.0-693.el7.x86_64 docker://1.12.6 |
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
[root@master-0 ~]# oc get nodes -o wide | |
NAME STATUS AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION | |
app-0 Ready 58d v1.6.1+5115d708d7 172.17.0.1 Unknown 3.10.0-693.el7.x86_64 | |
app-1 Ready 58d v1.6.1+5115d708d7 172.17.0.1 Unknown 3.10.0-693.el7.x86_64 | |
app-2 Ready 58d v1.6.1+5115d708d7 172.17.0.1 Unknown 3.10.0-693.el7.x86_64 | |
app-3 Ready 58d v1.6.1+5115d708d7 172.17.0.1 Unknown 3.10.0-693.el7.x86_64 | |
infra-0 Ready 58d v1.6.1+5115d708d7 fe80::f47e:c1ff:fe23:e96b Unknown 3.10.0-693.el7.x86_64 | |
master-0 Ready,SchedulingDisabled 58d v1.6.1+5115d708d7 172.17.0.1 Unknown 3.10.0-693.el7.x86_64 |
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
Here's a tricky one! What will the following program print out? | |
package main | |
import "fmt" | |
func main() { | |
name := "Bill" | |
fmt.Println(*&name) |