Skip to content
Rich Groot edited this page Jan 21, 2015 · 5 revisions

DCM Quick Start

Install CMAN

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

Note that the dist directory contains dcm.1.jar and dcm.1.plugin.jar.

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 -Dcman.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 dcm.1.plugin.jar in UCD (Settings -> Automantion Plugins)

Clone this wiki locally