SOP BackOffice

33
Dokumentasi Infrastruktur Backoffice DOKUMENTASI INFRASTRUKTUR BACKOFFICE Petrodata System 1

Transcript of SOP BackOffice

Page 1: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

DOKUMENTASIINFRASTRUKTUR

BACKOFFICE

Petrodata System 1

Page 2: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

DAFTAR ISI

DAFTAR ISI......................................................................................................................2SKEMA INFRASTRUKTUR...........................................................................................4

Server Designation...........................................................................................................41. Urutan menyalakan services sesuai aplikasi............................................................42. Urutan mematikan services sesuai aplikasi.............................................................4

DOKUMENTASI FORM SERVER................................................................................5Konfigurasi 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..............................................................................................12FORM SERVER SERVICES.MSC CAPTURED SCREEN........................................12

DOKUMENTASI DATABASE SERVER.....................................................................13Konfigurasi 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

Page 3: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

DOKUMENTASI REPORT SERVER DAN DATABASE BACKUP SERVER......17Konfigurasi utama server...............................................................................................17

- IP address Report Server.........................................................................................17- Processor.................................................................................................................17- OS............................................................................................................................17- Hostname.................................................................................................................17- Application..............................................................................................................17- Designation..............................................................................................................17- Virtual Memory.......................................................................................................17

Komponen utama Report Server...................................................................................17- Oracle OC4J Engine................................................................................................17- Application Resources.............................................................................................17

Komponen utama Database Backup Server..................................................................17- Oracle Instance........................................................................................................17- Oracle Database.......................................................................................................17

Konfigurasi Report Server.............................................................................................18- File Sharing.............................................................................................................18- TNSNAMES.ORA..................................................................................................18- FORMSWEB.CFG..................................................................................................18- CGICMD.DAT........................................................................................................22- SCHEDULED TASK..............................................................................................25

Konfigurasi Database Backup Server............................................................................26- TNSNAMES.ORA..................................................................................................26

Maintenance Report Server...........................................................................................27REPORT & DATABASE BACKUP SERVICES.MSC CAPTURED SCREEN.........28

Petrodata System 3

Page 4: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

SKEMA INFRASTRUKTUR

Server Designation

No. Services Nama Server IP Note.1. Database Server PDS-SVR-DB3 10.10.10.592. Form Server PDS-SVR-DB1 10.10.10.573. Report Server PDS-SVR-DB4 10.10.10.604. Backup Server

1. Urutan menyalakan services sesuai aplikasia. Oracle Database 10g2 Services 59b. Oracle Database 10g2 Listener 59c. Backup Server 60d. Report Server 60e. Form Server 57

2. Urutan mematikan services sesuai aplikasif. Form Server 57g. Report Server 60h. Backup Serveri. Oracle Database 10g2 Listener

Petrodata System 4

Page 5: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

j. Oracle Database 10g2 Services

DOKUMENTASI FORM SERVERDokumentasi teknis form server aplikasi backoffice production di Petrodata System.

Konfigurasi utama server

- IP address Form Server : 10.10.10.57 / 255.255.255.0- Processor : Intel Xeon 3 GHz- OS : Microsoft Windows 2003 64 bit SP 1- Hostname : pds-svr-db1- Application : Oracle OC4J 10g- Designation : Form Server Production- Virtual Memory : 2046-4092

Komponen utama Form Server

- Oracle OC4J EnginePhysical path : C:\oracle\oraids10g

- Application ResourcesPhysical Applications Path : C:\pds_appsPhysical Sources Path : C:\pds_src

Konfigurasi Form Server

- File Sharing

C:\pds_apps\ : share readonly to localhost\users

- TNSNAMES.ORA

# tnsnames.ora Network Configuration File: c:\oracle\oraids10g\network\admin\tnsnames.ora# Generated by Oracle configuration tools.

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

Page 6: SOP BackOffice

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

# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)# This section defines the Default settings. Any of them may be overridden in the# following Named Configuration sections. If they are not overridden, then the# values here will be used.# The default settings comprise two types of parameters: System parameters,# which cannot be overridden in the URL, and User Parameters, which can.# Parameters which are not marked as System parameters are User parameters.# SYSTEM PARAMETERS# -----------------# These have fixed names and give information required by the Forms# Servlet in order to function. They cannot be specified in the URL query# string. But they can be overridden in a named configuration (see below).# Some parameters specify file names: if the full path is not given,# they are assumed to be in the same directory as this file. If a path# is given, then it should be a physical path, not a URL.# USER PARAMETERS# ---------------# These match variables (e.g. %form%) in the baseHTML file. Their values# may be overridden by specifying them in the URL query string# (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")# or by overriding them in a specific, named configuration (see below)[default]# System parameter: default base HTML filebaseHTML=base.htm# System parameter: base HTML file for use with JInitiator clientbaseHTMLjinitiator=basejini.htm# System parameter: base HTML file for use with Sun's Java Plug-InbaseHTMLjpi=basejpi.htm# System parameter: delimiter for parameters in the base HTML filesHTMLdelimiter=%# System parameter: working directory for Forms runtime processes# WorkingDirectory defaults to <oracle_home>/forms if unset.workingDirectory=# System parameter: file setting environment variables for the Forms runtime processesenvFile=default.env

# Forms runtime argument: whether to escape certain special characters

Petrodata System 6

Page 7: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

# in values extracted from the URL for other runtime argumentsescapeparams=true# Forms runtime argument: which form module to runform=test.fmx# Forms runtime argument: database connection detailsuserid=# Forms runtime argument: whether to run in debug modedebug=no# Forms runtime argument: host for debugginghost=# Forms runtime argument: port for debuggingport=# Other Forms runtime arguments: grouped together as one parameter.# These settings support running and debugging a form from the Builder:otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%# Sub argument for otherparamsbuffer=no # Sub argument for otherparamsdebug_messages=no# Sub argument for otherparamsarray=no# Sub argument for otherparamsobr=no# Sub argument for otherparamsquery_only=no# Sub argument for otherparamsquiet=yes# Sub argument for otherparamsrender=no# Sub argument for otherparamsrecord=# Sub argument for otherparamstracegroup=# Sub argument for otherparamslog=# Sub argument for otherparamsterm=

# HTML page titlepageTitle=Oracle Application Server Forms Services# HTML attributes for the BODY tagHTMLbodyAttrs=# HTML to add before the formHTMLbeforeForm=# HTML to add after the formHTMLafterForm=

# Forms applet parameter: URL path to Forms ListenerServletserverURL=/forms/lservlet# Forms applet parametercodebase=/forms/java# Forms applet parameterimageBase=DocumentBase# Forms applet parameterwidth=1024# Forms applet parameterheight=768# Forms applet parameterseparateFrame=false# Forms applet parametersplashScreen=# Forms applet parameterbackground=# Forms applet parameterlookAndFeel=Oracle# Forms applet parametercolorScheme=teal# Forms applet parameter

Petrodata System 7

Page 8: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

logo=# Forms applet parameterrestrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections# Forms applet parameterformsMessageListener=# Forms applet parameterrecordFileName=# Forms applet parameterserverApp=default# Forms applet archive setting for JInitiatorarchive_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

# Page displayed to Netscape users to allow them to download Oracle JInitiator.# Oracle JInitiator is used with Windows clients.# If you create your own page, you should set this parameter to point to it.jinit_download_page=/forms/jinitiator/us/jinit_download.htm# Parameter related to the version of JInitiatorjinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF# Parameter related to the version of JInitiatorjinit_exename=jinit.exe#Version=1,3,1,22# Parameter related to the version of JInitiatorjinit_mimetype=application/x-jinit-applet;version=1.3.1.22

# Page displayed to users to allow them to download Sun's Java Plugin.# Sun's Java Plugin is typically used for non-Windows clients.# (NOTE: you should check this page and possibly change the settings)jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html# Parameter related to the version of the Java Pluginjpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA# Parameter related to the version of the Java Pluginjpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06# Parameter related to the version of the Java Pluginjpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06# EM config parameter# Set this to "1" to enable Enterprise Manager to track Forms processesem_mode=0

# Single Sign-On OID configuration parameteroid_formsid=%OID_FORMSID%# Single Sign-On OID configuration parameteroracle_home=C:\oracle\product\DevSuites# Single Sign-On OID configuration parameterformsid_group_dn=%GROUP_DN%# Single Sign-On OID configuration parameter: indicates whether we allow# dynamic resource creation if the resource is not yet created in the OID.ssoDynamicResourceCreate=true# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=falsessoErrorUrl=# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.ssoCancelUrl=# Single Sign-On parameter: indicates whether the url is protected in which# case mod_osso will be given control for authentication or continue in# the FormsServlet if not. It is false by default. Set it to true in an# application-specific section to enable Single Sign-On for that application.ssoMode=false# The parameter allow_debug determines whether debugging is permitted.# Administrators should set allow_debug to "true" if servlet# debugging is required, or to provide access to the Forms Trace Xlate utility. # Otherwise these activities will not be allowed (for security reasons).allow_debug=false# Parameter which determines whether new Forms sessions are allowed. # This is also read by the Forms EM Overview page to show the # current Forms status.allowNewConnections=true

