Skip to Content

1. Documentation

http://help.sap.com/saphelp_nw70/Helpdata/en/42/e33ae230ba3ee2e10000000a1553f6/content.htm

Note 998708 – TREX 7.0 SR1: SLD registration for TREX does not work

2.Example

eprocdef01:it1adm 1% cd /usr/sap/IT1/TRX48

eprocdef01:it1adm 2% ls

build_ssl.sh        eprocdef01          queue               TREX                work

cloneInst           exe                 rfc20171_00001.trc  TREXAdmin.sh

data                index               scripts.lst         TREXSettings.csh

doc                 log                 sec                 TREXSettings.sh

eprocdef01:it1adm 3% source TREXSettings.csh

eprocdef01:it1adm 4% sldreg -usekeyfile -configure /usr/sap/IT1/SYS/global/slddest.cfg

Tue Mar 20 18:03:56 2012 SLD Registration Program [2.0] (May  8 2006) [None Unicode]

Use configuration file ‘/usr/sap/IT1/SYS/global/slddest.cfg’ for output!

Please specify the HTTP connect information: [User, Password, Host, Port]

HTTP User Name    : SLDDSUSERIT1

User’s Password   : MYPASS

Server Host       : sapps5.mg.corp.local

Port [80,443,1024..65535]: 50000

===================

Entered Information

===================

User:   SLDDSUSERIT1

Passwd: (secret)

Host:   sapps5.mg.corp.local

Port:   50000

===================

Write this information to secure file ‘/usr/sap/IT1/SYS/global/slddest.cfg’ and generate key file ‘/usr/sap/IT1/SYS/global/slddest.cfg.key’? [y=yes/n=no/q=quit] y

Tue Mar 20 18:04:19 2012 Renamed file ‘/usr/sap/IT1/SYS/global/slddest.cfg’ to ‘/usr/sap/IT1/SYS/global/slddest.cfg.20120320180419’

Tue Mar 20 18:04:20 2012 Writing data to encrypted file ‘/usr/sap/IT1/SYS/global/slddest.cfg’

Tue Mar 20 18:04:20 2012 Data written to secured data file ‘/usr/sap/IT1/SYS/global/slddest.cfg’

Tue Mar 20 18:04:20 2012 Data written to key file ‘/usr/sap/IT1/SYS/global/slddest.cfg.key’

Tue Mar 20 18:04:20 2012 Using connect file ‘/usr/sap/IT1/SYS/global/slddest.cfg’.

Tue Mar 20 18:04:20 2012 Use key file ‘/usr/sap/IT1/SYS/global/slddest.cfg.key’ for data decryption

Tue Mar 20 18:04:20 2012 Configuration data successfully stored in file: /usr/sap/IT1/SYS/global/slddest.cfg

Tue Mar 20 18:04:20 2012 Key file stored in file: /usr/sap/IT1/SYS/global/slddest.cfg.key

After a restart of TREXDaemon a file named sldreg.xml is created in /usr/sap/<SID>/TRX<SN>/<hostname>/trace/

eprocdef01:it1adm 29%  cd /usr/sap/IT1/TRX48/eprocdef01/trace

eprocdef01:it1adm 31%  cat sldreg.xml

<?xml version=”1.0″?>

