Template:SQWareCentral installation

From Wiki_dbSQWare
Revision as of 23:32, 23 December 2010 by Expdbtools (talk | contribs) (Created page with '==== SQWareCentral for {{{1}}} ==== Install an {{{2}}} client and configure it to be able to connect to SQWareRepository for {{{1}}} you have installed.<br> <br> When connection …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SQWareCentral for {{{1}}}

Install an {{{2}}} client and configure it to be able to connect to SQWareRepository for {{{1}}} you have installed.

When connection to SQWareRepository is OK, customize connection variables:
To customize variables contain in $gvsqw_RootexpdbCentral/action/{{{3}}}/etc/sqwc_DbRefVar.cfg,
put them into $gvsqw_RootexpdbCentral/action/{{{3}}}/etc_cust/sqwc_DbRefVar.cfg.
The user can only have 'select' right on SQWareRepository.
[[SQWareCentral:{{{3}}}#sqwc_DbRefVar.cfg | For help on sqwc_DbRefVar.cfg for {{{3}}}]]
To check if connection to SQWareRepository is OK for SQWareCentral, reload environnement and test list generation:

#to reload environnement
reload
#to test list generation
$gvsqw_RootexpdbCentral/action/{{{3}}}/lst/sqwc_Liste{{{1}}}Instance.ksh

The command should return the instances list that you configured in SQWareRepository for {{{1}}}.

To customize variables contain in $gvsqw_RootexpdbCentral/action/{{{3}}}/etc/sqwc_GlobalVar.cfg,
put them into $gvsqw_RootexpdbCentral/action/{{{3}}}/etc_cust/sqwc_GlobalVar.cfg.
In general case, you just have to customize gvsqw_UserUnique{{{1}}} if you want to change user who owns SQWareProduction for {{{1}}} on all host.
[[SQWareCentral:{{{3}}}#sqwc_GlobalVar.cfg | For help on sqwc_GlobalVar.cfg for {{{3}}}]]

To customize variables contain in $gvsqw_RootexpdbCentral/action/{{{3}}}/etc/sqwc_ExpVar.cfg,
put them into $gvsqw_RootexpdbCentral/action/{{{3}}}/etc_cust/sqwc_ExpVar.cfg.
In general case, you just have to customize gvsqw_Mail_{{{3}}} (email adress to send report).
[[SQWareCentral:{{{3}}}#sqwc_ExpVar.cfg | For help on sqwc_ExpVar.cfg for {{{3}}}]]

After that, you can put in place automatic treatment for {{{1}}}.
You can take example on $gvsqw_RootexpdbCentral/action/{{{3}}}/etc/CrontabRef.cfg
Attention, you must first put in place SQWareProduction for {{{1}}} before to collect indicators for example!
To be able to deploy SQWareProduction, you must set up the SSH public key of user which you have installed SQWareCentral into ~/.ssh/authorized_keys of $gvsqw_UserUnique{{{1}}} on all {{{1}}} hosts.
$gvsqw_RootexpdbCentral/action/{{{3}}}/lst/sqwc_Liste{{{1}}}Unique.ksh should return the host/user list.
To be able to perform centralized commands of SQWareProduction, you must set up the SSH public key of user which you have installed SQWareCentral into ~/.ssh/authorized_keys of users who owns {{{1}}} instances.
$gvsqw_RootexpdbCentral/action/{{{3}}}/lst/sqwc_Liste{{{1}}}Instance.ksh should return the host/user/instance list.