Installing a solution pack via manage-modules utility
search cancel

Installing a solution pack via manage-modules utility

book

Article ID: 333377

calendar_today

Updated On: 02-04-2025

Products

VMware

Issue/Introduction

Process to install a solution pack from the command line using the manage-modules utility. This is useful if GUI access in not available to perform this installation for example in the case of Watch4net Light

Access to the GUI to Install via Centralized Management is not available

Environment

Watch4Net/M&R 7.x

Resolution

Firstly identify the Meta block which contains the Solution Pack blocks you wish to install, the example below shows the Smarts Solution Pack, please note the version will vary depending on Watch4net version installed:-

/opt/APG/bin/manage-modules.sh list available | grep Meta | grep smarts
      * emc-smarts-1.4.1                                    : Meta             emc-smarts                          v1.4.1     


Once identified now install the Meta block, continuing with the Smarts Solution Pack example:-

/opt/APG/bin/manage-modules.sh install emc-smarts Smarts
     Required dependencies, in processing order:
        [1] I emc-smarts 'Smarts' (none) => v1.4.1
     > 1 to install
     > 158.3 KB space required / 13.9 GB available
      ? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation [yes] >

     Starting installation of emc-smarts v1.4.1 from emc-smarts-1.4.1...
      * Gathering information...
      * 'emc-smarts v1.4.1' will be registered with instance name 'Smarts'.
      * It will be installed in '/opt/APG/Meta/emc-smarts/Smarts'.
      * Unpacking files...
      * Finalizing installation...

     4 SolutionPackBlocks have been added to the module repository:
      - emc-smarts-collect-1.4.1
      - emc-smarts-database-1.4
      - emc-smarts-events-1.4
      - emc-smarts-reports-1.4.1

     You can now install or update any of them with the following command:
        manage-modules.sh [install|update] <block name> <instance name>

     Installation complete.

Once the Meta block has been installed please follow the instructions provided in the output of the previous manage-modules install command. The number of SolutionPackBlocks will vary between solution packs and you will be prompted for information on the environment.  In this example you would now run the following commands to install the Smarts solution pack:-

/opt/APG/bin/manage-modules.sh install emc-smarts-collect Smarts
/opt/APG/bin/manage-modules.sh install emc-smarts-database Smarts
/opt/APG/bin/manage-modules.sh install emc-smarts-events Smarts
/opt/APG/bin/manage-modules.sh install emc-smarts-reports Smarts



Please note that this process will only install on the local host and therefore you may need to run the above on different hosts within you Watch4net environment if you have a distributed installation.