Difference between revisions of "SQWareProduction:mysql:lib:sqwmys UpdateGLPI.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
 
m (Updated by BatchUser)
Line 4: Line 4:
 
Functions explanation:
 
Functions explanation:
 
<pre>
 
<pre>
 +
gfsqw_InsertIndicatorsSql | tee ${gvsqw_TmpFile}
 
lfsqw_ExecSql =>  
 
lfsqw_ExecSql =>  
 
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB"  
 
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB"  
Line 10: Line 11:
 
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
 
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
 
lfsqw_GatherFile =>  
 
lfsqw_GatherFile =>  
 +
lfsqw_GenUpdateRdbmsType
 +
lfsqw_GenUpdateRdbmsType =>
 
lfsqw_InsertGLPIDatabase =>  
 
lfsqw_InsertGLPIDatabase =>  
 
lfsqw_UpdateGLPIDatabase =>  
 
lfsqw_UpdateGLPIDatabase =>  

Revision as of 20:35, 30 April 2014

shell functions library $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib:
lib for sqwmys_Update$lvsqw_DbName.ksh
Functions explanation:

gfsqw_InsertIndicatorsSql | tee ${gvsqw_TmpFile}
lfsqw_ExecSql => 
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB" 
lfsqw_ExecSql "insert/update/delete instances"
lfsqw_ExecSqlTrap => 
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
lfsqw_GatherFile => 
lfsqw_GenUpdateRdbmsType
lfsqw_GenUpdateRdbmsType => 
lfsqw_InsertGLPIDatabase => 
lfsqw_UpdateGLPIDatabase => 
lfsqw_UpdateGLPIDatabase_CustAfter
lfsqw_UpdateGLPIDatabase_CustAfter => 
lfsqw_UpdateGLPIDatabase_CustBefore
lfsqw_UpdateGLPIDatabase_CustBefore => 


Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_UpdateGLPI.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_UpdateGLPI.lib specifically for this user .