Petrodata System 8

Page 9: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

# EndUserMonitoring

# EndUserMonitoringEnabled parameter# Indicates whether EUM/Chronos integration is enabledEndUserMonitoringEnabled=

# EndUserMonitoringURL # indicates where to record EUM/Chronos dataEndUserMonitoringURL=

# Example Named Configuration Section# Example 1: configuration to run forms in a separate browser window with# "generic" look and feel (include "config=sepwin" in the URL)# You may define your own specific, named configurations (sets of parameters)# by adding special sections as illustrated in the following examples.# Note that you need only specify the parameters you want to change. The# default values (defined above) will be used for all other parameters.# Use of a specific configuration can be requested by including the text# "config=<your_config_name>" in the query string of the URL used to run# a form. For example, to use the sepwin configuration, your could issue# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".[sepwin]separateFrame=Truelookandfeel=Generic

# Example Named Configuration Section# Example 2: configuration forcing use of the Java Plugin in all cases (even if # the client browser is on Windows)[jpi]baseHTMLJInitiator=basejpi.htm

# Example Named Configuration Section# Example 3: configuration running the Forms ListenerServlet in debug mode# (debug messages will be written to the servlet engine's log file). [debug]serverURL=/forms/lservlet/debug

# 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.jarWebUtilLogging=offWebUtilLoggingDetail=normalWebUtilErrorMode=AlertWebUtilDispatchMonitorInterval=5WebUtilTrustInternal=trueWebUtilMaxTransferSize=16384baseHTMLjinitiator=webutiljini.htmbaseHTMLjpi=webutiljpi.htmarchive_jini=frmall_jinit.jararchive=frmall.jarlookAndFeel=oracle

#===================================================================backup system configuration[F-BACKUP]pageTitle=FAS BACKUP SYSTEM [FAS60-DB60]width=1024height=570form=c:\pds_apps\Eform\mklogin.fmxlookAndFeel=oraclecolorScheme=blafuserid=makess/makess@BACKUP_BACKOFF1otherparams=

[M-BACKUP]pageTitle=MMIS BACKUP SYSTEM [MMIS60-DB60]width=1024height=570

Petrodata System 9

Page 10: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

form=c:\pds_apps\Eform\mmis_logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=mmis/mmis@BACKUP_BACKOFF1otherparams=

[H-BACKUP]pageTitle=HRIS BACKUP SYSTEM [HRIS60-DB60]width=975height=600form=c:\pds_apps\EFORM\logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=applsys/applsys@BACKUP_BACKOFF1otherparams=#===================================================================backup system configuration

#========================================================PRODUCTION CONFIGURATION[F]pageTitle=FAS APPLICATIONwidth=1024height=570form=c:\pds_apps\Eform\mklogin.fmxlookAndFeel=oraclecolorScheme=blafuserid=makess/makess@BACKOFF1otherparams=

[M]pageTitle=MMIS APPLICATIONwidth=1024height=570form=c:\pds_apps\Eform\mmis_logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=mmis/mmis@BACKOFF1otherparams=

[H]pageTitle=HRIS APPLICATIONwidth=975height=600form=c:\pds_apps\EFORM\logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=applsys/applsys@BACKOFF1otherparams=#========================================================PRODUCTION CONFIGURATION

#========================================================UAT / DEVELOPMENT CONFIGURATION[FAS]pageTitle=FAS57-DB58width=1024height=570form=c:\pds_apps\Eform\mklogin.fmxlookAndFeel=oraclecolorScheme=blafuserid=newfas/newfas@dbsrv1otherparams=

[MMIS]pageTitle=MMIS57-DB58width=1024height=570form=c:\pds_apps\Eform\mmis_logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=mmis/mmis@dbsrv1otherparams=

Petrodata System 10

Page 11: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

[HRIS]pageTitle=HRIS57-DB58width=975height=600form=c:\pds_apps\EFORM\logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=applsys/applsys@dbsrv1otherparams=#==========================================================UAT / DEVELOPMENT CONFIGURATION

