[update] - SAP Knowledge Base Article ----------------------
Just found that on twitter from @Sisn_Gsupport.
1907909 - How to connect Diagnostics Agent to Solution Manager system directly by using smdsetup sc...
--------------------------------------------------------------------------------
Scripts:
# Update server name on smd
smdsetup changeservername servername:"servername"
# Connect to solution manager
smdsetup managingconf hostname:"servername" port:"5xxxx" user:"SMD_USER" pwd:"xxxxxxx"
# Connect to solution manager trough port or P4
smdsetup managingconf hostname:"servername" port:"xxxxx" user:"SOLMAN_ADMIN" pwd:"xxxx"
# Connection trought saprouter
smdsetup addsaprouter route:"/H/x.x.x.x/S/3299/H/solman.domain.com/S/3299"
# Registration of agent on sld
smdsetup sldconf hostname:"servername" port:"5xxxx" user:"j2ee_admin" pwd:"xxxx"
just done, restart DAA and check log