Nicira + Opscode Chef: The Journey to an OpenStack Cloud

Nicira and OpsCode partnered to build an OpenStack cloud at VMware. In this webinar we’ll have the opportunity to get some insight about it. It allows their team to build location independant labs in 50 seconds, provisionned from a self service portal. Principal driver: cost, agility and speed. Operational Efficiency and business velocity were going down due to the inherent complexity of their infrastructure but after the implementation of cloud automation tricks, it all inversed. ...

December 21, 2012 · 5 min · planetrobbie

Suse Cloud conference - part 1

Julien Niedergang, is a pre-sales SUSE engineer, curious about OpenStack, he presented SUSE strategy and solutions based on Crowbar, Chef and OpenStack. Look into the past 1960-1980 Time sharing Atomic bomb, end of lamps in computing. Bull in 1956 patents time sharing. Mainframes, computing is more and more necessary to achieve big projects. IBM 370 were essential for Apollo project. In 1980, big companies purchase their supercomputer and families get access to computing too. ...

December 12, 2012 · 2 min · planetrobbie

HP Cloud cheatsheet

HP recently launched their public cloud computing services based on OpenStack. In this article we will details some tips & tricks to efficiently use their services with Opscode Chef. Install Chef and Knife Plugin for HP Cloud $ gem install chef $ gem install knife-hp gather information regarding your HP Cloud Account: Access Key ID, Secret Key, Tenant ID and Availability Zone (az1, az2 or az3) $ vi chef-repo/.chef/knife.rb #add the following lines knife[:hp_account_id] = "Your HP Cloud Access Key ID" knife[:hp_secret_key] = "Your HP Cloud Secret Key" knife[:hp_tenant_id] = "Your HP Cloud Tenant ID" knife[:hp_auth_uri] = "https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens" knife[:hp_avl_zone] = "az1" #do not pass any Availability Zone if working with az3 or it won't work $ knife hp image list -VV [to test credentials] Install HP Fog, HP CLI & Setup account $ curl -sL https://docs.hpcloud.com/file/hpfog-0.0.17.gem >hpfog-0.0.17.gem $ gem install hpfog-0.0.17.gem $ curl -sL https://docs.hpcloud.com/file/hpcloud-1.2.0.gem >hpcloud-1.2.0.gem $ gem install hpcloud-1.2.0.gem $ hpcloud account:setup Create SSH key pairs $ ssh-keygen # generate .ssh/id_rsa and .ssh/id_rsa.pub [back them up !!!] Add keypair to HP Cloud paste public key to HP Cloud ...

November 14, 2012 · 2 min · planetrobbie

OpenStack Cloud Architecture

Cheatsheet created from Cybera blog. Recommended Hardware 2 x 10gb Nics 2 x CPU Cores 1 GB RAM 6 x 1 TB drives Partitionning of the first four drives Partition Size Type Partition 1 300 mb Linux RAID Partition 2 20 gb Linux RAID Partition 3 900 gb Linux RAID Remaining two drives Partition Size Type Partition 1 300 mb Linux RAID Partition 2 20 gb Linux Swap Partition 3 900 gb Linux RAID NOTE:: Similar partitions are grouped together to form RAID arrays. Grouping depends on node role (see below) ...

November 12, 2012 · 2 min · planetrobbie

Automating OpenStack with Private Chef at DreamHost

Notes following up a webinar with Matt Ray from Opscode and Carl Perry, Cloud Architect at Dreamhost. Presenters Matt Ray - Senior Technical Evangelist @ Opscode Carl Perry - Cloud Architect @ DreamHost 42 slides should be available on the mailing list Chef for OpenStack soon OpenStack Mission Statement Apache 2 license provides all the feature to run Private or Public Cloud regardless of size massively scalable compatibility with Amazon or other clouds HP CLoud, RackSpace are using it but let’s talk about DreamHost today Why OpenStack Control: Open source, no vendor lock in. (Apache 2 license) Flexibility: Modular design integrates legacy and 3rd party technology Emerging Industry Standard: more then 180 technology leaders back it and major cloud built on it Proven Compatible and Connected: Enables portability OpenStack Components Nova VMs runs on top of KVM Xen LHC Hyper-V and more Cinder (used to be called nova-volume) Block storage for the VM similar to EBS from Amazon drivers for Nexenta, NetApp, … Quantum new project released with Folsom SDN technology sits on the network layer handles management and configuration of the VM networking DreamHost use Nicira Glance Image Registry Source of the VMs that runs under Nova Keystone Common authentication layer check for crendentials and provides token that are passed around could be token-based, AWS, LDAP or other forms Swift Original Rackspace Cloud Files object store that came from RackSpace DreamHost use Ceph instead Horizon self-service role-based web interface for users and administrators provision cloud based resources Ceph Saige Weil PhD project now spined off to Inktank Next generation distributed storage runs on commodity hardware Raw Block, RESTful object storage service, Filesystem (in pre-release) Ceph Components Ceph Monitor: Maintain map of current cluster health Ceph OSD: Manages a single physical storage volume (1 OSD per hard drive but 1 OSD per RAID volume could be done too) Everything is broken in 4 MB objects Ceph RESTful RADOS Gateway: Provides SWIFT or S3 compatible RESTful Object Storage API Ceph Metadata Server: Provides distributed POSIX layer for filesystem (only needed for POSIX Filesystem service) Components all run in user space (no kernel modifications required) DreamObjects - DreamHost Ceph offering Nics will be upgraded to 10G to avoid Nic bonding to gain management simplicity 3 replicas per object at DreamObjects it is all the time consistent !!! Each write is acknowledged. ...

November 8, 2012 · 7 min · planetrobbie

Crowbar

Crowbar is an Open Source solution to quickly provision new services from bare metal servers. Introduction Project initiated at Dell by Rob Hirschfeld and Greg Althaus It was originally built on top of Chef, Opscode Configuration Management Solution but is currently evolving as an agnostic solution to support other configuration management tools like Puppet. Crowbar includes a Ruby on Rails application to easily customize your environment. Crowbar currently support Ruby 1.9.3 with RVM About Crowbar 2 Crowbar2 is actively developed, the objective is to refactor Crowbar. Objectives: Make it easier, safer, faster and more productive to use simplify use of Chef and eliminate Crowbar requirements in our Opscode Chef recipes multiple versions of the same OS running for upgrades Moving to a database, Chef isn’t any more the primary DB for Crowbar objects. It will improve scalability. Moving to Rails 3 Big disk support (enabling UEFI booting in Sledgehammer, will allow drives above 2 TB) Read-on to get more in-depth details about the roadmap to Crowbar 2. ...

November 5, 2012 · 3 min · planetrobbie