- SCHEDULED TASK

[general]delauth.job[task]run:C:\oracle\oraids10g\delauth.batrunas:PETRODATA\pds.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:00AMEvery: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.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:02AMEvery: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\system32comments: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 intializationrunas:PETRODATA\pds.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:04AMEvery: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.dbadminpassword:pa55wordyes:enabled[schedule]

Petrodata System 11

Page 12: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

scheduletask:at_system_startup

Maintenance Form Server1. Maintenance dilakukan secara otomatis oleh scheduled task yang sudah dikonfigurasi2. Apabila terjadi perubahan resources aplikasi, lakukan backup pada aplikasi yang lama

dan letakkan pada server backup (10.10.10.60)3. Resources aplikasi yang ada di Form server hanya yang production

FORM SERVER SERVICES.MSC CAPTURED SCREEN

Petrodata System 12

Page 13: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

DOKUMENTASI DATABASE SERVERDokumentasi teknis database server aplikasi backoffice production di Petrodata System.

Konfigurasi utama server

- IP address Database Server : 10.10.10.59 / 255.255.255.0- Processor : Intel Xeon 3 GHz- OS : Microsoft Windows 2003 64 bit SP 1- Hostname : pds-svr-db3- Application : Oracle Database 10g2 32 bit- Designation : Database Server Production- Virtual Memory : 2046-4092

Komponen utama Database Server

- Oracle InstancePhysical path : C:\oracle\oradb10g2

- Oracle DatabaseOracle SID : backoff1Physical Path Datafile : C:\oracle\oradata\backoff1Physical Path Indexfile : D:\oracle\oraindex\backoff1

Konfigurasi Database Server

- TNSNAMES.ORA

# tnsnames.ora Network Configuration File: c:\oracle\oradb10g2\network\admin\tnsnames.ora# Generated by Oracle configuration tools.

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

Page 14: SOP BackOffice

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

Page 15: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

Maintenance Database Server

- Cold backup

1. RDC ke server aplikasi2. Switch server aplikasi ke maintenance mode3. RDC ke server database4. Buka console command prompt5. Matikan Listener6. Matikan Database7. Copy folder datafile ke folder baru dengan format backoff1.bckpyyyymmdd

C:\oracle\oradata\backoff1\ ke C:\oracle\oradata\backoff1.data.bckp20070809\8. Copy folder datafile ke folder baru dengan format backoff1.bckpyyyymmdd

D:\oracle\oraindex\backoff1 ke D:\oracle\oraindex\backoff1.index.bckp20070809\9. Hidupkan Database10. Hidupkan Listener11. Tutup console command prompt12. Tutup RDC ke server database13. Test Aplikasi Form14. Test Aplikasi Report15. Switch server aplikasi ke normal mode16. Tutup RDC ke server aplikasi

- Cold restore

1. RDC ke server aplikasi2. Switch server aplikasi ke maintenance mode3. RDC ke server database4. Buka console command prompt5. Matikan Listener apabila listener belum mati6. Matikan Database apabila database belum mati7. Untuk kebutuhan analisis rename folder datafile ke crashfolder dengan format

backoff1.crashyyyymmddC:\oracle\oradata\backoff1\ ke C:\oracle\oradata\backoff1.crash20070809\

8. Untuk kebutuhan analisis rename folder indexfile ke crashfolder dengan format backoff1.crashyyyymmddD:\oracle\oraindex\backoff1 ke D:\oracle\oraindex\backoff1.crash20070809\

9. Copy folder backup datafile ke folder baru dan rename menjadi folder datafile utama10. Copy folder backup indexfile ke folder baru dan rename menjadi folder indexfile utama11. Hidupkan Database12. Hidupkan Listener13. Tutup console command prompt14. Tutup RDC ke server database15. Test Aplikasi Form16. Test Aplikasi Report17. Switch server aplikasi ke normal mode18. Tutup RDC ke server aplikasi

- Maintenance backup

Petrodata System 15

Page 16: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

Lakukan maintenance backup dengan menghapus folder backup sebelumnya sesuai aturan yang ditentukan

DATABASE SERVER SERVICES.MSC CAPTURED SCREEN

Petrodata System 16

Page 17: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

DOKUMENTASI REPORT SERVER DAN DATABASE BACKUP SERVER

Dokumentasi teknis report server aplikasi backoffice production di Petrodata System.

Konfigurasi utama server

