Quantcast
Channel: Siggi Gladitsch Tracker
Viewing all 426 articles
Browse latest View live

Re: How to get BPM schema?

$
0
0

Hi Adr,

unfortunately not, as this is the
"EUM Administration Open API" which enables you to perform operations on EUM configuration

"The API supports retrieving, updating and creating Business Process Monitor"
means that you can easily deal with the BSM EUM configuration.
In <API>\jd\index-all.html shows all the methods available,
you can find methods for
creating entities, for example
  CreateBpmApplicationRequestBean

to retrieve entities and related settings, for example
  getBpmApplications

or to update them, for example
  updateBpmApplication

BUT there is nothing in place which would allow you to retrieve measurements / metric data.

However, the main point is that this API can be used to perform operations you usually would do via the BSM GUI. After the API calls BPM still needs to retrieve the information from BSM and apply the changes within BPM, so unfortunately this would be of no help for you.

Greetings
Siggi


Re: Debug logs getting created in SIteScope

$
0
0

Hi Polter,

debug.log is a logfile which I've never seen before in SiteScope, but in the end I found a place in the source code where we use it.
Do you have a reference to debug.log in the log4j.properties file?
You didn't post any entries, so I cannot see whether you see INFO / ERROR message in there, or DEBUG messages.
So first check if the messages are DEBUG message or plain errors, warning or info messages, like
..  (TextUtilsBase.java:599) DEBUG - Spliting String:SetProperty category good ..
..  (PerfMonitorMeasurementsTreeConstructor.java:120) ERROR ..
In any case, check in log4j.properties if you can find an entry with "com.mercury.sitescope.util" or even  "com.mercury.sitescope.util.DebugWatcher" and verify its setting.

Depending of the message which are logged there you might need to change the loglevel to INFO or alike.

Greetings
Siggi

 

Re: Debug logs getting created in SIteScope

$
0
0

Hi Polter,

mhm, I cannot find anything obvious either.
Can you please upload this mysterious file debug.log to the same FTP directory, and also let me know what folder it is in? Is it in <SiteScope>\logs or a folder underneath <SiteScope>\logs
Can you please zip up all files in <SiteScope>\conf\core\Tools\log4j and upload them as well.

Do you recall a session with support where this logging has been enabled by any chance?

Greetings
Siggi

Re: Debug logs getting created in SIteScope

$
0
0

Hi Polter,

I checked the FTP server but cannot find a SiteScope logfiler from today.
Simply zip up debug.log, then it will be a couple of MBs only, that you can easily upload to the FTP server.

Greetings
Siggi

Re: How to measure specific database query execution time in Sitescope?

$
0
0

Hi abdomin25,

I made some tests and think that the round trip time measures the overall runtime of the monitor,
and the time you only see in the monitor status actually shows the time the query execution took.

long startTime = PlatformNew.timeMillis();
// Execute query
results = executeQuery(path, fileQuery, query);
totalTime = PlatformNew.timeMillis() - startTime;
..
String duration = TextUtils.floatToString(((float) totalTime) / 1000, 2) + " sec";
..
summary = duration + ", " + rowNumber + " " + rowLabel + ", " + resultBuffer;
..

As we use different scales and roundings, it is hard to see it for small numbers.
Here are some examples from my boxes running a DB Query monitor against Oracle or MS SQL:

Database Query 0.003 sec, 1 row, sov02bac14, 15950
round trip time Status: 0 sec
-> round trip time is only represented with two digits,
    thus 0.003 would be rounded to 0.00, as long as the round trip time is not > 0.004

Database Query 0.006 sec, 1 row, sov02bac14, 15950
round trip time : 0.01 sec
-> as above, but now the rounding results in 0.01 sec

For another box I even get 0 sec for the query time, and 0 sec for the round trip time,
which means that the database query execution time is below 0.005 sec, and the
round trip time as well. 

In your case the query execution time is 0.016 sec
the round trip time is 0.02 sec, which can be anything between 0.016 and 0.024

Assuming that I'm correct you should never see that the time in the status (database query execution time) is larger than the round trip time

Greetings
Siggi

Re: Debug logs getting created in SIteScope

$
0
0

Hi Polter,

