2026-03-12 21:01:38
This commit is contained in:
40
tiddlywiki/Oracle RAC - divers.txt
Executable file
40
tiddlywiki/Oracle RAC - divers.txt
Executable file
@@ -0,0 +1,40 @@
|
||||
-- verify software integrity
|
||||
cluvfy comp software -n all -verbose
|
||||
|
||||
-- MGMTDB creation
|
||||
------------------
|
||||
$GRID_HOME/bin/dbca -silent -createDatabase -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName +DATA -datafileJarLocation $GRID_HOME/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -oui_internal
|
||||
|
||||
|
||||
-- Wallet creation for patching
|
||||
-------------------------------
|
||||
cd /app/grid/product/12cR2/grid_1/OPatch/auto/core/bin
|
||||
./patchingWallet.sh -walletDir /home/grid -create grid:theron-db01:ssh grid:theron-db02:ssh root:theron-db01:ssh root:theron-db02:ssh -log /home/grid/wallet.log
|
||||
|
||||
|
||||
cd /app/oracle/product/12cR2/db_1/OPatch/auto/core/bin
|
||||
./patchingWallet.sh -walletDir /home/oracle -create oracle:theron-db01:ssh oracle:theron-db02:ssh root:theron-db01:ssh root:theron-db02:ssh -log /home/oracle/wallet.log
|
||||
|
||||
|
||||
-- Patch apply with opatchauto
|
||||
------------------------------
|
||||
/app/grid/product/12cR2/grid_1/OPatch/opatchauto apply /home/grid/tmp/26610291 -oh /app/grid/product/12cR2/grid_1 -wallet /home/grid
|
||||
|
||||
-- Install the last version of OPach
|
||||
------------------------------------
|
||||
|
||||
As root user, after uncompres the downloaded of the last OPatch under /mnt/yavin4/tmp/0/01/OPatch
|
||||
|
||||
cd /app/grid/product/12cR2/grid_1/
|
||||
OPatch/opatchauto version
|
||||
rm -rf OPatch/
|
||||
cp -R /mnt/yavin4/tmp/0/01/OPatch .
|
||||
chown -R grid:oinstall OPatch
|
||||
OPatch/opatchauto version
|
||||
|
||||
cd /app/oracle/product/12cR2/db_1/
|
||||
OPatch/opatchauto version
|
||||
rm -rf OPatch/
|
||||
cp -R /mnt/yavin4/tmp/0/01/OPatch .
|
||||
chown -R oracle:oinstall OPatch
|
||||
OPatch/opatchauto version
|
||||
Reference in New Issue
Block a user