- IP address Report Server : 10.10.10.60 / 255.255.255.0- Processor : Intel Xeon 3 GHz- OS : Microsoft Windows 2003 64 bit SP 1- Hostname : pds-svr-db4- Application : - Oracle OC4J 10g

- Oracle Database 10g2 32- Designation : - Report Server Production

- Database Backup Server- Virtual Memory : 2046-4092

Komponen utama Report Server

- Oracle OC4J EnginePhysical path : C:\oracle\oraids10g

- Application ResourcesPhysical Applications Path : C:\pds_appsPhysical Sources Path : C:\pds_src

Komponen utama Database Backup Server

- Oracle InstancePhysical path : C:\oracle\oradb10g2

- Oracle DatabaseOracle SID : backoff1Physical Path Datafile : C:\oracle\oradata\backoff1Physical Path Indexfile : D:\oracle\oraindex\backoff1

Petrodata System 17

Page 18: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

Konfigurasi Report Server

- File Sharing

C:\pds_apps\ : share readonly to localhost\users

- TNSNAMES.ORA

# tnsnames.ora Network Configuration File: c:\oracle\oraids10g\network\admin\tnsnames.ora# Generated by Oracle configuration tools.

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

# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)# This section defines the Default settings. Any of them may be overridden in the# following Named Configuration sections. If they are not overridden, then the# values here will be used.# The default settings comprise two types of parameters: System parameters,# which cannot be overridden in the URL, and User Parameters, which can.# Parameters which are not marked as System parameters are User parameters.# SYSTEM PARAMETERS# -----------------# These have fixed names and give information required by the Forms

Petrodata System 18

Page 19: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

# Servlet in order to function. They cannot be specified in the URL query# string. But they can be overridden in a named configuration (see below).# Some parameters specify file names: if the full path is not given,# they are assumed to be in the same directory as this file. If a path# is given, then it should be a physical path, not a URL.# USER PARAMETERS# ---------------# These match variables (e.g. %form%) in the baseHTML file. Their values# may be overridden by specifying them in the URL query string# (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")# or by overriding them in a specific, named configuration (see below)[default]# System parameter: default base HTML filebaseHTML=base.htm# System parameter: base HTML file for use with JInitiator clientbaseHTMLjinitiator=basejini.htm# System parameter: base HTML file for use with Sun's Java Plug-InbaseHTMLjpi=basejpi.htm# System parameter: delimiter for parameters in the base HTML filesHTMLdelimiter=%# System parameter: working directory for Forms runtime processes# WorkingDirectory defaults to <oracle_home>/forms if unset.workingDirectory=# System parameter: file setting environment variables for the Forms runtime processesenvFile=default.env

# Forms runtime argument: whether to escape certain special characters# in values extracted from the URL for other runtime argumentsescapeparams=true# Forms runtime argument: which form module to runform=test.fmx# Forms runtime argument: database connection detailsuserid=# Forms runtime argument: whether to run in debug modedebug=no# Forms runtime argument: host for debugginghost=# Forms runtime argument: port for debuggingport=# Other Forms runtime arguments: grouped together as one parameter.# These settings support running and debugging a form from the Builder:otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%# Sub argument for otherparamsbuffer=no # Sub argument for otherparamsdebug_messages=no# Sub argument for otherparamsarray=no# Sub argument for otherparamsobr=no# Sub argument for otherparamsquery_only=no# Sub argument for otherparamsquiet=yes# Sub argument for otherparamsrender=no# Sub argument for otherparamsrecord=# Sub argument for otherparamstracegroup=# Sub argument for otherparamslog=# Sub argument for otherparamsterm=

# HTML page titlepageTitle=Oracle Application Server Forms Services# HTML attributes for the BODY tag

Petrodata System 19

Page 20: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

HTMLbodyAttrs=# HTML to add before the formHTMLbeforeForm=# HTML to add after the formHTMLafterForm=

# Forms applet parameter: URL path to Forms ListenerServletserverURL=/forms/lservlet# Forms applet parametercodebase=/forms/java# Forms applet parameterimageBase=DocumentBase# Forms applet parameterwidth=1024# Forms applet parameterheight=768# Forms applet parameterseparateFrame=false# Forms applet parametersplashScreen=# Forms applet parameterbackground=# Forms applet parameterlookAndFeel=Oracle# Forms applet parametercolorScheme=teal# Forms applet parameterlogo=# Forms applet parameterrestrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections# Forms applet parameterformsMessageListener=# Forms applet parameterrecordFileName=# Forms applet parameterserverApp=default# Forms applet archive setting for JInitiatorarchive_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

