Compare commits
10 Commits
d601f481e1
...
b3b73120f3
Author | SHA1 | Date | |
---|---|---|---|
|
b3b73120f3 | ||
|
4bbbee1298 | ||
|
153a5d548f | ||
|
726fc27ef5 | ||
|
7ae666101c | ||
|
e1e2f01ed6 | ||
|
f6ac4f0426 | ||
|
2d810ded10 | ||
|
f7d6813e0c | ||
|
ab501b3433 |
67
ReadMe.txt
67
ReadMe.txt
@ -1,7 +1,7 @@
|
||||
# $RCSfile: ReadMe.txt,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Revision: 1.4 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 17:30:14 $
|
||||
# $Author: agibert $
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@ Welcome to EnvMng (Unix shell Environment Manager) !
|
||||
|
||||
|
||||
This release of EnvMng supports the following OSes:
|
||||
- AIX 5.3,
|
||||
- HP UX 11.0.
|
||||
- AIX 5.3,
|
||||
- HP UX 11.0.
|
||||
|
||||
EnvMng is licensed under the GNU GPL Licenses.
|
||||
For more information, please read the corresponding source file headers.
|
||||
@ -31,30 +31,34 @@ envmng installation
|
||||
- copy <EnvMngDir>/etc/skel/.dtprofile to ~/.dtprofile
|
||||
- soft link ~/.bash_profile to <EnvMngDir>/etc/envmng_rc
|
||||
|
||||
<EnvMngDir> is /home/dtarget/envmng
|
||||
Eg. <EnvMngDir> can be /usr/local
|
||||
|
||||
|
||||
|
||||
envmng usage
|
||||
-------------------------------------------------------------------------------
|
||||
Usage: envmng [COMMAND] [OPTION]
|
||||
-b, --bash [<Id>] [norc] switch to bash and set id to <Id>
|
||||
-k, --ksh [<Id>] [norc] switch to ksh and set id to <Id>
|
||||
-S, --setid <Id> [norc] set id to <Id>
|
||||
-R, --reset <EnvList> reset envlist to <EnvList>
|
||||
-a, --add <Env> [head|tail] add <Env> in envlist head or tail
|
||||
-d, --del <Env> del <Env> from envlist
|
||||
-p, --profile [<Env>] do envlist or <Env> profile
|
||||
-r, --rc [<Env>] do envlist or <Env> rc
|
||||
-s, --status print status
|
||||
-h, --help print this help
|
||||
-V, --version print version
|
||||
-b, --bash [<Id>] [norc] switch to bash and set id to <Id>
|
||||
-k, --ksh [<Id>] [norc] switch to ksh and set id to <Id>
|
||||
-S, --setid <Id> [norc] set id to <Id>
|
||||
-R, --reset <EnvList> reset envlist to <EnvList>
|
||||
-a, --add <Env> [head|tail] add <Env> in envlist head or tail
|
||||
-d, --del <Env> del <Env> from envlist
|
||||
-p, --profile [<Env>] do envlist or <Env> profile
|
||||
-r, --rc [<Env>] do envlist or <Env> rc
|
||||
-s, --status print status
|
||||
-l, --list list Id(s), EnvList(s) and Env(s)
|
||||
-li, --listid list Id(s) and EnvList(s)
|
||||
-le, --listenv list Env(s)
|
||||
-h, --help print this help
|
||||
-V, --version print version
|
||||
|
||||
|
||||
|
||||
envmng usage example
|
||||
-------------------------------------------------------------------------------
|
||||
- print curent env status: "envmng -s"
|
||||
- list ids, envlists and envs: "envmng -l"
|
||||
- switch to dtarget-gnu env: "envmng -S dtarget-gnu" or "env-dtarget"
|
||||
- switch to d2target-gnu env: "envmng -S d2target-gnu" or "env-d2target"
|
||||
- switch to ksh: "envmng -k" or "env-ksh"
|
||||
@ -67,31 +71,38 @@ user env customization
|
||||
- copy <EnvMngDir>/etc/envmng.d/env_template to ~/.envmng_user
|
||||
- add user customization into ~/.envmng_user
|
||||
|
||||
<EnvMngDir> is /home/dtarget/envmng
|
||||
|
||||
|
||||
|
||||
.profile template
|
||||
.profile template example
|
||||
-------------------------------------------------------------------------------
|
||||
clear
|
||||
. /home/dtarget/envmng/etc/envmng_profile d2target-gnu bash
|
||||
#. /home/dtarget/envmng/etc/envmng_profile d2target ksh
|
||||
. /usr/local/etc/envmng_profile d2target-gnu bash
|
||||
#. /usr/local/etc/envmng_profile d2target ksh
|
||||
|
||||
|
||||
|
||||
.dtprofile template
|
||||
.dtprofile template example
|
||||
-------------------------------------------------------------------------------
|
||||
. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu bash
|
||||
#. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu ksh
|
||||
. /usr/local/etc/envmng_dtprofile d2target-gnu bash
|
||||
#. /usr/local/etc/envmng_dtprofile d2target-gnu ksh
|
||||
|
||||
|
||||
|
||||
EnvMng Id List (<EnvMngDir>/etc/envmng_id)
|
||||
-------------------------------------------------------------------------------
|
||||
dtarget: user:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system:gnu
|
||||
dtarget-gnu: user:gnu:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system
|
||||
d2target: user:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system:gnu
|
||||
d2target-gnu: user:gnu:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system
|
||||
# HP/UX Example
|
||||
dtarget: user:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system:gnu
|
||||
dtarget-gnu: user:gnu:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system
|
||||
d2target: user:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system:gnu
|
||||
d2target-gnu: user:gnu:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system
|
||||
|
||||
# AIX Example
|
||||
migtt2: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
|
||||
migtt2-gnu: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
|
||||
migtt2-64: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
|
||||
migtt2-g64: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
|
||||
migtt2-32: user:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system:gnu
|
||||
migtt2-g32: user:gnu:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system
|
||||
|
||||
|
||||
|
||||
|
@ -1,13 +1,33 @@
|
||||
# $RCSfile: ReleaseNotes.txt,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Revision: 1.4 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 17:31:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
EnvMng V 1.2.1 - A. Gibert - 2009/01/13
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
- Add fancy color prompt suport,
|
||||
- Use $Name CVS tag in version print out,
|
||||
- Update some env modules.
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
EnvMng V 1.2.0 - A. Gibert - 2005/08/01
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
- New release for MigTT2 (Migration to Target 2) project (Banque de France - Paris),
|
||||
- Add support for AIX,
|
||||
- Fix minor bugs.
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
EnvMng V 1.1.0 - A. Gibert - 2005/05/01
|
||||
--------------------------------------------------------------------------------
|
||||
|
93
bin/envmng
93
bin/envmng
@ -1,7 +1,7 @@
|
||||
# $RCSfile: envmng,v $
|
||||
# $Revision: 1.1 $
|
||||
# $RCS envmng,v $
|
||||
# $Revision: 1.3 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 14:07:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# envmng - Unix shell Environment Manager
|
||||
@ -23,25 +23,39 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
|
||||
EnvMng_Cmd="$1"
|
||||
EnvMng_Env="$2"
|
||||
EnvMng_Opt="$3"
|
||||
|
||||
envmng_prefix=/home/dtarget/envmng
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Installation Configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
envmng_prefix=/usr/local/bin
|
||||
envmng_d=$envmng_prefix/etc/envmng.d
|
||||
envmng_id=$envmng_prefix/etc/envmng_id
|
||||
envmng_protvar=$envmng_prefix/etc/envmng_protvar
|
||||
envmng_protalias=$envmng_prefix/etc/envmng_protalias
|
||||
envmng_display=$envmng_prefix/etc/envmng_display
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# System configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
basename=/bin/basename
|
||||
env=/bin/env
|
||||
sed=/bin/sed
|
||||
grep=/bin/grep
|
||||
printf=/bin/printf
|
||||
|
||||
alias envmng=". $envmng_prefix/bin/envmng"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
envmng_rlist()
|
||||
@ -79,6 +93,8 @@ envmng_path_rm()
|
||||
|
||||
|
||||
|
||||
#set +o nounset
|
||||
|
||||
case "$EnvMng_Cmd" in
|
||||
-b | --bash)
|
||||
if [ "$EnvMng_Env" != "" ]
|
||||
@ -90,12 +106,12 @@ case "$EnvMng_Cmd" in
|
||||
then
|
||||
echo "envmng: new shell: [bash] seting id: [$ENVMNG_ID]..."
|
||||
|
||||
export NEW_SHELL=/home/dtarget/local/bin/bash
|
||||
export NEW_SHELL=/usr/local/bin/bash
|
||||
$NEW_SHELL
|
||||
unset NEW_SHELL
|
||||
else
|
||||
echo "envmng: allready in: [bash] seting id: [$ENVMNG_ID]..."
|
||||
. /home/dtarget/envmng/bin/envmng --setid $ENVMNG_ID $EnvMng_Opt
|
||||
. /usr/local/bin/envmng --setid $ENVMNG_ID $EnvMng_Opt
|
||||
fi
|
||||
;;
|
||||
|
||||
@ -114,7 +130,7 @@ case "$EnvMng_Cmd" in
|
||||
unset NEW_SHELL
|
||||
else
|
||||
echo "envmng: allready in: [ksh] seting id: [$ENVMNG_ID]..."
|
||||
. /home/dtarget/envmng/bin/envmng --setid $ENVMNG_ID $EnvMng_Opt
|
||||
. /usr/local/bin/envmng --setid $ENVMNG_ID $EnvMng_Opt
|
||||
fi
|
||||
;;
|
||||
|
||||
@ -123,7 +139,7 @@ case "$EnvMng_Cmd" in
|
||||
|
||||
export ENVMNG_ID=$EnvMng_Env
|
||||
|
||||
. $envmng_prefix/bin/envmng --reset $($grep "^$EnvMng_Env:" $envmng_id | $sed "s/^$EnvMng_Env:[ \ ]*//") $EnvMng_Opt
|
||||
. $envmng_prefix/bin/envmng --reset "$($grep "^$EnvMng_Env:" $envmng_id | $sed "s/^$EnvMng_Env:[ \ ]*//")" $EnvMng_Opt
|
||||
;;
|
||||
|
||||
-R | --reset)
|
||||
@ -150,7 +166,7 @@ case "$EnvMng_Cmd" in
|
||||
|
||||
echo "envmng: reseting aliases..."
|
||||
|
||||
alias_list=$(alias | $sed -e "s/alias //" -e "s/=.*//")
|
||||
alias_list=$(alias | $grep ".*=" | $sed -e "s/alias //" -e "s/=.*//")
|
||||
|
||||
if [ "$alias_list" != "" ]
|
||||
then
|
||||
@ -249,23 +265,54 @@ case "$EnvMng_Cmd" in
|
||||
echo "ENVMNG_ID: [$ENVMNG_ID] ENVMNG_LIST: [$ENVMNG_LIST]"
|
||||
;;
|
||||
|
||||
-l | --list)
|
||||
echo "Id and EnvList:"
|
||||
. $envmng_prefix/bin/envmng --listid
|
||||
|
||||
echo
|
||||
echo "Env:"
|
||||
. $envmng_prefix/bin/envmng --listenv
|
||||
;;
|
||||
|
||||
-li | --listid)
|
||||
for line in $( $grep -v "^#" $envmng_id | $sed "s/:[ \ ]*/#/")
|
||||
do
|
||||
$printf "%-16s %s\n" $( echo $line | $sed "s/#.*/:/") $( echo $line | $sed "s/^.*#//")
|
||||
done
|
||||
;;
|
||||
|
||||
-le | --listenv)
|
||||
for file in $envmng_d/*
|
||||
do
|
||||
if [[ ( -f $file ) && ( $file != *~ ) && ( $file != */env_template ) ]]
|
||||
then
|
||||
$printf "%-16s " $( echo $( $basename $file):)
|
||||
echo $( $grep "^# description: " $file | $sed "s/^. description: //")
|
||||
fi
|
||||
done
|
||||
;;
|
||||
|
||||
-h | --help)
|
||||
echo "Usage: envmng [COMMAND] [OPTION]"
|
||||
echo " -b, --bash [<Id>] [norc] switch to bash and set id to <Id>"
|
||||
echo " -k, --ksh [<Id>] [norc] switch to ksh and set id to <Id>"
|
||||
echo " -S, --setid <Id> [norc] set id to <Id>"
|
||||
echo " -R, --reset <EnvList> reset envlist to <EnvList>"
|
||||
echo " -a, --add <Env> [head|tail] add <Env> in envlist head or tail"
|
||||
echo " -d, --del <Env> del <Env> from envlist"
|
||||
echo " -p, --profile [<Env>] do envlist or <Env> profile"
|
||||
echo " -r, --rc [<Env>] do envlist or <Env> rc"
|
||||
echo " -s, --status print status"
|
||||
echo " -h, --help print this help"
|
||||
echo " -V, --version print version"
|
||||
echo " -b, --bash [<Id>] [norc] switch to bash and set id to <Id>"
|
||||
echo " -k, --ksh [<Id>] [norc] switch to ksh and set id to <Id>"
|
||||
echo " -S, --setid <Id> [norc] set id to <Id>"
|
||||
echo " -R, --reset <EnvList> reset envlist to <EnvList>"
|
||||
echo " -a, --add <Env> [head|tail] add <Env> in envlist head or tail"
|
||||
echo " -d, --del <Env> del <Env> from envlist"
|
||||
echo " -p, --profile [<Env>] do envlist or <Env> profile"
|
||||
echo " -r, --rc [<Env>] do envlist or <Env> rc"
|
||||
echo " -s, --status print status"
|
||||
echo " -l, --list list Id(s), EnvList(s) and Env(s)"
|
||||
echo " -li, --listid list Id(s) and EnvList(s)"
|
||||
echo " -le, --listenv list Env(s)"
|
||||
echo " -h, --help print this help"
|
||||
echo " -V, --version print version"
|
||||
;;
|
||||
|
||||
-V | --version)
|
||||
echo "envmng V 1.1"
|
||||
echo -n "envmng V "
|
||||
echo "$Name: $" | sed -e 's/^[^-]*-//' -e 's/ .*//' -e 's/_/./g'
|
||||
;;
|
||||
|
||||
*)
|
||||
|
@ -1,18 +0,0 @@
|
||||
# $RCSfile: 32bits,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=32BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,18 +0,0 @@
|
||||
# $RCSfile: 64bits,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=64BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
23
etc/envmng.d/aix-32
Normal file
23
etc/envmng.d/aix-32
Normal file
@ -0,0 +1,23 @@
|
||||
# $RCSfile: aix-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX 32 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export OBJECT_MODE=32
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
23
etc/envmng.d/aix-64
Normal file
23
etc/envmng.d/aix-64
Normal file
@ -0,0 +1,23 @@
|
||||
# $RCSfile: aix-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX 64 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export OBJECT_MODE=64
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
47
etc/envmng.d/aix-system
Normal file
47
etc/envmng.d/aix-system
Normal file
@ -0,0 +1,47 @@
|
||||
# $RCSfile: aix-system,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 16:59:17 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX System base configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=/usr/linux/bin:/usr/ucb:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/opt/seos/bin:/usr/games
|
||||
libpath=/usr/local/lib
|
||||
manpath=/usr/local/man:/opt/seos/man:/opt/freeware/man
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,37 +0,0 @@
|
||||
# $RCSfile: cristal,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export CRISTALDIR=$TARGET_HOME/cristal/appli
|
||||
export DATABASECRT=$TARGET_HOME/cristal/database/data
|
||||
export EXPLCRT=$TARGET_HOME/cristal/expl
|
||||
export DATADIR=$CRISTALDIR/expl
|
||||
export LOGDIRCRT=$EXPLCRT/log
|
||||
export PSPDIRCRT=$EXPLCRT/psp
|
||||
export PROC_EXPL_CRT=$EXPLCRT/proc
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# LIVRAISON BACKUP APPLI SOURCE LST
|
||||
#----------------------------------------------------------------------------
|
||||
export LIVRAISONCRT=$TARGET_HOME/livraison/cristal
|
||||
export BACKUPCRT=$TARGET_HOME/backup/cristal
|
||||
export APPLICRT=$TARGET_HOME/cristal/appli
|
||||
export LSTDIRCRT=$EXPLCRT/lst
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Tuxedo Queue Config
|
||||
#----------------------------------------------------------------------------
|
||||
export QMCONFIG_CRT=$TARGET_HOME/cristal/qspace/QUE
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: d2target,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: D2Target project environment
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TARGET_ID=d2target
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: dtarget,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: DTarget project environment
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TARGET_ID=dtarget
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: env_template,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description:
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
;;
|
||||
|
@ -1,14 +1,19 @@
|
||||
# $RCSfile: gnu,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
path=/home/dtarget/local/bin
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: GNU softwares and libraries
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
shlib_path=/home/dtarget/local/lib
|
||||
path=/usr/local/bin
|
||||
|
||||
manpath=/home/dtarget/local/man:/home/dtarget/local/share/man
|
||||
shlib_path=/usr/local/lib
|
||||
|
||||
manpath=/usr/local/man:/usr/local/share/man
|
||||
|
||||
|
||||
|
||||
@ -17,6 +22,9 @@ case "$1" in
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
export LESS=-MM
|
||||
export LESSOPEN='|/usr/local/bin/lesspipe.sh %s'
|
||||
;;
|
||||
|
||||
*rc)
|
||||
|
23
etc/envmng.d/hpux-32
Normal file
23
etc/envmng.d/hpux-32
Normal file
@ -0,0 +1,23 @@
|
||||
# $RCSfile: hpux-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX 32 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=32BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
23
etc/envmng.d/hpux-64
Normal file
23
etc/envmng.d/hpux-64
Normal file
@ -0,0 +1,23 @@
|
||||
# $RCSfile: hpux-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX 64 bits mode
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ARCH=64BITS
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
51
etc/envmng.d/hpux-system
Normal file
51
etc/envmng.d/hpux-system
Normal file
@ -0,0 +1,51 @@
|
||||
# $RCSfile: hpux-system,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 16:59:17 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: HP/UX System base configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/perf/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin:/opt/cxperf/bin:/opt/scr/bin:/opt/graphics/common/bin:/opt/STK/bin:/opt/seos/bin
|
||||
|
||||
shlib_path=/usr/lib
|
||||
|
||||
manpath=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/mqm/man:/opt/audio/share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/imake/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/cxperf/share/man:/opt/scr/share/man:/opt/graphics/common/man:/opt/EMCpower/share:/opt/STK/share/man
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
604
etc/envmng.d/ic
604
etc/envmng.d/ic
@ -1,604 +0,0 @@
|
||||
# $RCSfile: ic,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ICDIR=$TARGET_HOME/ic/appli
|
||||
export APPDIR=$TARGET_HOME/ic/appli/bin
|
||||
export EXPLIC=$TARGET_HOME/ic/expl
|
||||
export REP_IC_EXPL=$TARGET_HOME/ic/expl
|
||||
export QSPACEIC=$TARGET_HOME/ic/qspace
|
||||
export DATABASEIC=$TARGET_HOME/ic/database
|
||||
export DATAIC=$TARGET_HOME/ic/database/data
|
||||
export EXPL_SCRIPTS=$TARGET_HOME/appli/expl/scripts
|
||||
export CERTIFDIR=$TARGET_HOME/appli/expl/certif
|
||||
export CERTIF_SCRIPTS=${CERTIFDIR}/scripts
|
||||
export LOGDIRIC=$EXPLIC/log
|
||||
export PSPDIRIC=$EXPLIC/psp
|
||||
export PROC_EXPL_IC=$EXPLIC/proc
|
||||
export IC_SH_DIR=$ICDIR/sh
|
||||
export ENVDIRIC=$ICDIR/env
|
||||
export IC_TOOLS_DIR=$ICDIR/tls
|
||||
|
||||
export FICHIER_RES="$HOME/ic/source_dev/clients/client_resync/resync/msg"
|
||||
export BIC_IC_TBF="ZYBMFRC0XXX"
|
||||
export BIC_IC_TARGET="BDFEFRT0XXX"
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# LIVRAISON BACKUP APPLI SOURCE LST
|
||||
#----------------------------------------------------------------------------
|
||||
export LIVRAISONIC=$TARGET_HOME/livraison/ic
|
||||
export BACKUPIC=$TARGET_HOME/backup/ic
|
||||
export LSTDIRIC=$TARGET_HOME/lst
|
||||
|
||||
export SHDIRIC=${ICDIR}/sh
|
||||
export BINDIRIC=${ICDIR}/bin
|
||||
export SQLDIRIC=${ICDIR}/sql
|
||||
export ENVDIRIC=${ICDIR}/env
|
||||
|
||||
export EXPL_INJECTION=$TARGET_HOME/appli/expl/injection
|
||||
export EXPL_SIMULATEUR=$TARGET_HOME/appli/expl/simulateur
|
||||
export EXPLTMP=$TARGET_HOME/appli/expl/tmp
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Variables d'environnement pour traitement du referentiel CRI par l'IC
|
||||
#----------------------------------------------------------------------------
|
||||
export REFCRI_BIN=${BINDIRIC}
|
||||
export REFCRI_REP_LOG=${LOGDIRIC}
|
||||
|
||||
export REFCRI_SVC_EXPORT=SVCEXPORTACA
|
||||
export REFCRI_GROUPE=GROUP_IC
|
||||
export REFCRI_TRACE=1
|
||||
export REFCRI_LOG=$REFCRI_REP_LOG/ACALOG
|
||||
export REFCRI_ERR=$REFCRI_REP_LOG/ACAERR
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Tuxedo Queue Config
|
||||
#----------------------------------------------------------------------------
|
||||
export QMCONFIG_IC=$TARGET_HOME/ic/qspace/QUE
|
||||
export QMCONFIG=$QMCONFIG_IC
|
||||
export IC_DEVICE_QUEUE=$QMCONFIG_IC
|
||||
export IC_DEVICE_QUE=$QMCONFIG_IC
|
||||
export ULOGPFX=${LOGTUX}/ULOG
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Exploitation Env
|
||||
#----------------------------------------------------------------------------
|
||||
export JOUR=`date +%m%d%y`
|
||||
export JOUR_LOG=`date +%m%d%y%H%M`
|
||||
export AUJOURDHUI=`date +%y%m%d`
|
||||
|
||||
export REPBUP=$TARGET_ID/backup
|
||||
export APPLI=${TARGET_ID}
|
||||
export APPLI_HOME=/home/${TARGET_ID}
|
||||
export EXPLOIT=/home/${TARGET_ID}/appli/expl
|
||||
export BAT="/home/${TARGET_ID}/appli/expl/proc"
|
||||
export BAT_SQL=${BAT}/sql
|
||||
export LST="/home/${TARGET_ID}/appli/expl/lst"
|
||||
export PILO="/home/${TARGET_ID}/appli/expl/proc/pilotage"
|
||||
export HFJ_BIN=${BINDIRIC}
|
||||
export HFJ_DATA=${ICDIR}/data
|
||||
export HFJ_SH=${SHDIRIC}
|
||||
|
||||
export IC_ARCHIVAGE=$EXPLIC/lst/hebdo
|
||||
export IC_ARCHIVAGE_HEBDO=$EXPLIC/lst/hebdo
|
||||
export REP_TEMPORAIRE=$REPBUP
|
||||
|
||||
export SCH_INIT_QUOTI=ICMGR
|
||||
export SCH_FINAL_QUOTI=TARGET_HEBDO
|
||||
export FIC_EXP_QUOTI=export_quoti_ic
|
||||
|
||||
export SCH_INIT_HEBDO=TARGET_HEBDO
|
||||
export SCH_FINAL_HEBDO=TARGET_SEMESTRE
|
||||
export FIC_EXP_HEBDO=export_hebdo_ic
|
||||
|
||||
export SCH_INIT_RESTORE=TARGET_HEBDO
|
||||
export SCH_FINAL_RESTORE=TARGET_RESTORE
|
||||
|
||||
export USR_ICMGR=ICMGR
|
||||
export PWD_ICMGR=SOLEIL98
|
||||
export USR_HEBDO=TARGET_HEBDO
|
||||
export PWD_HEBDO=HEBDO
|
||||
export USR_RESTORE=TARGET_RESTORE
|
||||
export PWD_RESTORE=RESTORE
|
||||
export USR_SYSTEME=SYSTEME
|
||||
export PWD_SYSTEME=MANAGER
|
||||
export USR_STELINK=STELINK
|
||||
export PWD_STELINK=STELINK
|
||||
|
||||
# Variables statistiques BCE
|
||||
export CMDFTPMICBCE1=$BAT/cmdftpmicbce1
|
||||
export CMDFTPMICBCE2=$BAT/cmdftpmicbce2
|
||||
export REP_BCE=$EXPLOIT/statistiques_bce
|
||||
export NOM_AWK=$BAT/statistiques_BCE.awk
|
||||
export FIC_STAT_I=I`date +%y%m%d`.MIC
|
||||
export FIC_STAT_O=O`date +%y%m%d`.MIC
|
||||
export FIC_STAT_BCE=statistiques_BCE.$JOUR
|
||||
|
||||
# User sur NT SAFIRE PRIMAIRE & SECOURS
|
||||
export USRBCE=TARGET01
|
||||
export PWDBCE=ICOTT01
|
||||
|
||||
export PSP_PRI=psp_pri ;
|
||||
export PSP_SEC=psp_sec ;
|
||||
export PSP=$PSP_SEC ;
|
||||
export PSP_REP=target_integra ;
|
||||
|
||||
# Variables traitement du BIC DICTIONNARY
|
||||
export FIC_BIC_CTL=$BAT/load_bic.ctl
|
||||
export FIC_BIC_DAT=$BAT/TBIC0101.dat
|
||||
export FIC_BIC_BAD=$LST/TBIC0101.bad
|
||||
export FIC_BIC_LOG=$LST/TBIC0101.log
|
||||
|
||||
export ADSM=/home/sauvegarde/lst
|
||||
|
||||
APPLI_REP="/home/target0 /home/target0/backup /home/target0/appli/expl /home/target0/appli/expl/tuxedo/tlog";export APPLI_REP;
|
||||
APPLI_REP1="/home/target0/ic/database/databasehebdo /home/target0/ic/expl /home/target0/ic/database/redolog /home/target0/ic/database/redolog_m";export APPLI_REP1;
|
||||
APPLI_REP2="/home/target0/ic /home/target0/ic/qspace /home/target0/ic/database /home/target0/ic/database/archivelog";export APPLI_REP2;
|
||||
APPLI_REP3="/home/target0/cristal /home/target0/cristal/qspace /home/target0/cristal/database";export APPLI_REP3;
|
||||
APPLI_REP4="/home/target0/stelink /home/target0/stelink/database /home/target0/stelink/qspace";export APPLI_REP4;
|
||||
APPLI_REP5="/home/target0/stelink/appli /home/target0/stelink/database/archivelog /home/target0/stelink/database/redolog /home/target0/stelink/database/redolog_m";export APPLI_REP5;
|
||||
APPLI_REP6="/home/applvg1/logiciel /home/secur";export APPLI_REP6;
|
||||
|
||||
APPLI_REP1_ARCH="/home/target0/ /home/target0/appli/expl/ /home/target0/appli/expl/tuxedo/tlog/";export APPLI_REP1_ARCH;
|
||||
APPLI_REP2_ARCH="/home/target0/cristal/ /home/target0/cristal/database/ /home/target0/cristal/qspace/ /home/target0/ic/ /home/target0/ic/qspace/ /home/target0/ic/database/ /home/target0/ic/database/databasehebdo/ /home/target0/ic/expl/ /home/target0/ic/database/redolog/ /home/target0/ic/database/redolog_m/ /home/target0/ic/database/archivelog/";export APPLI_REP2_ARCH;
|
||||
APPLI_REP3_ARCH="/home/target0/stelink/ /home/target0/stelink/database/ /home/target0/stelink/qspace/ /home/target0/stelink/appli/ /home/target0/stelink/database/archivelog/ /home/target0/stelink/database/redolog/ /home/target0/stelink/database/redolog_m/";export APPLI_REP3_ARCH;
|
||||
|
||||
|
||||
export APPLI_TMP=${APPLI_HOME}/tmp
|
||||
export ARCHIVELOGREP=$EXPLOIT/arch;
|
||||
export QM_CRT=$QMCONFIG_CRT
|
||||
export LIST_CRT="Q_IC_REP"
|
||||
|
||||
export QM_STK=$QMCONFIG_STK
|
||||
export LIST_STK="FILE_SVC"
|
||||
|
||||
export QM_IC=$QMCONFIG_IC
|
||||
export LIST_IC="IC_QSP.SVC_ALRT_IC IC_QSP.Q_IC_ERR_RCP IC_QSP.IC_QSPERR IC_QSP.Q_IC_ERR_EMI"
|
||||
export DATE_ARCHIVAGE=`date +%Y\/%m\/%d`
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
#---- VARIABLES A POSITIONNER EN DUR
|
||||
#------------------------------------------------------------------------------
|
||||
export BIC_IC="BDFEFRT0XXX" #--- N'est pas utilise
|
||||
export CDE_BQ=90124 #--- var utilisee dans les batchs CRT (lance_crt_tfj)
|
||||
export BIC_CRT="XXXXXXXX"
|
||||
export BIC_CRISTAL="ZYAHFRT0XXX"
|
||||
export STE_ORACLE_SID=STEORA
|
||||
export USERDBAICCRT=dbadtar
|
||||
export USERDBASTELINK=dbadstl
|
||||
export HOME_LOGICIEL=/home/logiciel #-- cas de la prod
|
||||
|
||||
#-------------------GESTION CLUSTER PRIMAIRE ET SECOURS---------------------
|
||||
export SITE_PRIMAIRE=""
|
||||
export SITE_SECOURS=""
|
||||
export PKG_PRIMAIRE=hitargp2
|
||||
export PKG_SECOURS=hpint8
|
||||
export SITE_PRIMAIRE_N1=hpint15
|
||||
export SITE_PRIMAIRE_N2=hpint16
|
||||
export SITE_SECOURS_N1=hpint8
|
||||
export SITE_SECOURS_N2=hpint8
|
||||
export LP_SAFIRE_PRI=lpsafire_prim
|
||||
export LP_SAFIRE_SEC=lpsafire_sec
|
||||
export LP_SAFIRE=$LP_SAFIRE_PRI
|
||||
export CRT_OWNER=ops\$target0;
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# IC Env
|
||||
#----------------------------------------------------------------------------
|
||||
####################################################################
|
||||
######## ###################
|
||||
######## PARAMETRES D'ENVIRONNEMENT DE L'IC ###################
|
||||
######## ###################
|
||||
# Modifie le 09/09/1999, DST, CIMV
|
||||
# Ajout configuration lot C v2.5
|
||||
# Modifie le 26/04/2000, DST, CIMV
|
||||
# Ajout IC_REP_QSPACE_AVN pour IC v3
|
||||
####################################################################
|
||||
|
||||
# Path utilise pour la generation des IPC (ftok)
|
||||
export IPC_PATH_IC=${ICDIR}
|
||||
|
||||
export IC_USER=${TARGET_ID}
|
||||
export IC_DEVICE_QUE=${QMCONFIG_IC}
|
||||
export REP_IC_EXPL=$EXPLIC
|
||||
|
||||
####################################################################
|
||||
####### Logs ###################
|
||||
####################################################################
|
||||
|
||||
# Niveau de trace
|
||||
export IC_TRACE_LEVEL=20
|
||||
export IC_TRACE_LEVEL_MIN=0
|
||||
export IC_TRACE_LEVEL_MAX=20
|
||||
|
||||
|
||||
###################################################################
|
||||
####### Clients IC ###################
|
||||
###################################################################
|
||||
|
||||
|
||||
####### General ################################
|
||||
|
||||
# Shell de purge des clients IC, admet en parametre le nom du client a purger
|
||||
export SHELL_PURGE_CLI_IC=${ICDIR}/sh/killclient.sh
|
||||
|
||||
# QSPACE utilises par l'IC
|
||||
export IC_QSPACE=IC_QSP
|
||||
export IC_QSPACE_RCP=IC_QSP_RCP
|
||||
export IC_QSPACE_EMS=IC_QSP_EMS
|
||||
export IC_QSPACE_CNF=IC_QSP_CNF
|
||||
export IC_QSPACE_STK=IC_QSPEMSTK
|
||||
|
||||
# FILE d'émission vers Stelink (depuis Interlinking) utilise par l'IC
|
||||
export IC_QUEUE_EMI_STK=SVCIMPORTBDF
|
||||
|
||||
# FILE de reception (depuis Interlinking) utilise par l'IC
|
||||
export IC_QUEUE_RCP=RECEPTION_IC
|
||||
|
||||
# FILE de reprise en reception utilise par l'IC
|
||||
export IC_QUEUE_RCP_REP=Q_IC_RCP_REP
|
||||
|
||||
# FILE d'emission (vers Interlinking) utilise par l'IC
|
||||
#export IC_QUEUE_EMI=Q_IC_EMI
|
||||
export IC_QUEUE_EMI=EMISSION_IC
|
||||
|
||||
# FILE de reprise en emission utilisee par l'IC
|
||||
export IC_QUEUE_EMI_REP=Q_IC_EMI_REP
|
||||
|
||||
#Groupe utilise pour gerer les transactions
|
||||
export GROUPNAME_IC=GROUP_IC
|
||||
export GROUPNAME_IC=GROUP_DAVID
|
||||
|
||||
####### Client de supervision ###################
|
||||
|
||||
#Cltname utilise dans tpinit par les clients qui veulent recevoir les alertes duclient de supervision
|
||||
export CLTNAME_IC=IC
|
||||
|
||||
####### Scheduler ###################
|
||||
export CLIENT_SCHEDUL_LOG=${REP_IC_EXPL}/log/scheduler.log
|
||||
|
||||
####### Journal alerte ###################
|
||||
export IC_CHEMIN_JNL_ALERT=${REP_IC_EXPL}/log/journalAlerte.log
|
||||
|
||||
####### Client de test EOD ###################
|
||||
export HFJ_BIN=${ICDIR}/bin
|
||||
export HFJ_DATA=${ICDIR}/files
|
||||
export HFJ_LOG=${REP_IC_EXPL}/log/spv_alert.log
|
||||
export ALRT_LOG=${REP_IC_EXPL}/log/spv_alert.log
|
||||
export CLIENT_PIL_LOG=${REP_IC_EXPL}/log/client_pil_ic.log
|
||||
|
||||
####### Client de Statistiques Interlinking ###################
|
||||
export CONST_RAPPORT_LOG=${REP_IC_EXPL}/log/const_rapport.log
|
||||
|
||||
###################################################################
|
||||
####### Retrieval et Resynchro (cote Interlinking) ###########
|
||||
###################################################################
|
||||
|
||||
####### RETRIEVAL ###############################
|
||||
|
||||
#QSPACE de retrivial
|
||||
export RTV_QSP_EMI=IC_QSP_EMS
|
||||
export RTV_QSP_RCP=IC_QSP_RCP
|
||||
|
||||
# File de retrieval en reception
|
||||
export RTV_QPSM_RCP=SVC_RESYNC_RCP
|
||||
|
||||
# File de retrieval en emission
|
||||
export RTV_QPSM_EMI=SVC_RESYNC_EMI
|
||||
|
||||
# Service de retrieval stelink
|
||||
export SVC_EXPORT_SYN=SVCEXPORTSYN
|
||||
|
||||
# Service de retrieval IC
|
||||
export SVC_RTV=SVC_RTV
|
||||
|
||||
|
||||
####### RESYNCHRO ###############################
|
||||
|
||||
# Log du client de Resynchro
|
||||
export CLI_RESYNC_LOG=${REP_IC_EXPL}/log/cli_rsc.log
|
||||
|
||||
# File de discordance en emission
|
||||
export RTV_QDISC_EMI=SVC_DISC_EMI
|
||||
|
||||
# Service de resynchro en emission
|
||||
export SVC_RESYNC_RCP=SVC_RESYNC_RCP
|
||||
|
||||
# Service de resynchro en reception
|
||||
export SVC_RESYNC_EMI=SVC_RESYNC_EMI
|
||||
|
||||
#############################################################################
|
||||
|
||||
#############################################################################
|
||||
###### BASCULES FILE VERS FILE (Reprise et applicatives) ##############
|
||||
#############################################################################
|
||||
export IC_CLIENTS_BASCULE_FILE_FILE=EMS,RCP,CNF,TFJ,IMP,EXP,ALR,SOL,BIP
|
||||
|
||||
export IC_REP_GROUPNAME=GROUP_IC
|
||||
|
||||
#Parametrage reprise en EMISSION (EMS)
|
||||
export IC_REP_USRNAME_EMS=REPRISE_EMS
|
||||
export IC_REP_CLTNAME_EMS=BASCULE_REP
|
||||
export IC_REP_GRPNAME_EMS=GROUP_IC
|
||||
export IC_REP_QSPACE_EMS=IC_QSP_EMS
|
||||
export IC_REP_QSPACE_AVN=IC_QSP_EMS
|
||||
export IC_REP_QSPACE_ORIG_EMS=IC_QSP_EMS
|
||||
export IC_REP_QORIG_EMS=IC_QSP_EMS_ERR
|
||||
export IC_REP_QSPACE_DEST_EMS=IC_QSP_EMS
|
||||
export IC_REP_QDEST_EMS=EMISSION_IC
|
||||
export IC_REP_TIMER_EMS=30
|
||||
export IC_REP_NB_OCC_EMS=1
|
||||
export IC_REP_SH_START_EMS=ic_bascule_file
|
||||
export IC_REP_SH_STOP_EMS=${ICDIR}/sh/killclientbsc.sh
|
||||
|
||||
#Parametrage reprise en RECEPTION (RCP)
|
||||
export IC_REP_USRNAME_RCP=REPRISE_RCP
|
||||
export IC_REP_CLTNAME_RCP=BASCULE_REP
|
||||
export IC_REP_GRPNAME_RCP=GROUP_IC
|
||||
export IC_REP_QSPACE_RCP=IC_QSP_RCP
|
||||
export IC_REP_QSPACE_ORIG_RCP=IC_QSP_RCP
|
||||
export IC_REP_QORIG_RCP=IC_QSP_RCP_ERR
|
||||
export IC_REP_QSPACE_DEST_RCP=IC_QSP_RCP
|
||||
export IC_REP_QDEST_RCP=RECEPTION_IC
|
||||
export IC_REP_TIMER_RCP=30
|
||||
export IC_REP_NB_OCC_RCP=1
|
||||
export IC_REP_SH_START_RCP=ic_bascule_file
|
||||
export IC_REP_SH_STOP_RCP=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_RCP=${REP_IC_EXPL}/log/reprise_rcp.log
|
||||
|
||||
#Parametrage reprise en CONFIRMATION (CNF)
|
||||
export IC_REP_USRNAME_CNF=REPRISE_CNF
|
||||
export IC_REP_CLTNAME_CNF=BASCULE_REP
|
||||
export IC_REP_GRPNAME_CNF=GROUP_IC
|
||||
export IC_REP_QSPACE_CNF=IC_QSP_CNF
|
||||
export IC_REP_QSPACE_ORIG_CNF=IC_QSP_CNF
|
||||
export IC_REP_QORIG_CNF=IC_QSP_CNF_ERR
|
||||
export IC_REP_QSPACE_DEST_CNF=IC_QSP_CNF
|
||||
export IC_REP_QDEST_CNF=CONFIRM_IC
|
||||
export IC_REP_TIMER_CNF=30
|
||||
export IC_REP_NB_OCC_CNF=1
|
||||
export IC_REP_SH_START_CNF=ic_bascule_file
|
||||
export IC_REP_SH_STOP_CNF=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_CNF=${REP_IC_EXPL}/log/reprise_cnf.log
|
||||
|
||||
#Parametrage reprise en EXPORT (EXP)
|
||||
export IC_REP_USRNAME_EXP=REPRISE_EXP
|
||||
export IC_REP_CLTNAME_EXP=BASCULE_REP
|
||||
export IC_REP_GRPNAME_EXP=GROUP_IC
|
||||
export IC_REP_QSPACE_EXP=IC_QSP_EXP
|
||||
export IC_REP_QSPACE_ORIG_EXP=IC_QSP_EXP
|
||||
export IC_REP_QORIG_EXP=IC_QSP_EXP_ERR
|
||||
export IC_REP_QSPACE_DEST_EXP=IC_QSP_EXP
|
||||
export IC_REP_QDEST_EXP=SVC_EXP_IC
|
||||
export IC_REP_TIMER_EXP=30
|
||||
export IC_REP_NB_OCC_EXP=1
|
||||
export IC_REP_SH_START_EXP=ic_bascule_file
|
||||
export IC_REP_SH_STOP_EXP=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_EXP=${REP_IC_EXPL}/log/reprise_exp.log
|
||||
|
||||
#Parametrage reprise en IMPORT (IMP)
|
||||
export IC_REP_USRNAME_IMP=REPRISE_IMP
|
||||
export IC_REP_CLTNAME_IMP=BASCULE_REP
|
||||
export IC_REP_GRPNAME_IMP=GROUP_IC
|
||||
export IC_REP_QSPACE_IMP=IC_QSP_IMP
|
||||
export IC_REP_QSPACE_ORIG_IMP=IC_QSP_IMP
|
||||
export IC_REP_QORIG_IMP=IC_QSP_IMP_ERR
|
||||
export IC_REP_QSPACE_DEST_IMP=IC_QSP_IMP
|
||||
export IC_REP_QDEST_IMP=Q_CRT_RES
|
||||
export IC_REP_TIMER_IMP=30
|
||||
export IC_REP_NB_OCC_IMP=1
|
||||
export IC_REP_SH_START_IMP=ic_bascule_file
|
||||
export IC_REP_SH_STOP_IMP=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_IMP=${REP_IC_EXPL}/log/reprise_imp.log
|
||||
|
||||
#Parametrage reprise en Traitement Fin de Journee (TFJ)
|
||||
export IC_REP_USRNAME_TFJ=REPRISE_TFJ
|
||||
export IC_REP_CLTNAME_TFJ=BASCULE_REP
|
||||
export IC_REP_GRPNAME_TFJ=GROUP_IC
|
||||
export IC_REP_QSPACE_TFJ=IC_QSP_TFJ
|
||||
export IC_REP_QSPACE_ORIG_TFJ=IC_QSP_TFJ
|
||||
export IC_REP_QORIG_TFJ=IC_QSP_TFJ_ERR
|
||||
export IC_REP_QSPACE_DEST_TFJ=IC_QSP_TFJ
|
||||
export IC_REP_QDEST_TFJ=SPV_SVC_TEST
|
||||
export IC_REP_TIMER_TFJ=30
|
||||
export IC_REP_NB_OCC_TFJ=1
|
||||
export IC_REP_SH_START_TFJ=ic_bascule_file
|
||||
export IC_REP_SH_STOP_TFJ=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_TFJ=${REP_IC_EXPL}/log/reprise_tfj.log
|
||||
|
||||
#Parametrage reprise en Alerte (ALR)
|
||||
export IC_REP_USRNAME_ALR=REPRISE_ALR
|
||||
export IC_REP_CLTNAME_ALR=BASCULE_REP
|
||||
export IC_REP_GRPNAME_ALR=GROUP_IC
|
||||
export IC_REP_QSPACE_ALR=IC_QSP_ALR
|
||||
export IC_REP_QSPACE_ORIG_ALR=IC_QSP_ALR
|
||||
export IC_REP_QORIG_ALR=IC_QSP_ALR_ERR
|
||||
export IC_REP_QSPACE_DEST_ALR=IC_QSP_ALR
|
||||
export IC_REP_QDEST_ALR=SVC_ALRT
|
||||
export IC_REP_TIMER_ALR=30
|
||||
export IC_REP_NB_OCC_ALR=1
|
||||
export IC_REP_SH_START_ALR=ic_bascule_file
|
||||
export IC_REP_SH_STOP_ALR=${ICDIR}/sh/killclientbsc.sh
|
||||
export IC_REP_LOG_ALR=${REP_IC_EXPL}/log/reprise_alr.log
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#-------------------------------------------------------------------
|
||||
#-------- Variables d'environnement pour le service SVC_RTV
|
||||
#-------- et la resynchro ------------------------------------------
|
||||
#-------------------------------------------------------------------
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
export IC_RTV_QSPACE_EMS=IC_QSP_EMS
|
||||
export IC_RTV_QSTOCK_EMS=IC_QSP_EMS_ERR
|
||||
export IC_RTV_QPSM_EMS=SVC_RESYNC_EMI
|
||||
export IC_RTV_QERR_EMS=IC_QSP_ERR_ERR
|
||||
|
||||
export IC_RTV_QSPACE_RCP=IC_QSP_RCP
|
||||
export IC_RTV_QSTOCK_RCP=IC_QSP_RCP_ERR
|
||||
export IC_RTV_QPSM_RCP=SVC_RESYNC_RCP
|
||||
export IC_RTV_QERR_RCP=IC_QSP_RCP_ERR
|
||||
|
||||
export RTV_CATALOG=${ICDIR}/bin/CatErrRtv
|
||||
|
||||
# gestion des alarmes
|
||||
export IC_CHEMIN_ALARME_TARGET=${REP_IC_EXPL}/log/ALARME_TARGET
|
||||
export IC_REP_QSPACE_AVN=IC_QSP_EMS
|
||||
export IC_EXPQREPRISE=Q_REP_SECOURS
|
||||
|
||||
#gestion du pilotage bancaire
|
||||
export IC_REP_QSPACE_PIL=IC_QSP_PIL
|
||||
export SVC_PIL_IC=SVC_PIL_IC
|
||||
|
||||
# Version 5.1.0
|
||||
export CONST_RAPPORT_LOG=$LOGDIRIC/const_rapport.out
|
||||
export IC_CHEMIN_JNL_ALERT=${REP_IC_EXPL}/log/journalAlerte.log
|
||||
export CLIENT_SCHEDUL_LOG=${LOGDIRIC}/scheduler.log
|
||||
####### RESYNCHRO ###############################
|
||||
|
||||
#Event des fins de phases
|
||||
export CHGT_PHASE_RESYNC_EVENT=changement_phase_resync
|
||||
|
||||
#Chemin du client de chgt de phase
|
||||
export CLI_SCAN_RESYNC_DIR=$APPDIR
|
||||
|
||||
#Nom du client de chgt de phase
|
||||
export CLI_SCAN_RESYNC_EXE=ic_scan_resync
|
||||
####### Client scan resynchro ###################
|
||||
export IC_SCAN_RESYNC_LOG=${REP_IC_EXPL}/log/ic_scan_resync.log
|
||||
|
||||
#Event des fins de phases
|
||||
export CHGT_PHASE_RESYNC_EVENT=changement_phase_resync
|
||||
|
||||
#Chemin du client de chgt de phase
|
||||
export CLI_SCAN_RESYNC_DIR=$APPDIR
|
||||
|
||||
#Nom du client de chgt de phase
|
||||
export CLI_SCAN_RESYNC_EXE=ic_scan_resync
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=${APPDIR}:$EXPL_SCRIPTS:$CERTIF_SCRIPTS
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=${ICDIR}/sl:${APPDIR}
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
|
||||
fldtbldir=$ENVDIRIC
|
||||
export FLDTBLDIR=$(envmng_path_add "$FLDTBLDIR" "$fldtbldir")
|
||||
export FLDTBLDIR32=$(envmng_path_add "$FLDTBLDIR32" "$fldtbldir")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
#---------------------------------------------------------------------------
|
||||
#-- ALIAS PRATIQUES (SCOPE) ------------------------------------------------
|
||||
#---------------------------------------------------------------------------
|
||||
alias s="cd $STELINKDIR ; pwd"
|
||||
alias ma="cd /home/${TARGET_ID}/appli/expl/masterisation/master ; pwd"
|
||||
alias l="ls -la"
|
||||
alias lt="ls -lt | head -15"
|
||||
alias lst="ls -t | head -20"
|
||||
alias dlog=" ls -l $UTILDIR/logs/purge_defrag.log ; tail $UTILDIR/logs/purge_defrag.log"
|
||||
alias log="cd /home/$TARGET_ID/appli/expl/tuxedo/log ; ls -lt | head -15"
|
||||
alias v="cd $HOME/schv ; ls -lt | head -15"
|
||||
alias s="cd $STELINKDIR ; ls -lt | head -15"
|
||||
alias bin="cd $EXPL_SCRIPTS ; ls -lt | head -15"
|
||||
alias calend="calendrier.sh"
|
||||
alias vj="vi $DATADIR/crtpurge/99780_tfj.log ; ls -l $DATADIR/crtpurge/99780_tfj.log"
|
||||
alias tj="tail -f $DATADIR/crtpurge/99780_tfj.log "
|
||||
alias m="make"
|
||||
alias vm="vi [Mm]akefile"
|
||||
alias vv="vi verif.c"
|
||||
alias cal="calendrier.sh"
|
||||
alias tux='cd `dirname $TUXCONFIG` ; ls -l'
|
||||
alias lf='ls -F'
|
||||
alias bat='cd $BAT; pwd ; ls -lt | head -6 ; pwd'
|
||||
|
||||
#--- Execution du .alias commun -------
|
||||
alias tux="cd ~/ic/appli/tuxedo"
|
||||
alias tuxc="cd ~/appli/expl/tuxedo/config"
|
||||
alias tuxb="cd ~/ic/appli/bin"
|
||||
alias tuxe="cd ~/ic/appli/env"
|
||||
alias tuxf="cd ~/ic/appli/files"
|
||||
alias tuxl="cd ~/ic/expl/log"
|
||||
alias tuxs="cd ~/ic/appli/sh"
|
||||
alias tuxt="cd ~/ic/appli/tls"
|
||||
alias tuxts="cd ~/ic/appli/tls/sh"
|
||||
alias qvide2.sh="~/ic/appli/tls/sh/qvide2.sh"
|
||||
alias start_tux="~/ic/appli/tls/sh/start_tux"
|
||||
alias stop_tux="~/ic/appli/tls/sh/stop_tux"
|
||||
alias viul="~/ic/appli/tls/sh/viul.sh"
|
||||
alias tlul="~/ic/appli/tls/sh/tlul.sh"
|
||||
alias viic="~/ic/appli/tls/sh/viic.sh"
|
||||
alias tm="tmadmin"
|
||||
alias qm="qmadmin"
|
||||
alias cn="~/ic/appli/tls/sh/clinor.sh"
|
||||
alias ct="~/ic/appli/tls/sh/clithe.sh"
|
||||
alias or="~/ic/appli/tls/sh/clioli.sh"
|
||||
alias dv="~/ic/appli/tls/sh/clidav.sh"
|
||||
alias rg="~/ic/appli/tls/sh/clireg.sh"
|
||||
alias pa="~/ic/appli/tls/sh/clipad.sh"
|
||||
alias dp="~/ic/appli/tls/sh/clidpa.sh"
|
||||
alias ol="~/ic/appli/tls/sh/cliroq.sh"
|
||||
alias da="~/ic/appli/tls/sh/clidan.sh"
|
||||
alias ra="~/ic/appli/tls/sh/clirac.sh"
|
||||
alias ev="~/ic/appli/tls/sh/clieve.sh"
|
||||
alias clideq="~/ic/appli/bin/client_dequeue"
|
||||
alias vrcpo="vi ~/ic/appli/log/svr_rcp_ic.out"
|
||||
alias vrcpe="vi ~/ic/appli/log/svr_rcp_ic.err"
|
||||
alias vemio="vi ~/ic/appli/log/svr_emi_ic.out"
|
||||
alias vemie="vi ~/ic/appli/log/svr_emi_ic.err"
|
||||
alias vcnfo="vi ~/ic/appli/log/svr_cnf_ic.out"
|
||||
alias vcnfe="vi ~/ic/appli/log/svr_cnf_ic.err"
|
||||
alias vsqlo="vi ~/ic/appli/log/svr_sql_ic.out"
|
||||
alias vsqle="vi ~/ic/appli/log/svr_sql_ic.err"
|
||||
alias vexpo="vi ~/ic/appli/log/svr_exp_ic.out"
|
||||
alias vexpe="vi ~/ic/appli/log/svr_exp_ic.err"
|
||||
alias vimpo="vi ~/ic/appli/log/svr_imp_ic.out"
|
||||
alias vimpe="vi ~/ic/appli/log/svr_imp_ic.err"
|
||||
alias vtfjo="vi ~/ic/appli/log/svr_tfj_ic.out"
|
||||
alias vtfje="vi ~/ic/appli/log/svr_tfj_ic.err"
|
||||
alias vspv="vi ~/ic/appli/log/cli_spv_ic.log"
|
||||
alias valr="vi ~/ic/appli/log/spv_alert.log"
|
||||
alias pc="ps -def|grep dbadtarg"
|
||||
alias mip="ipcs|grep dbadtarg"
|
||||
alias sqlp="sqlplus /"
|
||||
alias lf="ls -F"
|
||||
alias nettoie="~/ic/appli/tls/sh/nettoie.sh"
|
||||
alias nor="cd ~/ic/appli/tls/tst/nordine/data"
|
||||
alias the="cd ~/ic/appli/tls/tst/thierry/data"
|
||||
alias dav="cd ~/ic/appli/tls/tst/david/data"
|
||||
alias oli="cd ~/ic/appli/tls/tst/olivier/data"
|
||||
alias reg="cd ~/ic/appli/tls/tst/regis/data"
|
||||
alias pad="cd ~/ic/appli/tls/tst/pad/data"
|
||||
alias dan="cd ~/ic/appli/tls/tst/dan/data"
|
||||
alias dpa="cd ~/ic/appli/tls/tst/dpa/data"
|
||||
alias rac="cd ~/ic/appli/tls/tst/rachid/data"
|
||||
alias eve="cd ~/ic/appli/tls/tst/evelyne/data"
|
||||
alias deq="~/ic/appli/tls/bin/client_test_dequeue"
|
||||
|
||||
# #--- Execution des .alias prives
|
||||
# TTY=`tty | sed 's/^\/dev\///'`
|
||||
# ADR=`who -a | grep $TTY | awk '{ print $8 }'`
|
||||
# if [ -f $ICDIR/tls/.alias.${ADR} ]
|
||||
# then
|
||||
# . $ICDIR/tls/.alias.${ADR}
|
||||
# fi
|
||||
|
||||
alias vic="vi $CERTIF_SCRIPTS/injecteur04.sh"
|
||||
alias mod="cd $CERTIFDIR/modeles04 ; ls -lt | head ; pwd"
|
||||
alias sc="cd $CERTIFDIR/nonreg/scenarios ; ls -lt | head ; pwd"
|
||||
alias cer="cd $CERTIFDIR ; ls -lt | head ; pwd"
|
||||
alias cs="cd $CERTIF_SCRIPTS ; ls -lt | head ; pwd"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: imr,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IMR (Interlinking Message Router) application
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
|
||||
|
35
etc/envmng.d/java13-32
Normal file
35
etc/envmng.d/java13-32
Normal file
@ -0,0 +1,35 @@
|
||||
# $RCSfile: java13-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 1.3 (JDK/JRE) 32bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java131
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
classpath=.
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
35
etc/envmng.d/java13-64
Normal file
35
etc/envmng.d/java13-64
Normal file
@ -0,0 +1,35 @@
|
||||
# $RCSfile: java13-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 1.3 (JDK/JRE) 64bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java13_64
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
classpath=.
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
35
etc/envmng.d/java14-32
Normal file
35
etc/envmng.d/java14-32
Normal file
@ -0,0 +1,35 @@
|
||||
# $RCSfile: java14-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 1.4 (JDK/JRE) 32bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java14
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
classpath=.
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
35
etc/envmng.d/java14-64
Normal file
35
etc/envmng.d/java14-64
Normal file
@ -0,0 +1,35 @@
|
||||
# $RCSfile: java14-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 1.4 (JDK/JRE) 64bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java14_64
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
classpath=.
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
35
etc/envmng.d/java5-64
Normal file
35
etc/envmng.d/java5-64
Normal file
@ -0,0 +1,35 @@
|
||||
# $RCSfile: java5-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM Java 5 (JDK/JRE) 64bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export JAVA_HOME=/usr/java5_64
|
||||
export JDK_HOME=$JAVA_HOME
|
||||
export JRE_HOME=$JAVA_HOME/jre
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$JDK_HOME/bin:$JRE_HOME/bin
|
||||
classpath=.
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
24
etc/envmng.d/migtt2
Normal file
24
etc/envmng.d/migtt2
Normal file
@ -0,0 +1,24 @@
|
||||
# $RCSfile: migtt2,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: MigTT2 Project
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PROJECT_ID=migtt2
|
||||
export PROJECT_HOME=/home/$PROJECT_ID
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: mqm32,v $
|
||||
# $RCSfile: mqm-32,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM MQSeries 32 bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export MQM_HOME=/opt/mqm
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: mqm64,v $
|
||||
# $RCSfile: mqm-64,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM MQSeries 64 bits
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export MQM_HOME=/opt/mqm
|
46
etc/envmng.d/ora10
Normal file
46
etc/envmng.d/ora10
Normal file
@ -0,0 +1,46 @@
|
||||
# $RCSfile: ora10,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 16:59:17 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 10
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora10204
|
||||
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
|
||||
export NLS_LANG=french_france.utf8
|
||||
export NLS_SORT=BINARY
|
||||
export ORACLE_TERM=vt100
|
||||
# export ORACLE_RM=Oracle_XA_9
|
||||
|
||||
export FS01=$PROJECT_HOME/${PROJECT_ID}1
|
||||
export FS02=$PROJECT_HOME/${PROJECT_ID}2
|
||||
export FS03=$PROJECT_HOME/${PROJECT_ID}3
|
||||
|
||||
export ORACLE_SID=$(/usr/bin/awk "BEGIN {print toupper(\"$PROJECT_ID\")}")
|
||||
export BASE=$ORACLE_HOME/dbs/sgadef${ORACLE_SID}.dbf
|
||||
# export CONFIGORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target/init
|
||||
# export EXPLORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$ORACLE_HOME/bin
|
||||
libpath=$ORACLE_HOME/lib32:$ORACLE_HOME/lib
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export LIBPATH=$(envmng_path_add "$LIBPATH" "$libpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: ora817a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 8.17a
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora817a
|
||||
|
@ -1,36 +0,0 @@
|
||||
# $RCSfile: ora920,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora920
|
||||
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
|
||||
export NLS_LANG=american_america.we8iso8859p1
|
||||
export NLS_SORT=BINARY
|
||||
export ORACLE_TERM=vt100
|
||||
export ORACLE_RM=Oracle_XA_9
|
||||
|
||||
export ORACLE_SID=$(/usr/bin/awk "BEGIN {print toupper(\"$TARGET_ID\")}")
|
||||
export CONFIGORAIC=$TARGET_HOME/appli/expl/oracle/ora_target/init
|
||||
export EXPLORAIC=$TARGET_HOME/appli/expl/oracle/ora_target
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$ORACLE_HOME/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=$ORACLE_HOME/lib
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: ora920a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Oracle 9.20a
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export ORACLE_HOME=/home/logiciel/oracle/ora920a
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: purify,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Purify
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/opt/rational/releases/PurifyPlusFamily.2003.06.00/hppa_hpux/bin
|
||||
|
||||
manpath=/opt/rational/releases/purify.hp.2003.06.00/man
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: pvcs,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: PVCS
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PVCS_BINDIR=/home/pvcs/vm/hpux11.00/bin
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: shell,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Shell default configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case $BASH in
|
||||
*bash)
|
||||
shell=$BASH
|
||||
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: snav,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: SNAV Source Naviguator
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/home/dtarget/sourcenav/bin
|
||||
|
||||
manpath=/home/dtarget/sourcenav/man
|
||||
|
@ -1,39 +0,0 @@
|
||||
# $RCSfile: stk,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export STELINKDIR=$TARGET_HOME/stelink/appli
|
||||
export EXPLORASTK=$TARGET_HOME/appli/expl/oracle/ora_steora
|
||||
export CONFIGORASTK=$TARGET_HOME/appli/expl/oracle/ora_steora/init
|
||||
export EXPLSTK=$TARGET_HOME/stelink/expl
|
||||
export DATASTK=$TARGET_HOME/stelink/database/data
|
||||
export DATABASESTK=$TARGET_HOME/stelink/database
|
||||
export LOGDIRSTK=$EXPLSTK/log
|
||||
export PROC_EXPL_STK=$EXPLSTK/proc
|
||||
export UTILDIR=$STELINKDIR/util
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# LIVRAISON BACKUP APPLI SOURCE LST
|
||||
#----------------------------------------------------------------------------
|
||||
export LIVRAISONSTK=$TARGET_HOME/livraison/stelink
|
||||
export BACKUPSTK=$TARGET_HOME/backup/stelink
|
||||
export APPLISTK=$TARGET_HOME/stelink/appli
|
||||
export LSTDIRSTK=$EXPLSTK/lst
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Tuxedo Queue Config
|
||||
#----------------------------------------------------------------------------
|
||||
export QMCONFIG_STK=$TARGET_HOME/stelink/qspace/QUE
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,43 +0,0 @@
|
||||
# $RCSfile: system,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
path=/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/perf/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin:/opt/cxperf/bin:/opt/scr/bin:/opt/graphics/common/bin:/opt/STK/bin:/opt/seos/bin
|
||||
|
||||
shlib_path=/usr/lib
|
||||
|
||||
manpath=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/mqm/man:/opt/audio/share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/imake/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/cxperf/share/man:/opt/scr/share/man:/opt/graphics/common/man:/opt/EMCpower/share:/opt/STK/share/man
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,9 +1,14 @@
|
||||
# $RCSfile: tux80,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.2 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: Tuxedo 8.0
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TUXDIR=/home/logiciel/tuxedo/tuxedo80
|
||||
|
@ -1,37 +0,0 @@
|
||||
# $RCSfile: tux80a,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export TUXDIR=/home/logiciel/tuxedo/tuxedo80a
|
||||
export EXPLTUX=$TARGET_HOME/appli/expl/tuxedo
|
||||
export CONFIGTUX=$EXPLTUX/config
|
||||
export TUXCONFIG=$CONFIGTUX/tuxconfig
|
||||
export LOGTUX=$EXPLTUX/log
|
||||
export FSCONFIG=$CONFIGTUX/tlog/TLOG
|
||||
|
||||
export FIELDTBLS=tpadm,evt_mib,std.fml,field.fml
|
||||
export FIELDTBLS32=$FIELDTBLS
|
||||
export FLDTBLDIR=$TUXDIR/udataobj
|
||||
export FLDTBLDIR32=$FLDTBLDIR
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$TUXDIR/bin
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
|
||||
shlib_path=$TUXDIR/lib
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,36 +1,85 @@
|
||||
# $RCSfile: user,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.3 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 16:59:17 $
|
||||
# $Author: agibert $
|
||||
|
||||
path=.:~/bin
|
||||
|
||||
shlib_path=~/lib
|
||||
|
||||
manpath=~/man
|
||||
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: User configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
set -o emacs
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=.:~/bin
|
||||
libpath=~/lib
|
||||
manpath=~/man
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$man_path")
|
||||
|
||||
export EDITOR=xemacs
|
||||
export PAGER=less
|
||||
if $( which xemacs >/dev/null )
|
||||
then
|
||||
export EDITOR=xemacs
|
||||
else
|
||||
export EDITOR=vi
|
||||
fi
|
||||
|
||||
if $( which less >/dev/null )
|
||||
then
|
||||
export PAGER=less
|
||||
else
|
||||
export PAGER=more
|
||||
fi
|
||||
|
||||
set -o emacs
|
||||
# set -o vi
|
||||
;;
|
||||
|
||||
*rc)
|
||||
export PS1="$(hostname)(\$LOGNAME)[\$ENVMNG_ID]\$PWD> "
|
||||
tty_bold="$(tput bold)"
|
||||
tty_off="$(tput rmso)"
|
||||
tty_c1="$(tput setf 1)"
|
||||
tty_c2="$(tput setf 2)"
|
||||
tty_c3="$(tput setf 3)"
|
||||
tty_c4="$(tput setf 4)"
|
||||
tty_c5="$(tput setf 5)"
|
||||
tty_c6="$(tput setf 6)"
|
||||
tty_c7="$(tput setf 7)"
|
||||
|
||||
case $shell in
|
||||
*bash)
|
||||
tty_bold="\[${tty_bold}\]"
|
||||
tty_off="\[${tty_off}\]"
|
||||
tty_c1="\[${tty_c1}\]"
|
||||
tty_c2="\[${tty_c2}\]"
|
||||
tty_c3="\[${tty_c3}\]"
|
||||
tty_c4="\[${tty_c4}\]"
|
||||
tty_c5="\[${tty_c5}\]"
|
||||
tty_c6="\[${tty_c6}\]"
|
||||
tty_c7="\[${tty_c7}\]"
|
||||
;;
|
||||
|
||||
*ksh)
|
||||
;;
|
||||
esac
|
||||
|
||||
# export PS1="$(hostname)(\$LOGNAME)[\$ENVMNG_ID]\$PWD> "
|
||||
# export PS1="${tty_c1}> ${tty_c3}"
|
||||
export PS1="${tty_bold}${tty_c3}$(hostname)${tty_c1}(${tty_c4}\$LOGNAME${tty_c1})${tty_c3}[${tty_c6}\$ENVMNG_ID${tty_c3}]${tty_c2}\$PWD${tty_c3}>${tty_off} "
|
||||
|
||||
alias env-migtt2='envmng -S migtt2-gnu'
|
||||
alias env-dtarget='envmng -S dtarget-gnu'
|
||||
alias env-d2target='envmng -S d2target-gnu'
|
||||
alias env-ksh='envmng --ksh'
|
||||
alias env-bash='envmng --bash'
|
||||
|
||||
set -o emacs
|
||||
# set -o vi
|
||||
;;
|
||||
|
||||
*)
|
||||
|
33
etc/envmng.d/vac
Normal file
33
etc/envmng.d/vac
Normal file
@ -0,0 +1,33 @@
|
||||
# $RCSfile: vac,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM VAC C compiler
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export VAC_HOME=/usr/vac
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
path=$VAC_HOME/bin
|
||||
manpath=$VAC_HOME/man/%L
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
53
etc/envmng.d/was6
Normal file
53
etc/envmng.d/was6
Normal file
@ -0,0 +1,53 @@
|
||||
# $RCSfile: was6,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 17:05:52 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: IBM WAS 6
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export WAS_HOME=/home/logiciel/was/was6/AppServer
|
||||
|
||||
export ITP_LOC=$WAS_HOME/deploytool/itp
|
||||
export PROFILE_REGISTRY_LOC=$WAS_HOME/properties/fsdb
|
||||
|
||||
export WAS_LIBPATH=$WAS_HOME/bin
|
||||
export WAS_EXT_DIRS=$JAVA_HOME/lib:$WAS_HOME/classes:$WAS_HOME/lib:$WAS_HOME/installedChannels:$WAS_HOME/lib/ext:$WAS_HOME/web/help:$ITP_LOC/plugins/com.ibm.etools.ejbdeploy/runtime
|
||||
export WAS_CLASSPATH=$WAS_HOME/properties:$WAS_HOME/lib/bootstrap.jar:$WAS_HOME/lib/j2ee.jar:$WAS_HOME/lib/lmproxy.jar:$WAS_HOME/lib/urlprotocols.jar
|
||||
|
||||
export DEFAULT_PROFILE_SCRIPT=$WAS_HOME/properties/fsdb/_was_profile_default/default.sh
|
||||
|
||||
export CONFIG_ROOT=$WAS_HOME/config
|
||||
export SERVERSAS=-Dcom.ibm.CORBA.ConfigURL=file:$WAS_HOME/properties/sas.server.props
|
||||
export CLIENT_CONNECTOR_INSTALL_ROOT=$WAS_HOME/installedConnectors
|
||||
export WAS_LOGGING="-Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Djava.util.logging.configureByServer=true"
|
||||
export QUALIFYNAMES=-qualifyHomeName
|
||||
|
||||
export CLOUDSCAPE_HOME=$WAS_HOME/cloudscape
|
||||
export DERBY_HOME=$WAS_HOME/derby
|
||||
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# PATH definitions
|
||||
#----------------------------------------------------------------------------
|
||||
path=$WAS_HOME/bin:$WAS_HOME/../HTTPServer/bin
|
||||
libpath=$WAS_HOME/../HTTPServer/lib
|
||||
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export LIBPATH=$(envmng_path_add "$LIBPATH" "$libpath")
|
||||
;;
|
||||
|
||||
*rc)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
@ -1,10 +1,19 @@
|
||||
# $RCSfile: envmng_id,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Revision: 1.3 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Date: 2009/01/13 17:32:17 $
|
||||
# $Author: agibert $
|
||||
|
||||
dtarget: user:shell:imr:ic:cristal:stk:ora920a:tux80:mqm64:dtarget:snav:pvcs:purify:64bits:system:gnu
|
||||
dtarget-gnu: user:gnu:shell:imr:ic:cristal:stk:ora920a:tux80:mqm64:dtarget:snav:pvcs:purify:64bits:system
|
||||
d2target: user:shell:imr:ic:cristal:stk:ora817a:tux80a:mqm32:d2target:snav:pvcs:purify:32bits:system:gnu
|
||||
d2target-gnu: user:gnu:shell:imr:ic:cristal:stk:ora817a:tux80a:mqm32:d2target:snav:pvcs:purify:32bits:system
|
||||
# HP/UX Example
|
||||
dtarget: user:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system:gnu
|
||||
dtarget-gnu: user:gnu:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system
|
||||
d2target: user:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system:gnu
|
||||
d2target-gnu: user:gnu:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system
|
||||
|
||||
# AIX Example
|
||||
migtt2: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
|
||||
migtt2-gnu: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
|
||||
migtt2-64: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
|
||||
migtt2-g64: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
|
||||
migtt2-32: user:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system:gnu
|
||||
migtt2-g32: user:gnu:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system
|
||||
|
8
etc/skel/.dtprofile
Normal file
8
etc/skel/.dtprofile
Normal file
@ -0,0 +1,8 @@
|
||||
# $RCSfile: .dtprofile,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 09:35:01 $
|
||||
# $Author: agibert $
|
||||
|
||||
. /usr/local/etc/envmng_dtprofile d2target-gnu bash
|
||||
#. /usr/local/etc/envmng_dtprofile d2target-gnu ksh
|
10
etc/skel/.profile
Normal file
10
etc/skel/.profile
Normal file
@ -0,0 +1,10 @@
|
||||
# $RCSfile: .profile,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 09:35:01 $
|
||||
# $Author: agibert $
|
||||
|
||||
clear
|
||||
|
||||
. /usr/local/etc/etc/envmng_profile d2target-gnu bash
|
||||
#. /usr/local/etc/envmng_profile d2target ksh
|
Loading…
Reference in New Issue
Block a user