Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

##install (mac) and start docker

to run a 10 node orcm cluster: --nodes 10

slightly more advanced options, bind our own orcm config into conatiners as well as a shared home directory and dont run the database: --nodes 10 --conf /root/orcm-site.xml --nodb --home /home --nodes 10 --conf /root/orcm-site.xml --nodb --home /home --shell

see for more Docker/ORCM discussion

500 nodes are already defined in the config (node001 - node500), so just add more to the above argument to test more endpoints

This setup includes the postgres server hosting the collect sensor data. The image contains the postgres client, to query the data: --dbcli

will output the command needed to run the db interface.
now run the query:

select node.hostname,
from data_sample
          inner join node on
              node.node_id = data_sample.node_id
          inner join data_item on
              data_item.data_item_id = data_sample.data_item_id;

stop and remove all containers: --clean

stop all containers: docker stop $(docker ps -a -q)

remove all conatiners: docker rm $(docker ps -a -q)

stop docker: boot2docker stop


  • VPN deletes routes and makes it so that we can't connect to the VM. Results in an error message like this:
    2014/10/06 13:09:03 Get dial tcp operation timed out
    to fix:
    sudo route -n add -net -interface $(VBoxManage showvminfo boot2docker-vm --machinereadable | grep hostonlyadapter | cut -d '"' -f 2)

add proxy into docker VM:

ssh to docker: boot2docker ssh

edit profile: sudo vi /var/lib/boot2docker/profile

add these lines:

export HTTP_PROXY=<your proxy server:port>
export HTTPS_PROXY=<your proxy server:port>

restart docker: sudo /etc/init.d/docker restart


Docker Pull Command

Comments (0)