Difference between revisions of "General:Installation"
Expdbtools (talk | contribs) (→For Oracle) |
Expdbtools (talk | contribs) |
||
Line 1: | Line 1: | ||
== Install sources of all modules on focal point == | == Install sources of all modules on focal point == | ||
=== Prepare archive file of all modules === | === Prepare archive file of all modules === | ||
− | #Create base directory of | + | #Create base directory of dbSQWare™ |
− | mkdir -p $HOME/ | + | mkdir -p $HOME/dbSQWare |
#Move zip of lastest full version | #Move zip of lastest full version | ||
− | cp ~/downloads/ | + | cp ~/downloads/dbSQWare_full_*.zip $HOME/dbSQWare/. |
#Unzip file | #Unzip file | ||
− | cd $HOME/ | + | cd $HOME/dbSQWare |
− | unzip | + | unzip dbSQWare_full_*.zip |
#Delete zip file | #Delete zip file | ||
− | rm -f | + | rm -f dbSQWare_full_*.zip |
<br> | <br> | ||
=== Extract archives of all modules === | === Extract archives of all modules === | ||
#gunzip and extract archive of all modules | #gunzip and extract archive of all modules | ||
− | for lvsqw_Archive in `ls | + | for lvsqw_Archive in `ls SQWare*.tgz` |
do | do | ||
lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,') | lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,') | ||
− | mkdir -p $HOME/ | + | mkdir -p $HOME/dbSQWare/$lvsqw_Module |
− | cd $HOME/ | + | cd $HOME/dbSQWare/$lvsqw_Module |
echo | echo | ||
echo "extract $lvsqw_Archive for $lvsqw_Module :" | echo "extract $lvsqw_Archive for $lvsqw_Module :" | ||
Line 27: | Line 27: | ||
#Delete archive file | #Delete archive file | ||
− | cd $HOME/ | + | cd $HOME/dbSQWare |
rm -f expdb*.tgz | rm -f expdb*.tgz | ||
<br> | <br> | ||
Line 33: | Line 33: | ||
=== expdbDB === | === expdbDB === | ||
If you want use the full capability of dbSQWare, you have to install it.<br> | If you want use the full capability of dbSQWare, you have to install it.<br> | ||
− | If you don't install | + | If you don't install SQWareRepository you can't use SQWareCentral nor SQWareWeb.<br> |
Module SQWareProduction can only run alone.<br> | Module SQWareProduction can only run alone.<br> | ||
==== For Oracle ==== | ==== For Oracle ==== | ||
− | Install Oracle schema with script ~/ | + | Install Oracle schema with script ~/dbSQWare/SQWareRepository/oracle/v*/sql/sqwora_CreateIndicatorsTbsUsers.sql<br> |
− | Install tables with script ~/ | + | Install tables with script ~/dbSQWare/SQWareRepository/oracle/v*/sqwora_CreateIndicatorsObjectsFull.sql<br> |
− | + | Complete table tsqw_Repository with your CMDB.<br> | |
Sample of insert query:<br> | Sample of insert query:<br> | ||
insert into tsqw_Repository ... | insert into tsqw_Repository ... | ||
Line 45: | Line 45: | ||
==== For Sybase ==== | ==== For Sybase ==== | ||
Create a Sybase database to store CMDB and indicators.<br> | Create a Sybase database to store CMDB and indicators.<br> | ||
− | Install tables with script ~/ | + | Install tables with script ~/dbSQWare/SQWareRepository/sybase/v*/sqwsyb_CreateIndicatorsObjectsFull.sql<br> |
− | + | Complete table tsqw_Repository with your CMDB.<br> | |
Sample of insert query:<br> | Sample of insert query:<br> | ||
insert into tsqw_Repository ... | insert into tsqw_Repository ... | ||
Line 52: | Line 52: | ||
==== For MsSql ==== | ==== For MsSql ==== | ||
Create a MsSql database to store CMDB and indicators.<br> | Create a MsSql database to store CMDB and indicators.<br> | ||
− | Install tables with script ~/ | + | Install tables with script ~/dbSQWare/SQWareRepository/mssql/v*/sqwmsq_CreateIndicatorsObjectsFull.sql<br> |
− | + | Complete table tsqw_Repository with your CMDB.<br> | |
Sample of insert query:<br> | Sample of insert query:<br> | ||
insert into tsqw_Repository ... | insert into tsqw_Repository ... | ||
Line 59: | Line 59: | ||
==== For MySql ==== | ==== For MySql ==== | ||
Create a MySql database to store CMDB and indicators.<br> | Create a MySql database to store CMDB and indicators.<br> | ||
− | Install tables with script ~/ | + | Install tables with script ~/dbSQWare/SQWareRepository/mysql/v*/sqwmys_CreateIndicatorsObjectsFull.sql<br> |
− | + | Complete table tsqw_Repository with your CMDB.<br> | |
Sample of insert query:<br> | Sample of insert query:<br> | ||
insert into tsqw_Repository ... | insert into tsqw_Repository ... | ||
Line 66: | Line 66: | ||
==== For Ingres ==== | ==== For Ingres ==== | ||
Create a MySql database to store CMDB and indicators.<br> | Create a MySql database to store CMDB and indicators.<br> | ||
− | Install tables with script ~/ | + | Install tables with script ~/dbSQWare/SQWareRepository/ingres/v*/sqwing_CreateIndicatorsObjectsFull.sql<br> |
− | + | Complete table tsqw_Repository with your CMDB.<br> | |
Sample of insert query:<br> | Sample of insert query:<br> | ||
insert into tsqw_Repository ... | insert into tsqw_Repository ... | ||
<br> | <br> |
Revision as of 21:38, 23 December 2010
Contents
Install sources of all modules on focal point
Prepare archive file of all modules
#Create base directory of dbSQWare™ mkdir -p $HOME/dbSQWare #Move zip of lastest full version cp ~/downloads/dbSQWare_full_*.zip $HOME/dbSQWare/. #Unzip file cd $HOME/dbSQWare unzip dbSQWare_full_*.zip #Delete zip file rm -f dbSQWare_full_*.zip
Extract archives of all modules
#gunzip and extract archive of all modules for lvsqw_Archive in `ls SQWare*.tgz` do lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,') mkdir -p $HOME/dbSQWare/$lvsqw_Module cd $HOME/dbSQWare/$lvsqw_Module echo echo "extract $lvsqw_Archive for $lvsqw_Module :" gunzip -c ../$lvsqw_Archive |tar -xvf - done #Delete archive file cd $HOME/dbSQWare rm -f expdb*.tgz
Modules configuration
expdbDB
If you want use the full capability of dbSQWare, you have to install it.
If you don't install SQWareRepository you can't use SQWareCentral nor SQWareWeb.
Module SQWareProduction can only run alone.
For Oracle
Install Oracle schema with script ~/dbSQWare/SQWareRepository/oracle/v*/sql/sqwora_CreateIndicatorsTbsUsers.sql
Install tables with script ~/dbSQWare/SQWareRepository/oracle/v*/sqwora_CreateIndicatorsObjectsFull.sql
Complete table tsqw_Repository with your CMDB.
Sample of insert query:
insert into tsqw_Repository ...
For Sybase
Create a Sybase database to store CMDB and indicators.
Install tables with script ~/dbSQWare/SQWareRepository/sybase/v*/sqwsyb_CreateIndicatorsObjectsFull.sql
Complete table tsqw_Repository with your CMDB.
Sample of insert query:
insert into tsqw_Repository ...
For MsSql
Create a MsSql database to store CMDB and indicators.
Install tables with script ~/dbSQWare/SQWareRepository/mssql/v*/sqwmsq_CreateIndicatorsObjectsFull.sql
Complete table tsqw_Repository with your CMDB.
Sample of insert query:
insert into tsqw_Repository ...
For MySql
Create a MySql database to store CMDB and indicators.
Install tables with script ~/dbSQWare/SQWareRepository/mysql/v*/sqwmys_CreateIndicatorsObjectsFull.sql
Complete table tsqw_Repository with your CMDB.
Sample of insert query:
insert into tsqw_Repository ...
For Ingres
Create a MySql database to store CMDB and indicators.
Install tables with script ~/dbSQWare/SQWareRepository/ingres/v*/sqwing_CreateIndicatorsObjectsFull.sql
Complete table tsqw_Repository with your CMDB.
Sample of insert query:
insert into tsqw_Repository ...