This content has been marked as final. Show 2 replies
$ oerr ora 15000 15000, 00000, "command disallowed by current instance type" // *Cause: The user has issued a command to a conventional RDBMS instance // that is only appropriate for an ASM instance. Alternatively, the // user has issued a command to an ASM instance that is only // appropriate for an RDBMS instance. // *Action: Connect to the correct instance type and re-issue the command. // $
SQL> conn sys/sys@standby as sysdbaMost probably standby connection string connects you to standby database, not to ASM instance.
ORACLE_SID=ASMshouldn't it be ORACLE_SID=+ASM ?
SQL> ALTER DISKGROUP dg add directory *'+dg1/pgy'*;is this correct ?
This error code is shown when you try to issue a command against the wrong instance type. For instance, if you try to open an ASM instance, or if you try to issue an ASM command against a non started ASM instance, which it looks to be the case.
Try to start the ASM instance first, you will be required to manually mount the disk groups only if the disk group parameter doesn't declare which DG will be automatically started.