Free performance monitoring for VMware™ and IBM Power Systems™

WEB authorization

Basically you have 2 possibilities.
  • Implementation of Active Directory. It is a bit complicated, here is description
  • Use Apache basic authorization.
    This is quite easy, you create a user(s) in Apache which will have access to your lpar2rrd web tree.

Apache basic authorization

You can find a lot of manuals on Internet.
Here is simple summary for Apache 1.x - 2.3: (all actions under root user):
  • Create user(s):
    Note: htpasswd might be in different locations like /opt/freeware/apache/bin/htpasswd or /opt/freeware/bin/htpasswd
    # htpasswd -c /var/spool/htpass lpar2rrd
      New password:
      Re-type new password:
      Adding password for user lpar2rrd
    
  • Configure Apache httpd.conf.
    You should already have the first directive in place if your LPAR2RRD is already running, then just add the second directive (<Location /lpar2rrd>)
    Note: httpd.conf might be in different locations like /opt/freeware/etc/httpd/conf/httpd.conf or /etc/httpd/httpd.conf
    # vi /etc/httpd/conf/httpd.conf
    
    Alias /lpar2rrd/  "/home/lpar2rrd/lpar2rrd/www/"
    <Directory "/home/lpar2rrd/lpar2rrd/www/">
        Options Indexes FollowSymLinks Includes MultiViews
        Order allow,deny
        Allow from all
    </Directory>
    
    <Location /lpar2rrd>
        AuthType Basic
        AuthName "Protected Space"
        AuthUserFile /var/spool/htpass
        Require valid-user
    </Location>
    
  • Restart Apache:
    Note: apachectl might be in different locations like /opt/freeware/sbin/apachectl
    # apachectl restart
    
Try to access your LPAR2RRD web now. You should be prompted for user name and password.

Troubleshooting

  • Check Apache error log. It is usually located somewhere in /var
    # find /var -name error_log 2>/dev/null
    # tail error_log
    
  • In case of a problem check our forum or contact us via support@lpar2rrd.com