Skip to Content
Author's profile photo Christian Bartels

SAP on IBM i – Update week 14, 2017: SAP Host Agent 7.21 Patch Level 25 Available

SAP Host Agent 7.21 patch level 25 was made available in the SAP Software Distribution Center on Friday, March 31st. With this patch, major changes to the SAP operating system performance data provider were provided. You may not have heard about that function before: This is intended to be the replacement for SAPOSCOL in the future, providing the collected performance data through a Web service and the standardized “Common Information Model” (CIM) rather than shared memory. While transaction ST06 is still using SAPOSCOL as the data provider, newer implementations of the SAP Solution Manager are already relying on the new CIM-based provider.

The CIM-based provider was available since quite a while. However, on IBM i it required some amount of configuration, which was described in SAP Note 2078088. Not many customers had activated it, and even if they did, they could experience a high CPU utilization in process QUMEPRVAGT or error messages like the following in file /usr/sap/hostctrl/work/sapstartsrv.log:

  • ERROR => CIM request failed: Unable to get data from CIM broker
  • ERROR => Failed to load CIM data
  • ERROR => Failed to load MetricValues
  • ERROR => Cannot calculate SAP_ITSAMOSProcess.CPUTimePercentage: OS.CPUCount metric not available
  • ERROR => Failed to load SAP_ITSAMVirtualComputerSystem data
  • ERROR => Webmethod GetCIMObject failed: Failed to load SAP_ITSAMVirtualComputerSystem data
  • WARNING => NiICreateHandle: no more free handles (2048)

With SAP Host Agent 7.21 patch level 25, the CIM-based provider was rewritten to collect data in a more efficient way, requiring fewer external components and less configuration. The new setup is described in SAP Note 2444281, and the complex setup of SAP Note 2078088 is no longer needed. The new SAP Host Agent does not only fix the previously reported problems, but also lays the foundation for the new Technical Monitoring Cockpit (TMC) that SAP is planning to ship throughout this year. Stay tuned to be informed when the new TMC will be released for IBM i.

Assigned tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Tatjana Schumakowa
      Tatjana Schumakowa

      Hello Christian,

      I try to start SUM 2.0 on Windows Server 2003. My SAP hostagent is 721 PL: 42.

      I get this Error:

      ERROR => Cannot calculate SAP_ITSAMOSProcess.CPUTimePercentage: OS.CPUCount metric not available [ITSAMDataGat 352]

      How can I resolve this Problem ?

      Many Thanks

       

      Author's profile photo Christian Bartels
      Christian Bartels
      Blog Post Author

      Hello Tatjana,

      please check the solution section of SAP Note 2503818. This may solve your issue. If not, I would suggest to open an incident at SAP for component BC-OP-AS4.

      Kind regards,

      Christian Bartels.

       

      Author's profile photo Tatjana Schumakowa
      Tatjana Schumakowa

      Hello Christian

      Many thanks. But we do not have HWC Tool on this server.
      Thank you very much
      Best Regards
      Tatjana
      Author's profile photo Christian Bartels
      Christian Bartels
      Blog Post Author

      Is user profile QSECOFR enabled and has a valid (non-expired) password? If not, please ensure that user profile QSECOFR can signon.

      If QSECOFR is enabled, you can try the following sequence of commands to re-initialize the data provider for the OS performance data, which is used by the SUM:

      ADDLIBLE LIB(R3SAP400)
      DB4STATS OPCODE(*STOP)
      WRKACTJOB JOB(QPMACLCT)

      Select option 4 (End) in front of the job name and press function key F4.

      Select "How to end" as *IMMED and press Enter.

      WRKACTJOB JOB(QYPSPFRCOL)

      Select option 4 (End) in front of the job name and press function key F4.

      Select "How to end" as *IMMED and press Enter.

      CALL PGM(SAPINIT)
      CD DIR('/usr/sap/hostctrl/exe')
      CALL PGM(QP2TERM)
      saphostexec -restart

      Leave the PASE command line with function key F3.

      If this does not help, please open an incident for component BC-OP-AS4.

      Kind regards,

      Christian Bartels.