cancel
Showing results for 
Search instead for 
Did you mean: 

Solution Manager and SLD

ILIAN_Grigorov
Contributor
0 Kudos

Hello friends,

I have some weird problem with my solution manager.(7.0ehp1)

I had to empty the SLD because it had entries of the solution manager with old hostname, which is not used for many years.

And it had information for old SP level.

Now

I want to register Solution Manager back in its own SLD, and I did it for the JAVA part through Visual Administrator

using this: Connect Managed Systems to SLD - SAP Solution Manager Setup - SCN Wiki

For the ABAP part it does not work for me. RZ70 says there is a problem with the RFC connection. Probably some sort of JCo is not working fine on the java side.

I opened "Content Administrator" like here: http://www.sapbasistuts.com/home/java-stack/java-stack-wiki/sap-java---creating-a-new-jco-destinatio...

However it says "Connection to System Landscape Directory (SLD) could not be opended successfully."

... yeah "opended"

In (the only working) "Check SLD connection" button I can see old hostname and port, but I cannot change them.

I changed them in Visual Administrator

Cluster -> Server -> Services -> SLD Data Supplier -> Runtime -> HTTP Settings.

Restarted everything.

But it seems I have to change them somewhere else...

Please help

Regards

ilian

Accepted Solutions (1)

Accepted Solutions (1)

ILIAN_Grigorov
Contributor
0 Kudos

I fixed it.

In the Visual Administrator I had to fill the second page "CIM Client generation settings".

Before that I filled only "HTTP settings (Data Supplier)"

....

Answers (2)

Answers (2)

ILIAN_Grigorov
Contributor
0 Kudos

PROBLEM N3

Now when I have SLD fixed, I expected some more info in SMSY. Probably I am wrong.

I don't have component levels:

For the ABAP stack I have a button  "Read System Data Remote" and it refreshed the last component levels for the ABAP stack. However for the Java stack, I don't have such button.

Please advise!

P.S. I'm doing all this to generate good stack.xml with MOPZ. I want to Upgrade to solman 7.1, but SUM tells me components levels in stack.xml differ from the ones found on the system. I fixed the ABAP part, but the Java gives this error in further phases...

ILIAN_Grigorov
Contributor
0 Kudos

SOLUTION

I figured out that problem too.

To update the JAVA stack info in SMSY you need to read it from the SLD.

You do that using transaction SMSY_SETUP!

In my case it does not work. In SM37 (LANDSCAPE FETCH) you see "The SLD server connection is inactive".

I used trans SLDAPICUST to set SLD parameters for SMSY_SETUP, and SLDCHECK to check them.

The error from SLDCHECK is that RFC SAPSLDAPI is missing. Probably I didn't do something right with SOLMAN_SETUP.


However I found out this document how to set up this RFC and the corresponding JCo.

Creating RFC Destinations in the ABAP and Java Environments (SAP Library - Configuration of Usage Ty...

(new link: Creating RFC Destinations in the ABAP and Java Environments - Configuration of Usage Type Process In...)

SM59 is easy.

here is the JCo, Visual Admin part:

ILIAN_Grigorov
Contributor
0 Kudos

Now PROBLEM N2

In RZ70 I get this:

0: r7s2_SLM_00                               : Execute program: _SLD_APPL_SERV

0: r7s2_SLM_00                               : Execute program: _SLD_BCSYS

0: r7s2_SLM_00                               : Execute program: _SLD_CLIENT

0: r7s2_SLM_00                               : Execute program: _SLD_COMPSYS

0: r7s2_SLM_00                               : Execute program: _SLD_DBSYS

0: r7s2_SLM_00                               : Execute program: _SLD_GWSRV

0: r7s2_SLM_00                               : Execute program: _SLD_HTTPSERV

0: r7s2_SLM_00                               : Execute program: _SLD_INSTPRD

0: r7s2_SLM_00                               : Execute program: _SLD_INSTSC

0: r7s2_SLM_00                               : Execute program: _SLD_INSTSP

0: r7s2_SLM_00                               : Execute program: _SLD_IPSERV

0: r7s2_SLM_00                               : Execute program: _SLD_LIVECACHE

0: r7s2_SLM_00                               : Execute program: _SLD_MSGSRV

0: r7s2_SLM_00                               : Collection of SLD data finished

0: r7s2_SLM_00                               : Data collected successfully

0: r7s2_SLM_00                               : RFC data prepared

0: r7s2_SLM_00                               : Used RFC destination: SLD_UC

0: r7s2_SLM_00                               : RFC call failed: Error when opening an RFC connection

0: r7s2_SLM_00                               : Test mode: No batch job created

After I check the SLD_UC connection in SM59 I get:

LogonConnection Error
Error DetailsError when opening an RFC connection
Error DetailsERROR: program SLD_UC not registered
Error DetailsLOCATION: SAP-Gateway on host *censored* / sapgw00
Error DetailsDETAIL: TP SLD_UC not registered
Error DetailsCOMPONENT: SAP-Gateway
Error DetailsCOUNTER: 71
Error DetailsMODULE: gwr3cpic.c
Error DetailsLINE: 1803
Error DetailsRETURN CODE: 679
Error DetailsSUBRC: 0
Error DetailsRELEASE: 720
Error DetailsTIME: Wed Oct 15 10:40:12 2014
Error DetailsVERSION: 2

SOLUTION

Note  1057720

You have to enter hostname and port, in the SLD Administration/Profile

/in my case/ "datasupplier"

you enter GatewayHost: and GatewayService: the same like in RZ70.

NOW in SLD I have both ABAP and JAVA