Author Topic: Configuration Parameters.... Simple Question! :)  (Read 5409 times)

tony

  • Guest
Configuration Parameters.... Simple Question! :)
« on: November 23, 2009, 03:28:27 PM »
Hi all,

So, if I were put this in my SCS Applications' Start-Up parameters;

[color=blue]-host [i]hostname [/i] -port [i]2020 [/i] -app [i]SCS[/i] -l [i]"7260@licenseserver1:7260@licenseserver2"[/i][/color]

Instead of this;

[color=blue]-host [i]hostname[/i] -port [i]2020[/i] -app [i]"SCS" [/i] -l [i]"7260@licenseserver1:7260@licenseserver2"[/i][/color]

...what would you expect, as a result?

And I really do have a [i]Kit Kat [/i] in my top drawer... :)

Thanks!

Tony

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Configuration Parameters.... Simple Question! :)
« Reply #1 on: November 23, 2009, 03:57:05 PM »
  • Best Answer
  • I'd expect to search a service named "SCS" and if it doesn't exists will fail or behave strangely...

    tony

    • Guest
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #2 on: November 23, 2009, 04:02:07 PM »
  • Best Answer
  • Thanks cav - my thoughts too - or the Application will start and LCA/SCS/SCI will not capture it correctly - or it will not start/stop correclty from SCI... or something like that...

    Anyone else want to have a go...? :)

    T

    Offline Fra

    • Hero Member
    • *****
    • Posts: 856
    • Karma: -3
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #3 on: November 24, 2009, 02:57:51 PM »
  • Best Answer
  • Interesting thread, cause for me the command line has always been a pain in the neck issue.
    Frankly I'm quite surprised by what you guys are saying, cause from my point of view the app parameter is related to the application name only, why should the service be involved?
    Also, what the Genesys Framework Deployment guide states and what I knew:
    [font=Comics]
    ----------------
    When an application is installed on a UNIX operating system and the
    application name, as configured in the Configuration Database, contains spaces
    (for example, T-Server Avaya), you must surround the application name by
    quotation marks (“ ”) in the command line, as follows:
    -app “T-Server Avaya”
    ----------------
    [/font]
    However, I think that the installation wizard on a Windows box would add quotation marks.


    Fra

    tony

    • Guest
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #4 on: November 24, 2009, 03:15:47 PM »
  • Best Answer
  • Thanks buddy - I think half a Kit Kat is yours...

    There appears to be 2 parameters - and it appears to be "either", "or";

    One is the [i]- service[/i] parameter
    One is the [i]- appplication [/i] parameter

    AFAIK, you should add quotes for both, if there are spaces/blanks in the instance name...

    ?

    Offline Fra

    • Hero Member
    • *****
    • Posts: 856
    • Karma: -3
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #5 on: November 24, 2009, 04:04:14 PM »
  • Best Answer
  • [quote author=Tony Tillyer link=topic=4927.msg21956#msg21956 date=1259075747]
    Thanks buddy - I think half a Kit Kat is yours...
    [/quote]
    oh yes, I love the Kit Kat bar, yummy!  ;D

    [quote author=Tony Tillyer link=topic=4927.msg21956#msg21956 date=1259075747]
    There appears to be 2 parameters - and it appears to be "either", "or";

    One is the [i]- service[/i] parameter
    One is the [i]- appplication [/i] parameter
    [/quote]
    You would have both of them for a Windows box, only app for a Unix one.

    [quote author=Tony Tillyer link=topic=4927.msg21956#msg21956 date=1259075747]
    AFAIK, you should add quotes for both, if there are spaces/blanks in the instance name...

    ?
    [/quote]
    Exactly what I think.

    Fra

    Offline cavagnaro

    • Administrator
    • Hero Member
    • *****
    • Posts: 7639
    • Karma: 56330
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #6 on: November 25, 2009, 01:17:40 AM »
  • Best Answer
  • Hum I have seen strange behaviours on SCI and the windows services when the -service is different in some ways that the real service name, I guess because it does a net status like command and passes the service name configured as parameter and may fail if something is wrong. I also agree to use quotations when using complex names but on simple names don't know why sometimes do strange stuff...

    KBS

    • Guest
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #7 on: November 25, 2009, 03:53:57 PM »
  • Best Answer
  • Similar to cav's posting, I have seen similar strange behaviors on Windows hosts where there may have been quotes around the executable (for example, "e:\gcti\tserver\succession.exe" ... ) in the service but not in the config layer, or if the drive or directory didn't match in case (for example, e:\gcti in config layer and E:\GCTI in service ).


    Offline Fra

    • Hero Member
    • *****
    • Posts: 856
    • Karma: -3
    Re: Configuration Parameters.... Simple Question! :)
    « Reply #8 on: November 26, 2009, 01:25:43 AM »
  • Best Answer
  • agree, saw weird things too..