Oracle 11g單一實例GI and DB升級

來源:互聯網
上載者:User

1. 升級Grid Infrastructure1.1 升級前準備1.1.1 軟體準備

 

這個當然不用多說:下載、上傳到伺服器、解壓

 

1.1.2 建立GI的新HOME

mkdir -p /u01/app/11.2.0.4/grid

chown -R grid:oinstall /u01/app/11.2.0.4

chmod -R 775 /u01/app/11.2.0.4

 

1.2 進行升級

[root@Oracle-LAB app]# su - grid

[grid@Oracle-LAB ~]$ cd /software/grid/

[grid@Oracle-LAB grid]$ ./runInstaller

 

根據以上提示執行:

[root@Oracle-LAB /]#/u01/app/grid/product/11.2.0.4/grid/rootupgrade.sh

Performing root user operation for Oracle 11g

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/grid/product/11.2.0.4/grid

 

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The contents of "dbhome" have notchanged. No need to overwrite.

The contents of "oraenv" have notchanged. No need to overwrite.

The contents of "coraenv" have notchanged. No need to overwrite.

 

Entries will be added to the /etc/oratab fileas needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root script.

Now product-specific root actions will beperformed.

Using configuration parameter file:/u01/app/grid/product/11.2.0.4/grid/crs/install/crsconfig_params

Creating trace directory

 

ASM Configuration upgraded successfully.

 

Creating OCR keys for user 'grid', privgrp'oinstall'..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp'root'..

Operation successful.

CRS-4664: Node oracle-lab successfully pinned.

Replacing Clusterware entries in inittab

Replacing Clusterware entries in inittab

 

oracle-lab 2014/01/03 13:25:23 /u01/app/grid/product/11.2.0.4/grid/cdata/oracle-lab/backup_20140103_132523.olr

 

oracle-lab 2013/12/02 17:22:18 /u01/app/11.2.0/grid/cdata/oracle-lab/backup_20131202_172218.olr

Successfully configured Oracle GridInfrastructure for a Standalone Server

 

完成後在當前GRID帳號下運行:crsctl query has softwareversion查看目前的版本資訊。

[grid@Oracle-LAB grid]$ crsctl query has softwareversion

Oracle High Availability Services version onthe local node is [11.2.0.4.0]

  • 1
  • 2
  • 3
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.