




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、管理會(huì)計(jì)環(huán)境安裝手冊(cè)v1.0(ofsaai_7.2.x)-websphere2011-4-19目錄1.前言62.預(yù)期讀者63.名稱解釋63.1.單層安裝 & 多層安裝63.2.ofsa 5.163.3.ofsa 5.263.4.ofsaai,ftp,pft.alm63.5.infrastructure73.6.ftp73.7.pft73.8.alm73.9.weblogic73.10.information domain73.11.ftpshare73.12.smtp74.應(yīng)用服務(wù)器硬件環(huán)境74.1.檢查是否64位內(nèi)核84.2.cpu84.3.檢查內(nèi)存是否足夠大84.4.磁盤空間需求8
2、5.應(yīng)用服務(wù)器軟件環(huán)境85.1.必要的軟件85.2.補(bǔ)丁95.3.必須系統(tǒng)文件96.數(shù)據(jù)庫(kù)服務(wù)器環(huán)境97.客戶端環(huán)境97.1.必備軟件97.2.瀏覽器配置98.其他檢查項(xiàng)159.數(shù)據(jù)庫(kù)的安裝與配置159.1.安裝前的檢查159.2.oracle安裝159.3.安裝oracle數(shù)據(jù)庫(kù)179.3.1.setp-1179.3.2.step-2189.3.3.step-3199.3.4.step-4199.3.5.step-5209.3.6.step-6209.3.7.step-7219.3.8.setp-8219.3.9.setp-9229.3.10.step-10239.3.11.step-112
3、39.3.12.step-12269.3.13.step-13279.3.14.step-14289.3.15.step-15299.3.16.step-16309.3.17.step-17319.3.18.step-18329.3.19.step-19349.4.oracle升級(jí)349.5.oracle配置349.5.1.表空間349.5.2.創(chuàng)建用戶和授權(quán)359.6.數(shù)據(jù)庫(kù)檢查3610.ofsaa的安裝與配置3710.1.安裝前檢查3710.2.設(shè)置環(huán)境變量3710.3.檢查端口3810.4.ofsaai7.2安裝過(guò)程3910.4.1.step-13910.4.2.setp-24310.4
4、.3.setp-34310.4.4.setp-44410.4.5.setp-54510.4.6.setp-64610.4.7.setp-74610.4.8.setp-84710.4.9.step-94710.4.10.setp-104811.配置4811.1.libcpptripledes.so4811.2.信息域模式授權(quán)4811.2.1.ofsaai的內(nèi)存使用4811.3.web server配置4911.3.1.創(chuàng)建數(shù)據(jù)源49.第一步:登錄49.第二步:定義jdbc數(shù)據(jù)源49.第三步:配置數(shù)據(jù)源5311.4.打包發(fā)布5611.4.1.webl
5、ogic ear文件生成5611.4.2.weblogic ear文件部署5611.4.3.weblogic https配置6211.5.服務(wù)器啟動(dòng)與停止6311.6.登錄6311.7.服務(wù)器配置6411.7.1.數(shù)據(jù)庫(kù)服務(wù)器6411.7.2.應(yīng)用服務(wù)器6511.7.3.web服務(wù)器6611.7.4.數(shù)據(jù)庫(kù)鏈接6611.7.5.信息域6711.7.6.數(shù)據(jù)庫(kù)連接池6911.8.打包發(fā)布6911.9.創(chuàng)建用戶與授權(quán)7011.9.1.新建group7011.9.2.新建user7011.9.3.user & group map7111.9.4.新建role7311.9.5.function
6、 & role map7411.9.6.group & role map7511.9.7.group & infodom map7711.9.8.授權(quán)8011.10.定義應(yīng)用源8012.打包發(fā)布8313.模型上傳8313.1.1.upload.sh8313.1.2.頁(yè)面上傳8414.應(yīng)用模塊安裝8514.1.pft8514.2.ftp9214.3.alm9815.打包發(fā)布10416.表分類注冊(cè)10417.常見(jiàn)問(wèn)題及解決辦法11018.常見(jiàn)問(wèn)題11018.1.could not retrieve list of languages from server.11018.2.
7、應(yīng)用網(wǎng)頁(yè)上面顯示紅色oracle錯(cuò)誤11118.3.模型上傳錯(cuò)誤如何解決11118.4.messageserver無(wú)法啟動(dòng)11218.5.iccserver啟動(dòng)不成功11318.6.hierarchies不能添加新的層次11518.7.import model頁(yè)面顯示亂碼11518.8.維度屬性下拉列表中漢字顯示為問(wèn)號(hào)11718.9.層級(jí)不能顯示漢字,顯示問(wèn)號(hào)11818.10.cash flow edit網(wǎng)頁(yè)打不開(kāi),顯示sql錯(cuò)誤11918.11.pm模塊在新建規(guī)則時(shí)選擇allocation type時(shí),一直沒(méi)反應(yīng),出現(xiàn)網(wǎng)頁(yè)錯(cuò)。11918.12.pm的functional currency不是
8、cny12018.13.ofsaai不能再 weblogic上啟動(dòng)12019.升級(jí)小版本補(bǔ)丁1211. 前言安裝模式ofsaa分為單層和多層兩種安裝模式,本次采用單層安裝。即應(yīng)用層,網(wǎng)路層,數(shù)據(jù)庫(kù)層在同一臺(tái)機(jī)子上,而數(shù)據(jù)庫(kù)服務(wù)安裝在遠(yuǎn)程機(jī)器上,數(shù)據(jù)庫(kù)層通過(guò)客戶端與數(shù)據(jù)庫(kù)服務(wù)連接。2. 預(yù)期讀者這份參考手冊(cè)可以為新版ofsaa安裝人員、實(shí)施人員、管理員提供參考。特別是安裝人員,可以參考這份文檔,然后根據(jù)實(shí)際的情況安裝。3. 名稱解釋3.1. 單層安裝 & 多層安裝單層安裝就是將應(yīng)用、數(shù)據(jù)和web層都安裝在同一臺(tái)主機(jī)上;多層安裝是這三層分三臺(tái)主機(jī)安裝,或者是應(yīng)用、web一臺(tái)主機(jī),
9、數(shù)據(jù)另一臺(tái)主機(jī),當(dāng)然,也可以是其他方式的組合。安裝之前,必須先確定一種方案。3.2. ofsa 5.1泛指新版的ofsaa,其實(shí)新版ofsaa包括以下內(nèi)容:oracle financial services analytical applications infrastructure 7.1,oracle financial services pricing management 5.1,oracle financial services funds transfer pricing 5.1,oracle financial services profitability management
10、5.1,oracle financial services asset liability management 5.1。3.3. ofsa 5.2泛指新版的ofsaa,其實(shí)新版ofsaa包括以下內(nèi)容:oracle financial services analytical applications infrastructure 7.2,oracle financial services pricing management 5.2,oracle financial services funds transfer pricing 5.2,oracle financial services pr
11、ofitability management 5.2,oracle financial services asset liability management 5.2。3.4. ofsaai,ftp,pft.almoracle financial services analytical applications infrastructure,oracle金融服務(wù)分析應(yīng)用基礎(chǔ)體系,ftp、pft和alm模塊只能安裝在它基礎(chǔ)之上。3.5. infrastructure即基礎(chǔ)體系。oracle financial services analytical applications infrastruc
12、ture,我們安裝的版本是7.2。3.6. ftporacle financial services funds transfer pricing -資金轉(zhuǎn)移定價(jià)(應(yīng)用模塊)3.7. pftoracle financial services profitability management -贏利性分析(應(yīng)用模塊)3.8. almoracle financial services asset liability management -資產(chǎn)負(fù)債管理(應(yīng)用模塊)3.9. websphereweb服務(wù)器,web容器,也就是本文的安裝所采用的web服務(wù)器。ofsaai可以使用tomcat、websp
13、here、weblogic當(dāng)作web服務(wù)器。3.10. information domain信息域。3.11. ftpshare一個(gè)共享目錄。ofsaai如果分別安裝在不同的主機(jī)上,各主機(jī)之前會(huì)有很多的交互,有些東西就是通過(guò)ftp協(xié)議來(lái)交互的,所以,各主機(jī)必須確保ftp能正常使用。ftp share就是共享數(shù)據(jù)時(shí)的一個(gè)目錄。當(dāng)然,單層安裝時(shí),也需要這個(gè)目錄。3.12. smtp(simple message transfer protocol)簡(jiǎn)單郵件傳輸協(xié)議,可選服務(wù)。4. 應(yīng)用服務(wù)器硬件環(huán)境ofsaai有針對(duì)不同硬件和不同系統(tǒng)的發(fā)行版,安裝時(shí)只需要確認(rèn)兩者是否匹配。我們選擇的是64位aix
14、系統(tǒng)。4.1. 檢查是否64位內(nèi)核# bootinfo k注意:必須是root用戶4.2. cpu檢查命令至少2cpu。4.3. 檢查內(nèi)存是否足夠大$/usr/sbin/lsattr -e -l sys0 -a realmemofsaai啟動(dòng)默認(rèn)使用的內(nèi)存是200m,一般來(lái)說(shuō),需要修改該設(shè)置,特別是模型上傳的時(shí)候,多內(nèi)存的需求,理論上是erwin模型文件的20倍。請(qǐng)參考error! reference source not found.和error! reference source not found.兩節(jié)。另外,web服務(wù)器(我們使用的tomcat),也不要修改內(nèi)存的配置。故,內(nèi)存應(yīng)大于等
15、于8g。4.4. 磁盤空間需求安裝前確保安裝時(shí)tmp目錄有>=1.4g的空間。另外,各層和web服務(wù)器對(duì)磁盤空間的最小需求如下: infrastructure application layer - 113 mb infrastructure database layer - 125 mb infrastructure web components - 275 mb infrastructure war file deployment in web layer - 270 mb space used for weblogic - 900mb5. 應(yīng)用服務(wù)器軟件環(huán)境5.1. 必要的軟件
16、216; oracle 11g r2 (.0) jdbc driver (oracle thin driver) Ø oracle client 11g r2 (.0) - 64 bitØ ibm aix runtime, java technology jdk 1.6.0 (sr7)- 64 bit Ø websphere with ibm aix runtime, java technology jdk 1.6.0 (sr7)- 64 bit Ø ibm xl v9 runtime compiler -
17、沒(méi)有安裝編譯器,一般來(lái)說(shuō),都已經(jīng)安裝好?;蛘呤且呀?jīng)安裝但是沒(méi)有添加到環(huán)境變量path中而已,判斷依據(jù)是,命令行鍵入cc命令,屏幕會(huì)有類似如下的輸出:xlc(1) ibm (2007) xlc(1)name xlc, xlc+, xlc, cc, c89, c99, xlccore, xlc+core and related commands - invoke the ibm xl c/c+ compiler.syntax <invocation-command> <option> | <inputfile> .description注意要高于2007的。5.
18、2. 補(bǔ)丁aix系統(tǒng)安裝oracle11.2版本需要系統(tǒng)補(bǔ)丁apar: · aix 5l的apar: iz42940/iz49516/iz52331· aix 6l的apar: iz41855/iz51456/iz52319命令檢查是否安裝成功:/usr/sbin/instfix -i -k "iz42940 iz49516 iz52331 iz41855 iz51456 iz52319"5.3. 必須系統(tǒng)文件需要含有如下系統(tǒng)文件bos.adt.basebos.adt.libbos.adt.libmbos.perf.libperfstat
19、 or ctoolsrsct.basic.rtepat.clients.rtexlc.aix50.rte: or latergpfs.base or later用lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat ctools rsct.basic.rte pat.clients.rtexlc.aix50.rte gpfs.base沒(méi)有安裝檢查6. 數(shù)據(jù)
20、庫(kù)服務(wù)器環(huán)境Ø oracle database server 11g r2 (.0) 64 bit7. 客戶端環(huán)境7.1. 必備軟件microsoft internet explorer 7.0 and 8. java plug-in 1.6.0_18 erwin 7.1xmanager 3.0ibm xl c/c+ enterprise edition for aix, v9.0 april 2008 ptf7.2. 瀏覽器配置點(diǎn)擊菜單:工具->internet選項(xiàng),常規(guī)選項(xiàng)卡中,選擇瀏覽歷史記錄中的“設(shè)置”按鈕。如下圖:“檢查所存網(wǎng)頁(yè)較新版本”單選框選擇“每
21、次訪問(wèn)網(wǎng)頁(yè)時(shí)”,點(diǎn)擊“確定”按鈕保存設(shè)置。然后選擇“安全”選項(xiàng)卡,選擇“可信站點(diǎn)”,點(diǎn)擊“站點(diǎn)”按鈕:添加ofsaai7.2的訪問(wèn)地址,我們的地址是7,點(diǎn)擊“添加”按鈕添加。(如果得到“添加到該區(qū)域中的站點(diǎn)必須使用前綴https:/”的提示,需要去掉下面選中的復(fù)選框才能添加成功)然后點(diǎn)擊“關(guān)閉”按鈕保存設(shè)置。點(diǎn)擊internet選項(xiàng)的“隱私”選項(xiàng)卡,點(diǎn)擊彈出窗口阻止程序的“設(shè)置”按鈕添加我們的ofsaai7.2訪問(wèn)地址7:9081/ofsaai,點(diǎn)擊“關(guān)閉”按鈕,再點(diǎn)擊“確定”按鈕保存設(shè)置。8. 其他檢查項(xiàng)Ø oracle
22、server與ofsaa不能裝在同一用戶目錄下(因?yàn)樗鼈冎g不能公用環(huán)境變量libpath)。Ø 數(shù)據(jù)庫(kù)的sid與tns同名。Ø 安裝ofsaa的用戶使用的shell須是kshØ 數(shù)據(jù)庫(kù)層安裝的主機(jī)上,必須en_us.utf-8和en_us.iso8859-1兩個(gè)locale都已安裝。使用以下命令檢查locale是否安裝:$locale -a9. websphere profile創(chuàng)建使用websphere安裝用戶(root)登錄服務(wù)器<websphere install directory>/appserver/bin.創(chuàng)建websphere pro
23、file。執(zhí)行manageprofiles.sh命令:$./manageprofiles.sh -create -profilename ofsaa -profilepath /ofsaa/websphere/profiles/ofsaa -templatepath /usr/ibm/websphere/appserver/profiletemplates/default -nodename test40node02 -cellname test40node02cell -hostname test40 -enableadminsecurity true -adminusername admi
24、n -adminpassword admin修改timeout時(shí)間,修改/<profile path>/properties 中目錄下的ps 文件中com.ibm.soap.requesttimeout的值為0。com.ibm.soap.requesttimeout = 0 查看<websphere profile directory>/config/cells/<node cell>/nodes/<node name>目錄下的serverindex.xml文件,查看相關(guān)端口。wc_defaulthost為默認(rèn)端口,
25、wc_adminhost為控制臺(tái)端口。9.1. 安裝前的檢查 9.2. oracle安裝ü 創(chuàng)建操作系統(tǒng)的數(shù)據(jù)庫(kù)群組和用戶1、檢查系統(tǒng)群組:# more /etc/orainst.loc顯示如下:/ofsaa$more /etc/orainst.locinventory_loc=/d01/orainventoryinst_group=dba# grep dba /etc/group顯示如下:/ofsaa$grep dba /etc/groupdba:!:203:oracle,oraappl,oraprod,oappl,oprod,ofsapp如果檢查沒(méi)有使用命令添加或創(chuàng)建:# /us
26、r/sbin/groupadd oinstall# /usr/sbin/groupadd dba2、檢查用戶是否存在:$id ofsappuid=212(ofsapp) gid=202(oinstall) groups=203(dba)如果不存在使用命令添加:# /usr/sbin/useradd -g oinstall -g dba ofsapp并使用命令添加權(quán)限與群組:# /usr/sbin/usermod -g oinstall -g dba ofsappü 創(chuàng)建數(shù)據(jù)庫(kù)安裝目錄命令:df -k 查看系統(tǒng)磁盤物理名以及可用磁盤空間大小,數(shù)據(jù)庫(kù)安裝目錄必須要有34g空閑磁盤。命令創(chuàng)
27、建目錄:# mkdir -p /ofsa51/app/# chown -r oracle:oinstall /ofsa51/app/# chmod -r 775 /ofsa51/app/ü 配置系統(tǒng)用戶環(huán)境1、 設(shè)置默認(rèn)文件夾初始權(quán)限7552、 設(shè)置display環(huán)境變量$export display=本機(jī)ip:0.0$xhost +3、 使用smitty chuser修改ofsapp用戶的shell limits soft file size -1 (unlimited) soft cpu time -1 (unlimited) note: this is the default
28、value. soft data segment -1 (unlimited) soft stack size -1 (unlimited)4、 使用smitty chgsys修改“maximum number of processes allowed per user”最小2048。5、 設(shè)置變量: (vi /ofsaa/.profile)增加如下行: java_home=/usr/java6_64export java_homeoracle_base=/ora11goracle_home=$oracle_base/product//client_1oracle_sid=of
29、saaexport oracle_base oracle_home oracle_sidpath=$java_home/bin:$java_home/jre/bin:$pathpath=$path:$oracle_home/binexport pathexport ld_library_path=$oracle_home/lib:/usr/lib:$oracle_home/jdbc/libexport libpath=/usr/lib:$oracle_home/lib:$oracle_home/jdbc/libexport nls_lang=american_america.zhs16gbkw
30、as_home=/usr/ibm/websphere/appserverexport was_homepath=$path:$was_home/bin:$was_home/profiles/appsrv01/binexport pathclasspath=$java_home/lib/tools.jar:$wl_home/server/lib/*.jarexport classpath6、 切換root用戶運(yùn)行rootpre.sh腳本檢查# /directory_path/rootpre/rootpre.sh 或# ./rootpre.sh 7、 利用xbrowser登陸安裝,使用root用戶
31、登錄。$ xhost +9.3. 安裝oracle數(shù)據(jù)庫(kù)9.3.1. setp-1運(yùn)行:$ ./runinstaller 輸入支持可升級(jí)用戶郵箱9.3.2. step-2下一步:選擇創(chuàng)建與配置數(shù)據(jù)庫(kù)9.3.3. step-3選擇:server class,下一步9.3.4. step-4選擇:”single instance data installation”,下一步9.3.5. step-5選擇:advanced install,下一步9.3.6. step-6選擇:simplified chinese,下一步9.3.7. step-7選擇:enterprise edition ,下一步9
32、.3.8. setp-8輸入oracle安裝目錄:/ofsaa/app/oracle,oracle的文件目錄: /ofsaa/app/oracle /product/11.2.0/dbhome_1,點(diǎn)擊下一步9.3.9. setp-9選擇創(chuàng)建數(shù)據(jù)庫(kù)類型:general purpose/transation processing,下一步9.3.10. step-10輸入全局?jǐn)?shù)據(jù)庫(kù)名:,sid:ofsaa,下一步9.3.11. step-11調(diào)節(jié)內(nèi)存大小,設(shè)置自動(dòng)調(diào)節(jié)內(nèi)存復(fù)選框,字符集選擇zhs16gbk,選擇安全模式復(fù)選框,下一步9.3.12. step-12輸入數(shù)據(jù)庫(kù)數(shù)據(jù)文件目錄:/ofsaa
33、/app/oracle/oradata ,下一步9.3.13. step-13選擇:不自動(dòng)備份,下一步9.3.14. step-14輸入系統(tǒng)管理員口令,下一步sys: sys001system:system001sysman:sysman001dbsnmp:sbsnmp0019.3.15. step-15下一步9.3.16. step-16檢查需要的操作系統(tǒng)補(bǔ)丁:選擇忽略所有 ignore all ,下一步9.3.17. step-17下一步9.3.18. step-18finish下一步9.3.19. step-19安裝成功,關(guān)閉9.4. oracle升級(jí)由oracle 升級(jí)
34、到oracle 安裝過(guò)程略。執(zhí)行runinstaller安裝完成后,要做以下工作才能完成升級(jí).1,查看spfile 的compatible參數(shù),確認(rèn)是否已經(jīng)成功升級(jí)到,如果不是你改一下。注意備份一下。2.sqlplus / as sysdba;3,startup upgrade;4,執(zhí)行:sql>$?/rdbms/admin/catupgrd.sql在9i,無(wú)論升級(jí)/降級(jí) 數(shù)據(jù)庫(kù)都是startup migrate10g后增加了upgrade參數(shù),升級(jí)可直接用startup upgrade,降級(jí)仍是startup migrate.-打完patch(oui升級(jí)
35、,中間需要用root執(zhí)行一個(gè)腳本)后,重建數(shù)據(jù)字典視圖腳本catpatch.sql為加快速度,可臨時(shí)調(diào)大這個(gè)參數(shù):show parameter shared_pool_sizeshow parameter large_pool_size5.執(zhí)行完catpatch.sql,沒(méi)有錯(cuò)誤后,重啟數(shù)據(jù)庫(kù).shutdown immediatestartup再編譯無(wú)效對(duì)象,腳本utlrp.sqlsql>$?/rdbms/admin/utlrp.sql;utlrp.sql腳本可以在數(shù)據(jù)庫(kù)運(yùn)行的狀態(tài)下執(zhí)行以編譯、數(shù)據(jù)庫(kù)中的invalid對(duì)象. oracle建議在對(duì)數(shù)據(jù)庫(kù)進(jìn)行遷移、升級(jí)、降級(jí)后都運(yùn)行一遍ut
36、lrp.sql以編譯無(wú)效對(duì)象。6.運(yùn)行如下sql.sql> select comp_name, version, status from sys.dba_registry;9.5. oracle配置9.5.1. 表空間ofsaai的配置信息和各模塊的模型要求分2個(gè)不同的oracle用戶存儲(chǔ),我們暫且把這兩者稱為config用戶和atomic用戶。ofsaai的安裝要求config使用的臨時(shí)表空間和默認(rèn)表空間都有最少512m的空間,建議1024m 。為此,我們創(chuàng)建3個(gè)表空間:create temporary tablespace temp_tstempfile '/ora11g/a
37、pp/oracle/datafile/ofsa52db/ofsaa52_temp_01.dbf 'size 10240mautoextend onnext 512m maxsize 20480mextent management local uniform size 1m;create tablespace index_tsdatafile '/ora11g/app/oracle/datafile/ofsa52db/ofsaa52_index_01.dbf 'size 20480mautoextend onnext 1024m maxsize 40960mextent
38、management local uniform size 1m;create tablespace data_tsdatafile '/ora11g/app/oracle/datafile/ofsa52db/ofsaa52_data_01.dbf 'size 40960mautoextend onnext 1024m maxsize 102400mextent management local uniform size 1m;create tablespace config_data_ts datafile '/ora11g/app/oracle/datafile/o
39、fsa52db/ofsaa52_config_data_01.dbf' size 512m autoextend on next 512m maxsize 2048mextent management local uniform size 1m;注意: 需要dba權(quán)限。1. temp_tsconfig用戶和atomic用戶使用的臨時(shí)表空間2. congfig_data_tsconfig用戶的默認(rèn)表空間3. data_tsatomic用戶的默認(rèn)表空間4. index_ts索引表空間9.5.2. 創(chuàng)建用戶和授權(quán)分別創(chuàng)建config和atomic用戶:create user config i
40、dentified by config default tablespace data_ts1 temporary tablespace temporaryts1 profile default account unlock;create user atomic identified by atomic default tablespace data_ts1 temporary tablespace temporaryts1 profile defaultaccount unlock;為config和atomic用戶授權(quán),atomic的授權(quán)中,有些權(quán)限需要dba用戶才能操作成功:grant c
41、onnect to config;grant resource to config;grant create session to config;grant create view to config;grant create sequence to config;grant create table to config;grant create procedure to config;grant create any index to config;grant create trigger to config;grant connect to atomic;grant resource to
42、 atomic;grant select on sys.v_$parameter to atomic;grant select on sys.dba_free_space to atomic;grant select on sys.dba_tables to atomic;grant select on sys.dba_tab_columns to atomic;grant select on sys.dba_objects to atomic;grant create any index to atomic;grant create any procedure to atomic;grant
43、 create any rule to atomic;grant create any sequence to atomic;grant create any synonym to atomic;grant create any table to atomic;grant create any trigger to atomic;grant create any type to atomic;grant create any view to atomic;grant create synonym to atomic;grant create table to atomic;grant crea
44、te trigger to atomic;grant create type to atomic;grant create view to atomic;grant drop any index to atomic;grant drop any procedure to atomic;grant drop any rule to atomic;grant drop any sequence to atomic;grant drop any synonym to atomic;grant drop any trigger to atomic;grant drop any type to atom
45、ic;grant drop any view to atomic;grant drop any table to atomic;注意: 根據(jù)oracle發(fā)布的bug,atomic用戶,schema名即為atomic,安裝ofsaai 7.2的時(shí)候,在tnsnames.ora中,tns名必須跟該schema名相同。9.6. 數(shù)據(jù)庫(kù)檢查1保證oracle 11g是可正常訪問(wèn)的2在多層安裝的情況下,還需確保應(yīng)用層和數(shù)據(jù)庫(kù)層的tns和sid相同。3對(duì)數(shù)據(jù)庫(kù)字符集設(shè)置也有要求,要檢查的實(shí)力參數(shù)如下:select * from v$nls_parameters where parameter=nls_nc
46、har_characterset;nls_nchar_characterset = al16utf1 select * from v$nls_parameters where parameter=nls_length_semantics;nls_length_semantics = byte4數(shù)據(jù)庫(kù)實(shí)例別名名稱必須與數(shù)據(jù)庫(kù)名相同如果infrastructure database components 與database server安裝在不同的機(jī)子上,則oracle client必須已經(jīng)安裝在infrastructure database components所在機(jī)子上。5. open_cur
47、sors必須大于200,使用show parameter open_cursors查看open_cursors值,使用alter system set open_cursors=200;10. 數(shù)據(jù)庫(kù)客戶端的安裝與配置10.1. 安裝前檢查1. 數(shù)據(jù)庫(kù)是否安裝。2. 用lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat ctools rsct.basic.rte pat.clients.rte 檢查必要的系統(tǒng)文件。3. 用instfix -i -k &
48、quot; iz41855 iz51456 iz52319"檢查必要的補(bǔ)丁。10.2. 安裝過(guò)程10.2.1. step-110.2.2. step-210.2.3. step-310.2.4. step-410.2.5. step-510.2.6. step-610.2.7. step-711. ofsaa的安裝與配置11.1. 安裝前檢查11.2. 設(shè)置環(huán)境變量各主機(jī)安裝的安裝用戶的path變量中,必須得包含的java 64-bit的路徑,確保java能正常使用。應(yīng)用層和數(shù)據(jù)庫(kù)層必須設(shè)置oracle_home、oracle_sid,并且path變量中須包括$oracle_home
49、/bin。web層安裝主機(jī)上,須配置mw_home與wl_home環(huán)境變量,它的值是weblogic的安裝路徑。按照以上要求,在我們的$home/.profile設(shè)置如下:export lang=en_cnexport nls_characterset=zhs16gbkexport oracle_base=/home/oracleexport oracle_home=$oracle_base/orahome_1export path=$path:$oracle_home/bin:/usr/local/binexport ld_library_path=$oracle_home/lib:/usr
50、/lib:$oracle_home/jdbc/libexport libpath=/usr/lib:$oracle_home/lib:$oracle_home/jdbc/libexport oracle_sid=ofsa#export display= 04:0.0export nls_lang=american_america.zhs16gbk#export ora_nls33=$oracle_home/ocommon/nls/admin/data #path=$path:/usr/vac/binjava_home=/usr/java6_64export java_ho
51、mepath=$java_home/bin:$java_home/jre/bin:$pathclasspath=$java_home/libexport classpath11.3. 檢查端口ofsaai會(huì)使用到很多端口,默認(rèn)的端口使用如下: infrastructure server java port 9999 infrastructure server native port 6666 icc object server port 6507 icc native server port 6509 servlet port 9081 (tomcat-8080; weblogic-7001;
52、 websphere-9080) agent port 6510 router port - 6500 activation manager port - 6505 message server port 6501安裝之前,需要確保這些默認(rèn)的端口沒(méi)有被占用。使用如下命令來(lái)核實(shí)端口的使用情況,如果命令沒(méi)有輸出,則證明該端口是空閑的:netstat -aan | grep 9999netstat -aan | grep 6666netstat -aan | grep 6507netstat -aan | grep 6509netstat -aan | grep 7001netstat -aan |
53、 grep 6510netstat -aan | grep 6500netstat -aan | grep 6505netstat -aan | grep 6501netstat -aan | grep 650211.4. 為ofsaa安裝創(chuàng)建數(shù)據(jù)庫(kù)用戶11.4.1. 創(chuàng)建表空間ofsaai的配置和業(yè)務(wù)模塊的模型要求分別存儲(chǔ)于不同的oracle用戶下,創(chuàng)建配置模型用戶:config;創(chuàng)建ftp業(yè)務(wù)模型用戶:atomic。ofsaai的安裝要求config使用的臨時(shí)表空間和默認(rèn)表空間都有最少512m的空間,建議1024m 。為此,我們創(chuàng)建4個(gè)表空間:create temporary tables
54、pace temp_tstempfile '/ora11g/app/oracle/datafile/ofsa52db/ofsaa52_temp_01.dbf 'size 10240mautoextend onnext 512m maxsize 20480mextent management local uniform size 1m;create tablespace index_tsdatafile '/ora11g/app/oracle/datafile/ofsa52db/ofsaa52_index_01.dbf 'size 20480mautoextend
55、 onnext 1024m maxsize 40960mextent management local uniform size 1m;create tablespace data_tsdatafile '/ora11g/app/oracle/datafile/ofsa52db/ofsaa52_data_01.dbf 'size 40960mautoextend onnext 1024m maxsize 102400mextent management local uniform size 1m;create tablespace config_data_ts datafile '/ora11g/app/oracle/datafile
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 院內(nèi)美化合同協(xié)議書5篇
- 2025年榆林普通貨運(yùn)從業(yè)資格證模擬考試
- 2025年大理貨運(yùn)員初級(jí)考試題庫(kù)
- 2025年高中化學(xué)新教材同步 必修第一冊(cè) 第4章 第3節(jié) 第2課時(shí) 化學(xué)鍵 分子間作用力
- 107-廣播對(duì)講系統(tǒng)
- 空間環(huán)境監(jiān)測(cè)系統(tǒng)產(chǎn)業(yè)分析報(bào)告
- 個(gè)人汽車公用租賃合同范本
- 勞務(wù)派遣住宿合同范本
- 中學(xué)化學(xué)教學(xué)工作總結(jié)
- 個(gè)人自查自糾整改報(bào)告
- 2024年新蘇教版六年級(jí)下冊(cè)科學(xué)全冊(cè)知識(shí)點(diǎn)(精編版)
- 華為十六字方針解析以崗定級(jí)-以級(jí)定薪-人崗匹配、易崗易薪
- 礦山機(jī)電專業(yè)課程標(biāo)準(zhǔn)范本
- 自考《組織行為學(xué)》全
- 【銅版畫“飛塵”技法實(shí)踐研究4900字(論文)】
- 人教版道德與法治五年級(jí)下冊(cè)全冊(cè)課件(完整版)
- 《GMP實(shí)務(wù)教程》 完整全套教學(xué)課件 項(xiàng)目1-14 GMP基礎(chǔ)知識(shí)-藥品生產(chǎn)行政檢查
- 房屋租賃交接家私清單
- 《Hadoop大數(shù)據(jù)平臺(tái)基礎(chǔ)》復(fù)習(xí)考試題庫(kù)(帶答案)
- 大單元下的教學(xué)評(píng)一體化
- 注射用A型肉毒毒素管理制度
評(píng)論
0/150
提交評(píng)論