Skip to content
/ conman Public
forked from eras/conman

Connection manager for small setups of servers, switches etc. Ugly but seems to work well enough.

Notifications You must be signed in to change notification settings

velzi/conman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 

Repository files navigation

ConnectionManager
-----------------

1. License

  GPL, http://www.gnu.org/licenses/gpl.html

2. Installation

  2.1  Install the dependencies needed by ConnectionManager
       - Perl
       - SQLite3
       - SQLite3 Perl bindings
       - Perl CGI
       - Perl DBI
       - Perl HTML::Table
  2.2  Copy the conman.cgi file to a directory accessible by your web server,
       i.e. Apache HTTPD. We'll call this directory INSTALLPATH.
  2.3  Select a location (path) under your web server where the application
       should be visible, i.e. /ConnectionManager. We'll call this location
       LOCATION.
  2.4  Enable running CGI programs in your web server.
  2.5  Select a directory where the ConnectionManager stores its database. This
       directory must be writable by the web server. The default is
       INSTALLPATH.
  2.6  Edit the settings (script name and database location) in the
       conman.cgi script to match your setup
  2.7  Edit your web server configuration to enable running CGI programs in
       INSTALLPATH and point LOCATION to INSTALLPATH

       Apache example (INSTALLPATH=/web/ConnectionManager, LOCATION=/ConnectionManager):

       ScriptAlias /ConnectionManager/ /web/ConnectionManager/
       <Directory "/web/ConnectionManager">
         AllowOverride None
         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
         Order allow,deny
         Allow from all
       </Directory>

  2.8  Enable authentication in your web server if wanted
  
       Apache example:
       <Location /ConnectionManager>
         AuthType Basic
         AuthName ConnectionManager
         # the password file should not be reacheable via HTTP!
         AuthUserFile /web/passwords/ConnectionManager.passwd
         require valid-user
       </Location>

  2.9  Resolve any remaining problems
  2.10 The database file is created at the first run if it's not found

3. Usage

  3.1 Add a room (at the Rooms list)
  3.2 Add a rack to the room (at the room view)
  3.3 Add a device to the rack (at the rack view)
  3.4 Add interfaces to the device (at the device view)
  3.5 Add connections to the interface (at the device view)
    3.5.1 ConnectionManager currently supports at most four (4) hops per
          connection, but you may use less if needed
  3.6 Try to cope with all the small glitches

4. Read-only mode

  In case you want to have a read-only view of the data, install another
  copy of conman.cgi somewhere appropriate, configure it to use the same
  database file as the r/w version and set $readonlymode = 1; at the editable
  variables section.

5. Distribution

  [email protected]:delic/conman.git

6. Author

  Tapio Vuorinen, [email protected]. Bug reports and feature
  requests are read. If you want to participate in the development (what?),
  let me know.

About

Connection manager for small setups of servers, switches etc. Ugly but seems to work well enough.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%