UBUNTU - How do I mount shared folders in Ubuntu using VMware
ELCARO
by
1M ago
Per condividere una directory tra host e VM occorre prima accedere a vmware "Virtual Machine Settings" e spostarsi su "Options".  In questo tab accedere a "Shared Folders" e configurare una directory di cui fare lo share.  Lato Ubuntu una volta configurato vmware effettuare la configurazione del file fstab. Ma prima occorre configurare i tools di vmware su Ubuntu. Eseguire il seguente comando per abilitare i tools: sudo apt-get install open-vm-tools open-vm-tools-desktop A questo punto accedere al file fstab ed aggiungere la stringa che permette la mount della directory presente su ..read more
Visit website
ODI 12c - Shell Unix for Test if Agent ODI is Up o Down
ELCARO
by
2M ago
 Di seguito una semplice shell per verificare se un agent ODI sia o meno attivo. #!/bin/bash # Set the Oracle ODI Agent URL AGENT_URL="http://localhost:25910/oraclediagent" # Check the status of the ODI Agent #echo "curl -so /dev/null -w "%{http_code}" $AGENT_URL" STATUS_CODE=$(wget --server-response $AGENT_URL  2>&1 | awk '/^  HTTP/{print $2}' | grep 200 | awk '{print NR}') echo $STATUS_CODE # Check the HTTP status code of the ODI Agent #if [ $STATUS_CODE == "200" ]; then if [ $STATUS_CODE == "1" ]; then     echo "Oracle ODI Agent is running."     ..read more
Visit website
ODI 12c - How to Program Conditional Clauses Using ODI Substitution Methods
ELCARO
by
8M ago
 Come rendere una procedura ODI dinamica durante la chiamata da parte dell'Agent. Supponiamo di dover effettuare la insert in una tabella leggendo una select che occorre comporre in maniera dinamica ad ogni chiamata a seconda del valore di input. Il che vuol dire che se io ho in input ad esempio un valore leggo dalla tabella A altrimenti leggo dalla tabella B e cosi' via. INSERT INTO <....> if valore di input A1 then SELECT A1 FROM A1 if valore di input A2 then SELECT A1 FROM A2  ... if valore di input An-1 then SELECT A1 FROM An-1 if valore di input An then SELECT A1 FROM An ..read more
Visit website
RDBMS ORACLE - Query di analisi dello spazio occupato
ELCARO
by
10M ago
 Di seguito alcune query per l'analisi dello spazio occupato da un DB oracle, basate sull'analisi dei datafile/tablespace e tabelle AWM. CRESCITA DATABASE BASATO SU DATAFILE SELECT (select min(creation_time) from v$datafile) ""Create Time"", (select name from v$database) ""Database Name"", ROUND((SUM(USED.BYTES) / 1024 / 1024 ),2) ""Database Size MB"", ROUND((SUM(USED.BYTES) / 1024 / 1024 ) - ROUND(FREE.P / 1024 / 1024 ),2) ""Used Space MB"", ROUND(((SUM(USED.BYTES) / 1024 / 1024 ) - (FREE.P / 1024 / 1024 )) / ROUND(SUM(USED.BYTES) / 1024 / 1024 ,2)*100,2) ""Used in % MB"", ROUND((FREE ..read more
Visit website
BIAPPS - INFORMATICA - Query per estrarre l'associativa Workflow / Mapping di Informatica
ELCARO
by
1y ago
 Di seguito una query per poter associare i workflow ai mapping eseguiti in Informatica. Tutto internamente ad Informatica: ------------------------------------------------------------------- --- QUERY ESTRAZIONE associativa WF_MAPPING in INFORMATICA      --- --- Da eseguire come utente sys sul database che contiene il repository di INFORMATICA   --- ------------------------------------------------------------------- SELECT distinct          SUB.SUBJ_NAME subject_area_info ,         WF.WORKFLOW_NAME, opb_task.TASK_NAME ..read more
Visit website
RDBMS - Funzioni per criptare e decriptare una stringa
ELCARO
by
2y ago
Di seguito un paio di funzioni per criptare e decriptare un testo. Gli algoritmi utilizzati sono :  A =DES3_CBC_PKCS5  D =ENCRYPT_AES256 +CHAIN_CBC +PAD_PKCS5; Di seguito le funzioni: -------------------------------------------------------------------------------- --- funzione per cifrare un testo --- ALGORITMO =  ---    A =DES3_CBC_PKCS5 ---    D =ENCRYPT_AES256 +CHAIN_CBC +PAD_PKCS5; --- ES: select pkg_gest_plsql_odi.cifra('Questo è un testo molto lungo da cifrare, contiene anche ritorni a capo etc...',  'MIACHIAVE012345678901234','D') cifrato  fr ..read more
Visit website
RDBMS ORACLE 19c - Increasing the Maximum Size of VARCHAR2, NVARCHAR2, and RAW Columns in a PDB
ELCARO
by
2y ago
Sulle nuove versioni del DB Oracle è possibile portare le dimensioni di alcuni Datatypes al limite massimo consentito, ad esempio le Tabelle possono avere i campi di tipo VARCHAR2 non più come limite massimo 4000 ma ad esempio 32k. Per poter effettuare questa modifica però occorre settare il seguente parametro: MAX_STRING_SIZE = EXTENDED Di seguito viene indicato come attivare questo incremento di Maximun Size all'interno di un Pluggable DB. Per incrementare la dimensione massima di una colonna con Datatype VARCHAR2, NVARCHAR2 o un RAW in un Pluggable DB effettuare i seguenti passi ..read more
Visit website
ORA 12c - Oracle Pluggable Database 12c Automatic Startup
ELCARO
by
2y ago
SQL*Plus: Release 12.1.0.2.0 Production on Fri Mar 4 08:41:43 2022 Copyright (c) 1982, 2014, Oracle.  All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> ALTER PLUGGABLE DATABASE REPOSORCL OPEN READ WRITE; Pluggable database altered. SQL> show pdbs     CON_ID CON_NAME   OPEN MODE  RESTRICTED ---------- ------------------------------ ---------- ---------- 3 REPOSORCL   READ WRITE NO SQL> alter pluggable datab ..read more
Visit website
ODI 12c - Microsoft Dynamics 365
ELCARO
by
2y ago
Per poter effettuare l'estrazione di una Entità, account ecc, da Microsoft Dynamics 365 con ODI 12c occorre effettuare prima l'estrazione del Token associato ad una autenticazione OAUTH2.  La chiamata al webservice purtroppo deve essere divisa in due parti: estrazione del token e successivamente, una volta estratto il Token si può procedere all'estrazione dell'ENTITY richiamando un web services di tipo Rest e generando un file in formato json.  TOPOLOGIA Logical Schema Logicamente l'estrazione dell'Entità andrà gestita effettuando il caricamento del file estr ..read more
Visit website
ODI 12c - Upgrade Procedure ODI 12.2.1.2.6 To 12.2.1.4
ELCARO
by
2y ago
Di seguito gli step necessari all'Upgrade del software ODI dalla versione 12.2.1.2.6 alla versione 12.2.1.4.0 STEP NOTA Creazione clone macchina DB   Riconfigurazione /etc/hots 1.      Configurazione del file /etc/hosts Riconfigurazione network DB 1.      Modifica configurazione listener.ora con nuovo <hostname> 2.      Modifica configurazione tnsnames.ora con nuovo <hostname> 3.      Avvio listener Startup DB 1.      Avvio ..read more
Visit website

Follow ELCARO on FeedSpot

Continue with Google
Continue with Apple
OR