You are on page 1of 3

SAP Knowledge Base Article

    2022826 - How to check BWA indexes inconsistency


Version   2     Validity: 19.09.2014 - active   Language   English

Symptom
l You get the following alert in the standalone trexadmin tool: 

Check for inconsistent logical indexes

l Your index creating failure because of the index consistency


l Your master daemon job fail due to the index consistency

Environment
l BWA 700 all revisions
l BWA 720 all revisions

Cause
Because of some misoperation or unexpected behavior, some indexes were corrupt or became inconsistency. 
However they were not deleted clearly and some part of the logical index was left over on BWA server.

Resolution
When a index gets inconsistency or corrupt, you have to delete it and recreate it. Here you can follow four steps below to check the inconsistency for it an
1. Check if index(e.g. bip_bi0:sfiscyear) is left over in the landscape.

In standalone trexadmin tool --> Landscape --> filter the index: *<index_name>*.

And see if there is index left here.

If you can see any index left in the landscape, just delete it manually by right click --> delete index.

2. Check whether index is left over in topology. Check this in your topology.ini file in your BWA OS level. 
Go to BWA server(OS level)
You could find the topology.ini in the following directory:

BWA 700:  /usr/sap/<SID>/TRX<Instance Number>

BWA 720:  /usr/sap/<SID>/global/trex/data 

Then you can use the grep command to find whether the index is still in the topology.ini file. You can use the following command:

grep -i <index_name> topology.ini

If you can find the index in the topology.ini, this means that you need to delete it mannually .  The only way to delete it from topology.ini is to fin

(Trexadmin tool --> Tree --> topology --> check nodes "host" and "Index")  

and delete them manually.

(right click on the index you find --> delete node)

Note: Most time you use the "grep" command to find only one entry of the index. Usually this ind
Only the index left in "host" and "index" node will cause the inconsistency issue.

3. Check whether index is left over on the Disk. 
Go the following directory in BWA server (OS level). The indexes are usually stored in the following directory:

/usr/sap/<sid>/global/trex/data/index

Then you can use the find command to find the index:

find -name "*<index_name>*"  

and see if the index is left over on the Disk.

If you could find it, that means you have the index left on the Disk. So you have to delete them manually it by "rm" command.
4. After checking the three steps above, you can sure that the index is deleted clearly. And then you can recreate them. 

Keywords
RSDDBIAMON2, BIA indexes inconsistent, RSDDB/RSDDV, Creating index fail, Roll up, Change run
Header Data
Released On 22.09.2014 08:15:20
Release Status Released to Customer
Component BC-TRX-BIA TREX BI Accelerator
Priority Normal
Category How To

Product
This document is not restricted to a product or product version

You might also like