Professional Documents
Culture Documents
DOKUMENTASI
INFRASTRUKTUR
BACKOFFICE
Petrodata System 1
Dokumentasi Infrastruktur Backoffice
DAFTAR ISI
DAFTAR ISI......................................................................................................................2
SKEMA INFRASTRUKTUR...........................................................................................4
Server Designation...........................................................................................................4
1. Urutan menyalakan services sesuai aplikasi............................................................4
2. Urutan mematikan services sesuai aplikasi.............................................................4
DOKUMENTASI FORM SERVER................................................................................5
Konfigurasi utama server.................................................................................................5
- IP address Form Server.............................................................................................5
- Processor...................................................................................................................5
- OS..............................................................................................................................5
- Hostname...................................................................................................................5
- Application................................................................................................................5
- Designation................................................................................................................5
- Virtual Memory.........................................................................................................5
Komponen utama Form Server........................................................................................5
- Oracle OC4J Engine..................................................................................................5
- Application Resources...............................................................................................5
Konfigurasi Form Server.................................................................................................5
- File Sharing...............................................................................................................5
- TNSNAMES.ORA....................................................................................................5
- FORMSWEB.CFG....................................................................................................6
- SCHEDULED TASK..............................................................................................11
Maintenance Form Server..............................................................................................12
FORM SERVER SERVICES.MSC CAPTURED SCREEN........................................12
DOKUMENTASI DATABASE SERVER.....................................................................13
Konfigurasi utama server...............................................................................................13
- IP address Database Server.....................................................................................13
- Processor.................................................................................................................13
- OS............................................................................................................................13
- Hostname.................................................................................................................13
- Application..............................................................................................................13
- Designation..............................................................................................................13
- Virtual Memory.......................................................................................................13
Komponen utama Database Server................................................................................13
- Oracle Instance........................................................................................................13
- Oracle Database.......................................................................................................13
Konfigurasi Database Server.........................................................................................13
- TNSNAMES.ORA..................................................................................................13
Maintenance Database Server........................................................................................15
- Cold backup.............................................................................................................15
- Cold restore.............................................................................................................15
- Maintenance backup................................................................................................16
DATABASE SERVER SERVICES.MSC CAPTURED SCREEN..............................16
Petrodata System 2
Dokumentasi Infrastruktur Backoffice
Petrodata System 3
Dokumentasi Infrastruktur Backoffice
SKEMA INFRASTRUKTUR
Server Designation
Petrodata System 4
Dokumentasi Infrastruktur Backoffice
- Application Resources
Physical Applications Path : C:\pds_apps
Physical Sources Path : C:\pds_src
- File Sharing
- TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.57)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
)
)
DBSRV1 =
Petrodata System 5
Dokumentasi Infrastruktur Backoffice
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.58)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbsrv1)
)
)
BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.59)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
BACKUP_BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.60)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
- FORMSWEB.CFG
Petrodata System 6
Dokumentasi Infrastruktur Backoffice
Petrodata System 7
Dokumentasi Infrastruktur Backoffice
logo=
# Forms applet parameter
restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnection
s
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
Petrodata System 8
Dokumentasi Infrastruktur Backoffice
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[M-BACKUP]
pageTitle=MMIS BACKUP SYSTEM [MMIS60-DB60]
width=1024
height=570
Petrodata System 9
Dokumentasi Infrastruktur Backoffice
form=c:\pds_apps\Eform\mmis_logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=mmis/mmis@BACKUP_BACKOFF1
otherparams=
[H-BACKUP]
pageTitle=HRIS BACKUP SYSTEM [HRIS60-DB60]
width=975
height=600
form=c:\pds_apps\EFORM\logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=applsys/applsys@BACKUP_BACKOFF1
otherparams=
#===================================================================backup system configuration
#========================================================PRODUCTION CONFIGURATION
[F]
pageTitle=FAS APPLICATION
width=1024
height=570
form=c:\pds_apps\Eform\mklogin.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=makess/makess@BACKOFF1
otherparams=
[M]
pageTitle=MMIS APPLICATION
width=1024
height=570
form=c:\pds_apps\Eform\mmis_logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=mmis/mmis@BACKOFF1
otherparams=
[H]
pageTitle=HRIS APPLICATION
width=975
height=600
form=c:\pds_apps\EFORM\logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=applsys/applsys@BACKOFF1
otherparams=
#========================================================PRODUCTION CONFIGURATION
[MMIS]
pageTitle=MMIS57-DB58
width=1024
height=570
form=c:\pds_apps\Eform\mmis_logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=mmis/mmis@dbsrv1
otherparams=
Petrodata System 10
Dokumentasi Infrastruktur Backoffice
[HRIS]
pageTitle=HRIS57-DB58
width=975
height=600
form=c:\pds_apps\EFORM\logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=applsys/applsys@dbsrv1
otherparams=
#==========================================================UAT / DEVELOPMENT CONFIGURATION
- SCHEDULED TASK
[general]
delauth.job
[task]
run:C:\oracle\oraids10g\delauth.bat
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:00AM
Every:1day
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Shutdown OC4J Instance.job
[task]
run:"C:\Documents and Settings\pds.dbadmin\Desktop\Shutdown OC4J Instance.lnk"
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:02AM
Every:1day
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Self-restart ctdown=100 [0400].job
[task]
run:shutdown /r /f /t 100 /m \\localhost /c "This is daily maintenance"
startin:C:\WINDOWS\system32
comments:The purpose of this is task is to self-restart[not shutdown] for daily maintenance.
Running every day at 0400. This task will force the system to shutting down if there's user application running.
Delay execution is 100 seconds after intialization
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:04AM
Every:1day
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Start OC4J on start system.job
[task]
run:"C:\Documents and Settings\pds.dbadmin\Desktop\Start OC4J Instance.lnk"
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
Petrodata System 11
Dokumentasi Infrastruktur Backoffice
scheduletask:at_system_startup
Petrodata System 12
Dokumentasi Infrastruktur Backoffice
- Oracle Instance
Physical path : C:\oracle\oradb10g2
- Oracle Database
Oracle SID : backoff1
Physical Path Datafile : C:\oracle\oradata\backoff1
Physical Path Indexfile : D:\oracle\oraindex\backoff1
- TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.59)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
Petrodata System 13
Dokumentasi Infrastruktur Backoffice
)
)
BACKUP_BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.60)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
Petrodata System 14
Dokumentasi Infrastruktur Backoffice
- Cold backup
- Cold restore
- Maintenance backup
Petrodata System 15
Dokumentasi Infrastruktur Backoffice
Lakukan maintenance backup dengan menghapus folder backup sebelumnya sesuai aturan
yang ditentukan
Petrodata System 16
Dokumentasi Infrastruktur Backoffice
- Application Resources
Physical Applications Path : C:\pds_apps
Physical Sources Path : C:\pds_src
- Oracle Instance
Physical path : C:\oracle\oradb10g2
- Oracle Database
Oracle SID : backoff1
Physical Path Datafile : C:\oracle\oradata\backoff1
Physical Path Indexfile : D:\oracle\oraindex\backoff1
Petrodata System 17
Dokumentasi Infrastruktur Backoffice
- File Sharing
- TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PDS_SVR_DB1.Petrodata-System.com)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
)
)
BACKUP_BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.60)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.59)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
DBSRV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.58)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbsrv1)
)
)
- FORMSWEB.CFG
Petrodata System 18
Dokumentasi Infrastruktur Backoffice
Petrodata System 19
Dokumentasi Infrastruktur Backoffice
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=
Petrodata System 20
Dokumentasi Infrastruktur Backoffice
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
Petrodata System 21
Dokumentasi Infrastruktur Backoffice
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[M-BACKUP]
pageTitle=MMIS BACKUP SYSTEM [MMIS60-DB60]
width=1024
height=570
form=c:\pds_apps\Eform\mmis_logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=mmis/mmis@BACKUP_BACKOFF1
otherparams=
[H-BACKUP]
pageTitle=HRIS BACKUP SYSTEM [HRIS60-DB60]
width=975
height=600
form=c:\pds_apps\EFORM\logon.fmx
lookAndFeel=oracle
colorScheme=blaf
userid=applsys/applsys@BACKUP_BACKOFF1
otherparams=
#==========================================================backup system configuration
- CGICMD.DAT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
; OracleAS Reports Services ;
; CGICMD.DAT ;
; ;
; Example CGICMD.DAT Mapping file ;
; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Syntax:
; KEY : VALUE
; Where:
; KEY - the first argument of the rwservlet URL request (case insensitive).
; VALUE - command line parameters and/or special parameters.
;
; Keys can be referenced in the following ways:
;
; 1. Parameter on command line to the reports servlet
; e.g. http://machine/servlet/rwservlet?KEY
;
Petrodata System 22
Dokumentasi Infrastruktur Backoffice
; Example 2: prompt for userid the first time, then use database userid stored in the cookie subsequently.
report_defaultid: report=breakb.rdf destype=cache desformat=html server=repserver
; Example 4: Take all arguments from URL and send it to the reports server
run: %*
; Example 6: take all URL arguments, and also generate a HTML parameter form
runp: %* %P
; Example 7: Run an Express Report. Replace <MYHOST> with the name of the machine running the Express server.
The
; builder on-line help explains the rest of the parameters (the /sl, st etc. etc.)
express: report=my_expr_rep express_server="server=ncacn_ip_tcp:<MYHOST>/sl=1/st=1/ct=0/sv=1/"
desformat=htmlcss userid=scott/tiger@mydb destype=cache server=repserver
charthyperlink_ids: userid=scott/tiger@ %*
barcodeweb: userid=oe
parmformjsp: userid=oe
tutorial: userid=oe
; Paper Reports
xmldata: userid=oe report=inventory_report.rdf destype=cache p_filelocation="http://%HOSTNAME%:
%OC4JPORT%/reports/examples/xml_pds/scripts/" desformat=pdf
Petrodata System 23
Dokumentasi Infrastruktur Backoffice
;=======================================================;
; konfigurasi reportserver EMP untuk UAT / development ;
;=======================================================;
;================================================;
; konfigurasi reportserver EMP untuk production ;
;================================================;
Petrodata System 24
Dokumentasi Infrastruktur Backoffice
;;;;;;;;;;;;
- SCHEDULED TASK
[general]
delauth.job
[task]
run:C:\oracle\oraids10g\delauth.bat
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:00AM
Every:1day
Petrodata System 25
Dokumentasi Infrastruktur Backoffice
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Shutdown OC4J Instance.job
[task]
run:"C:\Documents and Settings\pds.dbadmin\Desktop\Shutdown OC4J Instance.lnk"
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:02AM
Every:1day
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Self-restart ctdown=100 [0400].job
[task]
run:shutdown /r /f /t 100 /m \\localhost /c "This is daily maintenance"
startin:C:\WINDOWS\system32
comments:The purpose of this is task is to self-restart[not shutdown] for daily maintenance.
Running every day at 0400. This task will force the system to shutting down if there's user application running.
Delay execution is 100 seconds after intialization
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:daily
starttime:5:04AM
Every:1day
[settings]
yes:stop_the task_if_it_runs_for:72hours0minute
[general]
Start OC4J on start system.job
[task]
run:"C:\Documents and Settings\pds.dbadmin\Desktop\Start OC4J Instance.lnk"
runas:PETRODATA\pds.dbadmin
password:pa55word
yes:enabled
[schedule]
scheduletask:at_system_startup
- TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
BACKOFF1 =
(DESCRIPTION =
Petrodata System 26
Dokumentasi Infrastruktur Backoffice
BACKUP_BACKOFF1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.60)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BACKOFF1)
)
)
DBSRV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.58)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbsrv1)
)
)
1. Maintenance dilakukan secara otomatis oleh scheduled task yang sudah dikonfigurasi
Petrodata System 27
Dokumentasi Infrastruktur Backoffice
Petrodata System 28