<sldinfo supplier_name=”TREXSystem” supplier_vendor=”sap.com”

  supplier_version=”1.0″ model_version=”1.4.15″>

  <group name=”SAP_TREXSystem” group_type=”GENERIC”>

    <rootclass name=”SAP_TREXSystem” sync=”TRUE”

      merge_properties=”TRUE” merge_roots=”FALSE” clean=”ALL”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXSystem</value>

        </property>

        <property name=”NAME”>

          <value>5a1833b8-9c9b-11db-82fb-c67e816b4bfb</value>

        </property>

        <property name=”Caption”>

          <value>TREX System IT1 48 on eprocdef01</value>

        </property>

        <property name=”Description”>

          <value>&amp;lt;empty landscape description&amp;gt;</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_TREXServer”

      association_name=”SAP_TREXSystemServer”

      root_role=”GroupComponent” member_role=”PartComponent”

      sync=”TRUE” merge_properties=”TRUE” merge_members=”FALSE”

      clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”Name”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>TREX 48 of IT1 on eprocdef01</value>

        </property>

        <property name=”InstanceNumber”>

          <value>48</value>

        </property>

        <property name=”HostName”>

          <value>eprocdef01</value>

        </property>

        <property name=”Index_Queue_Master”>

          <value>TRUE</value>

        </property>

        <property name=”Index_Queue_Backup”>

          <value>FALSE</value>

        </property>

        <property name=”Index_Slave”>

          <value>FALSE</value>

        </property>

        <property name=”PreprocessorMode”>

          <value>any</value>

        </property>

        <property name=”NameServerMode”>

          <value>1st master</value>

        </property>

        <property name=”BasePath”>

          <value>/usr/sap/IT1/TRX48</value>

        </property>

        <property name=”BuildNumber”>

          <value>700.25.103353</value>

        </property>

        <property name=”InstallTime”>

          <value>2007-01-05 10:33:54</value>

        </property>

        <property name=”ChangeList”>

          <value>103353 (700_REL)</value>

        </property>

        <property name=”CompileTime”>

          <value>2006-09-11 11:55:17</value>

        </property>

      </instance>

    </memberclass>

  </group>

  <group name=”SAP_TREXServer_01_Host” group_type=”GENERIC”>

    <rootclass name=”SAP_TREXServer” sync=”FALSE”

      merge_properties=”TRUE” merge_roots=”TRUE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”Name”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_ComputerSystem”

      association_name=”SAP_TREXServerHost”

      root_role=”Dependent” member_role=”Antecedent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_ComputerSystem</value>

        </property>

        <property name=”Name”>

          <value>eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>eprocdef01</value>

        </property>

      </instance>

    </memberclass>

  </group>

  <group name=”SAP_TREXServer_01_AppSysInstHost” group_type=”GENERIC”>

    <rootclass name=”SAP_ApplicationSystemInstance” sync=”TRUE”

       merge_properties=”TRUE” merge_roots=”TRUE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_ApplicationSystemInstance</value>

        </property>

        <property name=”Name”>

          <value>IT1.HostName.eprocdef01.InstanceNumber.48</value>

        </property>

        <property name=”HostName”>

          <value>eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>SAP Instance 48 of IT1 on eprocdef01</value>

        </property>

        <property name=”InstanceNumber”>

          <value>48</value>

        </property>

        <property name=”SAPSystemName”>

          <value>IT1</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_ComputerSystem” association_name=”SAP_AppSysInstanceHost” root_role=”Dependent”

      member_role=”Antecedent” sync=”FALSE” merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_ComputerSystem</value>

        </property>

        <property name=”Name”>

          <value>eprocdef01</value>

        </property>

     </instance>

    </memberclass>

  </group>

  <group name=”SAP_TREXServer_01_AppSysInstMember” group_type=”GENERIC”>

    <rootclass name=”SAP_ApplicationSystemInstance” sync=”FALSE”

      merge_properties=”TRUE” merge_roots=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_ApplicationSystemInstance</value>

        </property>

        <property name=”Name”>

          <value>IT1.HostName.eprocdef01.InstanceNumber.48</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_TREXServer” association_name=”SAP_AppSysInstanceMember” root_role=”GroupComponent”

      member_role=”PartComponent” sync=”FALSE” merge_properties=”TRUE” merge_members=”TRUE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”Name”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

      </instance>

    </memberclass>

  </group>

  <group name=”SAP_TREXServer_01_Services” group_type=”GENERIC”>

    <rootclass name=”SAP_TREXServer” sync=”FALSE”

      merge_properties=”TRUE” merge_roots=”FALSE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”Name”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_TREXNameService”

      association_name=”SAP_TREXServerNameService”

      root_role=”Antecedent” member_role=”Dependent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXNameService</value>

        </property>

        <property name=”Name”>

          <value>34801.SystemHome.eprocdef01</value>

        </property>

        <property name=”SystemCreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”SystemName”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>Name Service 34801 for 48 on eprocdef01</value>

        </property>

        <property name=”PortNumber”>

          <value>34801</value>

        </property>

      </instance>

    </memberclass>

    <memberclass name=”SAP_TREXPreprocessorService”

      association_name=”SAP_TREXServerPreprocessorService”

      root_role=”Antecedent” member_role=”Dependent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXPreprocessorService</value>

        </property>

        <property name=”Name”>

          <value>34802.SystemHome.eprocdef01</value>

        </property>

        <property name=”SystemCreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”SystemName”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>Preprocessor Service 34802 for 48 on eprocdef01</value>

        </property>

        <property name=”PortNumber”>

          <value>34802</value>

        </property>

      </instance>

    </memberclass>

    <memberclass name=”SAP_TREXQueueService”

      association_name=”SAP_TREXServerQueueService”

      root_role=”Antecedent” member_role=”Dependent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXQueueService</value>

        </property>

        <property name=”Name”>

          <value>34804.SystemHome.eprocdef01</value>

        </property>

        <property name=”SystemCreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”SystemName”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>Queue Service 34804 for 48 on eprocdef01</value>

        </property>

        <property name=”PortNumber”>

          <value>34804</value>

        </property>

      </instance>

    </memberclass>

    <memberclass name=”SAP_TREXIndexService”

      association_name=”SAP_TREXServerIndexService”

      root_role=”Antecedent” member_role=”Dependent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXIndexService</value>

        </property>

        <property name=”Name”>

          <value>34803.SystemHome.eprocdef01</value>

        </property>

        <property name=”SystemCreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”SystemName”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>Index Service 34803 for 48 on eprocdef01</value>

        </property>

        <property name=”PortNumber”>

          <value>34803</value>

        </property>

      </instance>

    </memberclass>

    <memberclass name=”SAP_TREXRFCService”

      association_name=”SAP_TREXServerRFCService”

      root_role=”Antecedent” member_role=”Dependent” sync=”TRUE”

      merge_properties=”TRUE” merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXRFCService</value>

        </property>

        <property name=”Name”>

          <value>Trex_IE1_20070112141023@eprocdef01.fr.rm.corp.local:sapgw01.SystemHome.eprocdef01</value>

        </property>

        <property name=”SystemCreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”SystemName”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

        <property name=”Caption”>

          <value>RFC Service Trex_IE1_20070112141023@eprocdef01.fr.rm.corp.local:sapgw01 for 48 on eprocdef01</value>

        </property>

        <property name=”MaxInstances”>

          <value>1</value>

        </property>

        <property name=”GatewayHostName”>

          <value>eprocdef01.fr.rm.corp.local</value>

        </property>

        <property name=”GatewayServiceName”>

          <value>sapgw01</value>

        </property>

        <property name=”ProgramID”>

          <value>Trex_IE1_20070112141023</value>

        </property>

      </instance>

    </memberclass>

  </group>

  <group name=”SAP_InstalledSoftwareComponents_GROUP_01″ group_type=”GENERIC”>

    <rootclass name=”SAP_TREXServer” sync=”FALSE” merge_properties=”TRUE” merge_roots=”FALSE” clean=”NONE”>

      <instance>

        <property name=”CreationClassName”>

          <value>SAP_TREXServer</value>

        </property>

        <property name=”Name”>

          <value>48.SystemHome.eprocdef01</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_InstalledSoftwareComponent” association_name=”SAP_InstalledSWComponentOnApplicationSystem”

      root_role=”System” member_role=”Software” sync=”TRUE” merge_properties=”TRUE”

      merge_members=”FALSE” clean=”LONE”>

      <instance>

        <property name=”Name”>

          <value>TREX</value>

        </property>

        <property name=”Version”>

          <value>7.00</value>

        </property>

        <property name=”BuildNumber”>

          <value>700.25.103353</value>

        </property>

        <property name=”SoftwareElementState”>

          <value>3</value>

        </property>

        <property name=”TargetOperatingSystem”>

          <value>0</value>

        </property>

        <property name=”SoftwareElementID”>

          <value>331966eb-0365-7004-6304-7b460638276a</value>

        </property>

        <property name=”Caption”>

          <value>TREX, 7.00 on eprocdef01</value>

        </property>

      </instance>

    </memberclass>

  </group>

  <group name=”SAP_InstalledSoftwareComponentType_GROUP_01″ group_type=”GENERIC”>

    <rootclass name=”SAP_InstalledSoftwareComponent” sync=”FALSE” merge_properties=”TRUE”

      merge_roots=”FALSE” clean=”NONE”>

      <instance>

        <property name=”Name”>

          <value>TREX</value>

        </property>

        <property name=”Version”>

          <value>7.00</value>

        </property>

        <property name=”SoftwareElementState”>

          <value>3</value>

        </property>

        <property name=”TargetOperatingSystem”>

          <value>0</value>

        </property>

        <property name=”SoftwareElementID”>

          <value>331966eb-0365-7004-6304-7b460638276a</value>

        </property>

      </instance>

    </rootclass>

    <memberclass name=”SAP_SoftwareComponent” association_name=”SAP_SoftwareComponentType”

      root_role=”Dependent” member_role=”Antecedent” sync=”FALSE”

      merge_properties=”TRUE” merge_members=”TRUE” clean=”NONE”>

      <instance>

        <property name=”Name”>

          <value>TREX</value>

        </property>

        <property name=”Vendor”>

          <value>sap.com</value>

        </property>

        <property name=”Version”>

          <value>7.00</value>

        </property>

        <property name=”ElementTypeID”>

          <value>01200314690200004338</value>

        </property>

      </instance>

    </memberclass>

  </group>

