Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8608

Wrong installation directory for the TREX instance

$
0
0

Hi guys,

 

Our target landscape is as follow (distributed): 1 TREX instance (Master index server) in 1 server, and another 2 TREX instances in a second server.

 

I was able to successfully install the master index server in the serverA, and now I am currently installing one of the two TREX instances in serverB.
I have made the global file server (serverA's usr\sap\<sid of TREX A>\SYS\global) as shared. I was able to access this directory from serverB, and from serverB, i run the following file to install the instance:

\\serverA\usr\sap\TXA\SYS\global\trex\install and executed the file addInstance.cmd, but i encountered the following error:

-----------------------------------------------------
TREX add instance to system
======================================================
BEGIN: 2013-06-26_14.37.44
checking local administrators
Cocktail is: UNDEFINED
analysing \\serverA\usr\sap\TXA\SYS\profile
scanning \\serverA\usr\sap\TXA\SYS\profile
globalhost: serverA
found: uk-tx-cl1vqas.00
SID:        TXA
Instance:   00
Globalhost: serverA
SystemType is UNDEFINED
IntegratedSystem: False
host       : serverB
platform   : ntamd64
sid        : TXA
systemloc  :\\\serverA\usr\sap\
globalSystemLoc  :\\serverA\usr\sap\TXA\SYS
instance   : 00
instanceloc:C:\usr\sap
getSysDir       : \\serverA\usr\sap\TXA\SYS
getSystemDir    : \\serverA\usr\sap\TXA\\SYS
getSysExeDirAbs : \\serverA\usr\sap\TXA\SYS\exe\nuc\ntamd64
getGlobalDir    : \\serverA\usr\sap\TXA\SYS\global
getProfileDir   : \\serverA\usr\sap\TXA\SYS\profile
getGlobalInstallDir    : \\serverA\usr\sap\TXA\SYS\global\trex\install
getGlobalSupportDir    : \\serverA\usr\sap\TXA\SYS\global\trex\install\support
getGlobalSystemDir     : \\serverA\usr\sap\TXA\SYS
getCfgdirName          : serverB
======================================================
-----------------  SarTrek._configuremsruntime  ----------------
------------------------------------------------------
Configure MS runtime
------------------------------------------------------
configuring microsoft runtime...
msiexec.exe /le "\\serverA\usr\sap\TXA\SYS\global\trex\install\addInstance_serverB\vcredist.log" /i "\\serverA\usr\sap\TXA\SYS\global\trex\install\support\vcredist_x64.msi" /qn
->returned 1625
======================================================

Action:  Creating directory structure for SAPSID TXA, Instance 00
======================================================
-----------------  SarTrek.createdirs  ----------------
------------------------------------------------------
Creating directory structure
------------------------------------------------------
checking C:\usr\sap\TXA...
...ok
Exception description:
Traceback (most recent call last):
  File "e:\usr\sap\TXA\SYS\global\trex\install\support\setuplib.py", line 3584, in _createroot
    if rc!=0: raise SetupException('Failed to share %s as %s, error: %d '%(self.instanceloc,'saploc',rc))
SetupException: >>>ERROR:Failed to share C:\usr\sap as saploc, error: 5
Failed to create directory structure! TREX setup cannot proceed.
Exception description:
Traceback (most recent call last):
  File "\\serverA\usr\sap\TXA\SYS\global\trex\install\\support\trexify.py", line 50, in main
    installation.doItOrNot(installation.createdirs, description='Creating directory structure')
  File "e:\usr\sap\TXA\SYS\global\trex\install\support\setuplib.py", line 1360, in doItOrNot
    step(*args, **keyArgs)
  File "e:\usr\sap\TXA\SYS\global\trex\install\support\setuplib.py", line 1846, in createdirs
    self.ds.create()
  File "e:\usr\sap\TXA\SYS\global\trex\install\support\setuplib.py", line 3772, in create
    self._createroot()
  File "e:\usr\sap\TXA\SYS\global\trex\install\support\setuplib.py", line 3599, in _createroot
    raise SetupException("failed to create root directory: "+str(rex1))
SetupException: >>>ERROR:failed to create root directory: >>>ERROR:Failed to share C:\usr\sap as saploc, error: 5

======================================================
END: 2013-06-26_14.37.45
add instance ->FAILED
see also logfile: \\serverA\usr\sap\TXA\SYS\global\trex\install\addInstance_serverB\addInstance.log

 

I want to install the second instance in serverB in drive E. From the logs above, it is directly installing the second instance in drive C. how can i change this?

 

also, our server is a virtual server. i need the instance to use the virtual hostname instead of the real hostname. How can I do this.

Please advise.

thank you.

 

Regards,

chacha


Viewing all articles
Browse latest Browse all 8608

Trending Articles