CA Client Automation

 View Only
Expand all | Collapse all

Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

  • 1.  Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 23, 2018 05:52 PM

    Good afternoon everyone.

     

    I hope you can help me.

     

    The following happens:


    I am working in DSM Reporter, when generating a report (test) to observe the user that is currently on the computer (username), the information it generates is not correct, that is, a different user appears than the one currently it's on the computer.
    At the moment the other information data are correct.

     

     

    On the other hand, when I access the console (cmd) of certain stations and perform a CAF STATUS, it informs me of the following:
    "An error occurred while establishing connection with the local CAF service". It is worrying to me since it happens in the vast majority of computers.

    Error caf status


    I will be attentive to your fellow comments.


    I wish you a great day.

    Greetings from Colombia



  • 2.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 23, 2018 06:16 PM

    For your first error.  There are a few things to note.  The first being the current status is only as current as the last collect.  So for example if someone logs in and the caf scheduler is set to run always. The user info would be gathered then sent to the ss then on the next collect the inventory will be updated.   So it could be behind minutes or hours.  If  register is not set to always in configuration policy then a new registration will not occur when someone logs in.

     

    As for your 2nd error.  It needs some more investigation.  First run dsmver are all the components at the same version.  If you have upgraded recently it may be only portions of the agent was upgraded.  Or you may have  a certificate issue.

     

    Look in the trc_cf cafservice.log for hints.

     

    Also do a camstat is cam running ok .

     

    Try do a reboot does it clear it up.

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 3.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 09:26 AM

    Thanks for your answers Richard.

     

    For the first question I have done the following:

     

    For the first question I will stop the Collect, to restart it and see the results, which I will tell you after solving the second question.

     

    For the second question I have done the following:

     

    With the command dsmver I report that all the products have the same version (14.0.2000.255)

     

    I have tried the "camstat" command from the SS, the following is shown:

     

    However, the port is not the same on different computers, so I have tried the same command (camstat) directly on a computer, and the following is reported:

     

    Is this port configuration correct?

    I suppose that for this reason the communication with CAF fails, in case the ports have to be changed, what procedure should be done?

     

    To validate again, I have made a "caf status" on a computer, notifies that services are currently active with the exception of Tomcat, which can not start.

    This happens in the vast majority of computers

     

     

    Thank you very much for your prompt answers, kind regards.



  • 4.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 09:38 AM

    Tomcat should not  be installed except on domain or enterprise managers.  Not sure why it is enabled on agents.  That in itself should not be an issue I do not think but it is strange.  Send a screenshot of dsmver from an agent machine let’s see what it thinks are installed.

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 5.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 09:56 AM

    Thanks for your answers Richard.

     

    An error occurred while connecting to the local CAF service

    Then I send you the results of the "dsmver" command (it was executed in the station from which you previously sent the screenshot that shows the results of the camstat and caf status).

    Excuse me beforehand as I sent the image, this was sent to me as well since I am not in the client (work remotely)



  • 6.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 10:07 AM

    The screenshot you sent shows exactly what I suspected.  Half the install is 12.9 the other half is 14.2.  This may be just the one machine as it has the DSM explorer installed but in either case this specific machine has an issue.

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 7.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 10:28 AM

    I understand you Richard, and for these cases it is advisable to do?

     

     

    It is possible to perform a reinstallation of the agent through cmd ?, since from DSM Explorer it will not be possible because when the deployment is made, DSM will notify that it is currently installed (Deployed), which will not allow the reinstallation.

    I'll be attentive to your comments Richard.



  • 8.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 10:41 AM

    Yes for any agent package the syntax is available in the software package procedure.  In dsm explorer go to soft package library CA pacckges and find the package you want to deploy.  Look at properties of the procedure you want to do such as install there you will see the command that is being used.  Go to ..\ca\dsm\packages\public and navigate to the package you want to deploy.  There you will find all the files needed to deploy the package of your choice.

     

    Copy that package then run the command syntax found in the package library.

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 9.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 11:09 AM

    Hi Richard.

     

    I have followed the procedure and I have reached the properties of the procedure (in this case Install), the package to be installed is the following:
    CA DSM Agent + AM, RC, SD plugin (s) 14.0.2000.255 Windows_x86 NLS (ENU, DEU, FRA, JPN).

     

    Then I send you screenshot, is that the command which you inform me which should be used ?, or where I can check exactly that command.

     

     

    I have also gone to the route that you have informed me in the SS, when you tell me (copy the package) you mean to send this to each of the stations ?, and run it through cmd, or how to run the Installation procedure

    I'll be attentive to your comments Richard.

    Thank you



  • 10.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 12:41 PM

    Dmdeploywrapper.exe allusers=1 /qn

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 11.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 01:45 PM

    Refer to this document for Deploywrapper instructions:

    https://comm.support.ca.com/kb/how-to-install-or-upgrade-an-agent-or-scalability-server-using-deploywrapper/kb000011224

     

    You actually DO NOT want to use the /INST switch that is used by Software Delivery.  This switch is built for when Deploywrapper is running as a child process to sd_jexec.exe (Software Delivery agent).

     

    You want to grab the agent source files from here:

    ..\CA\DSM\Packages\Public\CAUnicenterDSM\AgentAM+RC+SD\12.0\NLS(ENU,DEU,FRA,JPN)\Windows_x86

     

    And run this command to install a new agent, or upgrade an existing one:

     

    Agent [New Install]:
    .\DeployWrapper.exe /DPINST CopiedAgents /qn AGENT_SERVER=MyScalabilityServer.ca.com ALLUSERS=1 /l*v %temp%\ITRMAgentSetup.log

     

    Agent [Upgrade]:
    .\DeployWrapper.exe /DPINST CopiedAgents /qn ALLUSERS=1 /l*v %temp%\ITRMAgentSetup.log

     

    The difference is that the [Install] provides the AGENT_SERVER switch, to register the agent with a scalability server.  The [Upgrade] command leaves off the AGENT_SERVER, so the agent remains registering with the current scalability server it is pointed.

     

    Note the .\ in front of Deploywrapper.exe.  This is required for it to work.  It needs the full path leading up to the binary  to preface the execution.

     

    Also note using /DPINST and "CopiedAgents" commands-- these are necessary.

     

    ///////////////////////////

     

    Going back to your mention of CAMSTAT, CAM has two queues, HOSTS and APPLICATIONS.  This is why the CAMSTAT output is divided in two sections--

     

    HOSTS are connections to other CAM servers across the network.  The default is UDP/4104, though it's possible to configure host communication to use TCP/4105.  TCP communication should only be used as it is required.

     

    APPLICATIONS are queues created by the CAF plugins, for inter-plugin communication within CAF.  This is internal communication with the agent, and not remote traffic.

     

    CAM is dual-purposed for ITCM.  It's a messenger that is used for remote communication (HOSTS) as well as for internal communication among CAF plugins (APPLICATIONS).

     

    Hope that clears it up.



  • 12.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 03:41 PM

    Hello Brian.

    Thanks for your answers.


    I have done the following:

    1. Copy the folder (.. \ CA \ DSM \ Packages \ Public \ CAUnicenterDSM \ AgentAM + RC + SD \ 12.0 \ NLS (ENU, DEU, FRA, JPN) \ Windows_x86) and send it to the computer that has the 50 % of the versions of the products of different version.

    2. Enter the previous route and execute the following command (by cmd clearly):
    . \ DeployWrapper.exe / DPINST CopiedAgents / qn ALLUSERS = 1 / l * v% temp% \ ITRMAgentSetup.log


    Note: Send this command as it is required to update the currently installed agent.

    The following result was obtained after approximately 5 minutes:

     

     

    After that, I went back to consult the version of the products using the dsmver command and got the following:

     

     

    Version 12.9.0.338 keeps appearing.

     

    Should there be any additional process or something has failed?

    Thanks for your answers Brian.


    Greetings from Colombia



  • 13.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 03:47 PM

    That will patch the agent then you need to also send the dsm explorer package.  From the screen shot you sent earlier it was the explorer that was not updated.  You say this is happening on many machines do thy also have the dsm explorer installed.  You should first isolate if this is also happening on agent only machines

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 14.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 04:02 PM

    Thanks Richard for your comments.


    The concern that I have is the following:

     

    To the computer that sends the agent update (from which I took captures and sent them previously), make a caf restart, which did not work, then I sent him a caf kill all and later I started the services (caf start). I got these results:

     

     

    The first CAF command worked correctly, but after about two minutes, I sent a new CAF status and it informs me that it is not possible to connect to the local CAF service.

     

    This will be due to what we have seen previously with respect to the version?

    Note: This is the message that usually appears on certain computers when performing a CAF status



  • 15.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 04:00 PM

    Some of this is echoing what Rich already said:

     

    - DSM Explorer (and Reporter) are a separate package from the agent source files.  To upgrade DSM Explorer/Reporter, push the software package titled, "CA DSM Explorer 14.0.2000.255" from the software library.  Be sure to choose the "Install" procedure, if DSM Reporter is present, as the default procedure is "Install (without Reporter)".

     

    - The reason Deploywrapper did not work, is because you are trying to run it from a remote share.  The files will need to be copied locally.  Also you need to shorten the folder name, to something without so many spaces and special characters.  Can you just copy to something like C:\TEMP\ITCM\ ?

     

    - The only need for running Deploywrapper would be if you're looking to install or upgrade the agent.  But from the screenshot, the agent is already r14 SP2, and only DSM Explorer/Reporter need to be upgraded-- which you can push via Software Delivery.



  • 16.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 04:15 PM

    I am inside the computer on the C drive (Using PsTools and remote access)

    Inside it I copied the installation files (as I mentioned before), what I just did is rename the folder to ActITCM.
    I do not think it is necessary to redo the Deployweapper procedure.

     

    Regarding the DSM Explorer update:
    I am currently in the Software package: CA DSM Explorer 14.0.2000.255, there are several installation procedures (as you can see in the image), there is a manual or you could inform me the procedure to be able to execute it in the station we are working right now?

     

    Note: I do not know the procedure to perform this update, the idea is that when making a "dsmver", the versions are the same, and the problem of "An error occurred when establishing connection with the local CAF service" to appear, allowing you to check the status of CAF without problems.

     

     

    Thanks for your answers Brian



  • 17.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Broadcom Employee
    Posted Oct 24, 2018 05:05 PM

    That is what I was saying.  I assume you have some machines that do not have dsm explorer installed.  Start with one of those first.  This issue with dsm explorer needs to be resolved but work out the agent one first.  As I stated in yesterday,s post first reboot does that solve anything.  Then look in the log are there any errors.

     

    Get Outlook for Android<https://aka.ms/ghei36>



  • 18.  Re: Incorrect information in reports (DSM Reporter) and failure of CAF STATUS

    Posted Oct 24, 2018 01:47 PM

    One further mention.

     

    The Deploywrapper package:

    ..\CA\DSM\Packages\Public\CAUnicenterDSM\AgentAM+RC+SD\12.0\NLS(ENU,DEU,FRA,JPN)\Windows_x86

     

    ...will not update DSM Explorer.  This will only update the ITCM Agent components, and not DSM Explorer or DSM Reporter.

     

    To install or upgrade DSM Explorer/Reporter, you need to push the DSM Explorer software package to the agent, or use the DVD install media, in order to upgrade those components.