</sldinfo>

===================== for non sap system ===================================

eprocdef01:it1adm 7% cd /usr/sap/IT1/SYS/global

eprocdef01:it1adm 8% saposcol -b | sldreg -connectfile slddest.cfg -stdin -oldtransferdtd

Tue Mar 20 18:05:20 2012 SLD Registration Program [2.0] (May  8 2006) [None Unicode]

Tue Mar 20 18:05:20 2012 No XML data input file set. Will read input data from standard input.

Broken Pipe

Tue Mar 20 18:05:22 2012 Supplier Name: ComputerSystem / Supplier Version: 1.0 / Supplier Vendor:  / CIM Model Version: 1.3.21

Tue Mar 20 18:05:22 2012 Group:

Tue Mar 20 18:05:22 2012 Group name system1

Tue Mar 20 18:05:22 2012 validateAttributes OK

Tue Mar 20 18:05:22 2012 Property Status

Tue Mar 20 18:05:22 2012 Value OK

Tue Mar 20 18:05:22 2012 Property NameFormat

Tue Mar 20 18:05:22 2012 Value IP

Tue Mar 20 18:05:22 2012 Property Caption

Tue Mar 20 18:05:22 2012 Value Sun Blade T6320 Server Module G2

Tue Mar 20 18:05:22 2012 Property Name

