From 3462d89b3320b7d668008fd037f97ee2f5e5ac9c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 19 Sep 2017 16:07:20 +0300 Subject: [PATCH] Update notes for 2017-09-19 --- content/cgiar-library-migration.md | 34 +++++++++++++++++ content/post/2016-12.md | 2 +- public/2016-12/index.html | 2 +- public/2017-09/index.html | 4 +- public/cgiar-library-migration/index.html | 45 +++++++++++++++++++++-- public/robots.txt | 2 +- public/sitemap.xml | 18 ++++----- 7 files changed, 89 insertions(+), 18 deletions(-) diff --git a/content/cgiar-library-migration.md b/content/cgiar-library-migration.md index 88f287c79..a5042a3cc 100644 --- a/content/cgiar-library-migration.md +++ b/content/cgiar-library-migration.md @@ -120,6 +120,40 @@ $ for item in 10947-latest/*.zip; do dspace packager -r -u -t AIP -e aorth@mjanj - [x] Remove ingestion overrides from `dspace.cfg` - [x] Reset PostgreSQL `max_connections` to 183 - [x] Enable nightly `index-discovery` cron job +- [x] Adjust CGSpace's `handle-server/config.dct` to add the new prefix alongside our existing 10568, ie: + +``` +"server_admins" = ( +"300:0.NA/10568" +"300:0.NA/10947" +) + +"replication_admins" = ( +"300:0.NA/10568" +"300:0.NA/10947" +) + +"backup_admins" = ( +"300:0.NA/10568" +"300:0.NA/10947" +) +``` + +- [x] Regenerate Handle server's `sitebndl.zip` on CGIAR Library server: + +``` +$ sudo su - +# cp -a /usr/local/dspace/handle-server /usr/local/dspace/handle-server-2017-09-19.bak +# /usr/local/dspace/bin/dspace make-handle-config /usr/local/dspace/handle-server +``` + +- The handle setup script will ask for IP address, contact person, etc +- Use CGSpace's IP address, but give some contact person from the system organization +- Copy the resulting `sitebndl.zip` somewhere so we can send it to Handle.net +- Now I'm wondering how we'll do this when we move servers in the future, because the `make-handle-config` basically assumes you only have one handle +- Also, there is `dspace make-handle-config` and `bin/make-handle-config` and both behave differently (the first is interactive, the second reads your `dspace.cfg` and generates your handle config and `sitebndl.zip` accordingly) +- I'm really not sure on the proper order of events actually + - HTTPS certificates: - [x] Install current certificates from their Tomcat keystore diff --git a/content/post/2016-12.md b/content/post/2016-12.md index 3bc396884..5c8784296 100644 --- a/content/post/2016-12.md +++ b/content/post/2016-12.md @@ -588,7 +588,7 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb - Start planning for server migration this weekend, letting users know - I am trying to figure out what the process is to [update the server's IP in the Handle system](http://handle.net/hnr_support.html), and emailing the hdladmin account bounces(!) - I will contact the Jane Euler directly as I know I've corresponded with her in the past -- She said that I should indeed just re-run the `[dspace]/bin/dspace make-handle-server` command and submit the new `sitebndl.zip` file to the CNRI website +- She said that I should indeed just re-run the `[dspace]/bin/dspace make-handle-config` command and submit the new `sitebndl.zip` file to the CNRI website - Also I was troubleshooting some workflow issues from Bizuwork - I re-created the same scenario by adding a non-admin account and submitting an item, but I was able to successfully approve and commit it - So it turns out it's not a bug, it's just that Peter was added as a reviewer/admin AFTER the items were submitted diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 602aff491..3017cd33e 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -775,7 +775,7 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
  • Start planning for server migration this weekend, letting users know
  • I am trying to figure out what the process is to update the server’s IP in the Handle system, and emailing the hdladmin account bounces(!)
  • I will contact the Jane Euler directly as I know I’ve corresponded with her in the past
  • -
  • She said that I should indeed just re-run the [dspace]/bin/dspace make-handle-server command and submit the new sitebndl.zip file to the CNRI website
  • +
  • She said that I should indeed just re-run the [dspace]/bin/dspace make-handle-config command and submit the new sitebndl.zip file to the CNRI website
  • Also I was troubleshooting some workflow issues from Bizuwork
  • I re-created the same scenario by adding a non-admin account and submitting an item, but I was able to successfully approve and commit it
  • So it turns out it’s not a bug, it’s just that Peter was added as a reviewer/admin AFTER the items were submitted
  • diff --git a/public/2017-09/index.html b/public/2017-09/index.html index 06b81f087..ca1361789 100644 --- a/public/2017-09/index.html +++ b/public/2017-09/index.html @@ -25,7 +25,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account - + @@ -63,7 +63,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account "url": "https://alanorth.github.io/cgspace-notes/2017-09/", "wordCount": "2886", "datePublished": "2017-09-07T16:54:52+07:00", - "dateModified": "2017-09-18T18:18:09+03:00", + "dateModified": "2017-09-19T12:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" diff --git a/public/cgiar-library-migration/index.html b/public/cgiar-library-migration/index.html index f485a7487..1673625fb 100644 --- a/public/cgiar-library-migration/index.html +++ b/public/cgiar-library-migration/index.html @@ -13,7 +13,7 @@ - + @@ -37,9 +37,9 @@ "@type": "BlogPosting", "headline": "CGIAR Library Migration", "url": "https://alanorth.github.io/cgspace-notes/cgiar-library-migration/", - "wordCount": "1167", + "wordCount": "1319", "datePublished": "2017-09-18T16:38:35+03:00", - "dateModified": "2017-09-18T21:24:27+03:00", + "dateModified": "2017-09-19T12:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -245,7 +245,44 @@ $ for item in 10568-93760/ITEM@10947-465*; do dspace packager -r -f -u -t AIP -e
  • -
  • HTTPS certificates: +
  • + + +
    "server_admins" = (
    +"300:0.NA/10568"
    +"300:0.NA/10947"
    +)
    +
    +"replication_admins" = (
    +"300:0.NA/10568"
    +"300:0.NA/10947"
    +)
    +
    +"backup_admins" = (
    +"300:0.NA/10568"
    +"300:0.NA/10947"
    +)
    +
    + + + +
    $ sudo su -
    +# cp -a /usr/local/dspace/handle-server /usr/local/dspace/handle-server-2017-09-19.bak
    +# /usr/local/dspace/bin/dspace make-handle-config /usr/local/dspace/handle-server
    +
    + +