32
CMDB & Devops. Automatizing IT Infraestructure

Building a devops CMDB

Embed Size (px)

Citation preview

Page 1: Building a devops CMDB

CMDB &

Devops. Automatizing IT

Infraestructure

Page 2: Building a devops CMDB

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

Page 3: Building a devops CMDB

Initial Situation

A typical IT Corporation

Page 4: Building a devops CMDB

Problem: duplicated efforts

An IT company has a complex

ecosystem.

Different environments,

Technologies

Metodologies

Work groups

Locations

Page 5: Building a devops CMDB

Competitors:

Fully cloudified = Fast to introduce changes.

Lower operating costs = Competitive products.

Organizations

Smaller

Agile

Page 6: Building a devops CMDB

The main idea:

Bring the best of both worlds

ITIL

Good practices to manage IT items

Devops

Integrate operations and development.

Creation Interelation Decommision

Page 7: Building a devops CMDB

Our response: a devops CMDB

Page 8: Building a devops CMDB

Storage

.

Objects

Page 9: Building a devops CMDB

1.500

PhysicalServers

60 Racks

3.500Virtual Machines.

2.500 People

•500 Projects

•40 Locations

600Network Devices.

•10.000 IPs

.

Objects

Storage

Page 10: Building a devops CMDB

And now the technical part…

Page 11: Building a devops CMDB

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 :

Page 12: Building a devops CMDB

CMDB Key features :

•Fully automatized, no maintenance effort needed.

•Backend destroys and re-creates data daily

Automatization

Page 13: Building a devops CMDB

CMDB Key features :

•Objects have to meet certainpolicies.

• If an objectdoes not meetits policies, a flow could be triggered.

Auditable

Page 14: Building a devops CMDB

CMDB Key features :

• The objectshave :

• lifecycle

• audit rules

• costassociated.

Cost

Page 15: Building a devops CMDB

CMDB Key features :

• Customizeddashboards,

• Every teamfocus ontheir partof theuniverse.

Customization

Page 16: Building a devops CMDB

CMDB Key features :

• All data issearchable.

• Break downsilos of knowledge!

Searchable

Page 17: Building a devops CMDB

Infraestructure

ProvisioningScripts

•Mysql dailytables

Synch to CMDB

•Itop objects

Audit rules

Ansible

•Itop invalidobjects

Workflow

Page 18: Building a devops CMDB

Before & After

Page 19: Building a devops CMDB

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:

Page 20: Building a devops CMDB

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.

Page 21: Building a devops CMDB

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.

Page 22: Building a devops CMDB

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!

Page 23: Building a devops CMDB

Future

Page 24: Building a devops CMDB

Future

Further integration with automatization tools

New objects, according to user feedback.

Page 25: Building a devops CMDB

Conclussions

Page 26: Building a devops CMDB

New paradigm

Infrastructure as code

Scripting is the new black!

Page 27: Building a devops CMDB

A Devops CMDB:

should integrate within your organization.

It’s not a silver bullet

Page 28: Building a devops CMDB

Information is not important by itself,

but what you can do with it.

User feedback is the key.

Page 29: Building a devops CMDB

As you refine your model,

you will find chances of speed up your bussiness processes.

Devops is an iterating process.

Page 30: Building a devops CMDB

Rather than technical difficulties,

the hardest part is to overtake political considerations.

You need direction support.

Page 31: Building a devops CMDB

Conclussions

Scripting Integrate UserFeed back

Iterate directionsupport

Page 32: Building a devops CMDB

Thanks!