Iteration 3-C testing / evaluation

6/4/19 – finished june 12

# Fedora deployment note: Noticed that, at about the time that deployment of fedoragsearch.war finishes,
a directory called /home/gsp is created with a few subdirectories. Seems unneccesarry. Will need to study to find out why.

SOLUTION: Rewrote entire solr / fgs installation process.

Startup logs only the following minor warnings. Problem solved.

 
Functionality Testing (NO SSL) NOTES RESULT
 SERVICES NONROOT USER: 
– Log in via ssh
– Ensure unable to execute root-only command
   PASS
 SSH ROOT BLOCK
– Ensure unable to SSH directly as root
   PASS
     
     
     
     
 SELINUX
– ensure command “getenforce”  yields “permissive”
   PASS
 SYSTEM VARIABLES
– go down list of system variables and ensure proper results
   
 VNC
– ensure services user can log in to desktop over VNC session
   PASS
 FEDORATOMCAT SYSTEMD SERVICE
– Ensure “systemctl stop / start fedoratomcat” executes as expected
– Ensure service is onboot-enabled by rebooting main server, and verify fedora is running upon login after reboot.
   PASS
 FIREWALL PORT :80    
 FIREWALL PORT :443    
 PHP
– result of “php – version” shoud be 7 or greater
   PASS

 HTTPD  SERVICE

– Ensure “systemctl stop / start httpd” executes as expected
– Ensure service is onboot-enabled by rebooting main server, and verify httpd is running upon login after reboot.

   PASS

 DATABASE (mariadb/mysql) SYSTEMD SERVICE

– Ensure “systemctl stop / start mariadb” executes as expected
– Ensure service is onboot-enabled by rebooting main server, and verify mariadb is running upon login after reboot.

   PASS

 MARIADB / MYSQL ROOT USER

– Ensure mysql root user can log in

   PASS

 MARIADB / MYSQL drupal db user
– Ensure mysql drupal db user can log in

-Ensure mysql drupal user has proper permissions to drupal db

   PASS

 MARIADB / fedora user

-Ensure mysql fedora db user can log in

-Ensure mysql fedora db user has proper permissions

   
 JAVA

– Ensure java version is 1.8.x

   

 DRUPAL MAIN PAGE

-Log in to webpage to see if page is live.

   

 DRUPAL EMAIL FUNCTIONALITY (logged in as Primary Drupal Admin User)
– use contacts module to send an email

   

DRUPAL ADMIN USER (jdgwynn)

– Create jdgwynn account and send welcome email.

– Verify that jdgwynn received the email

– Verify that jdgwynn can log in to drupal site with credentials.

   
 DRUPAL / HTTPD CONFIG CLEAN URLS
– admin > Configuration > Search > Clean urls — check to see if checkbox is there.
   

 DRUPAL  AUTOMATED TESTS

– Execute automated tests. Results Acceptable

   

 FEDORA BASIC

– Ensure Fedora Admin Console is accessable via web browser

(successful access also validates Adobe Flash Player component)

Log in to the fedora server via VNC as the services user.
Open firefox web browser and navigate to http://localhost:8080/fedora

You should see the fedora info page.

Also visit http://localhost:8080/fedora/admin and make sure you can access it. May need to bypass old flash plugin warning or update it.

   

 TUQUE / DRUPAL FILTER

– See ISLANDORA CORE module test

   

 ISLANDORA CORE

-There should now be a “islandora repository” link on the navigation pane.

– (tuque) verify there is a green check mark for Fedora connection at /admin/islandora/configure

– NOTE: ensure jdgwynn as set all desired options in admin>islandora>configuration

   

 

   

 SOLR BASIC
– ensure you can visit localhost:8080/solr and see the solr control page.

   
 GSEARCH BASIC

– ensure you can visit and log in to http://localhost:8080/fedoragsearch/rest with fgsAdmin user

– ensure “Admin Client for Fedora Generic Search Service” page displays normally

   
     

 ESSENTIAL SOLUTION PACK TEST:

– (optional) verify you can ingest / purge items via fedora alone at http://localhost:8080/fedora/admin

– Double check to ensure cleanURL’s are enabled (admin/config/search/clean-urls)

– Ensure drupal file system is set to public (admin/config/media/file-system)

– ISLANDORA BASIC COLLECTION 
– ISLANDORA SOLUTION PACK IMAGE
– ISLANDORA SOLUTION PACK PDF

   
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

ISLANDORA BATCH INGEST 

– Ensure user jdgwynn has an uploads folder that exists, and is readable by apache, and writeable by jdgwynn

– Ensure jdgwynn can scp uploads to his uploads directory, then process

drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal islandora_batch_scan_preprocess –content_models=islandora:sp_large_image_cmodel –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip –scan_target=/home/jdgwynn/uploads/TIFF.zip

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_scan_preprocess –content_models=islandora:sp_pdf –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip –scan_target=/home/jdgwynn/uploads/PDF1.zip

sudo -u apache drush -v -d -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_ingest

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal islandora_batch_scan_preprocess –content_models=islandora:sp_large_image_cmodel –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip –scan_target=/home/jdgwynn/uploads/TIFF.zip

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_ingest

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_scan_preprocess –content_models=islandora:sp_pdf –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip

scan_target=/home/jdgwynn/uploads/PDF2.zip

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_ingest

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_scan_preprocess –content_models=islandora:sp_pdf –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip –scan_target=/home/jdgwynn/uploads/PDF3.zip

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_ingest

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_scan_preprocess –content_models=islandora:sp_pdf –parent=islandora:703 –parent_relationship_pred=isMemberOfCollection –type=zip –scan_target=/home/jdgwynn/uploads/PDF4.zip

sudo -u apache drush -v -u 1 –uri=http://libdev-f.uncg.edu/drupal/ islandora_batch_ingest

   
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

   

               

Leave a Reply

Your email address will not be published. Required fields are marked *