Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Flexagon has developed a set of silent install scripts (click link to download) for WebLogic 12.1.3 and the ADF Runtime (which is required for FlexDeploy).  These scripts are provided as is, and can be modified as required.

Table of Content Zone

Table of Contents

Unix Install

Copy the silent install scripts file to the target server and follow the instructions below. Directory Structure is derived from Oracle documentation http://docs.oracle.com/middleware/1213/soasuite/SOEDG/edg_storage.htm#SOEDG2168. We will use local storage for all directories.

...

These instructions will use the oracle user and dba group, but you can any other user and group names as desired.
Create oracle user if it does not exist

Code Block
languagebash
themeRDark
useradd -m oracle
passwd oracle (enter password when prompted)

Create dba group and assign as oracle user’s primary group

Code Block
languagebash
themeRDark
groupadd dba
usermod –g dba oracle

Create and initialize directories where software will be installed. Modify locations as appropriate.

Code Block
languagebash
themeRDark
mkdir –p /u01/oracle
chown –R oracle:dba /u01/oracle
chmod –R 775 /u01 

Setup /etc/oraInst.loc file. Modify locations as appropriate.

Code Block
languagebash
themeRDark
echo "inventory_loc=/u01/oracle/oraInventory" > /etc/oraInst.loc
echo "inst_group=dba" >> /etc/oraInst.loc
chmod 755 /etc/oraInst.loc

...

WebLogic and ADF Runtime binaries will be installed in /u01/oracle/products/fmw1213. Modify ORACLE_HOME directory in fmw_1213_install.rsp if another location is desired.

Code Block
languagebash
themeRDark
titleFor 32 bit OS
export JAVA_HOME=/u01/oracle/products/java8
$JAVA_HOME/bin/java -d32 -jar fmw_12.1.3.0.0_infrastructure.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile fmw_1213_install.rsp
Code Block
languagebash
themeRDark
titleFor 64 bit OS
export JAVA_HOME=/u01/oracle/products/java8
$JAVA_HOME/bin/java -d64 -jar fmw_12.1.3.0.0_infrastructure.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile fmw_1213_install.rsp

...

Setup Environment

export ORACLE_INSTALL_HOME=/u01/oracle/products/fmw1213 <<
Code Block
languagebash
themeRDark
# modify if you have installed software in different folder >>
export JAVAORACLE_INSTALL_HOME=/u01/oracle/products/java8fmw1213
 <<# modify if you have different location >>
export SYSJAVA_DB_PASSWORD=      <<fill HOME=/u01/oracle/products/java8
# fill in sys password here>>here
export WLSSYS_SCHEMADB_PASSWORD=
# <<fillfill in password for new RCU schemas which will be created>>created
export DBWLS_CONNECTSCHEMA_STRINGPASSWORD=
#   <<fillfill in value here (either host:port:sid or host:port/servicename); Use exact format, and do not include jdbc:oracle:thin:@>>

...

@
export DB_CONNECT_STRING=

Prepare PasswordFile.txt for use with RCU silent command

From directory where install scripts are located:

Code Block
languagebash
themeRDark
> PasswordFile.txt
chmod 700 PasswordFile.txt
echo $SYS_DB_PASSWORD>PasswordFile.txt
echo $WLS_SCHEMA_PASSWORD>>PasswordFile.txt

Execute RCU command (from install script directory where PasswordFile.txt file is located)

Code Block
languagebash
themeRDark
$ORACLE_INSTALL_HOME/oracle_common/bin/rcu -silent -databaseType ORACLE -createRepository -connectString ${DB_CONNECT_STRING} -dbUser sys -dbRole SYSDBA -useSamePasswordForAllSchemaUsers true -schemaPrefix FD -component STB -component MDS -component IAU -component IAU_APPEND -component IAU_VIEWER -component OPSS -component WLS -f < PasswordFile.txt

...

Setup Environment

export ORACLE_INSTALL_HOME=/u01/oracle/products/fmw1213 <<
Code Block
languagebash
themeRDark
# modify if you have installed software in different folder
>>
export ORACLE_CONFIGINSTALL_DIRECTORYHOME=/u01/oracle/products/configfmw1213
       << # modify if you are using different folder structure; domain is created here
>>export ORACLE_CONFIG_DIRECTORY=/u01/oracle/config
export JAVA_HOME=/u01/oracle/products/java8
export WLS_SCHEMA_PASSWORD=                              <<fill # fill in password for new FD_ schemas for Weblogic, same as what was used in previous step>>step
export DOMAINWLS_SCHEMA_PASSWORD=
                                 <<FILL # FILL IN VALUE HERE - password for new domain to be created behere
created here>>export DOMAIN_PASSWORD=
export FDWLS_DOMAIN_NAME=fd_domain
export FDWLS_ADMIN_DOMAIN_DIRECTORY=$ORACLE_CONFIG_DIRECTORY/domains/$FDWLS_DOMAIN_NAME
export FDWLS_ADMIN_USER=weblogic
export FDWLS_ADMIN_PASSWORD=$DOMAIN_PASSWORD
export FDWLS_ADMIN_LISTEN_ADDRESS=`hostname`
export FDWLS_ADMIN_LISTEN_PORT=7001
export FD_ORACLE_MW_HOME=$ORACLE_INSTALL_HOME
export FDWLS_BASE_INSTALL_DIRECTORY=$ORACLE_CONFIG_DIRECTORY/applications/$FDWLS_DOMAIN_NAME
export FDWLS_NODEMANAGER_HOST=`hostname`
export FDWLS_NODEMANAGER_PORT=5556
export FDWLS_NODEMANAGER_USER=weblogic
export FDWLS_NODEMANAGER_PASSWORD=$DOMAIN_PASSWORD
export FDWLS_NODEMANAGER_TYPE=SSL
export FLEXDEPLOY_SERVER_PORT=8001
export FLX_INSTALL_RCU_DB_URL=   <<FILL # FILL IN JDBC URL HERE - e.g. jdbc:oracle:thin:@host:port:sid or jdbc:oracle:thin:@host:port/servicename>>servicename
export FLX_INSTALL_RCU_DB_URL=
export FLX_INSTALL_RCU_DB_USER=FD_STB
export FLX_INSTALL_RCU_DB_PASSWORD=$WLS_SCHEMA_PASSWORD 

Create WebLogic Domain

Code Block
languagebash
themeRDark
$FD_ORACLE_MW_HOME/wlserver/common/bin/wlst.sh createWLSDomain.py

Extend WebLogic Domain for ADF

Code Block
languagebash
themeRDark
$FD_ORACLE_MW_HOME/wlserver/common/bin/wlst.sh createADFDomain.py

Start Admin Server

Code Block
languagebash
themeRDark
cd $FDWLS_ADMIN_DOMAIN_DIRECTORY
nohup ./startWebLogic.sh > AdminServer.out &
tail -f AdminServer.out   (wait for server to start before continuing)

Create Managed Server

Code Block
languagebash
themeRDark
$FD_ORACLE_MW_HOME/wlserver/common/bin/wlst.sh createFDServer.py

Start Node Manager

Code Block
languagebash
themeRDark
cd $FDWLS_ADMIN_DOMAIN_DIRECTORY/bin
nohup ./startNodeManager.sh > NodeManager.out &
tail -f NodeManager.out  (wait for Node Manager to start before continuing)

...