MaxIV-KitsControls / Libera-SinglePassE

Tango DeviceServer of the Libera SinglePass E
0 stars 1 forks source link

1 - Activation of Tango DS #7

Closed gasperjug closed 11 years ago

gasperjug commented 12 years ago

The Tango DS will start at startup of the instrument.

Do you want to:

hardion commented 12 years ago

Usually the Tango devices are started by another service so-called "Tango Starter". At the installation of the Libera we have to set the address of the Tango Database (TANGO_HOST). So the first option seems better.

tomaz-beltram commented 12 years ago

Additional question just to make sure we understand the desired behavior correctly.

The "Tango Starter" will start the device server processes on all instruments with appropriate instance ID as the first command line argument? This parameter is related to the device/board as discussed in the issue #2? There will be up to four such processes on each instrument.

Each device server process will execute the init_device() function and connect to appropriate board. If successful it will put the device in the ON state.

hardion commented 12 years ago

Exactly. More precision : Each Libera (not BPM) will host a Starter which start the processes locally with the instance ID. From the #2 : You could choose any naming convention for the instance ID. It doesn't mean that once installed in the Synchrotron, the instance ID will be the same. Only the LiberaBoard property will be the parameter to distinguish to which board to connect.

hinxx commented 12 years ago

This is acceptable and sane.

hardion commented 12 years ago

Another precision : The Tango Starter is also a Tango Device with a particularity : the instance name is important because it should be equivalent to the host name. And I suppose that each libera will have a specific host name on the customer site.

hinxx commented 12 years ago

Since we do not have much experience in the Tango environment and DS use cases, can we expect that the Tango community will be able to most efficiently tailor the LiberaSinglePassE startup process themselves?

IOW, we do not want to fiddle too much with the TangoStarter process, and possibly providing impractical solution out-of-the box - OTOH, LiberaSinglePassE should nevertheless play nicely with TangoStarter.

hardion commented 11 years ago

Agree to let the customer configures the Tango Starter