" /> Startup scripts for Genesys applications on Linux Red Hat. - Genesys CTI User Forum

Author Topic: Startup scripts for Genesys applications on Linux Red Hat.  (Read 5185 times)

Offline kapusta1152

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Startup scripts for Genesys applications on Linux Red Hat.
« on: January 28, 2010, 03:56:37 AM »
Advertisement
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,



Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: Startup scripts for Genesys applications on Linux Red Hat.
« Reply #1 on: January 28, 2010, 11:53:27 AM »
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