# Property settings needed by fiper4all.sh script

# Copy this file, edit it, and then pass it as the first argument to fiper4all.
# This file shows example Windows paths.

# Note: This file is read as a KSH script.  This means:
#  No spaces before or after '='
#  Use only forward slashes in file paths
#  Use ';' to separate directories in a PATH on both Windows and Unix.
#  Values with spaces or other punctuation are enclosed in single or double-quotes
#  Shell variable substitutions can be used in values.
#
#  Do NOT use 'export' to export variable settings.  Any settings that need to be
#  added to the environment will be exported by the script reading this file.

# --------------------------------------------------------------------------
# Debugging settings.
# --------------------------------------------------------------------------

# Uncomment next line to get verbose output from script
#F4ALL_VERBOSE=1

# Uncomment to keep all intermediate result directories.
# Default is to delete most intermediate files after they are used.
#F4ALL_KEEP=1

# Uncomment the following to get a full trace of script execution
# OR just set SH_DEBUG in the environment.
#SH_DEBUG=1


# --------------------------------------------------------------------------
# Settings for eventual Fiper4All catalog
# --------------------------------------------------------------------------
# Name of this parameter file.  
# Not used yet, except in defaults below.
PARAM_NAME=xxx-srv1

# Name in E4All catalog
CATALOG_NAME=$PARAM_NAME

# --------------------------------------------------------------------------
# Location of SEE Install.  Can usually be allowed to default
# --------------------------------------------------------------------------

# Fiper Install Directory or main directory of Runtime View (RTV).
# If not set here, defaults relative to the location of the fiper4all.sh script
# This is THE key variable - the location of ALL files in the RTV
# Warning: The Isight installer sets this in the environment.
# You will need to override here to avoid that setting.
FIPER_HOME=C:/SIMULIA/Isight/R212/intel_a

# FIPER configuration directory.  Directory containing acs.properties and CPR files.
# Should generally NOT be in FIPER_HOME - one level up is good.
FIPER_CONF="${FIPER_HOME}/../config"

# SCM Workspace directory.  During development this is where to find Frameworks.
# If this isn't set, the script checks FIPER_HOME/.. for a framework.  If it 
# finds one, it sets this.
#ADL_IMAGE_DIR=

# Concatenation of workspaces to search for source files.
# Should be set only when using a development workspace concatenation.
# Defaults to ADL_IMAGE_DIR if not set (rarely useful).
#WsRefConcat="C:/User/xnp/ws212;//blackhole/R212/BSF"

# Concatenation path when running in a development environment.
# You will need to set this here if you are using a concatenation of
# runtime views but have not already set this in the environment.
# This does NOT default from the workspace Install_config* file.
# NOTE: Use ';' as directory separator even on Unix.  Enclose in double quotes.
#CATInstallPath="${FIPER_HOME};D:/myws/intel_a;//R212/BSF/intel_a"

# --------------------------------------------------------------------------
# Generic settings for these scripts, such as log directory
# --------------------------------------------------------------------------

# Temporary directory used during installs.  Defaults to platform-specific 
# environment variable:  %TEMP% on Windows, $TMPDIR on Unix.
#tmp4all=${TEMP}

# Directory to which install logs are written.
# Defaults to $tmp4all/fiper4all
# NOTE: If the specified directory already exists, a new name is created
# by appending the date and time.  This allows saving old logs easily.
#LOG_DIR="${tmp4all}/fiper4all"

# --------------------------------------------------------------------------
# Select server and database type.
# --------------------------------------------------------------------------

# Type of server to use.  Uncomment ONE of the following 2 lines.
# Value is case-insensitive
SERVER_TYPE=WEBSPHERE
#SERVER_TYPE=WEBLOGIC

# Name of the ACS (name of the CPR file).
# This is normally the unqualified host name
# Required.
SERVER_NAME=${PARAM_NAME}

# Domain name of the machine running WebSphere/WebLogic.
# Is used to create a CPR file that references the server.
SERVER_HOST=pierce.ds

# ACS security setting, 1, 2, or 3
#   1 - no security on server other than Administrator login to console.
#   2 - server requires valid user ID to log on to SEE
#   3 - run-as security on station, server requires user ID.
#   NOT IMPLEMENTED YET - always behaves as level 1.
ACS_SECURITY=1

# Type of Database to use.  Uncomment ONE of the following 2 lines.
# Note that SERVER_TYPE=WEBLOGIC requires DB_TYPE=ORACLE.
# Case-insensitive to be consistent with E4All.
#DB_TYPE=ORACLE
DB_TYPE=DB2

# Should WebTop WAR file be deployed? Set to '1' to deploy, '' to not deploy.
# Does not deploy yet, so set to not deploy.
WEBTOP_INSTALL=''

# Should WebDashboard WAR file be deployed?  Set to '1' to deploy, '' to not deploy.
# Does not deploy yet, so set to not deploy.
WEBDASH_INSTALL=''

# Should the B2B module be deployed.  Set to '1' to deploy, '' to not deploy.
# Does not deploy yet, so set to not deploy.
B2B_INSTALL=''

# Location of Fiper File Manager file store.  MUST be set.
# Must be a directory unique to this SEE instance.
# This needs to be on a disk with plenty of free space, and one that is not
# cleaned automatically of old files (unless the SEE DB will be cleaned frequently).
FIPER_FILEMGR="E:/Fiper/FileMgr/$PARAM_NAME"

