| | 96 | |
| | 97 | === Creation of Ssh Keys === |
| | 98 | |
| | 99 | Currently, deployment of new version of the templates is done by the hook script triggered by `ant deploy` executing the server script `build-tag.pl` through ssh. There is no way to enter a password at this time, thus ssh must be configured in such a way that the Apache account on the Subversion server can do a ssh connection as root on the Quattor server, without password. The easiest is to use ssh keys to do that. |
| | 100 | |
| | 101 | |
| | 102 | === Post-installation CGI Script === |
| | 103 | |
| | 104 | At the end of a machine installation, as part of the Kickstart post-intallation script, a CGI script is executed on the Quattor server to change PXE configuration in order for the machine to boot from local disk next time. This allows to set PXE as the first boot device in the BIOS and control re-installation via `aii-shellfe` command. |
| | 105 | |
| | 106 | This script, `build-tag.pl`, can be found in SCDB directory `src/cgis`. It must be placed on the Web server running on the Quattor server, in the directory for CGIs. |
| | 107 | |
| | 108 | |
| | 109 | === Configuration of AII === |
| | 110 | |
| | 111 | This involves 2 separate steps : |
| | 112 | * Customization of `/etc/aii*.conf` files |
| | 113 | * Customization of AII related variables in templates |
| | 114 | |
| | 115 | To customize AII configuration files, located in `/etc` and named `aii-*.conf`, refer to the comment in each files. Main parameters to customize are the URL to use to download profiles (in `aii-shellfe.conf`) and the directory where to place kickstart configuration files produced by AII (in `aii-osinstall.conf`). |
| | 116 | |
| | 117 | There are a few variables to customize in site templates to reflect your Quattor and AII configuration, mainly : |
| | 118 | |
| | 119 | * `QUATTOR_PROFILE_URL` : URL to use to download machine profiles. |
| | 120 | * `AII_OSINSTALL_SRV` : Name of the Web server serving kickstart configuration files and RPMs. |
| | 121 | * `AII_ACKSRV` : Name of the Web server to use for the post-installation CGI. Defaults to `AII_OSINSTALL_SRV` |
| | 122 | * `AII_ACKCGI` : post-installation CGI URL. Defaults to `/cgi-bin/aii-installack.cgi`. |
| | 123 | * `AII_OSINSTALL_TEMPLATE` : name of the Kickstart configuration template to use. Defaults to `i386_sl3_ks.conf`. |
| | 124 | |
| | 125 | These variables are generally defined site-wide, in the template `pro_site_global_variables.tpl` located in site directory. Look at provided examples, in SCDB distribution. |
| | 126 | |
| | 127 | |
| | 128 | |