Difference between revisions of "General:Installation"

From Wiki_dbSQWare
Jump to: navigation, search
Line 31: Line 31:
 
<br>
 
<br>
 
== Modules configuration ==
 
== Modules configuration ==
=== expdbDB ===
+
=== SQWareRepository ===
 
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 SQWareRepository you can't use SQWareCentral nor SQWareWeb.<br>
 
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 ====
+
==== SQWareRepository for Oracle ====
 
Install Oracle schema with script ~/dbSQWare/SQWareRepository/oracle/v*/sql/sqwora_CreateIndicatorsTbsUsers.sql<br>
 
Install Oracle schema with script ~/dbSQWare/SQWareRepository/oracle/v*/sql/sqwora_CreateIndicatorsTbsUsers.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/oracle/v*/sqwora_CreateIndicatorsObjectsFull.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/oracle/v*/sqwora_CreateIndicatorsObjectsFull.sql<br>
Line 43: Line 43:
 
<br>
 
<br>
  
==== For Sybase ====
+
==== SQWareRepository 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 ~/dbSQWare/SQWareRepository/sybase/v*/sqwsyb_CreateIndicatorsObjectsFull.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/sybase/v*/sqwsyb_CreateIndicatorsObjectsFull.sql<br>
Line 50: Line 50:
 
  insert into tsqw_Repository ...
 
  insert into tsqw_Repository ...
 
<br>
 
<br>
==== For MsSql ====
+
==== SQWareRepository 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 ~/dbSQWare/SQWareRepository/mssql/v*/sqwmsq_CreateIndicatorsObjectsFull.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/mssql/v*/sqwmsq_CreateIndicatorsObjectsFull.sql<br>
Line 57: Line 57:
 
  insert into tsqw_Repository ...
 
  insert into tsqw_Repository ...
 
<br>
 
<br>
==== For MySql ====
+
==== SQWareRepository 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 ~/dbSQWare/SQWareRepository/mysql/v*/sqwmys_CreateIndicatorsObjectsFull.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/mysql/v*/sqwmys_CreateIndicatorsObjectsFull.sql<br>
Line 64: Line 64:
 
  insert into tsqw_Repository ...
 
  insert into tsqw_Repository ...
 
<br>
 
<br>
==== For Ingres ====
+
==== SQWareRepository 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 ~/dbSQWare/SQWareRepository/ingres/v*/sqwing_CreateIndicatorsObjectsFull.sql<br>
 
Install tables with script ~/dbSQWare/SQWareRepository/ingres/v*/sqwing_CreateIndicatorsObjectsFull.sql<br>

Revision as of 22:39, 23 December 2010

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

SQWareRepository

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.

SQWareRepository 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 ...


SQWareRepository 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 ...


SQWareRepository 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 ...


SQWareRepository 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 ...


SQWareRepository 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 ...