Harvest

 View Only
  • 1.  CA Harvest Solaris agent - Not returning result

    Posted May 17, 2021 08:05 AM
    Hi,

    We've recently set up the Harvest agent on a Solaris server with the assistance of Broadcom.

    It seems however as if the agent executes UPDs as async regardless of whether I pass -syn or -asyn to the hexecp script. The script never comes back to the client with the results.

    As a test, I created a simple script that does a "ls -la" on the Solaris server. The scripts executes as expected when run on the server. However, when I run it from a UDP using hexecp, the client never completes, and the output from the agent running in verbose mode always says "bSynch is false".  

    This is the script on the server:
    -bash-4.4$ cat /export/cascm/test.sh
    #!/bin/sh
    echo This is the contents of /export/cascm
    ls -la /export/cascm

    This is the UDP definition:
    hexecp -prg "/export/cascm/test.sh" -m 10.124.16.109 -rport 5110 -syn -usr cascm -pw abcd

    This is the agent startup command and output:
    -bash-4.4$ ./agntd -verbose -usr=cascm -pwd=abcd -trlvl=3 &
    [2] 14610
    [1] Killed ./agntd -verbose -usr=cascm -pwd=abcd -trlvl=3
    -bash-4.4$
    -bash-4.4$ Argument file = /export/cascm/scm/HAgent.arg
    Log file =
    -port = 5110
    -authmode = internal
    -verbose =
    -trlvl = 3
    -fipsmode = 0
    -usr = cascm
    HAgent | 20210416 13:19:53 | ---- Started ----
    1 | 13:19:53 | SCM version level: 13,0,3,152
    1 | 13:19:53 | Password exposure checking is disabled for command line utilities...
    1 | 13:19:53 | Patch level checking is disabled for login requests...
    1 | 13:19:53 | Using cache directory at /export/cascm/scm/SCMCache.

    This is the agent output when I execute the UDP from the Harvest client:
    -bash-4.4$ 1 | 13:20:05 | Connection established. Connection count: 1.
    2 | 13:20:06 | LVL3: cbExecuteA bSynch is false 8| File</export/cascm/test.sh> CmdArg<> Stdin<> CB<0> Fm<> |0
    2 | 13:20:06 | LVL3: cbExecuteA done 8| File</export/cascm/test.sh> |0
    This is the contents of /export/cascm
    total 78433
    drwxr-xr-x 7 cascm cascm 18 Apr 15 11:32 .
    drwxr-xr-x 16 root root 17 Feb 1 15:57 ..
    -rw------- 1 cascm cascm 5246 Apr 15 11:10 .bash_history
    -rw-r--r-- 1 cascm cascm 143 Feb 23 13:59 .profile
    -rw------- 1 cascm cascm 11900 Apr 14 09:27 .viminfo
    -rwxr-xr-x 1 cascm cascm 1005 Mar 13 2007 CONFIG.SH
    drwxrwxr-x 2 cascm cascm 2 Mar 8 10:44 ETPKI
    drwxr-xr-x 2 cascm cascm 4 Mar 8 11:13 etpki_solaris
    -rw-r--r-- 1 root root 6746112 Mar 8 10:45 etpki.tar
    -rw-r-xr-x 1 cascm cascm 3792 Mar 13 2007 fix_names.sh
    -rwxr-xr-x 1 cascm cascm 93974 Feb 5 03:07 INSTALL.SH
    drwxrwxrwx 10 cascm cascm 16 Apr 15 11:25 pec
    -rw-r--r-- 1 root root 33065984 Mar 8 10:25 pec474.tar
    -rw-r--r-- 1 cascm cascm 12464 Mar 13 2007 PECCFG.TXT
    -rwxr-xr-x 1 cascm cascm 489 Mar 13 2007 PECUNIN.SH
    drwxr-xr-x 6 cascm cascm 10 Apr 15 11:45 scm
    -rwxr-xr-x 1 cascm cascm 74 Mar 12 08:37 test.sh
    drwxrwxr-x 7 cascm cascm 10 Mar 16 08:27 UNIX

    So as you can see, the script does execute, but the results aren't sent back to the client.

    Any ideas?


  • 2.  RE: CA Harvest Solaris agent - Not returning result

    Broadcom Employee
    Posted May 18, 2021 07:06 AM
    Hello Jarus,
    Can you confirm your environment?
    Agent : Harvest V13.0.3 Solaris
    Server : Platform ?
    Client : Platform ?

    UDP is configured as server side or client side?

    Thanks,
    Sridhar


  • 3.  RE: CA Harvest Solaris agent - Not returning result

    Posted May 18, 2021 07:24 AM
    Hi Sridhar,

    My mistake, should have included those details in the original message!

    Agent: Harvest c13 Build 152,
    Agent OS: Oracle Solaris 11.3 SPARC
    Server: SUSE Linux Enterprise Server 12 SP3
    Client: Microsoft Windows 10 Enterprise 64 bit

    UDP is configured as server side (configuration standard from Production Model template)


  • 4.  RE: CA Harvest Solaris agent - Not returning result
    Best Answer

    Broadcom Employee
    Posted May 18, 2021 12:32 PM
    Hello Jarus,

    We have a fix for a similar type of problem.
    Can you please open a case so that we can create a fix and upload it?
    Also can you provide whether the server is 64 bit or 32 bit.

    Thanks,
    Sridhar


  • 5.  RE: CA Harvest Solaris agent - Not returning result

    Posted May 24, 2021 04:03 AM
    Hi Sridhar,

    Case 32704213 opened.

    Thank you,
    Jarus


  • 6.  RE: CA Harvest Solaris agent - Not returning result

    Broadcom Employee
    Posted May 24, 2021 04:10 AM
    Thanks Jarus,
    We are working on the case.



  • 7.  RE: CA Harvest Solaris agent - Not returning result

    Posted Jun 24, 2021 05:25 AM
    Fix implemented and problem resolved.

    Thank you!
    Jarus