1. Database Installation
Sehubungan database yang digunakan adalah Oracle,maka ikuti tahap installasi sesuai dengan OS yang digunakan. Disini tidak dibahas secara detail cara installation Oracle. Adapun setting yang perlu saat oracle database diinstall adalah sbb :
- Install Oracle Option :
- Oracle XDK
- Oracle SQL Net Server
2. Untuk instance options jangan menyertakan sbb:
- Oracle Spatial
- Oracle Datamining
- Oracle OLAP
- Example schemas
- In the "Standard database functions" do not select Oracle
- JVM, Oracle Intermedia, Oracle Text, Oracle XML DB.
3. Kebutuhan memory
Untuk memory di oracle 9i, kebutuhan min. adalah sbb :
- db_cache_size = 20MB
- large_pool_size = 30MB
- shared_pool_size = 300MB
- pga_agrgregate_target = 100MB
- processes = 300
- open_cursors = 600
- db_file_multiblock_read_count = 8
Untuk oracle 10g :
- SGA_TARGET = 600MB
- shared_pool_reserved_size at 30 MB min.
- recyclebin = false (10gR1)
- recyclebin = off ( 10gR2)
2. Folder Installation
/bin
/database
/env
/gaia_console
install_GOLD_Central_(1).jar (1 disini tergantung patch yang diberikan oleh GOLD).
Nih harus punya from_scratch_Centrale_* directory, berhubung saya nggak punya,jadi untuk sementara ada di angan2 aja.
Copy all from stractch kecuali folder bin
Untuk bin, tergantung versi OSnya dengan format *db_OS*.gz, contoh : bin_sb_9i_IBM.tar.gz, berarti ini untuk oracle 9i di IBM machine.
Keterangan tambahan :
Jika anda ingin melakukan recompile terhadap folder bin lakukan step berikut ini :
Buat folder pc
- copy file makefile_xxx_xx_xx ke folder pc
- copy env_precomp.mk (ini ada dari oracle installation)
- check invorement di env folder
- export parameter yang penting, contoh :
pc=$PWD/pc ; export pc
- lakukan linked : makefile -k -f makefile_xxx_xx_xx GOLD > GOLD_link.log
Berikut ini hasil folder installation
GOLD_HOME/gaia/deploy/DEFAULT/resource/administration
Contains the server resources of the G.O.L.D.® Administration application.
GOLD_HOME/gaia/deploy/DEFAULT/resource/eretail
Contains the server resources of the G.O.L.D.® Central/Shop application.
GOLD_HOME/gaia/deploy/DEFAULT/web/administration
Contains the files of the G.O.L.D.® Administration WEB application.
GOLD_HOME/gaia/deploy/DEFAULT/web/eretail
Contains the files of the G.O.L.D.® Central/Shop WEB application.
GOLD_HOME/gaia/deploy/DEFAULT/web/images
Contains the images of the HTML start page
GOLD_HOME/gaia/deploy/DEFAULT/web/script
Contains the script files used for:
HTML printouts
LINUX type customers
GOLD_HOME/gaia
Contains the communication framework of G.O.L.D.® (G.A.I.A.).
GOLD_HOME/log
This directory will contain the reports of the G.O.L.D.® programmes launched.
GOLD_HOME/bin
Contains all executable programmes required by G.O.L.D.®
3. Setelah berhasil install, berikutnya install schema oracle.
Biar lebih jelas, berikut ini contoh saat membuat schema/user (refcesh)
- drop user refcesh cascade;
- create user refcesh identified by refcesh;
- grant dba to refcesh;
- grant select on sys.v_$session to refcesh;
- grant execute on sys.dbms_pipe to refcesh;
- ref_with-data-set* for a test data set
- ref_without-data-set* for a minimum data set
Contoh format :
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15 export
imp USER_ORACLE/PASS_ORACLE fromuser=… touser=USER_ORACLE file=filename.dmp log=import_filename.log ignore=y
Setelah import, lakukan recompile object menggunakan perintah :
execute dbms_utility.compile_schema('REFCESH');
ato jalakan query $ORACLE_HOME/rdbms/utlrp.sql
4. User Enviroment
Modify value2 di GOLD_HOME/env/envGOLD, contoh
- GOLD_HOME (the value in the file is an example)
- JAVA_HOME (directory containing Java SDK 1.4 or 1.5).
- ORACLE_HOME (defined during the installation of Oracle).
- In the "Library Parameter" section, delete the comment (#) on the section corresponding to your target platform (HP, IBM,…).
- ORACLE_SID should contain the name of your database.
- USERID contains the name of the schema created for G.O.L.D.® and the related password (USER_ORACLE/password).
- Modify the script file executed when the user connects (example .profile file), to load the GOLD_HOME/env/envGOLD file.
Klo sudah coba reconnect lagi ke server shell
5. Setting GAIA
Masuk folder GOLD_HOME/gaia
modify applications.sh
contoh :
CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/ojdbc14.jar ;export CLASSPATH
ingat, rubah trusstee file applications.h mejadi a+x
n then jalankan gaia, ./start_gaia registry PORT_IP, klo muncul berarti no problem
Untuk melihat port berapa yang dipakai, coba anda buka GOLD_HOME/gaia/deploy/DEFAULT/system.html
kemudian coba akses melalui web :
http://ADRESSE_IP_MACHINE_GOLD:PORT_IP/gaia/supervisor.gml
Nah klo nggak ada problem, coba jalankan
http://ADRESSE_IP_MACHINE_GOLD:PORT_IP
nah disitu anda akan dihadapkan dengan program GOLD yang siap dipake, silahkan dicoba hasil installation anda.
Ingat, tulisan saya ini berdasarkan documen, saya belum sama sekali mempunyai pengalaman masalah installation GOLD di server, hanya di local windows saja. Mungkin banyak masalah dihadapai nantinya, so jika menemui kesulitan marilah kita bahas bersama....right!!!

No comments:
Post a Comment