Upload
jaime-valero-de-bernabe
View
5.911
Download
1
Embed Size (px)
Citation preview
CMDB &
Devops. Automatizing IT
Infraestructure
About me & Index
Speaker
Jaime Valero de
Bernabe
Sysadmin at Expert
Productiviy Group.
Telefonica Global
Resources
Index
Initial situation
CMDB Features
Benefits
Case of use
Conclussions
Initial Situation
A typical IT Corporation
Problem: duplicated efforts
An IT company has a complex
ecosystem.
Different environments,
Technologies
Metodologies
Work groups
Locations
Competitors:
Fully cloudified = Fast to introduce changes.
Lower operating costs = Competitive products.
Organizations
Smaller
Agile
The main idea:
Bring the best of both worlds
ITIL
Good practices to manage IT items
Devops
Integrate operations and development.
Creation Interelation Decommision
Our response: a devops CMDB
Storage
.
Objects
1.500
PhysicalServers
60 Racks
3.500Virtual Machines.
2.500 People
•500 Projects
•40 Locations
600Network Devices.
•10.000 IPs
.
Objects
Storage
And now the technical part…
Tier
• Frontend :
• Open Source
solution ITOP, by
Combodo
company.
• Backend:
• Database Inventory
Internally
• Linux
• Apache
• Mysql
• PHP
• Mysql: 1,5 M of rows
• Modules ( Shell, sql,
php, perl, ruby, power
shell).
Key
feature
• Datamodel easy to
modify.
• Interconnected by API
with the rest of
platforms.
CMDB Applications :
CMDB Key features :
•Fully automatized, no maintenance effort needed.
•Backend destroys and re-creates data daily
Automatization
CMDB Key features :
•Objects have to meet certainpolicies.
• If an objectdoes not meetits policies, a flow could be triggered.
Auditable
CMDB Key features :
• The objectshave :
• lifecycle
• audit rules
• costassociated.
Cost
CMDB Key features :
• Customizeddashboards,
• Every teamfocus ontheir partof theuniverse.
Customization
CMDB Key features :
• All data issearchable.
• Break downsilos of knowledge!
Searchable
Infraestructure
ProvisioningScripts
•Mysql dailytables
Synch to CMDB
•Itop objects
Audit rules
Ansible
•Itop invalidobjects
Workflow
Before & After
We have found underused resources
that can be freed to save money.
We can set standard quality controls
for any given inventory item.
Also, we deliver adquired knowledge
to the users, the current state of their
resources and its cost for the
company.
Benefits:
Benefits We, the sysadmins, are
no longer a
grandmother cooking
recipes.
We are turning into
cloud service providers for the organization.
Thanks to the ansible
integration we can
automatize the
management of our infraestructure.
Case of use:
Migrating DataCenter
To save costs, It was decided
to migrate Data center
location
120 Servers had to be migrated.
from our Alcantarafacility in Madrid
to Boecillo, Valladolid.
Case of use: Migrating DataCenter
We used the CMDB for:
Verify connectivity and credentials for the servers.
Backup server configuration.
Verify the migrated servers were covered by third parties support.
Arrange shutdown of the servers
Keep in touch with the owners of the servers.
Verify special network config for the servers. NAT, publishing domains, etc.
Those scripts could be reused for futuremigrations!
Future
Future
Further integration with automatization tools
New objects, according to user feedback.
Conclussions
New paradigm
Infrastructure as code
Scripting is the new black!
A Devops CMDB:
should integrate within your organization.
It’s not a silver bullet
Information is not important by itself,
but what you can do with it.
User feedback is the key.
As you refine your model,
you will find chances of speed up your bussiness processes.
Devops is an iterating process.
Rather than technical difficulties,
the hardest part is to overtake political considerations.
You need direction support.
Conclussions
Scripting Integrate UserFeed back
Iterate directionsupport
Thanks!