There are two places where we can locate the configuration files. Our software will look into these places in the following order:
If you have installed FutureGrid PasswdStack using the tarball file (Using a source tarball) you will find the configuration sample files in /etc/futuregrid/. Otherwise, you can download them as a tarball or a ZIP file.
Server Side: The configuration file has to be renamed as fg-server.conf.
Client Side: The configuration file has to be renamed as fg-client.conf.
Note
If you configure several clients or servers in the same machine, the fg-client.conf or fg-server.conf must be the same file.
Note
In the Client Side, the path of the log files must be relative to each users. Using the $HOME directory is a good idea.
The authentication of our software is based on LDAP. So, we need to configure some options in the configuration files to make it possible.
We need to configure the [LDAP] section. This is going to be use by all servers. More information about this section of the server configuration file can be found in LDAP section.
[LDAP] LDAPHOST= ldap.futuregrid.org LDAPUSER= uid=rainadmin,ou=People,dc=futuregrid,dc=org LDAPPASS= passwordrainadmin log= ~/fg-auth.log
In this section we explain how to configure FG PasswdStack.
First, we are going to configure the main server. We need to configure the [PasswdStackServer] Section (see PasswdStackServer section).
[PasswdStackServer] port = 56796 proc_max=5 refresh=20 log = passwdstackserver.log log_level = debug ca_cert=/etc/futuregrid/imdserver/cacert.pem certfile=/etc/futuregrid/imdserver/imdscert.pem keyfile=/etc/futuregrid/imdserver/privkey.pem
imageman has to have the OpenStack credentials of an admin. Then you edit ~/.bashrc file to include the command source novarc (you may need to indicate the full path of the novarc file.
Once everything is set up, you can start the server executing PasswdStackServer.py as imageman user.
Note
We recommend to have a system user that run all the servers (i.e. imageman). In this way, it will be easier to manage the sudoers file when necessary.
In the client side, we need to configure the [PasswdStack] section. More information about this section of the client configuration file can be found in PasswdStack section.
[PasswdStack] port = 56796 serveraddr=123.123.123.123 log = passwdstackclient.log log_level = debug ca_cert=/etc/futuregrid/imdclient/cacert.pem certfile=/etc/futuregrid/imdclient/imdccert.pem keyfile=/etc/futuregrid/imdclient/privkey.pem
The executable file of this client is fg-paswdstack. More information about how to use FG PasswdStack can be found in the FG PasswdStack Manual.
Server Side (fg-server.conf) | Client Side (fg-client.conf) | |
---|---|---|
Requirement |
|
|
Configure |
|
|
Executables |
|
|