install
You can use the install command to install a single plug-in or multiple plug-ins simultaneously.
Overview
After you download the required files, you can run the install
command to install one or more plug-ins. If the requested plug-in is already
installed, an error message is displayed. If you want, you can keep multiple
versions of the same plug-in at the same time. You must have INSTALL_PLUGIN
access to run this command. For more information, see Access required to run Orchestration CLI commands.
Important: When you install a plug-in, there is a delay in completing the
operation. This delay is customizable with a default value of 10 minutes. If you
want to customize the delay, modify the value for
UNO_REFRESH_INTERVAL_SECONDS in helm charts.
Syntax and command line options
You can enter the command as
follows:
ocli plugin [install | i ] filepath or folderpath
The
filepath or folderpath parameter is
mandatory.The details required with each parameter are as follows:
- filepath or folderpath
- You must specify the path to the executable file. To install multiple plug-ins simultaneously, keep all the executable files in the same folder, and specify the folder path. Orchestration CLI installs all the plug-ins in the folder. During the process, HCL Universal Orchestrator disregards any files that are not related to the plug-ins and installs only the relevant files. If you want to install a single plug-in, specify the plug-in name along with the folder path. For more details see the following examples.
Examples
Run the following command to install the plug-ins in C:\ProgramFiles\plugins folder.
ocli plugin C:\ProgramFiles\plugins
Run the following command to install the com.hcl.wa.plugin.gcpcloudfunction_10.1.0.01.jar plug-in in C:\ProgramFiles\single folder.
ocli plugin C:\ProgramFiles\single\com.hcl.wa.plugin.gcpcloudfunction_10.1.0.01.jar
Run the following command to install the plug-ins in home/john/plugins folder.
ocli plugin home/john/plugins
Run the following command to install the com.hcl.wa.plugin.gcpcloudfunction_10.1.0.01.jar plug-in in home/john/single/ folder.
ocli plugin home/john/single/com.hcl.wa.plugin.gcpcloudfunction_10.1.0.01.jar