Upgrade Components

You can upgrade a device pack (Engine, CERT, and Presenter) with the default or customized configurations in the CA Performance Management environment. This section provides you sample request URL and the corresponding response.
camm36
You can upgrade a device pack (Engine, CERT, and Presenter) with the default or customized configurations in the CA Performance Management environment. This section provides you sample request URL and the corresponding response.
CERT is automatically deployed in Data aggregator while upgrading the Engine.
HTTP Verb: 
PUT
 
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 is installed and needs to be upgraded.
Request URL
Format: 
http://<
CAMM_HOST
>:<
WebServerPort
>/tim-web/rest/devicepacks/<
Devicepack_Name
>
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>2048m</MAXIMUM_JAVA_HEAP_SIZE>                     </configuration>                 </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>2048m</MAXIMUM_JAVA_HEAP_SIZE>                      </configuration>                 </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>200</code> <message>Success</message> </status> </response>