


版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Database AutoUpgrade1、 官方文檔示例1.。Example: To understand how this works, suppose you run AutoUpgrade as the user oracle, for which the following environment variables are set:global.autoupg_log_dir=/scratch/upglogsautoupgrade1.source_home=/scratch/1124autoupgrade1.target_home=/scratch/193autoupgrade1.
2、sid=salesautoupgrade2.source_home=/scratch/122autoupgrade2.target_home=/scratch/193autoupgrade2.sid=employees2.ExamplesExample of running the create_sample_file parameter with the config clause:oracleexample $ java -jar autoupgrade.jar -create_sample_file configCreated sample con
3、figuration file /home/oracle/sample_config.cfgDescriptionThe config.mode clause takes two standard arguments:The configuration file name, and optionally, path, as represented by config-fileThe mode type, using the argument -mode mode, where mode is the processing mode used with the configuration fil
4、e. The mode argument takes the following options:analyze: analyzes the databasefixups: corrects errors in the source databasedeploy: performs all the operations on the database, from analyze to post upgradeupgrade: performs the upgrade on a target Oracle home.Usage NotesConsole OptionDescriptionexit
5、Closes and exits from the console.helpDisplays the console command helplsj (-r|-f-p|-e)|-n numberLists jobs by status, up to the number of jobs you specify with the numeric value number. You can use the following flags:-f: (Optional) Filter by finished jobs.-r: (Optional) Filter by running
6、 jobs.-e: (Optional) Filter by jobs with errors.-p: (Optional) Filter by jobs in preparation.-n number: (Required) Number of jobs to display, specified by integer value.lsrDisplays the restoration queue.lsaDisplays the abort queue.tasksDisplays the tasks that are running.clearClears the termina
7、l display.resume -job numberRestarts from a previous job that was running, specified by a numeric value (number) for the job.status -job number|-longLists the status of a particular job, specified by a numeric value (-job number. When run with -long, AutoUpgrade runs the command
8、in verbose mode.restore -job number forceRestores the database in the AutoUpgrade job specified by the integer value number to its state before starting theupgrade.When run with the force flag, AutoUpgrade restores the database even if the job is not in an abort or erro
9、r state.restore all_failedRestores all failed jobs to their previous state before the upgrade started.logsDisplays all log file locations.abort -job numberAborts the job specified by the numeric value that you provide (number).hist/numberDisplays the console command-line history, and takes the
10、option to run a command again, depending on the flat with which you run it:Flags:/ Runs the last command again./ number Runs the command in the history log specified by the command line number that you specify.2、 環(huán)境準備源端IP192.168.3.11DB 版本Oracle 11.2.0.4OS 主機名waterOS 版本R
11、edHat 7.6數(shù)據(jù)庫實例名juiceJava 版本1.8.0需要工具autoupgrade.jar、19軟件包3、 安裝19c的軟件創(chuàng)建目錄 mkdir -p /u02/app/oracle/product/19.3.0.0/db_1 授權(quán) chown -R oracle:oinstall /u02/安裝軟件 ./runInstaller4、 配置config.cfgvi config.cfgglobal.autoupg_log_dir=/home/oracle/logsupg1.dbname=juiceupg1.start_time=NOWupg1.source_home=/u01/or
12、acleupg1.target_home=/u02/app/oracle/product/19.3.0.0/db_1upg1.sid=juiceupg1.log_dir=/home/oracle/logsupg1.upgrade_node=localhostupg1.target_version=195、 analyzes the databasejava -jar autoupgrade.jar -config /home/oracle/config.cfg -mode analyze6、 開始分析到升級 java -jar autoupgrade.jar -config /home/oracle/config.cfg -mode deploy7、 修改一下.bash_profile 問題一SQL> startupORACLE instance started.Total System Global Area 768294912 bytesFixed Size 2257192 b
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 物業(yè)工程考試題及答案
- 新型環(huán)保紡織品的應(yīng)用前景試題及答案
- 深度復習計劃紡織品設(shè)計師證書試題及答案
- 廣告設(shè)計的設(shè)計理念與目標 試題及答案
- 事業(yè)編往年試題及答案解析
- 深入分析廣告設(shè)計師職業(yè)使命與價值觀試題及答案
- 助理廣告師用戶行為分析試題及答案
- 助理廣告師考試市場營銷案例試題及答案
- 2024年助理廣告師備考內(nèi)容與學習路徑優(yōu)化試題及答案
- 廣告設(shè)計與心理營銷的結(jié)合測試試題及答案
- 上海嘉定區(qū)2025年公開招聘農(nóng)村(村務(wù))工作者筆試題帶答案分析
- 皮膚科臨床診療規(guī)范2020版
- 陜西、山西省天一大聯(lián)考2024-2025學年高中畢業(yè)班階段性測試(七)歷史試題及答案
- 高中數(shù)學不等式教學中的認知障礙診斷與干預機制研究
- 《大學生職業(yè)生涯規(guī)劃與就業(yè)指導(實踐版)》全套教學課件
- 建筑企業(yè)財務(wù)管理的風險控制與應(yīng)對策略
- 抗生素合理使用研究試題及答案
- 2025儀征市眾鑫建設(shè)開發(fā)有限公司筆試試題
- 游泳池安全保障制度和措施
- 2024-2025學年教科版科學一年級下冊 1.6.哪個流動得快 教學課件
- 人教版(PEP)2024-2025六年級下冊英語期中測試卷(含答案含聽力原文無聽力音頻)
評論
0/150
提交評論