Skip to main content

Posts

Apache Mesos

mesos is private cloud for your data center. Use available resources in existing cluster. mesos is less like an cluster management but more like a kernel. mesos is a distributed system kernel. so this containers will scale up and down as required. zookeeper elects new master/scheduler timeout is also used to kill the master/scheduler. so if the master/scheduler that failed does not reconnect in the threshold period you will just kill all of the tasks pending there

Docker

if you and your friend have vm and want to sync up you may have to transfer 20gb of file. but with docker docker diff to check the difference then docker commit then docker push which will only be the change. docker containers: are actual containers running the applications and includes os, user added files, and meta data docker images: helps to launch docker containers docker file: is a file containing instructions that help automate image creation layer: each file system that is stacked when docker mounts rootfs. Install docker using: sudo rpm install docker docker commands: docker pull: pull a pre-built image from public repos docker run: run in 3 modes background,foreground,interactive docker logs: logs of running logs docker commit: save container state docker images: list of all images docker diff: changes in files and directories docker build: build docker images from dockerfiles docker inspect: low level info about containers docker attach: interact with running container doc...

Openstack

  http://docs.openstack.org/juno/install-guide/install/apt/content/ch_overview.html please go through this  https://www.rdoproject.org/install/quickstart/ https://radez.fedorapeople.org/

Java

for(int x[]: nums) { Notice how x is declared. It is a reference to a one-dimensional array of integers. This is necessary because each iteration of the for obtains the next array in nums, beginning with the array specified by nums[0]. The inner for loop then cycles through each of these arrays, displaying the values of each element. Java supports three jump statements: break, continue, and return. These statements transfer control to another part of your program. Each is examined here. NOTE In addition to the jump statements discussed here, Java supports one other way that you can change your program’s flow of execution: through exception handling. Exception handling provides a structured method by which run-time errors can be trapped and handled by your program. It is supported by the keywords try, catch, throw, throws, and finally. Using break as a Form of Goto In addition to its uses with the switch statement and loops, the break statement can also be employed by itself to provide ...

Cloud Foundry Part 2

http://pivotal.io/platform gem install vmc vmc target api.cloudfoundry.com vmc passwd to change password vmc login to login vmc info vmc push vmc instances myfoo +10 to add 10 machines vmc instances myfoo -10 you can use micro cloud foundry  ---very interesting cloud foundry very interesting  

Cloud Foundry Part 1

cloud foundry: automatic deployment of applications. It has BOSH which communicates with the infrastructure and ensures that the systems are up aand running, health monitoring. docker hit memory for some accounting bu can be disab