Popular Posts

Monday, February 3, 2014

Compare 2 DataPower Environment (Version 01)


Introduction

FileDiff allows developers/administrators to compare 2 DataPower environments to compare. It’s a java based program which access XML Management Interface of DataPower to compare file system. Output of tool is formatted HTML.

How it works

FileDiff takes a property file as input which has details of DP boxes. The packaged jar run and creates a HTML output.


Download "FileSystemDiff.jar" & Sample Config file "CompareConfig.properties" file.

CompareConfig.properties file contains 2 entries, each for one box. You should have XML management interface privileges. 

#URL DataPower01
dblabel01=box1
dpUrl01=https://host01:5550/service/mgmt/current
domain01=domain
username01=urusername
password01=urpassword

#URL DataPower02
dblabel02=box2
dpUrl02=https://host02:5550/service/mgmt/current
domain02=domain
username02=urusername
password02=urpassword

#Folder
folderToCompare=local:/

Running the tool

> java -jar FileSystemDiff.jar  CompareConfig.properties

The output of this run would generate DiffOutput.html.

Remember the tool always generates output with name DiffOutput.html so rename or move existing report else new report will replace existing one. 

You can email if you need more information related to same. (rohit.goyal6@gmail.com)

1 comment: