System Administrator Instructions


Adding PETAL Administrative Staff To Active Directory

  1. Add the user to the DS group called SEE-petalwp_admins
  2. Run the bulk import command from within WordPress to update the users

Adding PETAL Users To Active Directory

  1. Add the user to the DS group called SEE-petalwp_subscribers
  2. Run the bulk import command from within WordPress to update the users

Adding Administrative Staff To WordPress

  1. Add a user to WordPress
  2. Edit the “MailPoet Subscribers” and make them belong to the “Administrative Users” group
  3. Add them to the DS groups for PETAL

Adding An Allocation Leader To WordPress

  1. Add a user to WordPress
  2. Edit the “MailPoet Subscribers” and make them belong to the “Allocation Leaders” group
  3. Add them to the DS groups for PETAL

Adding An Allocation User To WordPress

  1. Add a user to WordPress
  2. Edit the “MailPoet Subscribers” and make them belong to the “Allocation Users” group
  3. Add them to the DS groups for PETAL

Adding An Integral Volume

  1. Create the integral volume
  2. Edit update.pl
    • Add the name of the new integral volume to “@Integral_Volumes”
  3. Create a cron job to run “mmdelay.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_mmdelay.text”
    • This will create “integral_volume_name_mmdelay.html”
  4. Create a cron job to run “mmparam.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_mmparam.text”
  5. Create a cron job to run “vllsset.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_vllsset.text”
  6. Create a cron job to run “vllsvol.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_vllsvol_X.text”
    • Where X is the volume number of the media within the set
  7. Create a cron job to run “vlmediausage.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_vlmediausage.text”
  8. Create a cron job to run “disk_free.sh integral_volume_name” and run it now
    • This will create “integral_volume_name_df.text”
  9. Run ./update.pl cache-disk
    • This will create “chart.cache.disk.instantaneous.integral_volume_name.csv”
    • This will create “chart.cache.disk.historic.integral_volume_name.csv”
    • This will create “report.cache_disk.html”
    • This will create “latest.cache_disk.html”
  10. Run ./update.pl cache-pages
    • This will create “chart.cache.pages.historic.integral_volume_name.csv”
    • This will create “integral_volume_name.cache.pages.html”
    • This will create “latest.cache.pages.html”
  11. Run ./update.pl cache-media
    • This will create “chart.cache.media.instantaneous.integral_volume_name.csv”
    • This will create “chart.cache.media.historic.integral_volume_name.csv”
    • This will create “cache.media.integral_volume_name.html”
    • This will create “latest.cache_media.html”
  12. Copy an existing web page for an integral volume and name it appropriately
  13. Replace the existing references to the integral volume name within the web page text
  14. Add this new web page to the menu
  15. Create a clone of a “Disk Cache Usage” graph and change the input file to “chart.cache.disk.instantaneous.integral_volume_name.csv” and record the graph ID
  16. Create a clone of a “Instantaneous Online/Offline Media” graph and change the input file to “chart.cache.media.instantaneous.integral_volume_name.csv” and record the graph ID
  17. Create a clone of a “Historic Online/Offline Media” graph and change the input file to “chart.cache.media.historic.integral_volume_name.csv” and record the graph ID
  18. Update the web page text with the correct graph IDs

Adding A Storage Allocation

  1. Create the storage allocation directories
  2. Edit update.pl
    • Add the name of the allocation leader to “%User_Name_To_Full_Name”
    • Add the name of the storage allocation to “@Storage_Allocations_Information”
    • Add an initial tape purchase of zero tapes to “@Tape_Purchases_Information”
  3. Run./update.pl purchases
    • This will create “chart.tapes.historic.storage_allocation_name.csv”
    • This will create “tapes.purchased.storage_allocation_name.html”
    • This will create “latest.tapes.purchased.html”
  4. Run./update.pl usage
    • This will create “latest.project.usage.html”
    • This will create “report.projects.usage.html”
    • This will create “file.statistics.storage_allocation_name.html”
    • This will create “chart.usage.storage_allocation_name.csv”
    • This will create “chart.size.histogram.storage_allocation_name.html”
  5. Copy an existing web page for a storage allocation and name it appropriately
  6. Replace the existing references to the storage allocation name within the web page text
  7. Edit the “user specific content” so only allowed users can view this content
  8. Add this new web page to the storage allocation page
  9. Create a clone of a “Historic Tape Purchases” graph and change the input file to “chart.tapes.historic.storage_allocation_name.csv” and record the graph ID
  10. Create a clone of a “File Size Distribution” graph and change the input file to “chart.size.histogram.storage_allocation_name.csv” and record the graph ID
  11. Create a clone of a “Historic Used/Available Capacity” graph and change the input file to “chart.usage.storage_allocation_name.csv” and record the graph ID
  12. Update the web page text with the correct graph IDs
  13. Edit the “contact form” for “purchase a tape”
    • Add the “school/department” to the selection list if it isn’t already present
    • Add the “storage allocation name” to the selection list
  14. For the “Allocation Leader”, follow the instructions for Adding An Allocation Leader To WordPress
  15. For the “Allocation Users”, follow the instructions for Adding An Allocation User To WordPress
  16. Now the users can access the website and their storage allocation
  17. Send them an email telling them that everything is ready to use now

Adding A Tape Purchase

  1. Edit update.pl
    • If this is their first official tape purchase for this allocation, modify the zero tape purchase within “@Tape_Purchases_Information” with this value
    • If this is an additional tape purchase, add another line to “@Tape_Purchases_Information” containing the new information
  2. Run ./update.pl purchases
  3. Run ./update.pl usage

Monthly Charging

  1. Export the “contact form database” for “buying tapes” as plain csv (utf-8)
  2. Edit the file and remove all entries other than the headings and this month’s entries
  3. Paste these entries into the database page of the monthly charging template
  4. Copy columns A-I (excluding the headings) and paste them into the monthly charging page