How To Connect SLD Data Supplier To SLDR (FRUN) - v2
How To Connect SLD Data Supplier To SLDR (FRUN) - v2
Contents
Connect SLD Data Supplier to SLD Forwarder (FRUN)................................................................1
1. Identify SAP System/s from it:admin..........................................................................................2
ABAP/JAVA...................................................................................................................................2
HANA Database..............................................................................................................................4
Scenario 1 - HANA without Replication server......................................................................4
Scenario 2 - HANA with Replication server...........................................................................5
2. Take note the customer SLDR FQDN.........................................................................................5
3. Connect Managed ABAP system with HTTP.............................................................................6
3.1 Logon at the Managed ABAP system.......................................................................................6
3.2 Create HTTP Destination with report RSLDHTTPCONF........................................................6
3.3 Test HTTP-RFC "SLD_DS_SLDR".........................................................................................7
3.4 Adding HTTP Destination to SLD-Connection using report RSLDHTTPCONF....................8
3.5 Transmit SLD data and check transmission results.................................................................10
3.6 Prepare SDCCN.......................................................................................................................10
3.6.1 Create new RFC "SDCC_FRP"....................................................................................11
3.6.2. Adapt RFC at SM59 - Change SSL Identity / certificate............................................12
3.6.3 Activate SDCCN with new RFC..................................................................................14
4. Connect JAVA/J2EE stacks......................................................................................................16
5. Connect HANA database...........................................................................................................29
5.1.1 HANA Replication DB................................................................................................29
5.1.2 Main HANA DB: Check if any existing SLD connection...........................................29
5.1.3 SLD Registration..........................................................................................................31
Is your HDB version <= 1.00.122.12 or <= 2.00.012? Then follow the Solution below:.............31
Is your HDB version > 1.00.122.12 or > 2.00.012? Then go on here!..........................................34
5.1.3 Adapt SLD Parameter for HANA DB Usually this part is done during
installation, please verify and perform when necessary........................................................36
6. Connect SLD for SAP Mobile Platform...................................................................................42
7. Connect SLD Data Supplier - SAP Web Dispatcher.................................................................44
8. Connect Application Kernel......................................................................................................44
Configuration:................................................................................................................................44
UNIX.............................................................................................................................................44
Windows........................................................................................................................................48
Checking Results:..................................................................................................................51
UNIX.....................................................................................................................................51
Windows................................................................................................................................52
9. Have you done Step 6 for ABAP and JAVA / Webdispatcher?................................................53
Error! Hyperlink reference not valid.Error! Hyperlink reference not valid.Error!
Hyperlink reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink
reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not
valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not valid.Error!
Hyperlink reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink
reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not
valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not valid.Error!
Hyperlink reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink
reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not
valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not valid.Error!
Hyperlink reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink
reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not
valid.Error! Hyperlink reference not valid.Error! Hyperlink reference not valid.Error!
Hyperlink reference not valid.Error! Hyperlink reference not valid.Error! Hyperlink
reference not valid.Error! Hyperlink reference not valid.
Description
This article describes how to connect SLD Data Suppliers to SLD Forwarder (SLDR).
ABAP/JAVA
A system may have ABAP instances and/or Java instances. To identify this, have a look at the
system overview.
You can use the “Global search” field in the it.admin and key-in the hostname and hit enter.
This will open the system details under Inventory tab.
Click on at least Server Name and this will give you the option to scroll on its System Overview.
If you have only an ABAP instance, proceed with Step 1. Connect managed ABAP system with
HTTP.
If you have only JAVA instance, proceed with Step 2. Connect J2EE stacks.
If you have both instances (ABAP and JAVA), you have to connect both systems.
In the screenshot above, you can see Sybase database, there is no additional step to be taken,
however for HANA database, follow steps below.
HANA Database
For HANA Databases we have different situations and there are two possible implementations to
be aware of. For both scenarios go on with 3. Connect HANA DB.
This scenario describes a HANA database with only one server (eg. sesvdb11)
Scenario 2 - HANA with Replication server
In this scenario in addition to the first HANA Database server, a replication HANA Database
server is also existing using a virtual server/resource (eg. sessps0d)
You may refer to this path of the SLDR host L:\02 Hosting\Monitoring Documentation\01.
Project\FRUN 2.0\09. MY FRUN - Implementation\I. Preparation\SLDR and Wily Service IP
and FQDN
Confirm with
Expected Result:
Check Result:
Option 1
Option 2
If you have configure a RFC and http connection at RZ70 the SLD data will be sent twice.
Do not change any configuration set-up in the RZ70 initial page (leave as is entry of RZ70 in
ABAP
User Name
FRN_EWA_<CSN> FRN_EWA_MMH FRN_EWA_<CSN>
<see Passvault>
Password <see Passvault> <see Passvault>
Filter FRN_EWA_*
Repeat Password <see Passvault> <see Passvault> <see Passvault>
Start creating RFC with the Execute Button
Expected Result:
The report from SAP Note 2359359 does not setup the correct client certificate.
The correct identity (correct certificate) prepared for FRUN at STRUST has to be selected at the
RFC and save.
Expected Result:
If there is no “FRUN FRUN EWA” SSL such as above, please put a remark "To be prepared"
in migration spreadsheet column “EWA Preparation (SDCCN) (ABAP only)”. TSM needs to
create this entry in the ABAP system. Once TSM created the FRUN EWA SSL entry, upload
the customer PSE file via STRUST. Please refer below document under section [Action =
SolMan team].
L:\02 Hosting\Monitoring Documentation\01. Project\FRUN 2.0\09. MY FRUN -
Implementation\I. Preparation\FRUN EWA Preparation Managed System (ABAP).docx
Result:
Once activated successfully, update the spreadsheet in column “EWA Preparation (SDCCN)
(ABAP only)”
4. Connect JAVA/J2EE stacks
Use Netweaver Admin for Netweaver 71 and higher and use Visual Administrator for Netweaver
7.0.x)
The following screenshots are for NW 7.1 or newer (If screenshots do not fit, you probably have
an older NW version.
In case of unclear port, check it:admin entries. You may find the URL in the description
column of J2EE_ADMIN or Administrator.
>> Login with User J2EE_ADMIN or Administrator
2. Go To: Configuration tab >> Infrastructure >> Destinations >> Tab Destinations >>
SLD_DataSupplier
For SAP Netweaver 7.0 (the path is different) > Configuration>>Destinations
Check the current configuration and the user maintained under logon data
=> If there are NO entries here proceed in Step 3.
If there are any entries, meaning, there is a customer connection already configured. Then we
have to add the connection to the Outbound Connections of the SLD Forwarder (See SLD
Forwarder (SLDR) - add an additional Outbound Connection (9631)) before proceeding here!
Ex:
Example
Destination SLD_DataSupplier SLD_DataSupplier
URL (SLD
= http://SLD FQDN:8900 http://nuisldr0.npm-
Host of SLD
=http://[cns]sldr0.[custdomain]:8900 sap.os.itelligence.com.my:8900
Forwarder)
System ID <empty> <empty>
Client <empty> <empty>
Language <empty> <empty>
4. In this view (Configuration Management >> Infrastructure >> Destinations >> Tab
Destinations >> SLD_DataSupplier) in edit mode go to the tab "Logon Data" and Maintain
Connection Data as follows:
Example
Authentication Basic (User ID and Password) Basic (User ID and Password)
FRN_SLDS_KWS
User Name: FRN_SLDS_[CSN]
*change the CSN based on your customer
see PassVault see PassVault
Password:
(Search FRN_SLDS_[CSN]) (search FRN_SLDS*)
5. Save your action with Button "Save"
Note: For SAP Netweaver 7.0x, the interface may be different <refer below>
And for to trigger the transfer of SLD data, Start the J2EE Engine Visual Administrator.
2. On the Runtime tab in the right frame, select the HTTP Settings tab.
3. Enter the data required for the HTTP connection from the SLD service to the SLD as
follows:
5. To test your settings by sending test data to the SLD, click the blue arrow with the quick info
text Trigger data transfer to System Landscape Directory.
Verify in FRUN LMDB if Data Supplier Completeness Check has been updated.
In case above doesn’t work, you may also need to perform below, step 6 is not applicable in this
version:
http://<hostname>:5<system number>00/sld
URL : SLDR ex: http://alpsldr0.allied-sap.local:8900
USER : FRN_SLDS_ALP
PW: refer to itadmin
Then save
Restart SLD to start the send process
It will take sometime to reflect in LMDB of FRUN (wait at least 30 mins)
ATTENTION: If you have a HANA replication DB you have to do this step on both HANA
systems (see also top of the page description of HANA replication scenario)
Example:
If there is an entry (as shown above, where the “host_param” parameter maintained is not the
SLDR fqdn.
In this case,
1. Add an outbound connection to SLDR as described in SLD Forwarder (SLDR) - add an
additional Outbound Connection (9631) using the displayed data as follows:
URL: [http(s)://][host_param]:[port_param]/sld/ds
2. After adding the outbound connection to SLDR, proceed to the next step – SLD
Registration
Result:
2. Enable the SLD registration via Cockpit or studio - set the value of parameter in
nameserver.ini, section [sld] lmStructurePath = <inst_path>/<SID>/lm_structure; set the
value of parameter in nameserver.ini, section [sld] enable = yes
Checking Results:
Command:
As <sid>adm
cd /usr/sap/MED/SYS/exe/hdb
sldreg -showconnect /usr/sap/MED/SYS/global/slddest.cfg
md-hmesd0:/hana/shared/MED/HDB00/md-hmesd0/trace> more sldreg.log
Note - Does it have HANA replication server? If yes, perform the SLD registration in the
replication server too as <sid>adm (of the Primary HANA DB).
/hana/shared/[SID]/hdblcm/hdblcm --action=configure_sld
Example
/hana/shared/BIP/hdblcm/hdblcm --action=configure_sld
General: Example:
= SLD FQDN =[csn]sfor0.
SLD Host Name mmhsldr0.mydin-sap.local
[custdomain]
Port 8900 8900
User Name: FRN_SLDS_[CSN] FRN_SLDS_MMH
Password: <see Passvault> <see Passvault>
Use HTTPS? n n
Note: Cannot connect
to SLD system. Check
the SLD host name
and port. y y
Do you want to
continue? (y/n):
If the command does not receive a result after 3 minutes, please cancel the SLD connection
with the "CTRL" + "c" keys. After this take a Screenshot and update the migration file.
(Link HANA - does not send SLD data)
Checking Results
Command:
/usr/sap/H03/HDB00/iblvs03d/trace/sldreg.log
Result:
If the sldreg.log file is not updated or missing, try to send the SLD data again using command
below and check the output (using <sid>adm user):
STOP - Does it have HANA replication server? If yes, perform the SLD registration in the
replication server and log in as <sid>adm of the Primary HANA DB.
Note: If hdblcm was executed the first time, the Data transfer is triggered immediately. If an existing
configuration is changed, the data will be send within the next 12 hours.
5.1.3 Adapt SLD Parameter for HANA DB Usually this part is done during
installation, please verify and perform when necessary.
Pre checks:
SLDSYSTEMHOME needs to be set to the same value as reported by the Application system (e.g. ABAP
or JAVA).
SLDSYSTEMHOME = [service resource name of database / logical name]
= same value of parameter SAPDBHOST in RZ10
RZ10
HANA Studio
HANA Studio
Procedure 2 for HANA that has system replication
To be able to model the relationships above we had to introduce a new parameter for SAP HANA which will be
handled as of revision 110. The parameter is called SLDVIRTDBHOME and contains the logical hostname under
which the SAP HANA DB can always be reached. As the SAP HANA is installed and a SR system there must be one
logical hostname that moves from the primary to the secondary site in case a fail-over to the replicated system
happens. This is the host that has to go into the parameter SLDVIRTDBHOME.
vresphdd = service resource name (logical name) of the HANA hosts which is switched to the secondary side in case
of a takeover:
HANA-Hostname: for example vrevphd0 [primary host name]
sldsystemhome = vrevphd0 [primary host name]
sldvirtdbhome = vresphdd
HANA-Hostname Replication: for example vrevphd1 [primary host name]
sldsystemhome = vrevphd1 [primary host name]
sldvirtdbhome = vresphdd
SAP AS ABAP Server: for example spevp010 [primary host name] or spesp01s [service resource name
(logical name) of SAP application server host]
Profile: DEFAULT.PFL (in RZ10)
SLDSYSTEMHOME = spesp70d [service resource name (logical name) of database host]
HANA DB-Server Main: for example spevp700 [primary host name]
Profile: HANA DEFAULT.PFL (located under /usr/sap/<SID>/SYS/profile)
SLDSYSTEMHOME = spevp700 [primary host name]
SLDVIRTDBHOME = spesp70d [service resource name (logical name) of database host]
HANA DB-Server Replication: for example spevp701 [primary host name]
Profile: HANA DEFAULT.PFL (located under /usr/sap/<SID>/SYS/profile)
SLDSYSTEMHOME = spevp701 [primary host name]
SLDVIRTDBHOME = spesp70d [service resource name (logical name) of database host]
Reminder: To activate the new parameters both HANA Systems and the ABAP / JAVA System have to be
restarted.
Reference:
https://itfluence.itelligencegroup.com/display/AppOps/02.04+FRUN+Prerequisites+for+Database+System#expand-
HANAReplication1020
https://wiki.scn.sap.com/wiki/display/TechOps/SLD+Registration+for+SAP+HANA+SR+systems
SLD server host Name or IP address of the system None Example: mmhsldr0.mydin-sap.local
landscape directory server. Data
will be uploaded to this server.
SLD server port None
Port number used for 8900
communication with the system
landscape directory server.
Use HTTPS
Indicates whether to use HTTP or HTTP OFF
HTTPS.
Username for FRN_SLDS_MMH
accessing SLD The username for the account None
server accessing the system landscape
directory.
Password for The password for the account <refer to it.admin>
accessing SLD accessing the system landscape None
server directory.
Enable SLD
upload Indicates whether to automate None
periodically ON
periodic upload of data to the
system landscape directory.
SLD upload
interval Identify the interval for periodic None 1
upload of data.
SLD upload time
unit Identify the interval for periodic None Example: enter “Hours”.
upload of data (select Minutes, For this example, data would be uploaded
Hours, or Days). once per hour.
4. Click Save.
5. In the same page at Management Cockpit, you can see the following options at the bottom of
the screen.
6. (Optional) Click Ping to ensure you can access the SLD server.
Note – this will give an error but just ignore.
7. Click Upload Payload to perform the initial upload of SAP Mobile Platform system data to the
SLD (Host, Port, and Username of the SLD must be configured prior to this step). The SAP
Mobile Platform Server sends the formatted server information to the SLD server, and shows
the result on Management Cockpit.
8. You can access LMDB in FRUN to verify the settings were uploaded.
9.
Windows
command examples:
"[drive letter]:\usr\sap\[SAPSID]\SYS\exe\uc\NTAMD64\sldreg.exe" -configure [drive
letter]:\usr\sap\[SAPSID]\SYS\global\slddest.cfg -usekeyfile
General: Example:
User Name: FRN_SLDS_[CSN] FRN_SLDS_NUI
Password: <see Passvault> <see Passvault>
= SLD FQDN =[csn]sfor0. nuisldr0.npm-
Server Host:
[custdomain] sap.os.itelligence.com.my
Port 8900 8900
Use HTTPS? n n
Use Proxy? n n
Write this information to
secure file 'slddest.cfg'
yes yes
and generate key file
'slddest.cfg.key'?
For Restart the service of the sapstartsrv instance - How I get a list of sapinstances?
Command examples:
"C:\Program Files\SAP\hostctrl\exe\saphostctrl.exe" -function ListInstances
Results:
C:\Users\dci10413>"C:\Program Files\SAP\hostctrl\exe\saphostctrl.exe" -function ListInstances
Inst Info : D42 - 92 - bitve011 - 720, patch 401, changelist 0
Inst Info : DAP - 95 - bitse01s - 749, patch 301, changelist 1779613
Inst Info : E01 - 00 - bitse01s - 753, patch 324, changelist 1901505
Inst Info : E01 - 01 - bitve011 - 753, patch 324, changelist 1901505
Inst Info : EA1 - 04 - bitse01s - 753, patch 319, changelist 1893869
=> if you have done the SLD registration for system E01 you have to restart instances 00 and 01
For Restart you have two options - SAP MMC or Command Prompt
Command Prompt:
Command to restart the Service - (SAP System was not affected by this)
E:\usr\sap\[SID]\SYS\global\sapcontrol -nr [instancenumber] -function
RestartService -user [sidadm] [password from PassVault]
or
E:\usr\sap\[SID]\[Instance_name]\exe\sapcontrol -nr [instancenumber] -function
RestartService -user [sidadm] [password from PassVault]
or
E:\usr\sap\[SID]\[Instance_name]\exe\sapcontrol -nr [instancenumber] -function
RestartService -user [other os-user] [password from PassVault]
Configuration:
UNIX
Change Folder:
cdglo or cd /usr/sap/<SID>/SYS/global
Refer to this path to get the SLDR of the customer L:\02 Hosting\Monitoring Documentation\
01. Project\FRUN 2.0\09. MY FRUN - Implementation\I. Preparation\SLDR and Wily Service
IP and FQDN
Result:
md-med00:~ # /usr/sap/hostctrl/exe/saphostctrl -function ListInstances
Inst Info : DA1 - 96 - md-med00 - 753, patch 300, changelist 1876288
Inst Info : MED - 00 - md-med00 - 745, patch 400, changelist 1734487
Inst Info : MED - 01 - md-med00 - 745, patch 400, changelist 1734487
Inst Info : DAA - 90 - md-med00 - 753, patch 300, changelist 1876288
md-med00:~ #
=> in this example , system MED you have to restart Instances 00 and 01
Command to Restart the Service - (SAP System was not affected by this restart)
su - [sid]adm -c "sapcontrol -nr [instancenumber] -function RestartService"
Example:
su - medadm -c "sapcontrol -nr 00 -function RestartService"
su - medadm -c "sapcontrol -nr 01 -function RestartService"
Windows
command examples:
"[drive letter]:\usr\sap\[SAPSID]\SYS\exe\uc\NTAMD64\sldreg.exe" -configure [drive
letter]:\usr\sap\[SAPSID]\SYS\global\slddest.cfg -usekeyfile
General: Example:
User Name: FRN_SLDS_[CSN] FRN_SLDS_NUI
Password: <see Passvault> <see Passvault>
= SLD FQDN =[csn]sfor0. nuisldr0.npm-
Server Host:
[custdomain] sap.os.itelligence.com.my
Port 8900 8900
Use HTTPS? n n
Use Proxy? n n
Write this information to
secure file 'slddest.cfg'
yes yes
and generate key file
'slddest.cfg.key'?
For Restart the service of the sapstartsrv instance - How I get a list of sapinstances?
Command examples:
"C:\Program Files\SAP\hostctrl\exe\saphostctrl.exe" -function ListInstances
Results:
C:\Users\dci10413>"C:\Program Files\SAP\hostctrl\exe\saphostctrl.exe" -function ListInstances
Inst Info : D42 - 92 - bitve011 - 720, patch 401, changelist 0
Inst Info : DAP - 95 - bitse01s - 749, patch 301, changelist 1779613
Inst Info : E01 - 00 - bitse01s - 753, patch 324, changelist 1901505
Inst Info : E01 - 01 - bitve011 - 753, patch 324, changelist 1901505
Inst Info : EA1 - 04 - bitse01s - 753, patch 319, changelist 1893869
=> if you have done the SLD registration for system E01 you have to restart instances 00 and 01
For Restart you have two options - SAP MMC or Command Prompt
Command Prompt:
Command to restart the Service - (SAP System was not affected by this)
E:\usr\sap\[SID]\SYS\global\sapcontrol -nr [instancenumber] -function
RestartService -user [sidadm] [password from PassVault]
or
E:\usr\sap\[SID]\[Instance_name]\exe\sapcontrol -nr [instancenumber] -function
RestartService -user [sidadm] [password from PassVault]
or
E:\usr\sap\[SID]\[Instance_name]\exe\sapcontrol -nr [instancenumber] -function
RestartService -user [other os-user] [password from PassVault]
Checking Results:
You have to check the following files for each affected instance:
UNIX
more /usr/sap/[SID]/[Instance_name]/work/dev_sldregs
or
more /usr/sap/[SID]/[Instance_name]/work/dev_sldregk
Example:
more /usr/sap/MED/DVEBMGS00/work/dev_sldregs
more /usr/sap/MED/ASCS01/work/dev_sldregs
Check HTTP response: Success. HTTP status code: 200
Windows
more E:\usr\sap\[SAPSID]\[Instance_name]\work\dev_sldregs
or
more E:\usr\sap\[SAPSID]\[Instance_name]\work\dev_sldregk
Example:
more E:\usr\sap\OEP\ASCS01\work\dev_sldregk
Both logfiles should be from the current date and have the http status code 200!
9. Have you done Step 6 for ABAP and
JAVA / Webdispatcher?
Yes - Perfect! You are done.
No - You have to do step 5 for ABAP and Java (on in Webdispatcher). This needs to be done in
each instance. Note that the Java part may be based on a different SID than ABAP.