# Directory ACS uses to cache library files.  
# Must NOT be automatically cleaned up.
# Should be unique to this server instance.
# Will be created if needed.
FIPER_TEMP="E:/Temp/$SERVER_NAME"

# --------------------------------------------------------------------------
# User names and passwords
# --------------------------------------------------------------------------
#
# SEE Administrator user name and password.
# This user has Admin rights to the database and WebSphere/WebLogic.
# Normally this is a network user in the machines default domain (DS\)
SEE_USER=seeadmin
SEE_USER_PW='*password*'

# User who ends up owning the SEE database.
# This is usually NOT the sysdba user ID (DB2) or SYS user (Oracle).
# If multiple copies of SEE share the same database server, this user ID must
# be unique amoung those instances.  If only one SEE instace uses the DB,
# then this should be the same as SEE_USER above.
# Note that for DB2 this must be a valid system user ID and Password combination.
# For Oracle this does not need to be a valid system user ID.
DB_USER="$SEE_USER"
DB_USER_PW="$SEE_USER_PW"

# --------------------------------------------------------------------------
# WebSphere settings.  Used only if SERVER_TYPE=WEBSPHERE
# --------------------------------------------------------------------------

# WebSphere install directory.  This should end in AppServer.
WAS_HOME=C:/IBM/WebSphere7/AppServer

# WebSphere Profile name.  Port numbers are taken from the profile.
WAS_PROFILE=AppSrv01

# --------------------------------------------------------------------------
# WebLogic settings.  Used only if SERVER_TYPE=WEBLOGIC
# --------------------------------------------------------------------------

WL_HOME=C:/bea/wlserver_10.3

WL_DOMAIN=SEE

# --------------------------------------------------------------------------
# DB2 Settings.  Used only if DB_TYPE=db2
# --------------------------------------------------------------------------

# Location of DB2 installation.  Search path for db2.exe if this is not set.
#DB2_HOME=C:/Program Files/IBM/SQLLIB

# DB2 NODE name.  Needed only for REMOTE databases.  Leave unset for local databases.
# Note that DB2_SYSDBA must be in the DBADMINS group for this node ON THE NODE HOST.
# Currently unused - remote operations seem unreliable.
#DB2_NODE=DB2

# Database name.  DB2 Schema name.
DB2_SCHEMA=${PARAM_NAME}

# DB2 administrator user name and password.
# This is the user who installed DB2 or the user specified as the instance owner
# when DB2 was installed.
DB2_SYSDBA=db2inst1
DB2_SYSDBA_PW='*password*'

# Database server host and port
# Used in the ACS database connection configuration.
# for a local database, DB2_HOST may be 'localhost'.
# Port is 50000 for Windows DB2 install and 50001 for Linux default install.
DB2_HOST=localhost
DB2_PORT=50000

# Territory for messages.  Should probably be 'US' everywhere.
DB2_TERRITORY=US

# Server size, 'large' or 'small'.  Determines buffer pool size.
DB2_SIZE=large

# Directory that will hold the Table Spaces for the FIPER database.
# This needs to be on a LARGE file system.
# WARNING: This must end in a forward slash.
# Changing ths to anything other than the drive letter or DRIVE:/DB2/NODE0000/$DB_SCHEMA
# will probably cause the 'create tablespace' in initdb to fail on Windows.
DB2_TABLEDIR="C:/DB2/NODE0000/$DB2_SCHEMA/"

# --------------------------------------------------------------------------
# Oracle Settings.  Used only if DB_TYPE=oracle
# --------------------------------------------------------------------------

# Installation directory for Oracle Server or Client
# Defaults to parent of directory on path containing sqlplus.exe
#ORACLE_HOME="$ADL_ORACLE_HOME"

# SID used to contact oracle server.
# This is the Database Instance name for a local database.
# Required
ORACLE_SID=SEEORAV6

# Host for Oracle database access.  May be 'localhost' if it is the same machine as
# WebSphere/WebLogic host.  Note that if $ORACLE_HOME/network/admin/listener.ora has
# (HOST = localhost) and no entry with the real host name, you MUST use 'localhost' here.
# Also note that ORACLE_PORT is the port from listener.ora, NOT the oracle console HTTPS: port.
ORACLE_HOST=localhost
ORACLE_PORT=1521

# Oracle connect string used from sqlplus.  Defaults to $ORACLE_SID but may need to
# be modified to connect to a remote Oracle installation.
#ORACLE_CONNECT="(description=(address=(protocol=TCP)(host=$ORACLE_HOST)(port=$ORACLE_PORT))(connect_data=(sid=$ORACLE_SID)))"
#ORACLE_CONNECT="$ORACLE_SID"

# Password for Oracle user 'SYS'.  Usually set when Oracle is installed.
SYS_PWD='SYS'

# Directory that will be used to store application tables for the oracle database.
# Default is inside the Oracle install.  Should be moved elsewhere if it will get large.
ORACLE_TABLEDIR="C:/oracle/oradata/${ORACLE_SID}"

# Size of the table space specified by ORACLE_TABLEDIR in megabytes
ORACLE_TABLESIZE=512
