Anda di halaman 1dari 12

3

D48291GC10 ORACLE Utilities Customer Care &


Billing Configuration Ed 1

Module 03 Configuration Operations

Copyright 2008, Oracle. All rights reserved.

Objectives

After completing this Configuration Operations module,


you should be able to:
Understand the use of ports in the product.
Understand the global configuration file.
Understand the local configuration file.

3-2

Copyright 2008, Oracle. All rights reserved.

Ports, Ports Everywhere

WLPORT

Primarily used
for WSS

WLSSLPORT

Web Application Server


RMIPORT

Business Application Server

MPL

DBPORT

Database Server

3-3

Copyright 2008, Oracle. All rights reserved.

MPLADMINPORT

Configuration Concepts - /etc/cistab

Central file containing environment list on machine.


Generated by installation process.
Similar in concept to oratab for ORACLE implementations.
Format:
<environment>:<reserved for future use>:<splebase>:<splapp>:<reserved for future
use>:<autostart>

Where:
- Environment name
<splebase> - Location of software
<splapp> - Location of output
<autostart> - Start environment on machine startup (requires
additional work)
For example:
<environment>

TRAINING::/spl/TRAINING:/spl/splapp/TRAINING::N
DEMO::/spl/TECH:/spl/splapp/DEMO::N
TEST::/spl/TEST:/spl/splapp/TEST::N

3-4

Copyright 2008, Oracle. All rights reserved.

Implementation Tip: Accessing cistab from scripts

Use following example to get values out of cistab


cat /etc/cistab | sort | while IFS=: read _env _filler1
_splebase _splapp _filler2 _start
do
<command>
done

For example: Starting all environments.


cat /etc/cistab | sort | while IFS=: read _env _filler1 _splebase
_splapp _filler2 _start
do
if [ ${_start} = Y ]
then
${_splebase}/bin/splenviron.sh e ${_env} c spl.sh start
fi
done

3-5

Copyright 2008, Oracle. All rights reserved.

$SPLEBASE/etc/ENVIRON.INI

Each Environment has a configuration file defining the


environment settings.
All other configuration files are built from this one file.

Main configuration file maintained by configureEnv.sh script.


Configuration file read by management scripts.

3-6

Copyright 2008, Oracle. All rights reserved.

Concept: $SPLEBASE/etc/ENVIRON.INI
appViewer=appViewer
CMPDB=oracle
DB2MPLuse=
DBCONNECTION=jdbc:oracle:thin:@ccbtrain:1521:ccbtrain
DBDRIVER=oracle.jdbc.driver.OracleDriver
DBENCPASS=21424852545244510F0F21
DBNAME=CCBTRAIN
DBPASS=cisuser00
DBPORT=1521
DBSERVER=ccbtrain
DBUSER=cisuser
DESC=CCB Training
DIALECT=org.hibernate.dialect.Oracle9Dialect
DIRSEP=/
DOC1BILLSCRIPT=_cordaptixPrint.sh
DOC1SCRIPT=_cordaptixPrintDoc.sh
ENCODING=true
help=help
highValue=\uF8FF
isDevelopment=false
isExpanded=true
JavaEncoding=UTF8
JVMchild_OPTIONS=..
jvmcommand=/opt/SPLcobAS40sp2/bin/cobjrun
JVMCOUNT=2
maxAge=28800
maxAgeI=28800
modules=base,ccb,cm

3-7

MPLADMINPORT=9079
MPLSTART=N
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15
ORACLE_SID=ccbtrain
preloadall=false
RJVM=true
RMIPORT=9072
SPLADMIN=cissys
SPLADMINGROUP=cisusr
SPLApp=root
SPLDB=oracle
SPLEBASE=/spl/CCBTRAIN
SPLENCPASS=21525852545244510F0F21
SPLENVIRON=CCBTRAIN
SPLOUTPUT=/spl/sploutput/CCBTRAIN
SPLPASS=sysuser00
SPLUSER=SYSUSER
SPLVERSION=V2.0.5
SPLWAS=WLS
WLAUTHMETHOD=FORM
WLHOST=ccbtrain
wlpageCheckSeconds=43200
WLPORT=9070
WLSSLPORT=9071
WLSSPL=Y
WLSYSPASS=spladmin
WLSYSUSER=system
XAIApp=XAIApp

Copyright 2008, Oracle. All rights reserved.

Implementation Tip: Accessing ENVIRON.INI from scripts

Use internal call to get values out of ENVIRON.INI


Do not hardcode values that can be obtained from ENVIRON.INI
Internal system call in script:
perl $SPLEBASE/bin/getconfvalue.plx k <key>
Examples:
ENVIRON.INI:

DBNAME=CCBTRAIN

$ export DB= `perl $SPLEBASE/bin/getconfvalue.plx k DBNAME`


$ echo $DB
CCBTRAIN
If the <key> is invalid then null values are returned.

3-8

Copyright 2008, Oracle. All rights reserved.

Summary

In this Configuration Operations module, you should have


learned how to:
Understand the use of ports in the product.
Understand the global configuration file.
Understand the local configuration file

3-9

Copyright 2008, Oracle. All rights reserved.

Any Questions?

3 - 10

Q&
A
Copyright 2008, Oracle. All rights reserved.

3 - 11

Copyright 2008, Oracle. All rights reserved.

3 - 12

Copyright 2008, Oracle. All rights reserved.

Anda mungkin juga menyukai