2. WHO AM I ?
• Worked for CIMB Group, Mindvalley, IOR, KPC, etc
• Trained in ITIL and PMI
• TOGAF certified
• Experience :
• Technical Lead - BI and Analytics
• Technical Test Manager - Group Financial Management System (GFMS)
• Initiator & Lead - Open Source Competency Centre & Research and Development Centre
• PMO Governance, System Administrator, and the list goes on...
8. • You are a CIO/CTO or equivalent and looking to
cut costs while innovating on your existing
infrastructure.
9. • You are a CIO/CTO or equivalent and looking to
cut costs while innovating on your existing
infrastructure.
• You are a COO or equivalent and looking for ways
to streamline your OPEX while introducing change
10. • You are a CIO/CTO or equivalent and looking to
cut costs while innovating on your existing
infrastructure.
• You are a COO or equivalent and looking for ways
to streamline your OPEX while introducing change
• You are the "IT Person" and have been instructed
to "fix it".
11. • You are a CIO/CTO or equivalent and looking to
cut costs while innovating on your existing
infrastructure.
• You are a COO or equivalent and looking for ways
to streamline your OPEX while introducing change
• You are the "IT Person" and have been instructed
to "fix it".
• or you just enjoy learning
12. • You are a CIO/CTO or equivalent and looking to
cut costs while innovating on your existing
infrastructure.
• You are a COO or equivalent and looking for ways
to streamline your OPEX while introducing change
• You are the "IT Person" and have been instructed
to "fix it".
• or you just enjoy learning
15. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
16. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
17. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
• Realized that all work and no play makes Jack a dull
boy, so I am going to mix and match
18. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
• Realized that all work and no play makes Jack a dull
boy, so I am going to mix and match
19. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
• Realized that all work and no play makes Jack a dull
boy, so I am going to mix and match
20. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
• Realized that all work and no play makes Jack a dull
boy, so I am going to mix and match
• Tailoredmore towards the Business and Innovation
side of things but will feature snippets of scripts so
you understand how easy it is to innovate
21. • Originallywas going to fill this presentation with
scripts and code since this is a SysAdmin’s favorite
topic
• Realized that all work and no play makes Jack a dull
boy, so I am going to mix and match
• Tailoredmore towards the Business and Innovation
side of things but will feature snippets of scripts so
you understand how easy it is to innovate
22. QUESTIONS TO KEEP IN MIND
• How to decide if you need change in your infrastructure ?
• How do you proceed from there ?
• What are the new innovative ways to make this happen ?
• Current Technologies and how do you evaluate them before
applying ?
• How do I think outside the box ?
23.
24. CHANGE
Motivations People
• Speed
• Reliability
• Scalability Money Time
Dependency
30. WHAT IS CHEF ?
• Fully
automated configuration management system - Imagine
an API for your entire line of servers
• Ruby powered but has a simple DSL (domain specific language)
• Scripts are now called “Recipes”
31. WHAT IS WEBISTRANO ?
• Web UI for managing Capistrano deployments
• Lets
you manage your projects stages like test, staging and
production
• Allows you to do multi-stage and multi-environment scenarios
• Allows you to track user deployment activity
32. WHAT IS NAGIOS ?
• Infrastructure monitoring and alert system
• Ableto monitor uptime, resource usage, and react accordingly
to perform auto healing
• Ableto integrate easily with Chef to perform auto scaling if
and when required
34. CHEF
• Chef divides its script into “cookbooks” = container/folder
• Each cookbook has sub-folders :
• recipes
• resources
• attributes
• definitions
• templates, etc...
• Thishelps keep the scripts consistent, neat, easy to maintain
and share
35. SAMPLE SCRIPT FOR CHEF
Apache Bare Installation
package "apache2" do
case node[:platform]
when "centos","redhat","fedora","suse"
package_name "httpd"
when "debian","ubuntu"
package_name "apache2"
when "arch"
package_name "apache"
end
action :install
end
Source : https://github.com/opscode/cookbooks
36. SAMPLE SCRIPT FOR CHEF
MySQL Install Bare
include_recipe "mysql::client"
if platform?(%w{debian ubuntu})
directory "/var/cache/local/preseeding" do
owner "root"
group "root"
mode 0755
recursive true
end
package "mysql-server" do
action :install
end
Source : https://github.com/opscode/cookbooks
38. WEBISTRANO
• In
simple terms, it talks to your revision control system and
deploys the latest revision to the server
• Allows you to rollback revisions in case you broke something
• Allowsyou to deploy and rollback on Staging environments
making it a breeze to update your web apps
40. SAMPLE SCRIPT FOR
WEBISTRANO
Install Wordpress - Deploy
set :deploy_to, "/home/demo/#{application}"
set :deploy_via, :remote_cache
set :copy_exclude, [ '.svn', '.DS_Store', '*.bat', '*.exe', 'Thumbs.db', '*.sh' ]
set :shared_children, %w(log media system config)
after 'deploy:setup', 'deploy:sync'
after 'deploy:sync', 'deploy:cleanup'
42. NAGIOS
• Lots
of plugins that are used to monitor and track different
aspects of your infrastructure
• APIallows interaction and “plug and play” interfaces with other
services such as Chef
• Configurationallows for Dashboard and reporting module to
be customized to show current resources and provides
enough data points for future architecture planning and
reviews
45. POST - EVALUATION
• Reduced deployment times for scaling up servers from 5-6
hours to 5-10 minutes
• Reduced IT OPEX by 56%
• Allowed for Rapid Testing and Iterations
• Lesser
downtime overall and faster patch deployments and
upgrade cycles
46. CONTACT ME
ISO 9001:2008,
• Email : brianritchie@iorsb.com ‘PKK Awam Kelas A’,
Grade 7 CIDB
• Twitter : @brianritchie
• Facebook : fb.me/brianritchie
• Google + : goo.gl/O8gjJ
• Skype : brianritchie