cancel
Showing results for 
Search instead for 
Did you mean: 

Connect DAA to SOLMAN

former_member142535
Participant
0 Kudos

Hi Experts,

I want to connect my Diagnostic Agent thru SAProunter.

I able to execute the command without issue.

smdsetup addsaprouter route:/H/xx.xx.xx.xx/S/3299/H/xx.xx.xx.xx/S/3299

* I don't want to use P4 due company policy.


But, smdagent is showing disconnected and the connection for DAA in SOLMAN_WORKCENTER is failed.

I found an error message in log file as below.

Unable to establish a SAPRouter connection with string "null".


Please advise if you have any idea.

Thank you.

Regards,

Por.

Accepted Solutions (1)

Accepted Solutions (1)

VJain
Active Contributor
0 Kudos

Hi Soon,

Please do the following steps to use the smdsetup script to switch the connection type to saprouter support.


1. Stop SMDAgent
2. Open a command prompt / terminal window in the script directory of the SMDAgent (e.g. /usr/sap/SMD/J98/script) and enter these commands:
a. smdsetup addsaprouter route:"/H/srhost"
b. smdsetup saprouterpass pass:"srpw"

3. If you use SP18, check the following troubleshooting section. The last property(smd.agent.connection.transport) must be added manually to the runtime.properties file. Starting with SP19, it is added automatically.


4. start SMDAgent
5. Go to Agent Administration to see if the agent is marked as connected (greentraffic light)

>>>

3.1.1 Troubleshooting

double-check in runtime.properties

(/usr/sap/SMD/J98/SMDAgent/configuration):

smd.agent.connection.saprouter=/H/srhost

smd.agent.connection.url=p4\://smhost\:50004

smdserver.connection.interval=30000

smdserver.connection.requiresAuthentication=true

smd.agent.connection.transport=SAPRouter

Check agent logs: P4.log, SMDSystem.log

Important: A known problem may lead to periodic disconnects of the

SMDAgent.

Please check SAP Note 1348549 for a fix.

Thanks

Vikram

former_member142535
Participant
0 Kudos

Hi Vikram,

I have confirmed that everything is correct according to your said.

But, still try no luck.

Any idea what can be the caused?

Please advise.

Thank you.

Por.

Former Member
0 Kudos

Maybe (I am not sure) try to add port 50004 to the saproutertab as we discoussed above. Because I see this port in Vikram's advice. Also I saw it in similar case before.

former_member142535
Participant
0 Kudos

Hi Kamil,

Yes, I have added the port as below and refresh the saprouter with saprouter -n.But,I still cannot connect to SOLMAN.

Also cannot see the DAA in http://192.168.1.15/smd/AgentAdmin.

Eg.

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.1.15 *  (internal IP)

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 22.12.123.2 * (External IP)

Am I add in the correct data in saprouttab?

Please advise.

Thank you.

Regards,

Por.

Answers (3)

Answers (3)

former_member142535
Participant
0 Kudos

Hi All,

I have solved the issue by change the runtime.properties.

smd.agent.bootstrap.class=com.sap.smd.core.runtime.Runtime smdserver.connection.requiresAuthentication=true smd.agent.connection.enableNAT=true sap.solution.manager.server.name=XXXX smdserver.connection.interval=30000 smd.agent.connection.saprouter=/H/123.11.123.11/S/3299 runtime.states.initial=core.startup,core.patch.enabled smd.agent.connection.url=p4\://10.12.10.12\:50004 smd.agent.connection.transport=SAPRouter smd.agent.bootstrap.application=com.sap.smd.agent.application.runtime

former_member142535
Participant
0 Kudos

Hi Experts,

the SMDagent able to connect now.

But, the SOLMAN connection to DAA stuck with message "last operational status : 129".

Also, I can't see the DAA in agent admin.

Please advise if you have any idea.

Thank you.

Best regards,

Por.

.

Former Member
0 Kudos

If you did not yet try to check this thread:

They have similar problem there, but I am now little bit confused what you already tried or not. But the "Correct solution" answer looks like fitting to your problem.

former_member142535
Participant
0 Kudos

Hi Kamil,

The SMDagent able to start up after I have change the parameter in  runtime.properties(/usr/sap/SMD/J98/SMDAgent/configuration): smd.agent.connection.saprouter=/H/srhost. Yes, I have read the mention thread b4. As I mention, we do not want to use p4 port.So,this is the reason that we want to connect the DAA to SOLMAN thru saprouter.

Btw, do you have any idea whether we need to open P4 port if we use SAPRouter method?

Former Member
0 Kudos

Hello,

it seems like you need some other port to be added to saprouter. But you need to check which one. It should be written in an agent trace file.

Kind regards

former_member142535
Participant
0 Kudos

Hi Kamil,

Do you mean to add the port number in saproutab?

Thank you.

Regards,

Por.

Former Member
0 Kudos

Exactly.