Author Topic: Multiple KeyStores in the Same Machine  (Read 6567 times)

faisalshehab

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Multiple KeyStores in the Same Machine
« on: October 05, 2017, 11:31:13 am »
Hi everyone,
Please kindly help, as I am really stuck.
The documentation about Keystore is really lacking. There are features that are not well documented. For example using two keystores in the same machine, with different set of keys. I set them up in the manager, and they are in different folders.
But my question, how come the Keystore service only point to one keystore located in the same folder as the key store service. How can I configure it to also connect to the other key store.
In addition, How can I ask my EA client users to connect to this store versus that store?

I really appreciate your help guys.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Multiple KeyStores in the Same Machine
« Reply #1 on: October 05, 2017, 12:19:22 pm »
Hi everyone,
Please kindly help, as I am really stuck.
The documentation about Keystore is really lacking. There are features that are not well documented. For example using two keystores in the same machine, with different set of keys. I set them up in the manager, and they are in different folders.
But my question, how come the Keystore service only point to one keystore located in the same folder as the key store service. How can I configure it to also connect to the other key store.
In addition, How can I ask my EA client users to connect to this store versus that store?

I see no option in the client to change the port you're talking to the Licence Server on so my assumption is that you can only have one key store per server.

faisalshehab

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Multiple KeyStores in the Same Machine
« Reply #2 on: October 05, 2017, 02:01:45 pm »
Thank you Glassboy for your reply,

I know I can change the client to point to a different port in the client side. but my question was related to how can the url I am providing with the username and password will go to one Keystore A and get a key, versus another user can get a key from a Keystore B instead.
I already have two key-stores in the same server (used the Keystore manager to add a new one, with different set of keys).
but the Keystore service only point to the default key store (on the same path as the service file). I don't want to switch, I want to use both key stores.

Look at it this way, I am a cloud provider, and I host license servers for my clients. I have few clients that have different set of SPARX EA keys. They can not share these keys, so I need to create different key store for each client. I have a large server that is under utilized, so I just do not want to create a whole new VM for each client just for SPARX EA keystore.
I just want to use the same SPARX Service under the same Server but with different key stores, and allow each client to have their own URL to get their own purchased keys.

I hope that help explained my need.

Thanks,
Faisal



Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Multiple KeyStores in the Same Machine
« Reply #3 on: October 05, 2017, 03:47:22 pm »
The reason you can't find any documentation for that is because it's not supported. The Keystore Service can only reference a single key store. Using the Keystore Manager you can create additional file-based key stores, but these can only be referenced by users by pointing directly to the sskeys.dat file via a shared network folder.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Multiple KeyStores in the Same Machine
« Reply #4 on: October 06, 2017, 06:50:35 am »
Look at it this way, I am a cloud provider, and I host license servers for my clients. I have few clients that have different set of SPARX EA keys. They can not share these keys, so I need to create different key store for each client. I have a large server that is under utilized, so I just do not want to create a whole new VM for each client just for SPARX EA keystore.

A cloud provider wouldn't automatically assume they were using a virtual machine.  If they wanted to host multiple of x, they'd first look to containerisation.

You may be able to run nano server on Windows 2016 and run multiple licence servers that way.

faisalshehab

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Multiple KeyStores in the Same Machine
« Reply #5 on: October 06, 2017, 10:21:49 am »
Thank you All,
I just looked at the Nano Server specs, and it says that can only run 64bit applications. Is SPARX EA License Server a 64bit application? Can it run under a Nano Server?

« Last Edit: October 06, 2017, 10:27:33 am by faisalshehab »