Skip to content
mathison42 edited this page Sep 12, 2016 · 5 revisions

DCM Quick Start

Install DCM

Prerequisites:

  1. DCM distribution (of course)
  2. Ant (provided with DCM distribution, if you don't have it already)
  3. IBM or Oracle/SUN JDK

DCM has been compiled and tested with 1.5, 1.6, and 1.7 JDKs, so any of those should work equally well. (DCM doesn't do anything tricky so forward compatibility with future JDKs is likely.)

Run DCM to ensure everything is set up correctly

  1. Unzip the DCM distribution file into some directory.

  2. Ensure that you have a JDK installed. This command:
    javac -version
    should print something like this:
    javac 1.6.0_24

  3. Ensure that the JAVA_HOME environment variable is set.

  4. Ensure that the ant command is on the path.

  5. Build the jar file and the plugin:
    ant clean plugin -Dversion=1

Note that the dist directory contains dcm.1.jar and datapower-1.zip. These are the DCM jar file and the UrbanCode Deploy plugin, respectively.

Run this command (from the dcm directory) to ensure that DCM is ready to go:
ant -f deploy.ant.xml -Ddcm.dir=. -Dhost=hhhh -Ddomain=dddd -Duid=uuuu -Dpwd=pppp check-access
where
hhhh is the appliance IP address or hostname
dddd is the name of a domain on the appliance
uuuu is a userid on that appliance
pppp is the password for that userid

Here is a sample command line:
ant -f deploy.ant.xml -Ddcm.dir=. -Dhost=10.0.0.1 -Ddomain=default -Duid=admin check-access

Here is a sample output from the command:

Buildfile: .../dcm/deploy.ant.xml  
-check-std-args:  
What is the password for 'admin' on 10.0.0.1?  
check-access:  
BUILD SUCCESSFUL  
Total time: 9 seconds  

If you plan to use the DCM plugin in UrbanCode Deploy then install datapower-1.zip in UCD (Settings -> Automantion Plugins)