The Easy SAM Portal


Easy SAM portal is a simple perl based application which allows you to connect to SAM data base and display the content of it. Inspired by EasyJet web pages, which ensures that you won't be completely depressed even if Monday morning's tests are all failing... smile

Features implemented:
  • Colorful interface
  • Overview tables allow immediate impression about the status of the site
  • Easy access to test results
  • Additional information available (submitter, deleted tests)
  • Tables are wrapped , no need for horizontal scrolling
  • Test definitions repeated during vertical scroll, so you will always see which test result belongs to which test.
  • You can ask the Easy SAM admin to put your ads to the right side smile

... and I'd like to list here a lot of other useful, but for the moment there is no more ... smile


You can get Easy SAM portal packages via the following methods:
  • Packages are available on CERN afs.
    For this you need to have afs access but ticket is not necessary.
  • Alternatively you can simply wget it.


Configuration steps includes setting up the oracle environment, connect string , db and passwords. Precise description in the README file included in the package. It contains usually the followings:
  • Install the rpm lcg-sam-server-easyportal
  • Install perl-DBI, perl-DBD-Oracle, lcg-CA, httpd, mod_ssl
  • In /opt/lcg/same/server/easysam/html/ change the
       my $dbuser="samuser";
       my $dbpassword="sampassword";
       my $dbname="samdatabase";
    variables according to your needs.

  • In /etc/httpd/conf.d/ssl.conf set
       SSLCACertificatePath /etc/grid-security/certificates
       SSLCARevocationPath /etc/grid-security/certificates
       SSLVerifyClient require
    and in /etc/httpd/conf/httpd.conf include
       AddHandler cgi-script .cgi
  • Restart httpd daemon
       /etc/init.d/httpd restart
  • Go to https://<your_node's_name>/easysam/

Modified Database

Easy SAM Portal is able to interpret a slightly modified version of the SAM Portal.
  • The IsDeleted field of the Service and TestDef tables are taken into account, thus deleted services and tests are not shown.
  • If there is a SubmitterDN or a SubmitterAlias defined among the TestEnvVars than it's value is shown, so it is possible to know who submitted the test.
Running on the old database requires only 2 line modification in the code.


There is a running Easy SAM Portal instance for the Certification Testbed at


Contact: Easy SAM Working Group smile e-mail:

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng easysam1.png r1 manage 152.3 K 2007-01-26 - 11:01 UnknownUser Easy SAM portal screen shoot

This topic: LCG > WebHome > LCGGridDeployment > LcgDocs > TheEasySAMPortal
Topic revision: r4 - 2007-01-26 - GergelyDebreczeni
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback