Aquilon: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Aquilon server : aqd.iihe.ac.be 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) ...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
server : aqd.iihe.ac.be | 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) | 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 : | |||
<pre> | |||
aqd_config.py -c /etc/aqd.conf --list | |||
</pre> | |||
=Show status= | =Show status= | ||
Line 24: | Line 32: | ||
User sgerard@WN.IIHE.AC.BE did not exist, creating. | User sgerard@WN.IIHE.AC.BE did not exist, creating. | ||
</pre> | </pre> | ||
=Documentation= | |||
*[http://www.quattor.org/documentation/2012/10/31/install-aquilon.html Install Aquilon] | |||
*[http://www.quattor.org/documentation/2013/10/25/aquilon-site.html Using Aquilon] | |||
*[https://github.com/quattor/aquilon GitHub repository] |
Latest revision as of 18:37, 16 November 2015
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.