페이지 이력
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
export ORACLE_BASE=/u01/app/oracle
export GRID_HOME=$ORACLE_BASE/19c/grid
export DB_HOME=$ORACLE_BASE/product/19c/db_1
export ORACLE_HOME=$GRID_HOME |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch version
#mv $GRID_HOME/OPatch $GRID_HOME/OPatch.old
#unzip <패치 다운로드 경로>/p6880880_122010_Linux-x86-64.zip -d $GRID_HOME
#chown -R oracle:oinstall $GRID_HOME/OPatch
#ll $GRID_HOME | grep OPatch
#$GRID_HOME/OPatch/opatch version |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$DB_HOME/OPatch/opatch version
#mv $DB_HOME/OPatch $DB_HOME/OPatch.old
#unzip <패치 다운로드 경로>/p6880880_122010_Linux-x86-64.zip -d $DB_HOME
#chown -R oracle:oinstall $DB_HOME/OPatch
#ll $DB_HOME | grep OPatch
#$DB_HOME/OPatch/opatch version |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
mkdir ~oracle/patch
unzip <패치번호>_190000_Linux-x86-64.zip -d ~oracle/patch |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch lspatches -oh $GRID_HOME
$DB_HOME/OPatch/opatch lspatches -oh $DB_HOME |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<OCW Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<ACFS Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<Database Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<Tomcat Release Update> |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<OCW Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<ACFS Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<Database Release Update>
$GRID_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $GRID_HOME -phBaseDir ~oracle/patch/<패치번호>/<Tomcat Release Update> |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
cat > /tmp/patch_list_gihome.txt
/home/oracle/patch/<패치번호>/<OCW Release Update>
/home/oracle/patch/<패치번호>/<ACFS Release Update>
/home/oracle/patch/<패치번호>/<Database Release Update>
/home/oracle/patch/<패치번호>/<Tomcat Release Update>
<ctrl+c>
cat /tmp/patch_list_gihome.txt
$GRID_HOME/OPatch/opatch prereq CheckSystemSpace -oh $GRID_HOME -phBaseFile /tmp/patch_list_gihome.txt |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/crs/install/roothas.sh -prepatch |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch apply -oh $GRID_HOME -local ~oracle/patch/<패치번호>/<OCW Release Update>
$GRID_HOME/OPatch/opatch apply -oh $GRID_HOME -local ~oracle/patch/<패치번호>/<ACFS Release Update>
$GRID_HOME/OPatch/opatch apply -oh $GRID_HOME -local ~oracle/patch/<패치번호>/<Database Release Update>
$GRID_HOME/OPatch/opatch apply -oh $GRID_HOME -local ~oracle/patch/<패치번호>/<Tomcat Release Update> |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$DB_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $DB_HOME -phBaseDir ~oracle/patch/<패치번호>/<OCW Release Update>
$DB_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -oh $DB_HOME -phBaseDir ~oracle/patch/<패치번호>/<Database Release Update> |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$DB_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $DB_HOME -phBaseDir ~oracle/patch/<패치번호>/<OCW Release Update>
$DB_HOME/OPatch/opatch prereq CheckConflictAmongPatches -oh $DB_HOME -phBaseDir ~oracle/patch/<패치번호>/<Database Release Update> |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
cat > /tmp/patch_list_dbhome.txt
/home/oracle/patch/<패치번호>/<OCW Release Update>
/home/oracle/patch/<패치번호>/<Database Release Update>
<ctrl + c>
cat /tmp/patch_list_dbhome.txt
$DB_HOME/OPatch/opatch prereq CheckSystemSpace -oh $DB_HOME -phBaseFile /tmp/patch_list_dbhome.txt |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
~oracle/patch/<패치번호>/<OCW Release Update>/custom/scripts/prepatch.sh -dbhome $DB_HOME
$DB_HOME/OPatch/opatch apply -oh $DB_HOME -local ~oracle/patch/<패치번호>/<OCW Release Update>
$DB_HOME/OPatch/opatch apply -oh $DB_HOME -local ~oracle/patch/<패치번호>/<Database Release Update>
~oracle/patch/<패치번호>/<OCW Release Update>/custom/scripts/postpatch.sh -dbhome $DB_HOME |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/rdbms/install/rootadd_rdbms.sh
$GRID_HOME/crs/install/roothas.sh -postpatch |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
$GRID_HOME/OPatch/opatch lspatches -oh $GRID_HOME
$DB_HOME/OPatch/opatch lspatches -oh $DB_HOME |
펼치기 | ||
---|---|---|
|