Announcement

Collapse
No announcement yet.

Programmatic installation of License Server on Linux?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Programmatic installation of License Server on Linux?

    I'm trying to script the silent installation of the license server on Linux (cgls_lin_5.2.2.bin) and have a few questions:

    I want to deploy a single license server VM (I'm on cloud), which will be the only one connected to online licensing. All other render workers (Linux as well) will use this machine's internal IP address (over port 30304) to acquire a license. Is this the recommended configuration? Or do you recommend installing the license server on every render worker?

    When I install the license using:
    Code:
    cgls_lin_5.2.2.bin -gui=0 -quiet=1
    I am not prompted for user login credentials. How do I pass non-plaintext user credentials to the demon? I want to be able to automate the installation of the license server, is there a way to generate a config file with hashed credentials and pass that to the installer during installation? I did see some information about V-Ray installation (not the license server) using a -configFile argument, but not for license server registration.

  • #2
    Update: I learned you can use this to authenticate/register your license server to your online account:
    Code:
    /usr/ChaosGroup/VRLService/OLS/vrlctl online USERNAME PASSWORD
    But how can you pass USERNAME and PASSWORD in non-plaintext?

    Comment


    • #3
      With newer license server versions you can provide a credentials files, that is a JSON, containing the username and password.
      The JSON fields are still plaintext though.


      Code:
      $ cat /path/to/credentials.json
      { "username": "John_Doe", "password": "my_password" }
      $ /usr/ChaosGroup/VRLService/OLS/vrlctl online login --credentials /path/to/credentials.json
      [  OK  ] Activation successful.
      Last edited by swords; 01-05-2019, 12:41 PM.
      Ivan Latunov
      Licensing Team

      chaosgroup.com

      Comment


      • #4
        Thanks. Too bad you can't hash the uname/password...

        Comment

        Working...
        X