Using gcore on a process monitored by cluster
So we want to run gcore on a process running on a suncluster
2.1 but it doesn't work because rpc.pmfd is monitoring
the process via /proc. gcore also uses /proc to get a
core of a running process but only one process is allowed
to use /proc for a process at one time. So I came up with
a possible work around that involves killing pmfd and
then doing some other tricks to get the cluster back into
a sane state:
kill rpc.pmfd
run gcore
kill process
scadmin switch 'clustername' 'nodenametoswitchto' 'logicalhostname'
scadmin stopnode 'clustername'
restart rpc.pmfd (/etc/init.d/initpmf start) should do it.
scadmin startnode 'clustername'
For those of you that are very familiar with suncluster,
does the above procedure look ok?
-Scott
If you kill pmfd it will panic the system. The process to do is ugly and definitely not going to be supported.
1) Find the script that starts the process using pmfadm. Modify the script to start the process outside of pmfd.
2) Start up cluster and run a gcore on the process.
3) Change the script back to the way it was.
***) You will have to shutdown the cluster to make this change. Within pmfadm there is the option to stop restarting the process, but nothing to stop monitoring it. If you do not completely remove it from pmfd control gcore with fail. Pmfd runs a trace on the process when monitoring and gcore will fail if it cannot run a trace.
Hope this helps,
Chris
Similar Messages
-
Using ARIS process models as the foundation for Business Process Monitoring
Hello,
Do anyone know if you can use IDS Scheer ARIS process models and the integration between IDS Scheer ARIS and SAP Solution Manager as the starting point for end-to-end Business Process Monitoring (BPM) so that you get the process description/model automatically in Solution Manager BPM and just need to configure the monitoring (more or less that you monitor against the modelled process in ARIS)?
Is there an API for SAP Solution Manager BPM so that non-SAP solutions/systems can be part of the end-to-end process monitoring?
If not, how do you usually integrate non-SAP solutions that are part of an end-to-end process that you want to monitor into SAP Solution Manager BPM, or do you not use Solution Manager BPM for this?
What is the roadmap for SAP around SAP Solution Manager BPM when it comes to non-SAP systems/applications/solutions and the new SAP NetWeaver BPM functionality?
Regards,
Markus JohanssonHello Markus,
I just paste my answer form the other forum entry Re: Business process management strategy in SAP?
in a nutshell BPM Netweaver is focussing on so called edge-processes (usually
SOA-based and often workflow related). These edge-processes a thought to enhance exisitng core business processes and should provide the fast competitive edge versus competitors. Examples would be also xApps. For this Netweaver provides process modelling tools, where you can get exectuable code through the integration between CE and PI. The monitoring part for these processes is mainly targeting business end-users and business manager.
Business Process Monitoring with Solution Manager focusses on core business processes which are realized with the "conventional", "old" SAP Architecture, e.g. Order-to-Cash or Procure-to-Pay. You get a combination of technical monitors (average response times of transactions, background job runtimes, monitors for IDOC or qRFC processing) and application related monitors (you get more than 200 pre-configured application monitors out-of-the-box like number of overdue customer orders or outbound deliveries or number of deliveries with goods issue posted but no invoice). The target group here is the support organization of the customer, from Basis-Support over application support on IT side to process owner on business department side.
Overview presentations can be found under
https://service.sap.com/bpm --> Media Library --> Customer Information -->
"Business Process Monitoring - Part 1 & 2".
Or look under https://www.sdn.sap.com/irj/sdn/nw-processmonitoring
In the end BPM Netweaver and BPMon SolMan are complementary for different purposes and different target groups.
Best Regards
Volker -
Is ther any program similar to Process Monitor(Procmon) to use command line?
Hi. I need to find some kinds of program like process monitor in terms of using command line
there is a little bit restrictions to use ProcMon for exploiting command line.
well, I tried to find such programs like multimon, yapm and so on..
They are really good. However I couldn't use command line for them.
Any guys can solve my problem?
help meI agree, the procmon forum is the best place to ask about this.
You do have command line options available to you:
Don't retire TechNet! -
(Don't give up yet - 12,700+ strong and growing) -
Business Process Monitoring with SAPCCMSR Agents
Hi
I have installed a SAPCCMSR Agent in a non-sap system to monitor log files.
This is the configuration about a particularly log file:
LOGFILE_TEMPLATE
DIRECTORY="E:\LOG"
FILENAME="senddata*.txt"
PATTERN_0="error"
VALUE_0=RED
MONITOR_NEWEST_FILES=1
In this folder every day, log are created (with name senddata-DD-MM-YYYY) and I would like to monitor only the last log produced to search for error.
When the agent run, it creates a monitor in rz20 with the name of the current log(for example senddata-08-09-2014).
Tomorrow when a new log will created, the monitor will change its name (for example in senddata-09-09-2014).
I also want use business process monitoring to create a monitor and assign the mte in rz20.
When I choose from a list which monitor assign, it give me the name of the ccms monitor that have the name valid for today(senddata-08-09-2014).
The problem is that tomorrow this MTE will change its name and will invalidate my monitor in bpm.
I tried to insert manually the value in bpm monitor like ...../senddata*/.... to see if dinamically, it will acquire the monitor with the name in rz20.
But this doesn't work.
Anyone have an idea on how monitor this?
Thanks very much & Best regards
MarcoHi Mark,
When the agent run, it creates a monitor in rz20 with the name of the current log(for example senddata-08-09-2014).
"senddata-08-09-2014 " - Is this the name of your log file created on OS level everyday ?
If yes, then why not after every log switch after end of day, a file with name sendata replaces its old content with the contents of current logs ?
This "replacing" is scheduled to run every 5 mins from OS level(cron script) and it picks the name of the file using current date method ?
In this was you will have your monitor with same name.
Regards,
Divyanshu -
Unable to see system process request page, process monitor page
Hi all,
We refreshed our test instance with prod recently. sysaudit and ddd audits were clean except for the following entries in sysaudit which i thought wasnt of much significance here.
SEC-30) Role User table (ROLEXLATOPR) should be populated when new User Profiles (entries in PSOPRDEFN) are created
sing User Profile component through PIA. The following User Profiles need to be fixed by simply opening and saving
hem through PIA:
per ID Description
OPP_PORTALADM Common Portal Administrator
OPP_PORTALMGR Common Portal Manager
OPP_USER Common Portal User
3 Total Rows
On logging to the superuser VP1, am not able to see many pages, such as system process request, process monitor and also do not have access to user profile page.
The upgcount was matched with prod instance and didnt find any issues there. For the same profile in prod, the user has access to all the above mentioned pages. In the cloned copy, no user has access to these pages.
We checked the permission lists and roles attached. They are all in place as the same user is able to access the pages in prod instance.
Could it be webprofile issue. We tried clearing the webserver and appserver cache and bouncing them. the webserver in use is websphere and OS is AIX.
Appreciate any valuble feedback i can get on this.
ThanksHere's just a thought.
Do you know if it is a security problem or a portal problem? I mean is the issue just that the links for Process Monitor, etc. don't show up in the menu, or does it give you a not authorized message?
Here's the thought:
Try to hit these links by pasting them into your browser:
http://localhost:80/psp/HR90DMO/EMPLOYEE/HRMS/c/PROCESS_SCHEDULER.PRCSMULTI.GBL
http://localhost:80/psp/HR90DMO/EMPLOYEE/HRMS/c/PROCESSMONITOR.PROCESSMONITOR.GBL
Make sure that you change:
- "localhost" for your servername
- "80" for your port
- "HR90DMO" for your weblogic domain name
If you can see the page, we need to look at your portal setup or portal security, maybe run Portal Security Sync. If you get an error message, can you post that message, and maybe we need to check the main security setup, etc.
Hope that helps at least get a little further toward a solution. -
Process monitor alert to include process id and or user
I set up a SCOM 2012 process monitor from the process monitoring template, that now quite nicely alerts me when an instance of a process consumes too much CPU or too much Memory from the host. The problem I have now, is that I have 15 Remote Desktop
Service hosts that my customers log on, to run this process, and an average of 45 users per RDSH. While it's nice to know which server has the process running too high, what I really need to know is the user and/or PID of the offending process. I easily have
this process running 45 times per RDSH throughout the day. If I knew the PID or the user, I could much more easily find my process, and with user, I could even shadow my user via my service broker to see what's going on. As it is now, I have to myself RDP
to the server, pull up task manager, sort by offended instance (memory or CPU), to find the task. Then, find the user/pid associate, go back to the service broker and shadow the session to determine the cause.
I there a fairly simple way to get the PID or user information from the process to show up I the alert? I would think it pretty basic to expect that if I monitor a process, I want to the at least the PID of that process in the alert...and preferably
the user. Other suggestions to accomplish this? I want to be able to hand these alerts (via notification) off to my support folks, so they have enough information to resolve the issue, without jumping from RDSH to RDSH.
Thanks in advance!
mpleafHi mpleaf,
Please look at this post:
http://social.technet.microsoft.com/Forums/windows/en-US/de3799e0-f7db-4481-8f50-cdfe39d73aef/how-to-monitor-process-using-scom-with-pid
Natalya -
Queries on Business Process Monitoring (BPM) & Interface Monitoring
Dear all,
I have got a few queries on the subject and would greatly appreciate any valuable inputs.
Before I proceed, want to clarify that I have downloaded all overtly available documents (PDFs, SIMs) from the following URLs:
http://service.sap.com/rkt-solman
http://service.sap.com/solutionmanager Media Library
http://service.sap.com/bpm Media Library
I may not have read them all though since I come from a Functional angle.
Kindly reply to whatever query you can please. Not all of them are sequential.
Queries:
(1) How are Interfaces with External Systems (beyond the firewall of the enterprise) monitored ?
(2) Is it really worth listing all such External Systems as Logical Components in their own right ? I guess this makes sense if at a Process Step level, one wants to list a 'specific' Logical Component involved instead of 'generic' term like External System. However, it would benefit only if Interface Monitoring is feasible; isn't it ?
(3) There are Interfaces which are built between SAP and External System and serve various Business Processes under various Business Scenarios. In such circumstances, it is not easy to list which Process 'owns' the Interface. Therefore, under a normal Implementation Project structure (SOLAR02), choosing a particular Process Step, getting into 'Development' Tab and listing the Interface Program name may not be feasible, since there is no particular place where it belongs.
Is it therefore a good idea to create namesake Scenario for capturing all interfaces and list a library of all interfaces and store documents right there ? If so, will these namesake processes be of any use in BPM at a later date ?
(4) If my primary objective is to accomplish Interface Monitoring and not Business Process Monitoring per se, is it a good idea to create a new Solution Landscape, and manually create Business Processes that are suited to list Interfaces than to assign Template or Implementation Project to the Solution Landscape, and inherit those Processes ?
(5) What is it that a SAP Competence (Support) Centre will find as a 'major' gain in activating BPM to monitor Interfaces alone - is there something that SolMan's BPM based Interface Monitoring gives more than what PI level reporting may provide them with ?
(6) In Interfaces with Non-SAP Systems (some of them are old/ proprietary legacy systems with Credit Card companies; some of them are like 'Active Directory' servers), is it possible to define Metrics for BPM that such systems will contribute to SolMan, for reporting purposes ? Or, is it too much to hope for
Thanks again, for your patience and advance thanks for your kind responses.
Srini
BesHi,
Welcome to BPM
You have asked too many questions in a single Post, Please read rules of engagement before posting
You can monitor the following without any trouble.
● ALE/EDI
● qRFC
1) Its obvious, if your firewall blocks all your request to external enterprise, it is not possible to monitor.
3) These interfaces are not the one related to development tab in SOLAR02, you have to map them from BPM.
4) Yes, you don't have to depend on any project for your processes, you can add it in your Solution Landscape.
5) Post a Separate Thread!!!
6) Post a Separate Thread!!!
Hope this gives a better idea.
Feel free to revert back.
--Ragu -
Business Process Monitoring - Dialog Performance Monitoring
Hello all,
I'm using BPM in order to monitor my project's most critical processes. In this part of the process we have some transactions that are executed online.
What is the best monitor to use in this case?
I'm using Other CCMS monitor, but the problem with that is that I have to create one monitor per application server.
I'm aware that I can use Dialog Performance itself, but the problem is that when I receive an e-mail notification there's no information regarding the transaction (is there any way to customize this e-mail?)
And also, I could use Application Monitor, but I really don't know the difference between them.
Thanks in advance and BR,
LucasHello Lucas,
I thought I explained the difference between the two monitors in great lenght. Only the Application Monitor allows you to configure monitoring across all applications servers centrally in one step. But then you don't have the measurement per instance.
I don't understnad why you would like to have some information about users. You don't want to monitor single users do you? You measure averages across all users.
Theoretically we could develop something that would allow the one time configuration across all application instances and nevertheless you get all details for the individual instance. But this would be a customer-specific development as part of the MaxAttention contract.
Best Regards
Volker -
Business Process Monitoring: restrict authorization to confirm alerts
Hello Experts,
I am working with Solution Manager's Business Process Monitoring and I am now facing these questions regarding roles and authorizations to allow/forbid alert confirmation:
- What is the authorization mechanism behind alert confirmation in BPM? Is a specific authorization object involved when pressing the button "Confirm selected"?
- Is it possible to adjust roles (if no standard role is available) in order to have, for example,
--Role1: give users the authorizations to walk through DSWP transaction, see business processes' alerts and confirm them
--Role2: give users the authorizations to walk through DSWP transaction, see business processes' alerts but NOT allow them to confirm any alert?
Our Solution Manager version:
SAP EHP 1 for SAP Solution Manager 7.0 (SP22)
ST-PI 2008_1_700 level2
ST-SER 701_2008_2 level 6
ST-A/PI 01M_CRM570
I hope I managed to explain my doubts properly; any help will be very appreciated.
Thanks in advance for your support,
best regards
PaoloHello Paolo,
it is the first time that I hear that request. Can you explain what your use case is? Why would you allow some users to see and analyze alerts but do not let them confirm the alerts if the problem is solved?
As the user/date/time is logged if somebody confirms you have the transaparency who confirmed which alert at what point of time.
I think that currently no such split in authorizations is supported but perhaps you can find something in the securtiy guide.
Best Regards
Volker -
Monitoring proxy abap in business process monitoring
Hi
Expert. Iu2019m working with Business Process Monitoring in my Solution Manager 7.0 sp20.
I would to monitor the communication between SAP ECC and SAP PI.
SAP ECC and SAP PI communicate by proxy.
I would know if can I monitor the proxy abap using SAP PI Message Error Monitoring based on Message-Based-Alerting (RWB).
I have just defined the alert category in abap stack and in RWB. In RWB I have inserted all information in u201CConditionsu201D fields and in the u201CWhere did the error occur?u201D fields I have chose:
Integration engine : XI Proxy
Error Code: *
Is this the correct procedure to monitor a proxy abap?
Thanks a lot
Giou2019Hello Giovanni,
The described procedure looks correct in general. If you have set any restrictions in "Conditions" fields than you will only monitor on these specific message. If not all message will be considered which turn into a error status on the ABAP Proxy.
For information regarding the PI/XI Message Based Alerting please refer to service.sap.com/bpm -> Media Library -> Technical Information "Setup Guide - Interface Monitoring".
Best regards,
Maciej -
Roles for Business Process Monitoring
Hi Expert,
I'm working with sap solution manager and Business Process Monitoring.
It works fine but I need to create particular roles for my users.
I have created one solution with 2 business scenarios (scenario 1, scenario 2) and 10 Business Processes for each scenario.
I would know if exist a role in order to allow user 1 to see only BP in scenario 1 and allow user 2 to see only BP in scenario 2.
I saw roles: SAP_OP_DSWP_BPM and SAP_SMWORK_BPM but I didn't find any suitable authorization object to use.
Thanks for collaboration
best regards
gio'Hi Giovanni,
the answer is unfortunately no. There is no authorization object available that limits the visibility of business processes. You could only split by solution, so creating two solutions each containing 10 business processes.
In general you can find information about roles and authorizations in SAP note 834534. There are several MS Excel files attached to this note.
Best Regards
Volker -
Our company is using Solution Manager 3.2 and SAP R/3 Enterprise version 4.7.
We have few transactions that we would like to monitor through Solution manager function: Business Process Monitoring. Since this company had GO-live in January for its subsidiary company, and now we run some transaction manually and record these values in our excel sheet
Few examples transaction that we run:
COOIS, MB51, COGI, VF03 and much more
I want to know how to monitor these transaction in Solution Manager Business Process Monitoring.....
Cam someone please direct me in a right path to do this? where to go next in the Solution Manager?
if any has good documentation on how to do this, can you please share it with me?
Thanks in Advance
KumarHi,
check Wonderful pdf with sample scenario.
https://websmp204.sap-ag.de/~sapidb/011000358700000720012003E.PDF
http://help.sap.com/saphelp_sm40/helpdata/en/9a/e435e7fa6f4e85a70885a36479be4e/content.htm
Also the foll links,
http://www.sap.com/platform/netweaver/pdf/BWP_NetWeaver_BPM.pdf
http://www.sap.com/services/pdf/CS_Airbus.pdf
/people/alan.rickayzen/blog/2006/11/03/business-process-expertise-and-workflow-engineering--distinction-and-overlap
http://www30.sap.com/korea/Company/Events/techday05/img/data_06.pdf
Please reward points. -
Business Process Monitoring - Application Monitoring help.
Hi all,
Through Business Process Monitoring, I am trying to configure monitoring on table NAST, so that an alert will be generated for Billing documents print outputs (application=V3, transm. medium=1) on specific message types, if the processing status is equal to either 0 (not processed) or 2 (incorrectly processed).
I have configured this through application monitoring, using the 'Messages (Output Determination)' monitoring object. Under this, was able to configure the 2 key figures of "unprocessed messages" and "incorrectly processed messages" with the parameters mentioned above (application and message type).
I set the yellow alert threshold to 1, and the red alert threshold to 2, as I want to be notified each time a print output goes into status 0 or 2, and that a red alert be generated in the case where 2 or more print outputs are not successful.
However, upon activation of this monitoring, I came across the following issue: The table NAST already has over 40 historic entries of unprocessed and incorrectly processed messages for these message types. The monitoring is picking up all these entries right away, and therefore a red alert is being generated.
There does not appear to be a way to configure the monitoring to only look for new entries in the table matching the criteria, e.g. look for billing docs with status = incorrectly processed during the last 24 hours. It seems that unless the existing entries in the table NAST are either deleted or have their status changed to "processed", the monitoring will always pick up these entries and report a red alert, even if no new entries are discovered.
Does anyone know how a way of configuring a date range with this type of monitoring, or do I have to modify the existing entries in the table (either delete them, change their status or set the "disregard" indicator on the messages in the table) before this monitoring will work as I hoped it would?
Secondly - a more general point - although there are lots of good documents on configuring Business Process Monitoring, I have not yet found one which gives full details on all the different types of application monitoring available, and how each of them can be configured. I know that within Application Monitoring, when you choose a monitoring type, the grey box at the top half of the screen gives some good information on what the monitoring does and how to configure it, but a document which captures all these monitoring types in one place would be very useful - if anyone could point me in the right direction I'd appreciate it!
Thanks in advance for any help with the first issue above,
Regards,
JohnHi John,
you get an overview about all available key figures in the PPT "Business Process & Interface Monitoring - Part 2" under https://service.sap.com/bpm --> Media Library --> Customer Information. It lists all Monitoring Object and Key Figures with Select-Options. There is no document that describes the setup of every key figure as the setup is too similar for most objects. Therefore the grey text boxes within the tool.
The NAST collector will always pick-up everything older than x days. So you would have to process or delete the olde entries. But it is a good advise that for this rather technical key figure we should think about a delta mechanism like with our IDOC or ABAP dump monitor.
Best Regards
Volker -
EP/J2EE Process Monitoring in Solution Manager
Hello
I am currently in the process of connecting our EP system to solution manager. My question relates to monitor sets in RZ20. I have added our EP system to a custom monitor set. By default the system is configured to monitor the 3 main processes (Dispatcher, Server, SDM). Is it possible to change the Threshold values for one process, but leave the others?
When I change the memory threshold values for the server, it also changes the dispatcher.
Thanks
CoreyHello Ramesh,
Please use the following links.
Monitoring with the SAP Solution Manager
http://help.sap.com/saphelp_nw04/helpdata/en/1a/40f83ee0e66856e10000000a114084/frameset.htm
SAP How-to Guides
https://www.sdn.sap.com/irj/sdn/howtoguides#section4
SAP NetWeaver 7.0
http://help.sap.com/nw70/
Also check service.sap.com/instguidesnw04s --> operations and look for Supp. Setup Guide - Solution Manager Diagnostics NW04 SPS 15
Hope the above links helps you.
Cheers,
Satish.
Edited by: Satish Arram on Oct 8, 2008 5:49 PM -
I wonder if someone could advise me in setting up process monitor. I have a jist of how to do it but feel by the amount of data I'm getting that I missed something.
My goal is just to monitor writes to the hdd as I'm trying to pin down what is thrashing my hdd. Am going to insert a screen capture of the filter parameters I have set, hopefully it's right. TIACan process mon, help with this?
If you recall, I already tried doing that and it looked as if the information in the menu must have been loaded when explorer.exe starts (or is restarted). So, if it can help, it would only be while explorer.exe is starting not when you are trying
to use the menu.
http://answers.microsoft.com/en-us/windows/forum/windows_8-files/menu-not-working-in-the-start-charm/dd056687-1da5-4834-bbaf-ad4c681a1ae6?page=4&tm=1361241337696
Robert Aldwinckle
Maybe you are looking for
-
KT3 Ultra-ARU SB Live! problem when using onboard Promise MBFasttrak 1
Hello ! I have one little problem with my motherboard. I know it's a little bit older compared to today's MSI production.. I have a MSI KT3 Ultra-ARU motherboard. I used only VT8233A southbridge's IDE until now, and everything worked perfectly. But n
-
Net value and tax is not apperaring properly
dear all, Scenario : Direct Sale to customer (MTS) from Factory In this specific pricing procedure we take PR00 value as assessable value .On this we add BED and ECESS excise duty and arrive at Sub Total . ( PR00BEDECESS) We mean this value as Net Va
-
What is wrong with Safari? wont load
What is wrong with Safari, all my products won't load web pages. It's periodic with the Iphone 5, then the Ipad mini, and my Macbook air.. give us answers if you got them. Please
-
For some reason i need to have java 6 install in my computer to run some program, but then im unable to have webex to run on Firefox, it says java not install. But im able to run using IE, i really dont like IE and wish to stay with Firefox. Is it Fi
-
Query Stripping: how to filter a value and display the detail
Hi, We have just upgraded to XI 3.1 SP3.1, and I have done some tests on the query Stripping functionnality. I can see the benefits from a performance point of view if I dragged new characteristics to the report, but I was not able to reproduce one o