SQWareProduction:hbase:etc:sqwhbs GlobalVar.cfg : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
 
m (Updated by BatchUser)
Ligne 1 : Ligne 1 :
Fichier de configuration $gvsqw_HbsBin/../etc/sqwhbs_GlobalVar.cfg:<br>
+
Configuration file $gvsqw_HbsBin/../etc/sqwhbs_GlobalVar.cfg:<br>
 
{{SQWareProduction_sqwhbs_GlobalVar.cfg_presentation}}
 
{{SQWareProduction_sqwhbs_GlobalVar.cfg_presentation}}
<br>
+
{{SQWareProduction_sqwhbs_GlobalVar.cfg_content}}
<br>
+
{{SQWareProduction_sqwhbs_GlobalVar.cfg_explanation}}
Contenu du fichier:
 
<pre>
 
export gvsqw_RootAdmin='$HOME/${HBS_SID}'
 
export gvsqw_RootAdminDisable='$HOME'
 
export gvsqw_RootAdminDist='$HOME/admin/hbase/${HBS_SID}'
 
export gvsqw_RootCfg='$gvsqw_RootAdmin/sqwConfig'
 
export gvsqw_RootDbf='/$(echo ${HOME}|cut -d/ -f2)/data/${HBS_SID}'
 
export gvsqw_DbAlias='$HBS_SID'
 
</pre>
 
<br>
 
<br>
 
Explication des variables:
 
<pre>
 
gvsqw_DbAlias =>
 
gvsqw_RootAdminDisable =>
 
gvsqw_RootAdminDist =>
 
gvsqw_RootAdmin =>
 
gvsqw_RootCfg =>
 
gvsqw_RootDbf =>
 
</pre>
 
 
{{SQWareProductionSurchargeVar|hbase|Hbs|sqwhbs_GlobalVar.cfg}}
 
{{SQWareProductionSurchargeVar|hbase|Hbs|sqwhbs_GlobalVar.cfg}}
 
<br>
 
<br>

Version du 14 avril 2019 à 18:05

Configuration file $gvsqw_HbsBin/../etc/sqwhbs_GlobalVar.cfg:
Global var for HBase
Contient les variables operationnelles de SQWareProduction.

Contenu du fichier:

#!/bin/ksh
###################################################################
# SQWareProduction for HBase module of dbSQWare
# 
# dbSQWare is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# CGU/CGA for more details.
# 
# You should have received a copy of the CGU/CGA
# along with this program.  If not, see <http://www.dbsqware.com/licenses/>.
# 
# For information : contact@dbsqware.com or www.dbsqware.com
###################################################################
## @Synopsis	Global var for HBase
## @Copyright	Copyright 2010-2019, dbSQWare (www.dbsqware.com)

#global
export gvsqw_RootAdmin='$HOME/${HBS_SID}'
export gvsqw_RootAdminDisable='$HOME'
export gvsqw_RootAdminDist='$HOME/admin/hbase/${HBS_SID}'
export gvsqw_RootCfg='$gvsqw_RootAdmin/sqwConfig'
export gvsqw_RootDbf='/$(echo ${HOME}|cut -d/ -f2)/data/${HBS_SID}'
export gvsqw_DbAlias='$HBS_SID'


Explication de variables:


Information.png
Information:
Vous pouvez surcharger les variables contenues dans $gvsqw_HbsBin/../etc/sqwhbs_GlobalVar.cfg

en mettant les memes noms de variables dans $gvsqw_HbsBin/../etc_cust/sqwhbs_GlobalVar.cfg pour tous vos environnements
ou dans $HOME/sqwConfig/sqwhbs_GlobalVar.cfg pour cet utilisateur specialement.