To install IBM Quick Deployer into IBM UrbanCode Deploy, run a script that is included in the Quick Deployer .zip package. In addition to installing the Quick Deploy application, the script performs the following tasks:
Creates a team named Rational QD CLM and adds an admin user.
Creates the Team Member role.
Loads the component code.
Creates agent tags.
Creates a default environment.
Creates default application blueprints.
Prerequisites
To successfully install IBM Quick Deployer, you must have the following:
The Quick Deployer zip file, which you can download from the Package Content page.
A running UrbanCode Deploy server. See System requirements for the supported version.
The URL to the UrbanCode Deploy server, and an authentication token with admin privileges.
A Linux system that has Java 6 or higher installed. You run the script on a Linux system. This can be the same system upon which the UrbanCode Deploy server runs, or it can be another Linux system.
Installation steps
On a Linux system that has Java 6 or higher installed, extract the contents of the Quick Deployer .zip file.
On the same Linux system, ensure that the JAVA_HOME environment variable is set to point to the location of the Java Runtime Environment (JRE). If necessary, run the export command to set the JAVA_HOME environment variable. For example:
export JAVA_HOME=/usr/lib/jvm/jre.
Run the setup.sh script. Use the UCD_SERVER argument to identify the URL to the UrbanCode Deploy server. Use the UCD_TOKEN argument to identify the UrbanCode Deploy server authentication token. To capture all of the console output, you might want to direct the output to a log file. For example:
sh setup.sh UCD_SERVER=https://ucd1.host.example.com:8443 UCD_TOKEN=99eb2bb3-aa81-998f-aab4-d990bfa6ff5c |& tee console.log
Note: When you run the setup.sh script, it creates a working directory. Before you run the script again (for example, to specify a different target UrbanCode Deploy server), delete that working directory. Otherwise, the script completes but fails to create component versions.
Results
After the script finishes, examine the console output or log file to ensure that it completed successfully. The output should show the following eight phases of work:
STAGE 1 : user inputs
STAGE 2 : download ucd cli client
STAGE 3 : create UCD QD CLM team
STAGE 4 : import QD application
STAGE 5 : import QD components
STAGE 6 : create QD tags
STAGE 7 : create QD default environment
STAGE 8 : create QD environment blueprints
The last action that the script performs is to create default application blueprints. For example:
Creating default blueprints
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.PoolingClientConnectionManager).
log4j:WARN Please initialize the log4j system properly.
Throughout the IBM Quick Deployer wiki the screen captures are for reference only. In some cases if the functionality they display has not changed in the latest release they will be from a previous release