Following steps would help you plan and execute SAP TREX revision upgrade.

Software

Download latest TREX revision from SAP Service Market Place. E.g. TREX71_59-10004510.SAR

Uncar it in to <download directory> of your TREX server.

Prepare steps

Login as sidadm and execute following steps.

1. Make a note of current TREX version/revision using TREX Admin tool => Summary tab.

> cd /usr/sap/<SID>/TRX<no.>

> ./TREXAdmin.sh

/wp-content/uploads/2015/05/test1_697302.jpg

Current version from snap: Revision 7.10.43.00

2. Take a complete offline backup of system as mentioned below.

     2.1 Suspend all queues from TREX Admin tool.

> cd /usr/sap/<SID>/TRX<no.>

> ./TREXAdmin.sh

Suspend queues from Admin tab => Select All (Queue ID) => Select All (Queue Info) => Suspend

/wp-content/uploads/2015/05/test1_jpg_697303.png

Make sure all the queues are suspended before you proceed with next step.

/wp-content/uploads/2015/05/test1_jpg_697303.png

     2.2 Stop the system.

> cdexe

> ./stopsap

     2.3 Copy the entire TREX installation directory, including the TREX index and queue directories, to the backup directory.

> mkdir /usr/sap/common/backup/   ==>Sample backup directory

> chmod 775 /usr/sap/common/backup

> cp -rp /usr/sap/<SID> /usr/sap/common/backup/

> mkdir /usr/sap/common/backup/sapmnt   ==>Sample backup directory

> chmod 775 /usr/sap/common/backup/sapmnt

> cp -rp /sapmnt/<SID> /usr/sap/common/backup/sapmnt

3. Start system.

> cdexe

> ./startsap

4. Activate all queues from TREX Admin tool.

> cd /usr/sap/<SID>/TRX<no.>

> ./TREXAdmin.sh

/wp-content/uploads/2015/05/test1_jpg_697303.png

Suspend queues from Admin tab => Select All (Queue ID) => Select All (Queue Info) => Activate

/wp-content/uploads/2015/05/test1_jpg_697303.png

Make sure none of the queue is suspended before you proceed with next step.

/wp-content/uploads/2015/05/test1_jpg_697303.png

Upgrade steps:

Log in as root user and execute following steps to perform TREX revision upgrade from download directory.

cd <download directory>/im_sapinst_standalone_trex/IM_LINUX_X86_64

./sapinst

/wp-content/uploads/2015/05/test1_jpg_697303.png

/wp-content/uploads/2015/05/test1_jpg_697303.png

/wp-content/uploads/2015/05/test1_jpg_697303.png

Select the system you want to upgrade.

Select checkbox to restart system after upgrade.

Provide password of UNIX user sidadm.

/wp-content/uploads/2015/05/test1_jpg_697303.png

/wp-content/uploads/2015/05/test1_jpg_697303.png

/wp-content/uploads/2015/05/test1_jpg_697303.png

Post upgrade check:

1. Make a note of new TREX version/revision using TREX Admin tool => Summary tab.

> cd /usr/sap/<SID>/TRX<no.>

> ./TREXAdmin.sh

/wp-content/uploads/2015/05/test1_jpg_697303.png

Reference SAP documents:

https://websmp105.sap-ag.de/~sapidb/011000358700000854952007E

http://help.sap-ag.de/saphelp_sm71_sp08/helpdata/en/40/a715a90f0c66fce10000000a114cbd/frameset.htm

http://help.sap.com/saphelp_nwes72/helpdata/en/46/01d24e03cd34dde10000000a1553f7/content.htm?frameset=/en/46/01d24e03cd34dde10000000a1553f7/frameset.htm&current_toc=/en/e4/ae4941b80ae342b450db6523c71a1a/plain.htm&node_id=30

To report this post you need to login first.

3 Comments

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

  1. Srikanth Mandalapu

    I have recently did a upgrade from 710.48 to 63, I don’t think you can use SAPInst, I used the install.cmd to get the job done. In my opinion I would also check for index backups as the pre step.

    (0) 
    1. Lalit Jain Post author

      Hi Srikanth,

      Thanks for your response. You are right. We can use install.sh or SWPM for upgrading to TREX 7.10.63.00.

      SAP guide can be access from: https://service.sap.com/instguides => SAP NetWeaver => SAP NetWeaver 7.0 (2004s) => Upgrade => Installation: SAP NetWeaver Search and Classification TREX

      OR

      https://websmp202.sap-ag.de/~sapidb/011000358700000726182007E/TREX_01.htm

      Additionally, one can check for regular index backup and index rebuild if working appropriately before and after upgrade.

      Best Regards,

      Lalit Jain

      (0) 

Leave a Reply