一、Siebel軟體安裝
進入Enterpris*安裝目錄 setuplinux 在GUI下
勾選Geteway ,Enterprise,dbsrvr ,siebsrvr以安裝相應的軟體
裝完後會在siebel目錄下出現gtwysrvr,dbsrvr,siebsrvr三個目錄
按順序配置GateWay,Enterprise,dbsrvr,siebsrvr ,期間一定要注意時刻檢查 LD_LIBRARY_PATH環境變數的內容,環境變數路徑以分號分隔,但是路徑讀取是有順序的,假如兩個同名的動態連結程式庫在先後兩個lib路徑檔案夾下都存在,會取第一個lib。
二、Siebel 設定檔建立
1. Enterprise Configuration (GateWay) 簡單執行
ssincfgw -args MODEL_FILE=admin/enterprise_console.scm -console
2. Enterprise Configuration (Enterprise Server) 簡單執行
3. Enterprise Configuration (SWE Profile) 簡單執行
三、配置SIEBEL DB
4. Create Tablespace /SIEBEL_DATA_TS /SIEBEL_IDNEX_TS /SIEBEL_TMEP
Sample:create TEMPORARY tablespace SIEBEL_TEMP Tempfile '/u02/oradata/SIEBDB/SIEBEL_TEMP.dbf' size 2G autoextend on next 100M maxsize 5G;
SQLPLUS @grantusr.sql
grant unlimited tablespace to siebel
建立資料表空間,匯入SIEBEL標準使用者和許可權
5. Siebel DataBase Util Config (Siebel DB Server)
ssincfgw -args MODEL_FILE=admin/dbsrvr.scm -console
在這一步之前需要一些環境變數,特別是需要siebsrvr/lib 匯入到LD_LIBRARY_PATH中,可以參考gtwysrvr/siebenv.sh的指令碼
複製並修改SIEBEL_ROOT等變數為/siebel/siebsrvr,完整指令碼見後續
執行完之後會在siebsrvr/bin/下產生master_<process>.ucf檔案,記錄了一些資料庫repository的匯入匯出工作所需要的環境變數
6. Generate Seed Data
執行 srvrupgwiz /m master_install.ucf 匯入種子資料,就是最原始的Repository資料(英文版ENU)
再執行一次dbsrvr util的配置,各種參數一致,只是用途是選擇add a new language,執行成功後會在siebsrvr/bin/下產生master_install_lang.ucf檔案
再執行一次srvrupgwiz /m master_install_lang.ucf 匯入新語言的種子資料(中文版CHS)
7. Siebel Server Configruation (Siebel Server)
檢查ODBC是否正常串連:siebsrvr/bin/odbcsql /s SBA_81_DSN /u SADMIN /p SADMIN
此處要注意HostName,最好Hostname和Siebel Server Name一致
8. Oracle Http Server Install (Web Server)
預設安裝即可,與Siebel無關
9. Siebel SWE Install and Configration (SWE)
需要指定OHS目錄,Siebel會往OHS的Apache Server中加入Siebel Mod模組,負責處理Siebel請求
四、關機重啟
10. Stop Oracle DataBase
sql / as sysdba shutdown immediate
11. Stop Oracle DataBase Listener
lsnrctl stop
12. Stop Oracle Http Server
opmn/bin/opmnctl shutdown
13. Stop Siebel Server
. siebsrvr/siebenv.sh && stop_server all
14. Stop Siebel GateWay
. gtwysrvr/siebenv.sh && stop_ns
15. shutdown -h now 關機
五、開機啟動應用
16. start OS
17. Start Oracle DataBase
sql / as sysdba startup
18. Start Oracle DataBase Listener
lsnrctl start
19. Start Oracle Http Server
opmn/bin/opmnctl startall
20. Start Siebel GateWay
. gtwysrvr/siebenv.sh && start_ns
21. Start Siebel Server
. siebsrvr/siebenv.sh && start_server all