Difference between revisions of "General:Installation"

From Wiki_dbSQWare
Jump to: navigation, search
Line 1: Line 1:
Full installation:<br>
+
== 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 expdbTools®
 
  #Create base directory of expdbTools®
Line 30: Line 29:
 
  cd $HOME/expdbTools
 
  cd $HOME/expdbTools
 
  rm -f expdb*.tgz
 
  rm -f expdb*.tgz
 +
<br>
 +
== Modules configuration ==
 +
=== expdbDB ===
 +
If you want use the full capability of dbSQWare, you have to install it.<br>
 +
If you don't install expdbDB you can't use SQWareCentral nor SQWareWeb.<br>
 +
Module SQWareProduction can only run alone.<br>
 +
==== For Oracle ===
 +
Install schema with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateUserIndicator.sql<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>
 +
==== For Oracle ===
 +
Install Oracle schema with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateUserIndicator.sql<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>
 +
==== For Sybase ===
 +
Create a Sybase database to store CMDB and indicators.<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/sybase/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>
 +
==== For MsSql ===
 +
Create a MsSql database to store CMDB and indicators.<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/mssql/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>
 +
==== For MySql ===
 +
Create a MySql database to store CMDB and indicators.<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/mysql/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>
 +
==== For Ingres ===
 +
Create a MySql database to store CMDB and indicators.<br>
 +
Install tables with script ~/expdbTools/SQWareRepository/ingres/v*/edtd_CreateTablesIndicators.sql<br>
 +
Populate table tsqw_Repository with your CMDB.<br>
 +
Sample of insert query:<br>
 +
insert into tsqw_Repository ...
 +
<br>

Revision as of 23:56, 13 December 2010

Install sources of all modules on focal point

Prepare archive file of all modules

#Create base directory of expdbTools®
mkdir -p $HOME/expdbTools

#Move zip of lastest full version
cp ~/downloads/expdbTools_full_*.zip $HOME/expdbTools/.

#Unzip file
cd $HOME/expdbTools
unzip expdbTools_full_*.zip

#Delete zip file
rm -f expdbTools_full_*.zip


Extract archives of all modules

#gunzip and extract archive of all modules
for lvsqw_Archive in `ls expdb*.tgz`
do
   lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,')
   mkdir -p $HOME/expdbTools/$lvsqw_Module
   cd $HOME/expdbTools/$lvsqw_Module
   echo 
   echo "extract $lvsqw_Archive for $lvsqw_Module :"
   gunzip -c ../$lvsqw_Archive |tar -xvf -
done

#Delete archive file
cd $HOME/expdbTools
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 expdbDB you can't use SQWareCentral nor SQWareWeb.
Module SQWareProduction can only run alone.

= For Oracle

Install schema with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateUserIndicator.sql
Install tables with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateTablesIndicators.sql
Populate table tsqw_Repository with your CMDB.
Sample of insert query:

insert into tsqw_Repository ...


= For Oracle

Install Oracle schema with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateUserIndicator.sql
Install tables with script ~/expdbTools/SQWareRepository/oracle/v*/edtd_CreateTablesIndicators.sql
Populate 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 ~/expdbTools/SQWareRepository/sybase/v*/edtd_CreateTablesIndicators.sql
Populate 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 ~/expdbTools/SQWareRepository/mssql/v*/edtd_CreateTablesIndicators.sql
Populate 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 ~/expdbTools/SQWareRepository/mysql/v*/edtd_CreateTablesIndicators.sql
Populate 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 ~/expdbTools/SQWareRepository/ingres/v*/edtd_CreateTablesIndicators.sql
Populate table tsqw_Repository with your CMDB.
Sample of insert query:

insert into tsqw_Repository ...