# Page displayed to Netscape users to allow them to download Oracle JInitiator.# Oracle JInitiator is used with Windows clients.# If you create your own page, you should set this parameter to point to it.jinit_download_page=/forms/jinitiator/us/jinit_download.htm# Parameter related to the version of JInitiatorjinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF# Parameter related to the version of JInitiatorjinit_exename=jinit.exe#Version=1,3,1,22# Parameter related to the version of JInitiatorjinit_mimetype=application/x-jinit-applet;version=1.3.1.22

# Page displayed to users to allow them to download Sun's Java Plugin.# Sun's Java Plugin is typically used for non-Windows clients.# (NOTE: you should check this page and possibly change the settings)jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html# Parameter related to the version of the Java Pluginjpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA# Parameter related to the version of the Java Pluginjpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06# Parameter related to the version of the Java Pluginjpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06# EM config parameter# Set this to "1" to enable Enterprise Manager to track Forms processesem_mode=0

Petrodata System 20

Page 21: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

# Single Sign-On OID configuration parameteroid_formsid=%OID_FORMSID%# Single Sign-On OID configuration parameteroracle_home=C:\oracle\product\DevSuites# Single Sign-On OID configuration parameterformsid_group_dn=%GROUP_DN%# Single Sign-On OID configuration parameter: indicates whether we allow# dynamic resource creation if the resource is not yet created in the OID.ssoDynamicResourceCreate=true# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=falsessoErrorUrl=# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.ssoCancelUrl=# Single Sign-On parameter: indicates whether the url is protected in which# case mod_osso will be given control for authentication or continue in# the FormsServlet if not. It is false by default. Set it to true in an# application-specific section to enable Single Sign-On for that application.ssoMode=false# The parameter allow_debug determines whether debugging is permitted.# Administrators should set allow_debug to "true" if servlet# debugging is required, or to provide access to the Forms Trace Xlate utility. # Otherwise these activities will not be allowed (for security reasons).allow_debug=false# Parameter which determines whether new Forms sessions are allowed. # This is also read by the Forms EM Overview page to show the # current Forms status.allowNewConnections=true

# EndUserMonitoring

# EndUserMonitoringEnabled parameter# Indicates whether EUM/Chronos integration is enabledEndUserMonitoringEnabled=

# EndUserMonitoringURL # indicates where to record EUM/Chronos dataEndUserMonitoringURL=

# Example Named Configuration Section# Example 1: configuration to run forms in a separate browser window with# "generic" look and feel (include "config=sepwin" in the URL)# You may define your own specific, named configurations (sets of parameters)# by adding special sections as illustrated in the following examples.# Note that you need only specify the parameters you want to change. The# default values (defined above) will be used for all other parameters.# Use of a specific configuration can be requested by including the text# "config=<your_config_name>" in the query string of the URL used to run# a form. For example, to use the sepwin configuration, your could issue# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".[sepwin]separateFrame=Truelookandfeel=Generic

# Example Named Configuration Section# Example 2: configuration forcing use of the Java Plugin in all cases (even if # the client browser is on Windows)[jpi]baseHTMLJInitiator=basejpi.htm

# Example Named Configuration Section# Example 3: configuration running the Forms ListenerServlet in debug mode# (debug messages will be written to the servlet engine's log file). [debug]serverURL=/forms/lservlet/debug

# 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

Page 22: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

WebUtilLogging=offWebUtilLoggingDetail=normalWebUtilErrorMode=AlertWebUtilDispatchMonitorInterval=5WebUtilTrustInternal=trueWebUtilMaxTransferSize=16384baseHTMLjinitiator=webutiljini.htmbaseHTMLjpi=webutiljpi.htmarchive_jini=frmall_jinit.jararchive=frmall.jarlookAndFeel=oracle

#==========================================================backup system configuration[F-BACKUP]pageTitle=FAS BACKUP SYSTEM [FAS60-DB60]width=1024height=570form=c:\pds_apps\Eform\mklogin.fmxlookAndFeel=oraclecolorScheme=blafuserid=makess/makess@BACKUP_BACKOFF1otherparams=

[M-BACKUP]pageTitle=MMIS BACKUP SYSTEM [MMIS60-DB60]width=1024height=570form=c:\pds_apps\Eform\mmis_logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=mmis/mmis@BACKUP_BACKOFF1otherparams=

