Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle Enterprise Manager App for Grafana

Rob FishMay 6 2022

I am trying to install the OEM Plug-in for Grafana and it's not showing up on the Grafana plug-in after the plug-in has been installed. I have used the grafana-cli to install the plug-in. I have stopped/restarted grafana and updated teh defaults.ini file as well. Am I missing something here? Hopefully something simply :) Grafana version 8.3.6

13:18:28 [root@xoradba1t2h:1 ~]
# date
Fri May 6 13:18:37 UTC 2022
13:18:37 [root@xoradba1t2h:1 ~]
# grafana-cli --pluginUrl /home/SZ1Q/V1020218-01.zip plugins install oracle-emcc-app
✔ Downloaded oracle-emcc-app v3.0.0 zip successfully
Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.
13:18:44 [root@xoradba1t2h:1 ~]
# grafana-cli plugins ls
installed plugins:
oracle-emcc-app @ 3.0.0
Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.
13:21:56 [root@xoradba1t2h:1 /usr/share/grafana/conf]
# grafana-cli -v
Grafana CLI version 8.3.6

Comments

Hi.,

May i know which version of database you are using, Is it 19C, if 19C DB then, you are importing into the CDB or Any of PDB Database?

Based on your export command you have issued., I have given 2 scenario to perform as shown below.

expdp user/pass schemas=ctm920 directory=BACKUP_DIRDC logfile=backup.log filesize=1G

If you are using import on Container Database (CDB)

- Check the OS Directory is created & you have linked this OS Directory to DB directory.
Ex: $ mkdir -p /u01/dumpfile/
- Place dumpfile into /u01/dumpfile location.
- SQL> create or replace directory dumpfile as '/u01/dumpfile/';
- SQL> grant read, write on directory dumpfile to [import user];

impdp user/pass dumpfile=expdat.dmp logfile=imp_log.log directory=BACKUP_DIRDC TABLE_EXISTS_ACTION=REPLACE

If you are using import on Pluggable Database (PDB)

- Check the OS Directory is created & you have linked this OS Directory to DB directory.
Ex: $ mkdir -p /u01/dumpfile/
- Place dumpfile into /u01/dumpfile location.
- SQL> create or replace directory dumpfile as '/u01/dumpfile/';
- SQL> grant read, write on directory dumpfile to [import user];

impdp user/pass@(PDB NAME) dumpfile=expdat.dmp logfile=imp_log.log directory=BACKUP_DIRDC TABLE_EXISTS_ACTION=REPLACE

Keep us update.

Warm Regards,
Mir Sayeed Hassan
Oracle ACE Pro
Oracle Certified OCP | OCI

Solomon Yakobson 5 days ago

impdp parameter TABLE_EXISTS_ACTION=REPLACE applies to tables only. Errors you are getting indicate FUNCTION:"ctm920 "."CURRTIME", PROCEDURE:"ctm920 "."PURGE_CMR_RUNINF_1" and FUNCTION:"ctm920 "."DDIFF" already exist in target database. You need to decide do you want to keep there existing objects and for that you need to add EXCLUDE parameters to import or import them and for that you need to drop these objects before import.

SY.

1 - 2

Post Details

Added on May 6 2022
9 comments
795 views