Tue Mar 20 18:05:22 2012 Value eprocdef01

Tue Mar 20 18:05:22 2012 Property IPAddress

Tue Mar 20 18:05:22 2012 Value 10.126.118.18

Tue Mar 20 18:05:22 2012 Property OpSysReleaseName

Tue Mar 20 18:05:22 2012 Value SunOS

Tue Mar 20 18:05:22 2012 Property OpSysCategory

Tue Mar 20 18:05:22 2012 Value Solaris

Tue Mar 20 18:05:22 2012 Property VendorRelease

Tue Mar 20 18:05:22 2012 Value SunOS 5.10

Tue Mar 20 18:05:22 2012 Property CPUType

Tue Mar 20 18:05:22 2012 Value SUNW,UltraSPARC-T2

Tue Mar 20 18:05:22 2012 Property MachineCategory

Tue Mar 20 18:05:22 2012 Value SPARC

Tue Mar 20 18:05:22 2012 Property OpSysBits

Tue Mar 20 18:05:22 2012 Value 64

Tue Mar 20 18:05:22 2012 Property NumberOfCPUs

Tue Mar 20 18:05:22 2012 Value 32

Tue Mar 20 18:05:22 2012 Property CPURate

Tue Mar 20 18:05:22 2012 Value 1165

Tue Mar 20 18:05:22 2012 Property PhysicalRAMInMB

Tue Mar 20 18:05:22 2012 Value 32640

Tue Mar 20 18:05:22 2012 Property VirtualRAMInMB

Tue Mar 20 18:05:22 2012 Value 84777

Tue Mar 20 18:05:22 2012 Using connect file ‘slddest.cfg’.

Tue Mar 20 18:05:22 2012 Use key file ‘slddest.cfg.key’ for data decryption

Tue Mar 20 18:05:22 2012 HTTP trace: false

Tue Mar 20 18:05:22 2012 Data trace: false

Tue Mar 20 18:05:22 2012 Using connect file ‘slddest.cfg’.

Tue Mar 20 18:05:22 2012 Use key file ‘slddest.cfg.key’ for data decryption

Tue Mar 20 18:05:22 2012 *** Start SLD Registration ***

Tue Mar 20 18:05:22 2012 Used URL: http://sapps5.mg.corp.local:50000/sld/ds

Tue Mar 20 18:05:22 2012 HTTP open status: true – NI RC=1

Tue Mar 20 18:05:23 2012 HTTP send successful.

Tue Mar 20 18:05:23 2012 Return code: 200 — Return message: (OK)

Tue Mar 20 18:05:23 2012 HTTP response: Success. HTTP status code: 200

Tue Mar 20 18:05:23 2012 *** End SLD Registration ***

Tue Mar 20 18:05:23 2012 Data send status: true


To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Dan Calvin

    I don’t believe the XML file created by the output of the saposcol -b command is “TREX specific”.  Instead a sldreg.xml file will be ceated and sent to the SLD if the TREX system is stopped and restarted after the connect file is first created.  I’m not sure, but I believe a Python script creates the file with specific “TREX centric” information at startup time.

    So, I think the job is done when the slddest.cfg file and the slddest.cfg.key file is created. As the sap.help page explains, the TREX daemons send the latest XML file once every 12 hours when no changes are made to the configuration, or within 5 minutes after a configuration change.

    On my system, at lease, an XML file was generated in the <instanc>/trace subdirectory named sldreg.xml that contains much more TREX specific information that the data found in the output of the saposcol -b command…

    (0) 
    1. Mathieu GRAVIL Post author

      In fact, after checkin in TREX NW 7.00.25.00 and TREX NW 7.10.55.00, you are right : there is a xml file in /usr/sap/<SID>/TRX<SN>/<hostname>/trace/sldreg.xml.

      Thank you very much for your remark.

      (0) 

Leave a Reply