[H-BACKUP]pageTitle=HRIS BACKUP SYSTEM [HRIS60-DB60]width=975height=600form=c:\pds_apps\EFORM\logon.fmxlookAndFeel=oraclecolorScheme=blafuserid=applsys/applsys@BACKUP_BACKOFF1otherparams=#==========================================================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

Page 23: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

; 2. Parameter on command line to a reports jsp ; e.g. http://machine/mydir/myreport.jsp?KEY;; 3. Within a reports jsp - in the rw:report custom tag ; e.g. <rw:report parameters="KEY">; ; In addition to the Reports Server command line parameters, VALUE can include special parameters; represented as "%X", where X identifies the parameter. Currently recognized special; parameters: ;; %0 - %9 - 0..9 arguments from original rwservlet URL request. Note that %0 refers to the key itself. ; %* - entire contents (all arguments) of original rwservlet URL request. ; %D - request users to input database userid everytime they run the report.; %P - request for report parameter form in HTML format. It generates the PARAMFORM=HTML ; construction on the first submission of the URL and PARAMFORM=NO upon parameter form submission. ; CGICMD.DAT Usage Notes; 1. Multiple keys in this file MUST be separated by an EXTRA empty line.; 2. Extra spaces are ignored. Multi-line entries allowed. ; 3. Lines starting with ";" character are treated as a comments. ; 4. Comments within a key or key value are NOT allowed. ; 5. NLS language support is provided and can be used (encoding should match the one ; used in HTML request - no language conversion of any kind is attempted.; 6. For %P special parameter, HTML format is by default mapped to the HTMLTABLE format in this release. ; The HTML format in the future may be mapped to the HTMLCSS format. ;;;;;;;;;;;;; Example Key Entries; Example 1: Run a simple breakb report and output to HTML orqa: report=breakb.rdf destype=cache desformat=html server=repserver

; 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 3: use %D to require user authentication every time report_secure: report=breakb.rdf destype=cache desformat=html server=repserver %D

; Example 4: Take all arguments from URL and send it to the reports server run: %*

; Example 5: Run breakb report with HTML parameter form.breakbparam : report=breakb.rdf destype=cache desformat=html server=repserver userid=scott/tiger@mydb %P

; 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

;;;;;;;;;;;; Keys for Reports Demos; Using default/in-process server.; JSPs charthyperlink_ias: userid="scott/tiger@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=%DBHOSTNAME%)(PORT=%DBPORT%))(CONNECT_DATA=(SID=%DBSID%)))" %*

charthyperlink_ids: userid=scott/tiger@ %*

barcodeweb: userid=oe

parmformjsp: userid=oe

tutorial: userid=oe

; Paper Reportsxmldata: userid=oe report=inventory_report.rdf destype=cache p_filelocation="http://%HOSTNAME%:%OC4JPORT%/reports/examples/xml_pds/scripts/" desformat=pdf

barcodepaper: userid=oe report=shippingmanifest.rdf destype=cache desformat=pdf

Petrodata System 23

Page 24: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

distributionpaper: userid=oe report=inventory_report_dist.rdf distribute=yes destination=exampledistribution.xml

pdfenhancements: userid=oe report=utf8test.rdf destype=cache desformat=pdf

;=======================================================;; konfigurasi reportserver EMP untuk UAT / development ;;=======================================================;

rephriskangt: destype=cache userid=hriskangean/hrisk4ngean@dbsrv1 %*

rephrismallt: destype=cache userid=hrismalacca/hr15malacca@dbsrv1 %*

rephrisbentt: destype=cache userid=hrisbentu/hrisbentu@dbsrv1 %*

rephriskorct: destype=cache userid=hriskorinci/hriskorinci@dbsrv1 %*

rephrisgelmt: destype=cache userid=hrisgelam/hrisgelam@dbsrv1 %*

rephrisbrant: destype=cache userid=hrisbrantas/hrisbrantas@dbsrv1 %*

rephrisgbngt: destype=cache userid=hrisgebang/hrisgebang@dbsrv1 %*

rephrissembt: destype=cache userid=hrissemberah/hrissemberah@dbsrv1 %*

rephristbkt: destype=cache userid=hristbk/hristbk@dbsrv1 %*

repfaskangt: destype=cache userid=faskangean/faskengean@dbsrv1 %*

repfasmallt: destype=cache userid=fasmalacca/fasmalacca@dbsrv1 %*

repfasbentt: destype=cache userid=fasbentu/fasbentu@dbsrv1 %*

