Where to find the Tango Access Control window?

Dear all!
First, I am new to tango controls. smile However, I managed to install tango (with mysql) using the packages provided in the ubuntu 17.10 repositories. I could start a server/device which I downloaded from the big collection of servers. I see, that my computer runs the tango-db service, the tango-accesscontrol service and the tango-Starter service. I can bring up the java applications like astor and jive (for this see my comment below).

Now, I would like to know, how to handle access for users and devices, commands etc.? I have seen in the docs that there is Tango Access Control, but I can not find the window to configure something.

I really appreciate your help, some TAC for Dummies. smile

Thanks a lot and best wishes
Markus


Comment on java apps when running ubuntu 17.10:
the tango java apps are not part of the ubuntu repositories

What I did was:

- downloaded the tango source tarball tango-9.2.5a.tgz

- extracted it and executed the ./configure script

- the script has to run completely to setup the Makefiles in the subfolder, therefore it might be necessary to install development packages for zmq, omniorb ..
sudo apt-get install libomniorb-dev libcos4-dev libzmq3-dev

- changed to lib/java and issued
sudo make install
or perhaps better
sudo checkinstall
The latter will first build a deb-package and install this, so the just installed tango java apps will appear in the database of the apt packet manager.
Hi Markus,
I do not have a TAC for dummies manual but there are 2 pages into the documentation which can help you :
- https://tango-controls.readthedocs.io/en/latest/administration/services/access-control.html#the-tango-controlled-access-system
- https://tango-controls.readthedocs.io/en/latest/tools-and-extensions/astor/access_control.html?highlight=tango%20access%20control#tango-access-control-tac-configuration

If I understand your question, you can access TAC configuration through astor.
- Philippe
Dear Philippe,

No, that is my (current) problem.I can start Astor, but I do not find the TAC window. I am quite sure, that i didn't overlooked it in the menu.

However, tac is listed by jive.

I am wondering whether this might be related to the fact that the servers are not controlled? They are started upon booting by the linux startup scripts. If important, how to make them controlled?

Best wishes
Markus
You can get the TAC window in Astor from the "Tools" menu and then "Access Control", or with CTRL-A shortcut.
You can also right-click on "Access Control" and select "Manager Panel".



astor will ask for a password.

I will quote this post from Andy:

Andy
default passwd by default is "SUPER_TANGO". Once you have the Tango Access Control Manager window opened from Astor,
click on "File/Change Password" menu to change it.
Andy

I think astor and TAC documentation should be improved because basic information like this one does not seem to be listed there.

Hoping this helps,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
mw
Dear Philippe,
I am wondering whether this might be related to the fact that the servers are not controlled? They are started upon booting by the linux startup scripts. If important, how to make them controlled?

Your problem was not linked to the fact they were listed as not controlled.

You can use the Starter instead of using your Linux startup script to start up the device servers upon Linux boot.
In this case, you only have (it might be done by default, depending on how you installed the Starter) to configure your system to start up automatically the Starter at Linux boot and the Starter will take care of starting the controlled device servers.

To make your device servers controlled by the Starter, you need to ensure the Starter is started on the host you want to start your device servers.
Then in astor, open the control panel related to this host (double-click on the host or right-click => Open control Panel).

In the control panel, you can start new instances of device servers using "Start New" button. Once the device server is started, astor will ask you whether you want to be able to control it via astor. Click Yes and select a startup level and your device server will be controlled by astor/Starter from this moment on.

If not controlled device servers have already been running on your host, you can also double-click on "Not Controlled" in your host control panel. The device servers which are not controlled will then appear.
You can then right-click on the instances you would like astor/starter to control and select "Set startup level".
You can then click on "Yes" (Controlled by Astor) and select a Startup level.

I hope this helps,
Kind regards,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
mw
I can start Astor, but I do not find the TAC window. I am quite sure, that i didn't overlooked it in the menu.

Hi Markus,

Below steps will help you to see the Tango Access Control (TAC) window in Astor. (These steps are already documented in the link shared by Philippe in the previous post.)

Step-1
Create a free property in Jive with the name CtrlSystem and then add a new property field with the name Services and initialize its value as AccessControl/tango:sys/access_control/1 (see attached screenshot).

Step-2
Start the TangoAccessControl device server from the terminal using below command:
ncra@ncraubuntu:~/tango-9.2.2/bin$ ./TangoAccessControl 1

Step-3
Start Astor
ncra@ncraubuntu:~/tango-9.2.2/bin$ ./astor

Step-4
In the Astor window, go to Tools > Access Control. In the prompt, provide SUPER_TANGO as the password and the TAC window will be displayed (see attached screenshot).

You may also refer the previous post by Reynald on making the TAC device server controlled by Starter device. By doing this, TAC device server will be automatically started when the Starter device server is started on your system.

Following links has relevant documentation related to Astor and Starter:

http://tango-controls.readthedocs.io/en/latest/tools-and-extensions/astor/index.html
http://www.esrf.eu/computing/cs/tango/tango_doc/ds_doc/tango-ds/System/starter/index.html
http://www.esrf.eu/computing/cs/tango/tango_doc/tools_doc/astor_doc/index.html

You may refer some screenshots attached to this post that will help to follow the steps.

Kind regards,
Jyotin

Dear all,

thank a lot for all the answers so far. I followed the steps given by Jyotin. I can now open the Manager Panel for AccessControl with the given PW but it opens in read only mode (see attachment). It appears that I can change the PW but actually it does not: an error message comes up after confimation of the new PW (see 2nd attachment).smile

I am still using tango from the ubuntu repositories with a fresh mysql installation.

Best wishes

Markus


Well, it looks like you hostname or IP address can not be determined…
Do you have an exotic network configuration?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
Hmm, what is exotic? I am using a notebook, running ubuntu, in the guest network of the research centre I am working at.

How can I check, what might be the problem with the network?
Hi Markus
I do not understand exactly what you want to do
It seems your are just installing TANGO.
The TAC is an advanced feature. Do you really need it ?
I can see on your Astor dump, there is no host to control. Why do you need a TAC ?

I think you'd better configure your control system before and add the TAC after if it is necessary.
Regards
Pascal
 
Register or login to create to post a reply.