Startup scripts for Genesys applications on Linux Red Hat.

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 _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

For FILES in `ls /apps/genesys/gcti/*_run`
do
$FILES start
done

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

su genesys "/apps/genesys/gcti/lca_run start"

S97genesys_start

su genesys "/apps/genesys/gcti/restart_genesys"

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

2 Likes