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
apt-get update | |
apt-get install -y unzip libaio1 linux-image-4.2.0-30-generic linux-headers-4.2.0-30-generic | |
unzip /vagrant/ScaleIO_2.0.0_UBUNTU_14.04_Download.zip | |
cd ScaleIO_2.0.0_UBUNTU_14.04_Download/ | |
tar -xvf EMC-ScaleIO-sdc-2.0-5014.0.Ubuntu.14.04.x86_64.tar | |
./siob_extract EMC-ScaleIO-sdc-2.0-5014.0.Ubuntu.14.04.x86_64.siob | |
MDM_IP=mdm_ip1,mdm_ip2 dpkg -i EMC-ScaleIO-sdc-2.0-5014.0.Ubuntu.14.04.x86_64.deb |
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
// Create a Polly host and a Docker engine host | |
docker-machine create --driver=virtualbox --virtualbox-cpu-count=2 polly | |
eval $(docker-machine env polly) | |
docker-machine create --driver=virtualbox agent1 | |
// Install and configure Polly. Edit the user_name for your own valid path for new volumes of VirtualBox. | |
for each in $(echo -e "polly\n"); do docker-machine ssh $each "curl -sSL https://dl.bintray.com/emccode/polly/install | sh -s stable" ; done | |
for each in $(echo -e "polly\n"); do docker-machine ssh $each "sudo tee -a /etc/polly/config.yml << EOF | |
polly: |
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
// Create a Polly host and a Docker engine host | |
docker-machine create --driver=virtualbox agent1 | |
// Install and configure Docker engine host with REX-Ray talking to Polly | |
for each in $(echo -e "agent1\n"); do docker-machine ssh $each "curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s unstable" ; done | |
for each in $(echo -e "agent1\n"); do docker-machine ssh $each "sudo tee -a /etc/rexray/config.yml << EOF | |
rexray: | |
modules: | |
default-docker: |
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
cat /etc/rexray/config.yml | |
rexray: | |
modules: | |
default-docker: | |
host: unix:///run/docker/plugins/virtualbox.sock | |
spec: /etc/docker/plugins/virtualbox.spec | |
libstorage: | |
service: virtualbox | |
scaleio-docker: | |
type: docker |
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
kernel: | |
image: "linuxkit/kernel:4.9.x" | |
cmdline: "console=ttyS0 console=tty0 page_poison=1" | |
init: | |
- linuxkit/init:63eed9ca7a09d2ce4c0c5e7238ac005fa44f564b | |
- linuxkit/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9 | |
- linuxkit/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b | |
- linuxkit/ca-certificates:e091a05fbf7c5e16f18b23602febd45dd690ba2f | |
onboot: | |
- name: sysctl |
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
{ | |
"Args": { | |
"Description": "", | |
"Name": "", | |
"Settable": null, | |
"Value": null | |
}, | |
"Description": "REX-Ray for NFS", | |
"Documentation": "https://github.com/codedellemc/rexray/.docker/plugins/csi-nfs", | |
"Entrypoint": [ |
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
FROM alpine:3.6 | |
RUN apk update | |
RUN apk add ca-certificates nfs-utils | |
RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 | |
RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/rexray/volumes | |
ADD rexray /usr/bin/rexray | |
ADD rexray.yml /etc/rexray/rexray.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
INFO[0000] DockerLegacyMode enabled=false time=1507909004378 | |
DEBU[0000] trapped signals time=1507909004378 | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909004378 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909004378 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1507909004378 userConfigFileExists=false userConfigFilePath |
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
INFO[0000] DockerLegacyMode enabled=false time=1507909066091 | |
DEBU[0000] trapped signals time=1507909066091 | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909066091 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909066092 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1507909066092 userConfigFileExists=false userConfigFilePath |
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@ip-172-31-24-81:/home/ubuntu# REXRAY_DEBUG=true rexray start -s ebs & | |
[1] 11271 | |
root@ip-172-31-24-81:/home/ubuntu# INFO[0000] DockerLegacyMode enabled=false time=1507909297072 | |
DEBU[0000] trapped signals time=1507909297072 | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909297072 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909297072 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml | |
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false global |