CA Client Automation

 View Only
  • 1.  How to install cadsmcmd

    Posted Nov 03, 2023 12:26 AM

    Am a new user of CA IT client manager, i have acces only by using DSM Explorer which is a GUI, i wanted a way to use command line so i can check packages installed in given target. 

    What i can see is that i have already acces to use CAF command line, b checking the references online i saw that what am looking for may be possible using  cadsmcmd. 

    So please help me how to do that 



  • 2.  RE: How to install cadsmcmd

    Posted Nov 03, 2023 03:34 AM

    cadsmcmd should already be available if you installed DSM Explorer. Did you install all the plugins (RC/AM/SD) ?




  • 3.  RE: How to install cadsmcmd

    Posted Nov 08, 2023 10:34 AM

    Hey Cristi, 

    Yes cadsmcmd is installed on my machine i think all what i need now is the command to check the packages installed on a given machine.




  • 4.  RE: How to install cadsmcmd

    Broadcom Employee
    Posted Nov 09, 2023 10:39 AM

    Hi Ishak,

    Please check the ITCM documentation page for example and command.

    https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-client-automation/14-5/reference/cli-command-reference/cadsmcmd-command-line-interface/cadsmcmd-commands/targetcomputer-target-computer-commands/job-management-commands-target-computer-commands.html#concept.dita_75a415328337f35d302096334cedb8b64988b280_listInstListInstalledProducts

    I am pasting the page contents here

    ++++++++++++++++++++++++++++++++++++

    listInst -- List Installed Products
    This action lists the installations at the target computer.
    This action has the following format:
    targetcomputer action=listinst name=computer_name [detailed]
    • detailed
      Information is listed in detail
    • name
      Specifies the name of the computer of which the software installations will be listed.
    Example
    Enter the following command to provide a short list of all installations at the target computer "KKKKK01B".
    cadsmcmd targetComputer action=listInst name=KKKKK01B CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) <cdate> CA. All rights reserved. Trace mode: Off Connecting to manager "<default manager>" as user "<default user>" ... ok. Manager: mymanager Domain: mydomain Domain type: Domain Supporting: CO CCNF USD OSIM ------------------------------------------------------------------------------- List of installations on target computer "KKKKK01B" ------------------------------------------------------------------------------- SD Scalability Server for WinNT/W2K 4.0 ENU (I386): Scalability Server (EXECUTION_OK) <adsm> Explorer for WinNT/W2K 4.0 ENU (I386): Local (EXECUTION_OK) SD Agent for WinNT/W2K 4.0 ENU (I386): Agent (EXECUTION_OK) SD Server for WinNT/W2K 4.0 ENU (I386): (EXECUTION_OK) tstbase 1.0: inst (EXECUTION_OK) Data Transport Service for Win32 2.0 SP1 ENU: DTS (EXECUTION_OK) tstkpk03 1.0: inst (EXECUTION_OK) tstkpk02 1.0: instCrash (EXECUTION_OK) ------------------------------------------------------------------------------- Total number of installations found: 8 Number of installations shown: 8 SDCMD<A000000>: OK
    To retrieve a more detailed list enter the following command:
    cadsmcmd targetComputer action=listInst name=KKKKK01B detailed CA IT Client Manager r12 ITCM Command Line Version 12.8.0.xxxx Copyright (c) <cdate> CA. All rights reserved. Connecting to manager "wwwww01b" as user "<default user>" ...OK. ------------------------------------------------------------------------------- List of installations on target computer "KKKKK01B" (detailed) ------------------------------------------------------------------------------- Computer job identifier................: 5107 ..Job name.............................: ..Item name............................: SD scalability server for WinNT/W2K ..Item version.........................: 4.0 ENU (I386) ..Procedure name.......................: scalability server ..Ordered by...........................: System ..Created at...........................: 2005-04-15 10:42 ..Started at...........................: 2005-04-15 10:42 ..Installed at.........................: 2005-04-15 10:42 Computer job identifier................: 5113 ..Job name.............................: ..Item name............................: <adsm> Explorer for WinNT/W2K ..Item version.........................: 4.0 ENU (I386) ..Procedure name.......................: Local ..Ordered by...........................: System ..Created at...........................: 2005-04-15 10:42 ..Started at...........................: 2005-04-15 10:42 ..Installed at.........................: 2005-04-15 10:42 Computer job identifier................: 5110 ..Job name.............................: ..Item name............................: SD Agent for WinNT/W2K ..Item version.........................: 4.0 ENU (I386) ..Procedure name.......................: Agent ..Ordered by...........................: System ..Created at...........................: 2005-04-15 10:42 ..Started at...........................: 2005-04-15 10:42 ..Installed at.........................: 2005-04-15 10:42 Computer job identifier................: 5104 ..Job name.............................: ..Item name............................: SD Server for WinNT/W2K ..Item version.........................: 4.0 ENU (I386) Computer job identifier................: 5418 ..Job name.............................: tstbase 1.0: inst ..Item name............................: tstbase ..Item version.........................: 1.0 ..Procedure name.......................: inst ..Ordered by...........................: KKKKK01 ..Created at...........................: 2005-04-15 10:59 ..Started at...........................: 2005-04-15 10:57 ..Installed at.........................: 2005-04-15 10:59 Computer job identifier................: 5510 ..Job name.............................: ..Item name............................: Data Transport Service for Win32 ..Item version.........................: 2.0 SP1 ENU ..Procedure name.......................: DTS ..Ordered by...........................: Software detector ..Created at...........................: 2005-04-15 10:59 ..Started at...........................: 2005-04-15 10:59 ..Installed at.........................: 2005-04-15 10:59 Computer job identifier................: 6159 ..Job name.............................: tstkpk03 1.0: inst ..Item name............................: tstkpk03 ..Item version.........................: 1.0 ..Procedure name.......................: inst ..Ordered by...........................: KKKKK01 ..Created at...........................: 2005-04-15 11:23 ..Started at...........................: 2005-04-15 11:22 ..Installed at.........................: 2005-04-15 11:23 Computer job identifier................: 7805 ..Job name.............................: tstkpk02 1.0:instCrash ..Item name............................: tstkpk02 ..Item version.........................: 1.0 ..Procedure name.......................: instCrash ..Ordered by...........................: KKKKK01 ..Created at...........................: 2005-04-15 12:15 ..Started at...........................: 2005-04-15 12:15 ..Installed at.........................: 2005-04-15 12:15 ------------------------------------------------------------------------------- Total number of installations found: 8 Number of installations shown: 8 SDCMD<A000000>: OK

    Thanks and regards,

    Ramesh

    ITCM SME




  • 5.  RE: How to install cadsmcmd

    Posted 23 days ago

    You can use the "cadsmcmd" command line tool to list installed packages on a target in CA IT Client Manager. Run the command:

    cadsmcmd getpkglist -t <target_name> -s <server_name>

    Replace <target_name> with the target machine's name and <server_name> with the server's name.