Skip to Content

Dear All,

I am herewith explaining the step by step way out for updating TREX server, which is very much required now in days in order to incorporate with dependent peripheral SAP SW Components . I am trying to architect the procedure based on one of my recent activity which includes following scenario :-

1. Old TREX Server : 7.10 SP40

2. Update Level : 7.10 SP55 (latest one)

3. OS: Windows 2008 (64 bit)

4. Number of connected SAP system RFCs : 3

Step 1: Check  the current version of TREX in connected SAP system though TREXADMIN T-Code.

1.JPG

Step 2: Download the latest patch level from SMP . Follow https://service.sap.com/swdc  >  Support Packages and Patches > Browse our Download Catalog > SAP NetWeaver and complementary products> SAP Netweaver > SAP NETWEAVER 7.0 > Entry By Components > Search & Classification (TREX) > TREX 7.10 > Windows on X64 64 bit > TREX71_55-10004511.SAR

Step 3: Then extract it with SAPCAR with following command:-

sapcar -xvf <file name.SAR>

Step 4: Stop TREX service and also the Trex Admin console (if running somewhere).

Step 5: Execute SAPinst from the extracted directory :-

1.JPG

Step 6 :Choose “Update a TREX system” option :-

   last.JPG

1st.JPG

    1st.JPG

You can take restart of TREX server manually later on though MMC.

      1.JPG

   1.JPG

Step 7: Restart the TREX server through MMC and then you can check the latest version again in TREXADMIN.

1.JPG

NB: TREX Upgrade process from 7.1- PL 58 onwards, you can follow updated document – http://scn.sap.com/docs/DOC-69966

Regards,

Nilutpal.

To report this post you need to login first.

6 Comments

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

  1. Anil Dandi

    From TREX 7.10 Revision 58 on it is no longer possible to upgrade with this procedure. You have to follow the steps in the installation/upgrade guide to upgrade TREX 7.10 script based.

    (0) 
  2. Daniel Masaladzic

    Thanks for this article! I am doing my first TREX Update (40 -> 63) in Windows at the moment, so I would like to share some experience/issues/solutions with you.

    Anil Dandi is right. SAP Note http://service.sap.com/sap/support/notes/2110691

    says “From TREX 7.10 Revision 58 on it is no longer possible to upgrade with sapinst. Please follow the steps in the installation/upgrade guide to upgrade TREX 7.10 script based.”

    To do this in Windows, use:

    install.cmd –action=update –sid=<SAPSID> –password=<password for adm/service user> –type=DEFAULT

    To do this in Linux, use:

    ./install.sh –action=update –sid=<SAPSID> –password=<password for adm/service user> –type=DEFAULT

    First: Make sure to create a backup! I copied the \usr\sap\<SID> directory to another folder and that really saved me.

    So far I had a problem with permissions while the update process. The installer was not able to move a folder and it quit. Restarting did not help, since the installer kept on thinking, the instance has been updated. Solution: Copy the old folder back and restart.

    This time I made sure that there was no access on the directory \usr\sap\<SID>. So I shut down the TREX-Instance and also the services in Windows. Unfortunately the tool “OpenedFilesView” (Google it) revealed two more files in a subfolder that had been in use by the system. I killed the process and restarted the update… this time another error “ErrorException: <__main__.ErrorException instance at 0x000000000238FA08>”. Solution: Restart the update and this time it worked with “SUCCESS”.

    (0) 
    1. Artem Ivashkin

      Hello Daniel,

      It’s a pity that I see you reply after I went through the same problem!

      I think it would be great if you made a post how to cure this issue.

      Regards,

      Artem

      (0) 
  3. Rahul Patki

    Hello Nilutpal,

    Thanks for the document.

    I have to upgrade from TREX 7.0 to TREX 7.1 which also includes change in OS from Win 2003 to Win 2012 server. I would be grateful if anyone shares a document or steps on the same.

    Thank You!

    (0) 

Leave a Reply