How to Deploy a Package

  • KM03808015
  • 30-Apr-2021
  • 30-Apr-2021

Summary

This Document shows How to Deploy a Package in Universal CMDB 2020.11

Question

You can deploy some or all of a package's resources to the CMDB from your local directory. The package must be on your local directory in order to deploy its resources.

Answer

To deploy resources from packages on your local directory:

Note If you want to retain your customized resources separate from the deployed packages, see Compare and Merge Packages or Content Packs for details.

  1. Click the sl deploy.png button to open the Deploy Packages to Server dialog box.
  2. Click the sl add.png button to open the Deploy Packages to Server (from local disk) dialog box.
  3. Select a package zip file and click Open. The package appears in the upper pane of the dialog box and its resources appear in the lower pane.
  4. Select the resources from the package that you want to deploy. All the resources are selected by default.
  5. Optionally, select another package zip file and select the relevant resources to deploy.
  6. When you have selected all the resources you want to deploy from each selected package, click Deploy.
  7. A status report appears indicating whether the deployment was successful for each resource selected.

Example of Deploying Only Specific Resources in a Package:

You want to deploy only some of the resources contained in the package called ticket2.zip. Click the sl deploy.png button. In the Deploy Packages to Server dialog box, click the sl add.png button, browse to the package's location and select the resources from the package you want to deploy. See the following illustration:

po deploy spec resources.png

Note Every time a package related to a change in the class model is deployed or undeployed, a zip file is generated in the runtime\log\package_reports\customer_1\classModel folder. The zip file contains the class model file before the change, the class model file after the change, and the package deployment report.

How to display currently deployed packages using the JMX console

Follow these steps to display currently deployed packages using the JMX console.

  1. Launch the Web browser and navigate to: http://<server_name>:8443/jmx-console, where <server_name> is the name of the machine on which Universal CMDB is installed.
  2. Under UCMDB, click UCMDB:service=Packaging Services to open the JMX MBEAN View page.
  3. Locate displayDeployedPackages.
  4. In the Value box for the parameter customerId, enter the <customer id>.
  5. In the Value box for the parameter packagesNames, specify the names of the packages you want to display.
  6. Click Invoke to display the packages that are currently deployed.