Technical Articles
Local Use of SAP MC for AS Java Systems Management
SAP Management Console (SAP MC) is a platform-independent Java application you can use to display monitoring information and execute administration tasks. It can be started browser-based as an applet or locally.
In this blogpost the focus is on setting up a pre-configured SAPMC so that administrators can monitor and administrate multiple AS Java infrastructures.
Why SAP MC Java Applet and not SAP MMC Snap-In for Windows?
The SAP MMC Snap-In for Windows could be an alternative to the SAP MC. In this case the Java Applet ist prefered because:
- It does not need administrative rights on Windows Clients (The MMC Snap-In needs them for installation and console start).
- It is platform Independent.
Step 1: Switching from browser based Applet to local application
- Copy the SAPMC content from a Netweaver Application Server Java to your local file system or to a network share (using a network share will give you the opportunity to use a centralized console together with your colleagues).
- You’ll find SAPMC Folder in: /usr/sap/<SID>/J00/exe/servicehttp/sapmc/
- Edit codebase-Attribute in sapmc.jnlp:
- Change it from: codebase=”http://hostname” to your local or network path, e.g.: codebase=”file:///C:\temp\SAPMC”
- Be careful: You need 3 Slashes “///” (Two for file protcol and one for starting a file path)
- Save the file and open it. An empty SAPMC will start on your local client. In this case (march 2017) it is version 7490, 18, 26, 7524
Step 2: Configure and export system infrastructures
- Configure a System landscape (“File”->”New”) and save it as “landscape file”:
Step 3: Implement one or multiple “landscape files” in SAPMC
- Edit <aplication-desc> attributes in sapmc.jnlp:
- Implement each landscape file with <argument> tag:
- Be careful:
- Your file path has to start with a Slash “/”
- Blanks in your file path have to be replaced with “%20”
- Backslashes “\” from Windows file paths have to be replaced with Slashes “/” (that differs from the codebase path in step 1)
- Save the file and open it (don’t wonder, it could take some time until the systems appear in the console window)
Related Links:
https://blogs.sap.com/2013/07/10/monitoring-just-a-click-away-with-sapmc/
https://blogs.sap.com/2010/06/14/sap-mac-os-x-systems-management/
https://leghen.wordpress.com/2008/09/06/sap-management-console/
https://help.sap.com/saphelp_snc700_ehp04/helpdata/de/43/0cea4f5a82439b8cf004e733f36e2f/content.htm
Hi Kai,
Nice blog! Do you know if it is possible to bulld hierarchies (folders, subfolders) in this tool? I would like to do something like this:
<Prod>
<landscape1></landscape1>
<landscape2></landscape2>
</Prod>
<Dev>
<landscape3></landscape3>
<landscape4></landscape4>
</Dev>
Where each landscape contains multiple systems?
Thanks
Bruno
Hi Bruno,
as far as I know there is no way to build hierarchical tree structures.
Maybe it helps you to group your systems by using multiple landscape files in sapmc.jnlp:
Cheers Kai
Excellent explanation and illustration. Thanks for taking the time to create this content
Hi!
As per JAVA 8 security restriction - SAPMC is not starting anymore on my PC.
Any idea?
Hi,
"Application Blocked by Java Secuity" is the default behavior of the Java Runtime.
The workaround is to add a local file exception for the SAP Management Console to the Java Exception Site List (Java Control Panel - Security tab).
Syntax: file:///C:\temp\SAPMC\sapmc.jnlp
Have fun,
Kai
Hi,
we have a problem since we change from Oracle Java to Open Java. Every time we try to open a connection it returns "Connection failed -> createControlInterface failed!"
Do you know how can we solve the issue? I tried checking the SAP Notes and blogs but all the informations are older than 2 years and they refer always to Oracle.
Regards,
Isa