Is it possible to automate checks that are done via SCI?
So for instance I restart all solutions in our dev platform in the morning and then check all application statuses after that.
I was hoping to either run one XML or Powershell script for both jobs or 2 individual scripts. I would like to run them as a scheduled task so I can just come in and find it in an email.
Within Genesys it is not possible, but it is up to you if you write some own mechanism which will do what you want to achieve. But, personally I never recommend and suggest to do automated restarts within Genesys env or something similiar.
Yeah that is kind of what I am looking for but I would like to automate the time it runs if possible. Scheduled Task.
I have been looking over the PSDK today but it’s like reading another language. Not great at coding at all, finding the best coding to use is going to be difficult. PSDK appears to indicate using c#.
From what I am understanding from the PSDK is that I want to be using Protocol Manager and Application Blocks. I think I also want to be using Service Manager as well.
Command line tool that allows you to start/stop application/solution or get status of application/solution is available starting Genesys release 8. You can find this tool - mlcmd - in Solution Control Server installation folder. All supported commands are described in Framework 8.x Management Layer User’s Guide.
Below is sample output from the tool (request for status of ‘rut_urs’ application):
[cti@centos5 /GCTI8/mng/mng_scs]$ ./mlcmd_64 -cshost centos5 -csport 2020 -csappname default -csuser default -cspassword password -getappstatus rut_urs
(conn_adjust_rlimit) max=1024, current=1024 → 1024(max) ok
addp-trace off
(addp_xconfig) local OFF, remote OFF, trace off
._02/25/14 21:31:51.2120_resolving of host name ‘centos5’
._21:31:51.2128_name ‘centos5’ resolved
rut_urs
Application with DBID 108 has status “APP_STATUS_RUNNING”, runmode “PRIMARY”