Aquilon
Jump to navigation
Jump to search
server : aqd.iihe.ac.be
aq command
The aq command is the main client command to interact with Aquilon. This command has an useful auto-completion of available options with tab key press (require bash-completion rpm, which is already installed on aqd) Some documentation refer to the aq.py command as aq. To facilitate things, there is an alias in the root's .bashrc (aq => aq.py)
Service configuration
The Aquilon service use a mix of defaults (less /usr/share/aquilon/etc/aqd.conf.defaults) and overridden parameters (/etc/aqd.conf) to run. In order to know which configuration values will be used, you can use this command :
aqd_config.py -c /etc/aqd.conf --list
Show status
To test if everything is working (especially the kerberos part), you can use :
[samary@aqd ~]$ aq status Aquilon Broker MyFirstVersion Server: aqd.wn.iihe.ac.be Database: postgresql+psycopg2://aquilon:PASSWORD@localhost/ Sandboxes: /var/lib/templates Connected as: samary@WN.IIHE.AC.BE [aqd_admin]
Add a user
The user MUST be in freeipa WITH a defined password (to allow kinit)
[root@aqd ~]# getent passwd sgerard sgerard:*:20533:20500:local users:/localgrid/sgerard:/bin/bash [root@aqd ~]# aq permission --principal sgerard@WN.IIHE.AC.BE --role aqd_admin --createuser User sgerard@WN.IIHE.AC.BE did not exist, creating.