3. About Canonical London, Boston, Taipei, Shanghai, Montreal, São Paolo, Isle of Man Established in 2004 500 people To bring Ubuntu to the world Where When Who Why
11. Ubuntu cloud is the foundation OS for Openstack. Next 24 moths will see huge growth in Private and public clouds based on Ubuntu + Openstack Volume server Cloud
55. name: mongodb summary: An object/document-oriented database (metapackage) description: | MongoDB is a high-performance, open source, schema-free document- oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : * Collection oriented storage - easy storage of object- style data * Full index support, including on inner objects * Query profiling * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) * Auto-sharding for cloud-level scalability (Q209) High performance, scalability, and reasonable depth of functionality are the goals for the project. This is a metapackage that depends on all the mongodb parts. provides: database: interface: mongodb peers: replica-set: interface: mongodb-replica-set
56. install #!/bin/bash # Here do anything needed to install the service # i.e. apt-get install -y foo or bzr branch http://myserver/mycode /srv/webroot set -ux ############################################################################################################ # Install some utility packages needed for installation ############################################################################################################ DEBIAN_FRONTEND=noninteractive apt-get -y install facter facter-customfacts-plugin ############################################################################################################ # Set some variables that we'll need for later ############################################################################################################ DEFAULT_REPLSET_NAME=`config-get replicaset` HOSTNAME=`hostname -f` EPOCH=`date +%s` fact-add install-time ${EPOCH} WEB_ADMIN_UI=`config-get web_admin_ui` ############################################################################################################ # Install mongodb ############################################################################################################ DEBIAN_FRONTEND=noninteractive apt-get install -y mongodb … .. start service mongodb start stop service mongodb stop replica-set-relation-joined #!/bin/bash # This must be renamed to the name of the relation. The goal here is to # affect any change needed by relationships being formed # This script should be idempotent. set -ux DEFAULT_REPLSET_NAME=`config-get replicaset` ############################################################################################################ # Reconfigure the upstart script to include the replica-set option. # We'll need this so, when we add nodes, they can all talk to each other. # Replica sets can only talk to each other if they all belong to the same # set. In our case, we have defaulted to "myset". ############################################################################################################ grep "${DEFAULT_REPLSET_NAME}" /etc/init/mongodb.conf || sed -i -e "s/ -- / -- --replSet ${DEFAULT_REPLSET_NAME} /" /etc/init/mongodb.conf … . replica-set-relation-changed
The fact that Ubuntu is preferred as a development environment leads to it being the favoured deployment environment (no migration cost) Ubuntu strategy of freely available yet supported has propelled it into this position.
* Wikipedia's architecture has a lot of relationships * Adding 100 of each type isn't hard anymore – thank you config management. * Getting them to work together is still a challenge.