Ставим PSU 11.2.0.3.6
Patch 16083653 - 11.2.0.3.6 GI Patch Set Update (Includes Database PSU 11.2.0.3.6)
Устанавливать так:
1. Stop the CRS managed resources running from DB homes.
# su - oraagent
$ emctl stop agent
# su - oradb
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/bin/srvctl stop home -o /u01/app/oradb/product/11.2.0.3/dbhome_1 -s /export/home/oradb/state_file.oradb
2. Run the pre root script.
$su -
# /u01/app/11.2.0.3/grid/crs/install/roothas.pl -unlock
3. Unzipping
# su - oragrid
$cd /tmp
$unzip p16083653_112030_SOLARIS64.zip
$ls -l
total 552336
drwxrwxr-x 4 oragrid oinstall 307 Jul 18 09:21 16315641
drwxr-xr-x 5 oragrid oinstall 302 Jul 18 09:21 16056266
4. Apply the CRS patch using.
Требования к OPatch version : 11.2.0.3.4
$ /u01/app/11.2.0.3/grid/OPatch/opatch napply -oh /u01/app/11.2.0.3/grid -local /tmp/16315641
$ /u01/app/11.2.0.3/grid/OPatch/opatch apply -oh /u01/app/11.2.0.3/grid -local /tmp/16056266
5. Run the pre script for DB component of the patch.
# su - oradb
$ /tmp/16315641/custom/server/16315641/custom/scripts/prepatch.sh -dbhome /u01/app/oradb/product/11.2.0.3/dbhome_1
6. Apply the DB patch.
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch napply -oh /u01/app/oradb/product/11.2.0.3/dbhome_1 -local /tmp/16315641/custom/server/16315641
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch apply -oh /u01/app/oradb/product/11.2.0.3/dbhome_1 -local /tmp/16056266
7. Run the post script for DB component of the patch.
$ /tmp/16315641/custom/server/16315641/custom/scripts/postpatch.sh -dbhome /u01/app/oradb/product/11.2.0.3/dbhome_1
8. Run the post script.
$su -
Run the post script.
# /u01/app/11.2.0.3/grid/rdbms/install/rootadd_rdbms.sh
# /u01/app/11.2.0.3/grid/crs/install/roothas.pl -patch
9. Start the CRS managed resources that were earlier running from DB homes.
# su - oradb
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/bin/srvctl start home -o /u01/app/oradb/product/11.2.0.3/dbhome_1 -s /export/home/oradb/state_file.oradb
10. Проверяем:
$/u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch lsinventory
$su - oragrid
$/u01/app/11.2.0.3/grid/OPatch/opatch lsinventory
Patch 16083653 - 11.2.0.3.6 GI Patch Set Update (Includes Database PSU 11.2.0.3.6)
Устанавливать так:
1. Stop the CRS managed resources running from DB homes.
# su - oraagent
$ emctl stop agent
# su - oradb
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/bin/srvctl stop home -o /u01/app/oradb/product/11.2.0.3/dbhome_1 -s /export/home/oradb/state_file.oradb
2. Run the pre root script.
$su -
# /u01/app/11.2.0.3/grid/crs/install/roothas.pl -unlock
3. Unzipping
# su - oragrid
$cd /tmp
$unzip p16083653_112030_SOLARIS64.zip
$ls -l
total 552336
drwxrwxr-x 4 oragrid oinstall 307 Jul 18 09:21 16315641
drwxr-xr-x 5 oragrid oinstall 302 Jul 18 09:21 16056266
4. Apply the CRS patch using.
Требования к OPatch version : 11.2.0.3.4
$ /u01/app/11.2.0.3/grid/OPatch/opatch napply -oh /u01/app/11.2.0.3/grid -local /tmp/16315641
$ /u01/app/11.2.0.3/grid/OPatch/opatch apply -oh /u01/app/11.2.0.3/grid -local /tmp/16056266
5. Run the pre script for DB component of the patch.
# su - oradb
$ /tmp/16315641/custom/server/16315641/custom/scripts/prepatch.sh -dbhome /u01/app/oradb/product/11.2.0.3/dbhome_1
6. Apply the DB patch.
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch napply -oh /u01/app/oradb/product/11.2.0.3/dbhome_1 -local /tmp/16315641/custom/server/16315641
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch apply -oh /u01/app/oradb/product/11.2.0.3/dbhome_1 -local /tmp/16056266
7. Run the post script for DB component of the patch.
$ /tmp/16315641/custom/server/16315641/custom/scripts/postpatch.sh -dbhome /u01/app/oradb/product/11.2.0.3/dbhome_1
8. Run the post script.
$su -
Run the post script.
# /u01/app/11.2.0.3/grid/rdbms/install/rootadd_rdbms.sh
# /u01/app/11.2.0.3/grid/crs/install/roothas.pl -patch
9. Start the CRS managed resources that were earlier running from DB homes.
# su - oradb
$ /u01/app/oradb/product/11.2.0.3/dbhome_1/bin/srvctl start home -o /u01/app/oradb/product/11.2.0.3/dbhome_1 -s /export/home/oradb/state_file.oradb
10. Проверяем:
$/u01/app/oradb/product/11.2.0.3/dbhome_1/OPatch/opatch lsinventory
$su - oragrid
$/u01/app/11.2.0.3/grid/OPatch/opatch lsinventory