Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kapusta1152 on January 28, 2010, 03:56:37 AM
-
Hello All,
I need some clarification regarding where to place startup scripts for Genesys
applications on Red Hat Linux.
One place obviously is /etc/init.d in order to start applications after server reboot..
Other place is /apps/genesys/gcti where all applications were installed.
The third place /etc/genesys is rather vague for me? I saw some installations
where Genesys start and shutdown scripts were placed in /etc/genesys directory.
Is /etc/genesys/genesys_start.sh really necessary?
Thanks,
-
I can't talk about Red Hat, but UNIX is UNIX right? So on Solaris I would put scripts in /apps/genesys/gcti called <application>_run. Our are written to give start, stop and status functionality, but start is enough as you can use SCI to stop and see the status anyway.
With a second in the same place called restart_genesys
[code]For FILES in `ls /apps/genesys/gcti/*_run`
do
$FILES start
done[/code]
This allows you to start everything with a single command.
Then in /etc/RC3.d i would add 2 scripts (I'm not sure if you get an RC3 on Red-Hat, you might have to use init.d) -
S96LCA_start
[code]su genesys "/apps/genesys/gcti/lca_run start"[/code]
S97genesys_start
[code]su genesys "/apps/genesys/gcti/restart_genesys"[/code]
The first one ensures that LCA is up before the other apps start so you can monitor them in SCI. On your config server you need to tweak this a bit to ensure your DB-Server is up before you kick off Config Server