Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ASM home clone issues
sathish balasubramaniam schrieb:
>
> Any thoughts on why the ASM clone part fails with the error while the
> db clone works ok ?.
>
in 10.2.0.1 i found a bug in localconfig while cloning an ASM home. here's the description from my SR 5236004.993:
i cloned an ASM_HOME. the cloning itself was successful but the generated skript $ASM_HOME/root.sh calls $ASM_HOME/bin/localconfig which doesn't detect an existing OCR and creates a new (local) one. the bug in localconfig is in function validateRAC():
validateRAC()
{
RAC=false;
if [ -f "$OCRCONFIG" ]; then
...
the variable $OCRCONFIG will be set _AFTER_ this function has been called, so the variable is empty, the tests fails and a new local OCR will be created which is fatal on a RAC system.
maybe it helps.
regards,
-ap
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Oct 15 2007 - 11:11:37 CDT