Skip to main content

Posts

Showing posts with the label apache

Chef: Roles and Environments

Bootstrap another node with your chef-server. If you get the following error: Failed to read the private key /etc/chef/validation.pem: # In the same error logs you will see a line: Delete your validation key in order to use your user credentials instead Please check that you don't have any validation.pem key in /etc/chef, if any, then delete it. You can verify by executing one of the following: knife client list knife node show chef-node2 Create a new cookbook postgresql: chef generate cookbook cookbooks/postgresql Edit cookbooks/postgresql/recipes/default.rb [code] package 'postgresql-server' do notifies :run, 'execute[postgresql-init]' end execute 'postgresql-init' do command 'postgresql-setup initdb' action :nothing end service 'postgresql' do action [:enable, :start] end <span data-mce-type="bookmark" id="mce_SELREST_start" data-mce-style="overflow:h...

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

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