Install Components

You can install a device pack (Engine, CERT, and Presenter) in the CA Performance Management environment with the default or customized configurations. This section provides you sample request URL and the corresponding response.
camm36
You can install a device pack (Engine, CERT, and Presenter) in the CA Performance Management environment with the default or customized configurations. This section provides you sample request URL and the corresponding response.
 
CERT is automatically deployed in Data aggregator while installing the Engine.
 
 
HTTP Method: 
POST
Scenario:
  • Primary MultiController is installed at camm.ca.com with the default web server port number (8880).
  • Two LocalControllers are connected to the primary MultiController.
  • CAGuavus device pack to be installed.
Request URL
Format: 
http://<
CAMM_HOST
>:<
WebServerPort
>/tim-web/rest/devicepacks/<
devicepack_ID
Sample Request Body:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <request url="/devicepacks/CAGuavus">
    <devicepacks>
        <devicepack>
            <configurations>
                <engine id="ENGINE_CAGuavus">
                    <variables>
                        <Variable name="PRESENTER_ID" type="STR">PRESENTER_CAPM</Variable>
                        <Variable name="SCP_OR_SFTP" type="STR">SFTP</Variable>
                        <Variable name="EMS_IP_LIST" type="STR">[cammsim.ca.com]</Variable>
                        <Variable name="EMS_USERNAME" type="STR">simuser</Variable>
                        <Variable name="EMS_PASSWORD" type="PASS">ca123</Variable>
                        <Variable name="EMS_BASEDIRECTORY" type="STR">/export/troptest-vm1/Simulations/QA/CAGuavus/Bulkstats</Variable>
                        <Variable name="EMS_INV_MAX_DOWNLOAD" type="STR">8</Variable>
                        <Variable name="EMS_INV_MAX_BATCHSIZE" type="STR">4</Variable>
                        <Variable name="EMS_PERF_MAX_DOWNLOAD" type="STR">8</Variable>
                        <Variable name="EMS_PERF_MAX_BATCHSIZE" type="STR">4</Variable>
                        <Variable name="EMS_FILE_PATTERN" type="STR">.*.*</Variable>
                        <Variable name="MAX_THREADS" type="STR">4</Variable>
                        <Variable name="INVENTORY_POLL_RATE" type="STR">0 0 1</Variable>
                        <Variable name="PERFORMANCE_POLL_RATE" type="STR">0 */5 *</Variable>
                        <Variable name="HOSTNAMECHANGE_ENFORCED" type="STR">false</Variable>
                        <Variable name="EMS_IGNORE_HISTORY" type="STR">false</Variable>
                        <Variable name="UNWANTED_DEVICE_LIST" type="STR"></Variable>
                        <Variable name="UNWANTED_BRANCH_LIST" type="STR">TIM-XXXX</Variable>
                        <Variable name="EMS_SSHKEYFILE" type="STR"></Variable>
                        <Variable name="EMS_PASS_PHRASE" type="STR"></Variable>
                        <Variable name="EMS_KNOWNHOSTS" type="STR"></Variable>
                        <Variable name="EMS_IGNORE_INCOMPLETEFILES" type="STR">false</Variable>
                        <Variable name="EXCLUDE_DIR_PATTERN" type="STR"></Variable>
                    </variables>
                    <configuration>
                        <MAXIMUM_JAVA_HEAP_SIZE>1024</MAXIMUM_JAVA_HEAP_SIZE>
                    </configuration>
                    <lcaddress>10.134.15.53</lcaddress>
                </engine>
                <presenter id="PRESENTER_ID">
                    <variables>
                         <Variable name="OUTPUT_DIRECTORY" TYPE="STR">/opt/IMDataCollector/apache-karaf-2.3.0/MediationCenter</Variable>
                         <Variable name="MAX_THREADS" TYPE="STR">4</Variable>
                     </variables>
                     <configuration>
                        <MAXIMUM_JAVA_HEAP_SIZE>1024</MAXIMUM_JAVA_HEAP_SIZE>
                     </configuration>
                     <lcaddress>10.134.15.53</lcaddress>
                </presenter>
            </configurations>
        </devicepack>
    </devicepacks>
</request>
 
Sample response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response url="/devicepacks/CAGuavus" version="3.x.y.z">
    <devicepacks>
        <devicepack type="CAGuavus">
            <cert id="CERT_CAGuavus">
                <message>Success</message>
            </cert>
            <engine id="ENGINE_CAGuavus">
                <message>Success</message>
            </engine>
            <presenter id="PRESENTER_ID">
                <message>Success</message>
            </presenter>
        </devicepack>
    </devicepacks>
    <status>
        <code>201</code>
        <message>Success</message>
    </status>
</response>