Use > CMS Modules > Package Manager > Package Administration > How to Use the JMX Console to Perform Package Manager Tasks

How to Use the JMX Console to Perform Package Manager Tasks

This section describes the Package Manager tasks you can perform using the JMX console.

Note

  • It is recommended that you use the Package Manager to perform these tasks instead of the JMX console.

  • View Package Deployment History cannot be performed by the Package Manager.

Deploy a Package

Follow these steps to deploy a package using the JMX console.

  1. Launch your Web browser and enter the following address: https://<server_name>:/jmx-console, where <server_name> is the name of the machine on which is installed.

  2. Under UCMDB, click UCMDB:service=Packaging Services to open the JMX MBEAN View page.

  3. Locate deployPackages.

  4. In the Value box for the parameter customerID, enter the <customer id>.

  5. In the Value box for the parameter dir, enter the name of the folder that contains the package's zip file. Ensure that you include the full path to the folder.

  6. Note To deploy the package from the basic_packages directory, leave this box empty.

  7. In the Value box for the parameter packagesNames, enter the name of the packages. For details, see Package Name Rules.

  8. Select True to override job configurations changed in Universal Discovery. For details, see Discovery Modules/Jobs Window.

  9. Click Invoke to deploy the package.

View Package Deployment History

Each time you deploy packages, a report is created displaying the deployment status of those packages. Use the JMX console to view the deployment status report.

  1. Launch the Web browser and navigate to: http://<server_name>:/jmx-console, where <server_name> is the name of the machine on which is installed.

  2. Under UCMDB, click UCMDB:service=Packaging Services to open the JMX MBEAN View page.

  3. Locate displayResourcesDeploymentHistory.

  4. In the Value box for the parameter customerID, enter the <customer id>.

  5. In the Value box for the parameter reportNum, enter the number of the report you want to view.

  6. Click Invoke to view the deployment status report of the packages.

Undeploy a Package

Follow these steps to undeploy a package using the JMX console.

  1. Launch the Web browser and navigate to: https://<server_name>:/jmx-console, where <server_name> is the name of the machine on which is installed.

  2. Under UCMDB, click UCMDB:service=Packaging Services to open the JMX MBEAN View page.

  3. Locate undeployPackages.

  4. In the Value box for the parameter customerID, enter the <customer id>.

  5. In the Value box for the parameter packagesNames, enter the name of the package you want to remove. For details, see Package Name Rules.

  6. Click Invoke to undeploy the package.

Display Currently Deployed Packages

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

  1. Launch the Web browser and navigate to: https://<server_name>:/jmx-console, where <server_name> is the name of the machine on which 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. For details, see Package Name Rules.

  6. Click Invoke to display the packages that are currently deployed.

Export Packages

Follow these steps to export resources from the to the server on which is installed using the JMX console.

  1. Launch the Web browser and navigate to: https://<server_name>:/jmx-console, where <server_name> is the name of the machine on which is installed.

  2. Under UCMDB, click UCMDB:service=Packaging Services to open the JMX MBEAN View page.

  3. Locate exportPackages.

  4. In the Value box for the parameter customerID, enter the <customer id>.

  5. In the Value box for the parameter packagesName, enter the name of the package you want to export. For details, see Package Name Rules.

  6. In the Value box for the parameter outputDir, enter the name of the folder on the server to which you want to export the package's zip file. Ensure that you include the full path to the folder.

  7. In the Value box for the parameter userOnly, select one of the following:

    • True. Export only the custom packages.

    • False. Export both custom and factory packages.

  8. Click Invoke to export the package.

Package Name Rules

The rules for entering a package name are as follows:

  • Wildcard characters (*) are not supported.

  • The package name is case sensitive.

  • The package name must have a .zip extension.

  • When deploying more than one package, separate the package names by commas.