Configuring Validation


The Validation Tool comes with some basic rules pre-provisioned.  The Validation Tool validates the computer against the configured rules prior to migration to analyze if there might be issues with the process.

Here are a list of possible validation checks that can be run:

  • Model Type
  • Manufacturer
  • Available Drive Space
  • Available Ram
  • Installed Programs
  • Files
  • Encryption
  • Anti-Virus
  • Etc.

To define or create a validation rule a binary return will need to be configured.  For example does Model X exist in a provided Hardware list Yes/No.

The Validation Tool will then take that check and validate the computer based on the configured checks.

The Validation tool will cycle through the checks or rules and then if the rule is found the corresponding action will be enacted.  The Validation Tool will continue to cycle through all the rules until all Rules or Conditions are Passed.

The Configurable actions are:

  • Continue and Remediate
  • Continue but fail to Migrate
  • Continue\Pass
  • Fail and notify the End-User

A FAIL action will stop validation and not continue.  A CONTINUE will either enact a remediation of the issue, Halt the migration but continue with the validation, or just allow the migration to start as all conditions have been met or passed.

Editing the Validation Tool Configuration is done in 2 steps:

  1. Create a validation Rule
  2. Edit the Validation.xml

Create a validation rule

A validation rule is a script that is created to make a specific check on the system for a single object and then to exit.  i.e. Does this folder exist on the computer to verify if a program is installed.

The script can be complex but the output must be in a format that can be read as PASS or FAIL.

Once the rule has been created an entry needs to be created in the validation.xml.

In the validation.xml the conditions for the rule need to be defined.  If remediation is required a new script will need to be created.

NOTE:  For more detailed information pleas contact Swimage for help.

Return to Swimage Training