repfaskorct: destype=cache userid=faskorinci/faskorinci@dbsrv1 %*

repfasgelmt: destype=cache userid=fasgelam/fasgelam@dbsrv1 %*

repfasbrant: destype=cache userid=fasbrantas/fasbrantas@dbsrv1 %*

repfasgbngt: destype=cache userid=fasgebang/fasgebang@dbsrv1 %*

repfassembt: destype=cache userid=fassemberah/fassemberah@dbsrv1 %*

repfastbkt: destype=cache userid=fastbk/fastbk@dbsrv1 %*

repmmiskangt: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmismallt: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmisbentt: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmiskorct: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmisgelmt: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmisbrant: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmisgbngt: destype=cache userid=mmis/mmis@dbsrv1 %*

repmmissembt: destype=cache userid=mmis/mmis@dbsrv1 %*

;================================================;; konfigurasi reportserver EMP untuk production ;;================================================;

rephriskang: destype=cache userid=hriskangean/hriskangean@backoff1 %*

Petrodata System 24

Page 25: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

rephrismall: destype=cache userid=hrismalacca/hrismalacca@backoff1 %*

rephrisbent: destype=cache userid=hrisbentu/hrisbentu@backoff1 %*

rephriskorc: destype=cache userid=hriskorinci/hriskorinci@backoff1 %*

rephrisgelm: destype=cache userid=hrisgelam/hrisgelam@backoff1 %*

rephrisbran: destype=cache userid=hrisbrantas/hrisbrantas@backoff1 %*

rephrisgbng: destype=cache userid=hrisgebang/hrisgebang@backoff1 %*

rephrissemb: destype=cache userid=hrissemberah/hrissemberah@backoff1 %*

rephristbk: destype=cache userid=hristbk/hristbk@backoff1 %*

repfaskang: destype=cache userid=faskangean/faskengean@backoff1 %*

repfasmall: destype=cache userid=fasmalacca/fasmalacca@backoff1 %*

repfasbent: destype=cache userid=fasbentu/fasbentu@backoff1 %*

repfaskorc: destype=cache userid=faskorinci/faskorinci@backoff1 %*

repfasgelm: destype=cache userid=fasgelam/fasgelam@backoff1 %*

repfasbran: destype=cache userid=fasbrantas/fasbrantas@backoff1 %*

repfasgbng: destype=cache userid=fasgebang/fasgebang@backoff1 %*

repfassemb: destype=cache userid=fassemberah/fassemberah@backoff1 %*

repfastbk: destype=cache userid=fastbk/fastbk@backoff1 %*

repmmiskang: destype=cache userid=mmis/mmis@backoff1 %*

repmmismall: destype=cache userid=mmis/mmis@backoff1 %*

repmmisbent: destype=cache userid=mmis/mmis@backoff1 %*

repmmiskorc: destype=cache userid=mmis/mmis@backoff1 %*

repmmisgelm: destype=cache userid=mmis/mmis@backoff1 %*

repmmisbran: destype=cache userid=mmis/mmis@backoff1 %*

repmmisgbng: destype=cache userid=mmis/mmis@backoff1 %*

repmmissemb: destype=cache userid=mmis/mmis@backoff1 %*

;;;;;;;;;;;;

- SCHEDULED TASK

[general]delauth.job[task]run:C:\oracle\oraids10g\delauth.batrunas:PETRODATA\pds.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:00AMEvery:1day

Petrodata System 25

Page 26: SOP BackOffice

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.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:02AMEvery: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\system32comments: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 intializationrunas:PETRODATA\pds.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:dailystarttime:5:04AMEvery: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.dbadminpassword:pa55wordyes:enabled[schedule]scheduletask:at_system_startup

Konfigurasi Database Backup Server

- TNSNAMES.ORA

# tnsnames.ora Network Configuration File: c:\oracle\oradb10g2\network\admin\tnsnames.ora# Generated by Oracle configuration tools.

EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) )

BACKOFF1 = (DESCRIPTION =

Petrodata System 26

Page 27: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

(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) ) )

DBSRV1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.58)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbsrv1) ) )

Maintenance Report Server

1. Maintenance dilakukan secara otomatis oleh scheduled task yang sudah dikonfigurasi

Petrodata System 27

Page 28: SOP BackOffice

Dokumentasi Infrastruktur Backoffice

REPORT & DATABASE BACKUP SERVICES.MSC CAPTURED SCREEN

Petrodata System 28