Veljko Radan

Language: SvenskaEN

← ITIL in practice

Lifecycle for servers and accounts

What gets created must also be removed: owner and end date from day one, a quarterly review and a decommissioning template.

IT asset management · Veljko Radan · updated · Download as Markdown

The problem

Most environments have a way in but no way out. Servers, virtual machines and accounts are requested all the time – but almost nothing is decommissioned. Nobody says that a machine is no longer needed, so it stays.

It costs in three ways:

  • Capacity: memory and disk run out, and the next purchase is made for machines nobody uses.
  • Security: every forgotten machine and every account nobody logs in with is something to patch and monitor, and something that can be misused – without anyone noticing.
  • Accountability: when something breaks, there is nobody to ask.

It isn't a technical problem. It is a process problem: the process has no end.

A lifecycle with an end Request owner · purpose end date In use owner responsible Quarterly review logons · owner · end date still needed – extend not needed Decommission shut down → wait 30 days → clean up → delete No owner and end date – nothing gets created.
The lifecycle has an end: the quarterly review leads either back to use or to decommissioning.

Rule 1: nothing is created without an owner and an end date

A request for a server, a virtual machine or an account doesn't move on until three fields are filled in:

  1. Owner – a named person, not a team or a department
  2. Purpose – one sentence on what it is for
  3. End date or review date – when it goes, or gets looked at again

The end date can be moved. The point is that someone has to decide, instead of everything living forever.

Rule 2: rightsize before you buy

Before buying more capacity, look at what is already there.

  • Which machines have more memory and CPUs than they use? Shrink them.
  • Which machines aren't used at all? Shut them down first (see rule 3).
  • Buy only once what you have is the right size.

Rule 3: quarterly review

Once a quarter, a list is produced and sent to every owner:

WhatCriterion (example)Action
Machines without logonsNo interactive logon for 90 daysOwner confirms or decommissions
Machines without an ownerOwner field empty, or the person has leftFind a new owner or decommission
Past end dateEnd date before todayExtend with a reason, or decommission
Accounts never usedCreated more than 180 days ago, never logged onDisable
Inactive accountsNo logon for 180 daysDisable, delete after a further period
Admin accountsNo logon for 180 daysRemove the rights first

Two caveats: logon data doesn't cover every way of using a system, and service accounts don't log on like people. So the list goes to the owner, who decides – it is never used to delete things automatically.

Rule 4: decommissioning has its own template

Decommissioning is as much work as creating, and whatever is forgotten stays behind as clutter.

  1. The owner confirms in writing in the ticket.
  2. Shut down – don't delete. Leave the machine switched off for a period (30 days, for example) so that whatever still needs it has time to complain.
  3. Take a final backup if data must be kept, and note where it is.
  4. Clean up the dependencies: DNS, firewall rules, directory objects (computer and groups), monitoring, backup jobs, remote access, licences and documentation.
  5. Delete the machine and close the ticket with a list of what was removed.

Rule 5: someone owns the process – and owners get reminded

  • A process owner makes sure the quarterly review happens and the lists are followed up.
  • The owner of the machine is responsible for the machine. Operations can remind, but can't know what is needed.
  • Remind regularly – at least every quarter, ideally every month – and raise it in the meetings the owners already attend, instead of creating new ones.

How to introduce it

  • Start with rule 1 on everything new. It costs almost nothing and stops the problem growing.
  • Run a first review of what already exists and send the list to the owners.
  • Measure two things: created versus decommissioned per quarter, and the share of machines and accounts with an owner. If both curves move the right way, it works.