版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rè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)境準(zhǔn)備源端IP192.168.3.11DB 版本Oracle 11.2.0.4OS 主機(jī)名waterOS 版本R
11、edHat 7.6數(shù)據(jù)庫實(shí)例名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)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版學(xué)校球場施工合同模板(含場地通風(fēng)與散熱)2篇
- 二零二五年度婚禮現(xiàn)場舞臺搭建與燈光音響租賃合同6篇
- 個性化家庭收養(yǎng)協(xié)議2024版版
- 二零二五年度履約保證金協(xié)議書范本:文化旅游項(xiàng)目2篇
- 醫(yī)療器械2025年度原材料供應(yīng)與加工合作協(xié)議3篇
- 2025年度智慧農(nóng)業(yè)灌溉增壓泵供應(yīng)與安裝服務(wù)合同3篇
- 二零二五年度城市更新項(xiàng)目存量房買賣合作框架協(xié)議2篇
- 二零二五版煤礦股權(quán)轉(zhuǎn)讓及礦山安全生產(chǎn)責(zé)任書4篇
- 2025版園藝用樹苗買賣合同規(guī)范范本3篇
- 二零二五年度市場分析預(yù)測專家顧問聘請書3篇
- 2024年供應(yīng)鏈安全培訓(xùn):深入剖析與應(yīng)用
- 飛鼠養(yǎng)殖技術(shù)指導(dǎo)
- 壞死性筋膜炎
- 整式的加減單元測試題6套
- 股權(quán)架構(gòu)完整
- 山東省泰安市2022年初中學(xué)業(yè)水平考試生物試題
- 注塑部質(zhì)量控制標(biāo)準(zhǔn)全套
- 人教A版高中數(shù)學(xué)選擇性必修第一冊第二章直線和圓的方程-經(jīng)典例題及配套練習(xí)題含答案解析
- 銀行網(wǎng)點(diǎn)服務(wù)禮儀標(biāo)準(zhǔn)培訓(xùn)課件
- 二年級下冊數(shù)學(xué)教案 -《數(shù)一數(shù)(二)》 北師大版
- 晶體三極管資料
評論
0/150
提交評論