<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SAP Training, Tutorials, How-tos, News, Weblogs, Screencasts, SAP Jobs, Forums and much more, all on SAP &#187; TREX</title>
	<atom:link href="http://saplab.org/tag/trex/feed/" rel="self" type="application/rss+xml" />
	<link>http://saplab.org</link>
	<description>SAP Training, Tutorials, How-tos, News, Weblogs, Screencasts, SAP Jobs, Forums and much more, all on SAP</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:19:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>TREX Installation on EP7</title>
		<link>http://saplab.org/2009/10/trex-installation-on-ep7/</link>
		<comments>http://saplab.org/2009/10/trex-installation-on-ep7/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 00:01:50 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Enterprise Portal]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Netweaver]]></category>
		<category><![CDATA[Basis]]></category>
		<category><![CDATA[TREX]]></category>

		<guid isPermaLink="false">http://saplab.org/?p=1084</guid>
		<description><![CDATA[This how-to tutorial explains the TREX Basis Installation as well as the some post configuration activities, needed for the TREX to work. SAP NetWeaver Search and Classification (TREX) finds information in both structured and unstructured data. TREX provides SAP applications with services for searching and classifying large collections of documents and for searching and aggregating [...]
Related posts:<ol>
<li><a href='http://saplab.org/2009/03/install-sap-netweaver-portal/' rel='bookmark' title='Install a Local SAP Netweaver Developer Workplace'>Install a Local SAP Netweaver Developer Workplace</a></li>
<li><a href='http://saplab.org/2009/04/get-your-portal-license-key/' rel='bookmark' title='Get Your Portal License Key'>Get Your Portal License Key</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_jade" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fsaplab.org%252F2009%252F10%252Ftrex-installation-on-ep7%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22TREX%20Installation%20on%20EP7%22%20%7D);"></div>
<p>This how-to tutorial explains the TREX Basis Installation as well as the some post configuration activities, needed for the TREX to work. SAP NetWeaver Search and Classification (TREX) finds information in both structured and unstructured data. TREX provides SAP applications with services for searching and classifying large collections of documents and for searching and aggregating business objects. For those who want to know TREX in more detail, I recommend that you start by the SAP Help page <a title="SAP Help on TREX" href="http://help.sap.com/saphelp_nw70/helpdata/EN/70/0837ced133304eba452c45b6047c74/frameset.htm" target="_blank">available here</a>.</p>
<p>Please note that this tutorial covers the installation of TREX on a 32 Bit Windows 2003 Enterprise Edition with SP1 and IIS installed and running.</p>
<p>Additional prerequisites that were in place before installing TREX:</p>
<ul>
<li>The server where TREX was installed had a 4GB RAM Memory.</li>
<li>The installed TREX version was 7.0.25 based on <a title="All posts under Netweaver category" href="http://saplab.org/category/netweaver/">Netweaver</a> 7.0 SR2.</li>
</ul>
<p>Some points to take into consideration before starting:</p>
<ul>
<li>In order to create a search and classification engine for SAP ERP, BW and the Enterprise Portal, TREX 7.0 was installed on a separate stand alone server.</li>
<li> Both the ABAP stack as well as the Java stack were required for the installation process.</li>
<li> The TREX server is part of the Netweaver 2004s SR2 framework. At the time of this installation, the windows 64-bit X86 version was only available to ramp up customers. So the 32 bit version was considered.</li>
<li>This installation was performed using the <a title="SAP Netweaver 2004s Standalone Engine Search and Classification (TREX) SIngle Host" href="http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/fd472c46-0a01-0010-f8b8-ac1b1de8a6f0" target="_blank">SAP NetWeaver 2004s Standalone Engine Search and Classification (TREX) Single Host.</a></li>
</ul>
<p><strong>TREX Installation Steps</strong></p>
<p>1. Login with the <strong>xyzADM </strong>account where xyz represents the SID (e.g. N20ADM).</p>
<p>2. Install the 32 BIT JDK, using all default installation values. The version used for this installation was <strong>Java 2 SDK Standard Edition version 1.4.2_14</strong>.</p>
<p>3. Set the <strong>JAVA_HOME</strong> system variable with the location of the JDK installation (e.g. c:\java_142_14\bin).</p>
<p>4. Copy the TREX installation files and <strong>NW2004s master disk</strong> into a new windows 32 bit server named: rrispdt01 (in separate directories). You should do this using a USB file copy and locate all files in: D:\TREX_Install_Files. Consider the following files/directories: SAP Netweaver 2004s SR2 (TREX 7.0) DVD and Netweaver Master Install Zip file.</p>
<p>5. Run file <strong>R3Dllins.exe</strong>.  Click OK when you&#8217;re prompted if you want to modify system files.</p>
<p>6. Run <strong>SAPinst.exe</strong> to start the installation process.</p>
<p>7. If you&#8217;re performing a <strong>first installation</strong>, select TREX global file system with the first TREX instance. Follow the steps below to install TREX:</p>
<p style="text-align: center;"><img class="size-full wp-image-1088  aligncenter" title="Install TREX in Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-01.jpg" alt="Install TREX in Netweaver Portal 7.0" width="449" height="264" /></p>
<p>8. Choose a <strong>New installation</strong> (if it is in fact a new installation):</p>
<p style="text-align: center;"><img class="size-full wp-image-1089  aligncenter" title="Install TREX on SAP Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-02.jpg" alt="Install TREX on SAP Netweaver Portal 7.0" width="404" height="328" /></p>
<p>9. Select the &#8220;<strong>Typical</strong>&#8221; installation and click next.</p>
<p>10. Enter the <strong>SID </strong>(it must be the same SID as done in the <a title="Install the SAP Netweaver Developer Workplace" href="http://saplab.org/2009/03/install-sap-netweaver-portal/">Netweaver Developer Workplace/Portal installation</a>) and select the installation drive (Typically E:))</p>
<p style="text-align: center;"><img class="size-full wp-image-1090  aligncenter" title="Install TREX on Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-03.jpg" alt="Install TREX on Netweaver Portal 7.0" width="474" height="240" /></p>
<p>11. Enter your <strong>Password </strong>- the same password as your xyzADM password:</p>
<p style="text-align: center;"><img class="size-full wp-image-1092  aligncenter" title="Install TREX on Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-04.jpg" alt="Install TREX on Netweaver Portal 7.0" width="450" height="245" /></p>
<p>12. Enter the password for the <strong>xyzADM</strong> account and enter a password for the SAP System Service user account.  To avoid confusion, I suggest using the same password for both:</p>
<p style="text-align: center;"><img class="size-full wp-image-1093  aligncenter" title="Install TREX on Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-05.jpg" alt="Install TREX on Netweaver Portal 7.0" width="318" height="260" /></p>
<p>13.Check the chosen settings in the summary screen and click <strong>Start</strong>:</p>
<p style="text-align: center;"><img class="size-full wp-image-1095  aligncenter" title="Install TREX on SAP Netweaver 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-06.jpg" alt="Install TREX on SAP Netweaver 7.0" width="450" height="479" /></p>
<p>14. If everything goes well we you will receive a success message. All phases should clear with a green icon.</p>
<p style="text-align: center;"><img class="size-full wp-image-1096  aligncenter" title="Install TREX on SAP Netweaver Portal 7.0" src="http://saplab.org/wp-content/uploads/2009/10/install-trex-07.jpg" alt="Install TREX on SAP Netweaver Portal 7.0" width="488" height="261" /></p>
<p><strong>Post Installation Tasks and Procedures</strong></p>
<p>After the above desired successful TREX installation, all you&#8217;ll have is a &#8220;floating&#8221; TREX. I say floating because TREX still won&#8217;t be connected to the Portal. So the first step will be to connect TREX to the existing  Portal instance.</p>
<p><strong>Test the TREX Servers</strong></p>
<p>1. Log on with the user <strong>xyzADM</strong> and open a command line.</p>
<p>2. Browse to the following directory: &lt;disk_drive&gt;:\usr\sap\trex_&lt;instance_number&gt;\python_support.</p>
<p>3. Type <strong>trexsettings.bat</strong> in the command line and hit enter to execute the batch file.</p>
<p>4. Execute python script: <strong>runInstallationTest.py</strong>. This script will carry out the following tests:</p>
<ul>
<li>Delete test indexes that were generated for a previous script run;</li>
<li>Create a test index;</li>
<li>Index documents;</li>
<li>Test search functions:  exact, error-tolerant (fuzzy), and linguistic searches; and search using boolean operators such as AND and OR.</li>
</ul>
<p>5. The results will be displayed at the end of the script run. You&#8217;ll see the test calls and the respective statuses (<strong>OK</strong> or <strong>Failed</strong>).</p>
<p>6. When you run the script for the first time, the call &#8220;Delete Index&#8221; will display the status Failed. This is caused by the fact that no existing text index to be deleted existed. If this is the only line with the status Failed, the test was successful.</p>
<p><strong>Point the Application Servers to the TREX instances</strong></p>
<p>1. Access the Portal server file system and start the offline <strong>Config Tool</strong>.</p>
<p>2. Once in the Config Tool, navigate to <em>Global Instance &gt; Services &gt; trex.serviceNameserver.address enter the following tcpip://&lt;FQDN&gt;:30001</em>.</p>
<p>3. The next entry should be <em>nameserver.backupserverlist</em>. Type the following entry: <strong>tcpip://&lt;FQDN&gt;:30001</strong>.</p>
<p>4. Go back to the TREX server and open the TREX admin tool (you should now be able to access it). Confirm that you can see the Servers as <strong>online</strong>.</p>

<p>Related posts:<ol>
<li><a href='http://saplab.org/2009/03/install-sap-netweaver-portal/' rel='bookmark' title='Install a Local SAP Netweaver Developer Workplace'>Install a Local SAP Netweaver Developer Workplace</a></li>
<li><a href='http://saplab.org/2009/04/get-your-portal-license-key/' rel='bookmark' title='Get Your Portal License Key'>Get Your Portal License Key</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://saplab.org/2009/10/trex-installation-on-ep7/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

