Cleanup VMWare Snapshots

This template cleans the snapshots of a VMWare environment older than n days. Additionally, filters can be set to exclude certain VM's or templates.

Problem definition

In most companies, the creation of snapshots is not allowed because they are rarely cleaned up again. This template allows team members to create snapshots and automatically delete them after n days. In addition, exceptions can be defined for VM's or snapshots that may not be deleted.

Description of the workflow structure

Arguments

Name

Direction

Type

Required

Description

Name

Direction

Type

Required

Description

RemoveSnapshots

In

Boolean

Yes

True = Remove Snapshots

False = Testmode / Reportmode, no Snapshot will be removed

Snapshotage

In

int

Yes

Max allowed livetime of a Snapshot

VMNameFilter

In

String

No

Regex filter for VM's for which no snapshot should be removed at all

SnapshotNameFilter

In

String

No

Regex filter for snapshots that should not be removed

Form

Workflow Form

 

Workflow

Download free workflow template as an example:

Cleanup VMWare Snapshots Template (Import possible as of FLOWSTER Studio 5.2)

note

This free template contains a sample workflow for creating a user in the Microsoft Active Directory. This can be imported into an existing FLOWSTER Studio system and adapted to the required process.

So that the workflow can be executed, the form parameters as well as the system-specific parameters in the workflow must be adapted individually beforehand!

This free template contains a sample workflow for creating a user in the Microsoft Active Directory. This can be imported into an existing FLOWSTER Studio system and adapted to the required process.

So that the workflow can be executed, the form parameters as well as the system-specific parameters in the workflow must be adapted individually beforehand!

Description for importing a workflow template:: Import of a workflow template

Workflow Screenshot