-
Open the
Exalead CloudViewAPI Console at
http://<HOSTNAME>:<BASEPORT+1>/api-ui
-
Click
Manage > Configuration >
setCloudviewDeploymentInternalConfig to add environment variables
in the
DeploymentInternal.xml
for
name="connectors.*"
and
name="gateway"
.
For example:
<envOverride>
<KeyValue xmlns="exa:exa.bee" key="MATRIXHOME" value="/data/ev6apps/V6R2011x/studio" />
<KeyValue xmlns="exa:exa.bee" key="GALAXYHOME" value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin" />
<KeyValue xmlns="exa:exa.bee" key="TNS_ADMIN" value="/data/ev6apps/common/" />
<KeyValue xmlns="exa:exa.bee" key="DSLS_CONFIG" value="/data/ev6apps/common/DSLicSrv.txt" />
</envOverride>
<envAppend>
</envAppend>
<envPrepend>
<KeyValue xmlns="exa:exa.bee" key="LD_LIBRARY_PATH"
value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin:/data/ev6apps/V6R2011x/studio/linux_a64/code/lib:" />
</envPrepend>
See also the code samples in
Set up the Environment Variables.
-
Click
Save and then
Apply.
-
Restart
Exalead CloudView.
You are now ready to:
- Add an ENOVIA connector in the Administration Console. Make sure that the URL configuration
parameter is empty.
- Import your
ENOVIA SBA connector legacy XML configuration.
Environment Variables
Define the following environment variables on the Java connector server hosting
the ENOVIA connector.
Use the following table to determine the environment variables to add to the
<DATADIR>/config/DeploymentInternal.xml file.
Environment variable |
Context |
Action |
Description |
MATRIXHOME
|
|
override |
Path to ENOVIA Studio |
GALAXYHOME
|
Linux with ENOVIA versions before V6R2011x only |
override |
Path to the ENOVIA Studio /galaxy/linux folder |
DB2INSTANCE
|
IBM DB2 only |
override |
DB2 instance name |
TNS_ADMIN
|
Oracle only |
override |
Override the path to the folder containing the
tnsnames.ora file. This variable is not
required if you are not referencing
tnsnames.ora entries in your
MATRIX-R file.
|
LD_LIBRARY_PATH
|
Linux only |
prepend |
Add the following paths to the variable:
- <path_to_studio>\<OS>\code\bin
- <path_to_studio>\<OS>\code\lib
You may also need to add the path to the SQL client for your
database.
|
PATH
|
Windows only |
prepend |
Add the following paths to the variable:
<path_to_studio>\win_b64\code\bin
<path_to_studio>\win_b64\code\lib
You may also need to add the path to the SQL client for your
database. For example, for DB2:
C:\DATA\DB2\IBM\SQLLIB\BIN
|
DSLS_CONFIG
|
|
override |
In case the DSLicSrv.txt license file is not
installed in the default location, specify the absolute path
to the folder containing the file, including the file_name.
Default locations are:
- Windows:
C:\ProgramData\DassaultSystemes\Licenses\DSLicSrv.txt
- Linux:
/var/DassaultSystemes/Licenses/DSLicSrv.txt
|
The following samples are for an ENOVIA environment:
- Linux 64-bit
- Bound to an ENOVIA installation
- Custom license server config file location
Where name="connectors.*"
matches all java connectors
<ProcessInternalConfig xmlns="exa:exa.bee.deploy.v10"
name="connectors.*" runtime="java" httpMinThreads="5"
httpMaxThreads="500" httpMaxStopTime="100" httpMaxGETQuerySize="32768"
httpMaxFormPOSTQuerySize="10000000" httpMaxIdleTimeMS="86400000"
httpAcceptorThreads="1" httpAcceptQueueSize="1200">
<params>
</params>
<args>
<StringValue xmlns="exa:exa.bee" value="-Dfile.encoding=UTF-8" />
<StringValue xmlns="exa:exa.bee" value="-XX:+UseConcMarkSweepGC" />
<StringValue xmlns="exa:exa.bee" value="-Xmx2048m" />
<StringValue xmlns="exa:exa.bee" value="-Xms48m" />
<StringValue xmlns="exa:exa.bee" value="-XX:MaxPermSize=128m" />
<StringValue xmlns="exa:exa.bee" value="-XX:PermSize=48m" />
<StringValue xmlns="exa:exa.bee" value="-Djava.awt.headless=true" />
<StringValue xmlns="exa:exa.bee" value="-Dmmap_thrshold=262144" />
<StringValue xmlns="exa:exa.bee" value="-Xmx512m" />
</args>
<envOverride>
<KeyValue xmlns="exa:exa.bee" key="MATRIXHOME" value="/data/ev6apps/V6R2011x/studio" />
<KeyValue xmlns="exa:exa.bee" key="GALAXYHOME" value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin" />
<KeyValue xmlns="exa:exa.bee" key="TNS_ADMIN" value="/data/ev6apps/common/" />
<KeyValue xmlns="exa:exa.bee" key="DSLS_CONFIG" value="/data/ev6apps/common/DSLicSrv.txt" />
</envOverride>
<envAppend>
</envAppend>
<envPrepend>
<KeyValue xmlns="exa:exa.bee" key="LD_LIBRARY_PATH"
value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin:/data/ev6apps/V6R2011x/studio/linux_a64/code/lib:" />
</envPrepend>
</ProcessInternalConfig>
...
Where name="gateway"
for the security source
<ProcessInternalConfig xmlns="exa:exa.bee.deploy.v10"
name="gateway" runtime="java" httpMinThreads="5"
httpMaxThreads="500" httpMaxStopTime="100" httpMaxGETQuerySize="32768"
httpMaxFormPOSTQuerySize="10000000" httpMaxIdleTimeMS="86400000"
httpAcceptorThreads="1" httpAcceptQueueSize="1200">
<params>
</params>
<args>
<StringValue xmlns="exa:exa.bee" value="-Dfile.encoding=UTF-8" />
<StringValue xmlns="exa:exa.bee" value="-XX:+UseConcMarkSweepGC" />
<StringValue xmlns="exa:exa.bee" value="-Xmx2048m" />
<StringValue xmlns="exa:exa.bee" value="-Xms48m" />
<StringValue xmlns="exa:exa.bee" value="-XX:MaxPermSize=128m" />
<StringValue xmlns="exa:exa.bee" value="-XX:PermSize=48m" />
<StringValue xmlns="exa:exa.bee" value="-Djava.awt.headless=true" />
<StringValue xmlns="exa:exa.bee" value="-Dmmap_thrshold=262144" />
<StringValue xmlns="exa:exa.bee" value="-Xmx512m" />
</args>
<envOverride>
<KeyValue xmlns="exa:exa.bee" key="MATRIXHOME" value="/data/ev6apps/V6R2011x/studio" />
<KeyValue xmlns="exa:exa.bee" key="GALAXYHOME"
value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin" />
<KeyValue xmlns="exa:exa.bee" key="TNS_ADMIN" value="/data/ev6apps/common/" />
<KeyValue xmlns="exa:exa.bee" key="DSLS_CONFIG"
value="/data/ev6apps/common/DSLicSrv.txt" />
</envOverride>
<envAppend>
</envAppend>
<envPrepend>
<KeyValue xmlns="exa:exa.bee" key="LD_LIBRARY_PATH"
value="/data/ev6apps/V6R2011x/studio/linux_a64/code/bin:/data/ev6apps/V6R2011x/studio/linux_a64/code/lib:" />
</envPrepend>
</ProcessInternalConfig>
...