Cisco Cisco Prime Collaboration Provisioning 11.5 Developer's Guide

Page of 82
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 71 of 82 
 
Note: The Prime Collaboration Provisioning server will be running after installation. 
6.  Install the Prime Collaboration Provisioning NBI SDK: 
a.  Unzip the cupm-nbi-sdk.zip file in any directory. 
b.  CD to the sample subdirectory (...\nbi-sdk\sample). 
Note: If you wish to build a client with Java 1.5 or an earlier version, you must rebuild the cupm-nb-api.jar 
file with your chosen Java compiler. The ant target rebuild-jar will compile the Java code in the src 
directory and recreate a new version of this file in the lib directory. Run the command ant rebuild-jar 
before proceeding. 
c. 
Run ant build-install-all. This performs the following: 
 
Compiles and builds two sample clients. 
 
Compiles and builds an XML request validator utility. 
 
Compiles and builds a notification consumer service AAR file. 
 
Creates the axis2.war file. 
 
Installs and expands axis2.war in tomcat. 
 
Deploys the notification consumer service in axis2 in Tomcat. 
d.  Run %CATALINA_HOME%\bin\startup. It starts Tomcat. 
e.  Run SdkSetup.bat <pmadmin-password>. Run this bat file with your pmadmin user ID password 
as the first argument. This bat file performs the following: 
 
Sets the environment variable CUPM_NBI_SDK_COMMAND_HOME to the SDK 
command image built in the previous step (...\nbi-
sdk\sample\image\CupmNbiSdkCommands). 
 
Adds CUPM_NBI_SDK_COMMAND_HOME to the path. 
 
Sets the following SDK environment variables: 
server.ipaddress=localhost 
notification.ipaddress=localhost 
cupm.user=pmadmin 
cupm.password=<bat-parameter> 
 
Runs the PingRequest client. As this runs, the data from the ping response is displayed. 
It shows the Prime Collaboration Provisioning version and the Prime Collaboration 
Provisioning NBI version. Also, the notification server status string is displayed in your 
tomcat window.