perfect catch, as the source tells
if (ConfigManagerSession.getReadOnlyMasterConfig().getAsString("_debugLog").length() > 0) {
.. DebugWatcher.initializeDebugWatcher(PlatformNew.getRoot(), true, true);

and DebugWatcher is the guy enabling logging to debug.log, so you should be fine.

Greetings
Siggi

Re: Debug logs getting created in SIteScope

$
0
0

Hi Polter,

the master.config switch "_debugLog=1" (we actually only check for the appearance of the string "_debuglog" is the only way to enable or disable it.
It seems that this is rarely used, I only found two cases with R&D where it was used, and I was not aware of this feature either,
it looks like a very internal thing ;-)

Greetings
Siggi

Re: How to get BPM schema?

$
0
0

Hi Adr,

I didn't even think about this API, as it seems it was documented up to BPM 9.24, and then not anymore (at least I checked on BPM 9.26 IP1 and BPM 9.30).
With BPM 9.24 the documentaion (<BPM>\ServletContainer\webapps\ROOT\help\BPMWeb\Content\API\overview.htm) shows
..
Web Services API

The BPM Web Services API enables you to run the following operations on your BPM machine:
..
add - Adds a new instance on the BPM machine according to the passed parameters.
..
setSpecificUser - Defines the user for running the BPM process.
..
Note: The WSDL contains additional functions to those listed above, which are not supported in BPM version 9.23 or later.
..

I just tested on BPM 9.30, and the URL still works http://localhost:2696/jsp/agent/api/BPMApi.wsdl, so at least parts of still work,
but after going over the list of operations I cannot find the stuff you would need, like retrieving metric data from BPM and alike,
plus, only the listed subset would be supported.

And I think that this API wouldn't resolve your issue:
there is the EUM Admin API, which would allow you to perfom various EUM configuration tasks without the BSM GUI, but on the BSM side.
And there is this BPM API, which allows some actions on the BPM side,
but the main issue - data-wise, would remain:

- BPM creates .sba files and sends byte array data to BSM.
BPM is not sending any files in file stream. It always converts them to byte arrays before sending to BSM.

- BPM will send *.json, *.metadata, *.endstatus as part of transaction samples data,
*.html, jpeg, *.inf and etc will send as part of error data. But, all files will be converted into encrypted byte arrays before sending to BSM.

- BPM will use only 80 port in case of HTTP communication. If the communication is on HTTPS protocol, then BPM will use 443 port.

BSM <-> BPM communication is using SOAP web service,
for example
BSM sends request <http or https>://<bpm fqdn or ip>:<port>/jsp/agent/api/BPMApi.wsdl

BPM uses
http://GW/ext/mod_mdrv_wrap.dll...
to access WDE on GW server (to upload metric data and more)

So will all API in place, the middleman would still be missing.

Perhaps you can somehow fool BSM, setup all as usual, then regularly collect the data from the BPM system,
copy it to BSM and then mimic the calls to
http://GW/ext/mod_mdrv_wrap.dll...
but ...
BTW, I found a case with R&D with this setup:
..
customer will use a third party software (DataPower) which will be in the middle of the communication between BPM and BSM
so he needs the full information about all files and connections that BPM uses/sends during its communication to BSM.
..

The information from above (files, ports) was sufficient to implement this, so maybe it helps you as well?

Greetings
Siggi


Re: Windows dynamic log file moniotr

$
0
0

Hi vamsibn,

it would be helpful if you tell us
- what SiteScope version you are using
- on what OS
- a example how the logfile name looks like in reality, so that it's possible to verify the regular expression

Check the log and provide the full error message, it may show what file the monitor tries to open
On the SiteScope box check if you can access the file
\\<host>\E$\<whatever>\Log_<whatever>.log
Make sure the user SiteScope runs the service under can access the file as well.

Greetings
Siggi

Re: BSM 9.20 Uninstallation

$
0
0

Hi Polter,

from the scrrenshot it seems that you are starting the Uninstallation by executing
 C:\HPBSM\Uninstall\<cersion>\setup.exe
(that's the path on my box)

or do you run
 C:\Program Files\HP\HP BTO Software\Uninstall\HPBsm\setup.exe
(again that's the path on my box)

if you use the second one, give it a try with the first one,
of course both work fine in my case ...

Did you check the logfile at %TEMP%\HPBsm_9.20_HPOvInstaller.txt for any obvious issues?

In any case you can download the BSM Uninstallation tool from
 BAC_00898 - BSM 9.2x Uninstall tool for Windows
and simply remove BSM from your system.

Greetings
Siggi

Re: Arcsight logger 6.2 is compatible with HP OPSA 2.31 and 2.32

$
0
0

Hi Bharat,

here in BSM/APM land we don't have (a lot of) knowledge about ArcSight and/or OpsA, so you might wanna post this question in one of the related forums.

Greetings
Siggi

Re: Diagnsotics support for webmethods 9.8

Re: APM 9.30 in cloud

$
0
0

Hi Gopinath,

as of today (up to APM 9.30 / BPM 9.30, RUM 9.30, I guess the same is true for Diagnostics)
the installation in the cloud is not supported.

I found a very nice comment regarding this:

..
As you know BSM and all other component products that are part of APM have their supported environments described.
First of all they require an OS - for some Linux or Windows, for other Windows only.
BSM requires specifically either MSSQL DB or Oracle DB > so they should support operating on cloud as well prior to BSM doing so.
Next from BSM perspective as it is (or BPM) it wouldn't matter if they are installed on a Windows server OS, it wouldn't matter if the WIndows OS is installed on cloud or on a VM or on a physical machine. BSM will recognize it as OS.

So as far as all the prerequisites are met for either product it shouldn't matter if the OS is installed on cloud.

Of course there is a lot of room for complications and issues with such environment
1. Host names of machines must not change at any point
2. IPs of each machine must remain the same and not change dynamically.
3. Network connection between the servers should not have any latency at all. (You can't have DPS in China, GW in US and DB in Australia, because the servers will simply get out of sync every day).
..

Greetings
Siggi

Re: Site Scope Start up

$
0
0

Hi IFS_NC,

as per the SiteScope 11.30 Deployment Guide, Chapter 9: Installation Requirements,
Server System Requirements for Windows
The following Microsoft Windows operating system versions have been certified:
- Microsoft Windows Server 2008 R2 SP1 Standard/Enterprise/Datacenter Edition (64-bit)
- Microsoft Windows Server 2012 Standard/Datacenter Edition (64-bit)
- Microsoft Windows Server 2012 R2 Standard Edition (64-bit)

Windows 7 is NOT supported.

Greetings
Siggi

Re: use NNMi real time data for a third part apps

$
0
0

Hi Ali,

this is BSM/APM/SiteScope land, so you better psot your question in the NNMi forum.

Greetings
Siggi


Re: use NNMi real time data for a third part apps

$
0
0

Hi Ali,

this is BSM/APM/SiteScope land, so you better psot your question in the NNMi forum.

Greetings
Siggi

Re: Need information on Java version

$
0
0

Hi nandurisrinivas,

BSM 9.26 in fact supports

Client Requirements for Viewing BSM
Java Runtime Environment
- Version 7 update 80
- Version 8 update 51 (recommended)
Later updates to version 8.x, when released, will be supported, but may require a BSM patch.

BSM 9.26 IP1 / IP2 supports
Java Runtime Environment
- Version 7 update 80
- Version 8 update 66 (recommended)
Later updates to version 8.x, when released, will be supported, but may require a BSM patch.

1.Need to know which java version is supported by BSM 9.26 windows
see above

2.Need to know how can we determine which java version BSM 9.26 using currently?
You need to differntiate between the Java version you installed on a client system to view BSM, and the Java version used by BSM as an application.

The last one you can find out by executing
<HPBSM>\JRE\bin\java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode)

<HPBSM>\JRE64\bin\java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

The output above is from a BSM 9.26 IP2 installation.

3.Need to know what will happen if we remove java from our DPS and GW?will it impact any of our services ruuning on DPS and GW server?
As long as you don't remove any bits under <HPBSM> you should be fine

4.Need to know which java version is used by BSM browser from JMX console?
I don't know what to answer, to be honest.
I think this simply depends on the system you start the interet browser (IE, Mozilla, Chrome) from.
But the code executing undernath uses BSM's Java.

Hope this helps
Siggi

 

Re: BSM only allows to set one parameter field for VuGen Script

$
0
0

Hi Axel,

you missed one important point:
BSM 9.25.361, Vugen 12.02
so what BPM version do you use?

But, the more important question here is:
what parameter type do you use in VuGen?

The BSM manual states
..
- You cannot edit script parameters for a parameter that contains multiple values.
- You can edit the following string-value script parameters in BSM:
- File Parameter
- Custom Parameter
All other script parameters are marked as Read Only and can only be edited in VuGen or TruClient.
..
but I found a CR stating that BSM can modify Table Parameters only.

With BSM 9.25 / BPM 9.25 / VuGen 12.02 I created a script which uses two parameters,
each of type table, with just one column and row.
(BTW, I found a cases stating that this doesn't work when using upper case characters in the parameter files (KM01702272))

screenshot0.jpg

myparm1.dat
---------------
myparm1
Max Greger

myparm2.dat
---------------
myparm2
Karl Valentin

After loading the script in BSM, I can easily access the two script parameters:

screenshot1.jpgscreenshot2.jpg

When updating the script parameters in BSM, I can see on the BPM side that the parameter values are picked up fine as per <BPM_workspace>\agent1\Site1\input_job.xml
..
<PARAMETER name="myparm1" value="Heidi Klum"/>
<PARAMETER name="myparm2" value="Albert Einstein"/>
..

So this all works fine for me.

Regarding Dmitry's update I found that it can be done (no idea when this was introduced):
when a script runs on multiple BPM instances, you can specify parameters indicidually for each BPM instance.
When using the "View Unique Data Collector Values", then selecting one BPM instance and clicking on the Edit pencil,
you can speify the parameters indivudally:

screenshot4.jpgscreenshot5.jpg
For my BPM instance sov02bac18 I changed the parameter myparm1 to "Heidi_Klum_18", and for sov02bac19 I changed it to "Heidi_Klum_19"
 After these updates have been passed to BPM, one case see this easily:
sov02bac18, C:\ProgramData\HP\BPM\workspace\agent1\Site1\input_job.xml
..
<PARAMETER name="myparm1" value="Heidi Klum_18"/>
<PARAMETER name="myparm2" value="Albert Einstein"/>
..

sov02bac19, C:\ProgramData\HP\BPM\workspace\agent1\Site1\input_job.xml
..
<PARAMETER name="myparm1" value="Heidi Klum_19"/>
<PARAMETER name="myparm2" value="Albert Einstein"/>
..

Hope this helps
Siggi 

Re: How to get BPM schema?

$
0
0

Hi Adr,

your very issue has been discussed in an internal forum, with the additional information
..
they will not allow port connectivity through the FW from the BPM back to the BSM. 
Even port 443 HTTPS is being prevented. 
They state the only method that would be allowed for BSM<->BPM connectivity would have to be via our SOA Access Gateway. 
They have asked if the BPM instance can be configured to talk to the BSM via a WSDL on the gateway and it’s this that I don’t think is possible.
..

One guy from R&D responded
..
No, it is not possible.
BPM <-> BSM communication is based HTTP/S communication. And it is not customizable.
..

so I think there is not a lot what can be done.

I checked the R&D case again, but there is not more information (useful for your case) it it, as in the end it's a different issue, as there the HTTP communication still could be used.

I thought about some real creative ways to get this done, like setting up a BPM within the BSM network which mimics the real ones (same application / script setup, but not running the transactions), and then moving the metric data from the real BPMs to this one after updating all the data to make it like it comes from the "mimic" one, and then this mimic BPM feeds the data into BSM, but this would be an awful lot of work, and I cannot say for sure that this would work at all,
not even thinking about the support impact.

Greetings
Siggi

Re: WDE Error

$
0
0

Hi Arunkumar.k,

WDE seems to be the issue here, as your tests and log file analysis already showed:
http://servername/ext/mod_mdrv_wrap.dll?type=test , getting "Service Temporarily Unavailable" error.
wde_all.log -> Connection refused: connect: tcp://BSM-GW:2507] continuously.

Port 2507 is Sonic's MessageBroker, and WDE has problems connecting to it, so you might wanna check for errors / messages in <GW_HPBSM\log\bus>, it might be one of the ugly Sonic issues.

Greetings
Siggi

Viewing all 426 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>