diff --git a/content/post/2017-09.md b/content/post/2017-09.md index cee96e412..891648616 100644 --- a/content/post/2017-09.md +++ b/content/post/2017-09.md @@ -352,3 +352,38 @@ UPDATE 1 DELETE 1 DELETE 207 ``` + +## 2017-09-17 + +- Create pull request for CGSpace to be able to resolve multiple handles ([#339](https://github.com/ilri/DSpace/pull/339)) +- We still need to do the changes to `config.dct` and regenerate the `sitebndl.zip` to send to the Handle.net admins +- According to this [dspace-tech mailing list entry from 2011](http://dspace.2283337.n4.nabble.com/Multiple-handle-prefixes-merged-DSpace-instances-td3427192.html), we need to add the extra handle prefixes to `config.dct` like this: + +``` +"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" +) +``` + +- More work on the CGIAR Library migration test run locally, as I was having problem with importing the last fourteen items from the CGIAR System Management Office community +- The problem was that we remapped the items to new collections after the initial import, so the items were using the 10947 prefix but the community and collection was using 10568 +- I ended up having to read the [AIP Backup and Restore](https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-ForceReplaceMode) closely a few times and then explicitly preserve handles and ignore parents: + +``` +$ for item in 10568-93759/ITEM@10947-46*; do ~/dspace/bin/dspace packager -r -t AIP -o ignoreHandle=false -o ignoreParent=true -e aorth@mjanja.ch -p 10568/87738 $item; done +``` + +- Also, this was in replace mode (-r) rather than submit mode (-s), because submit mode always generated a new handle even if I told it not to! +- I decided to start the import process in the evening rather than waiting for the morning, and right as the first community was finished importing I started seeing `Timeout waiting for idle object` errors +- I had to cancel the import, clean up a bunch of database entries, increase the PostgreSQL `max_connections` as a precaution, restart PostgreSQL and Tomcat, and then finally completed the import diff --git a/public/2017-09/index.html b/public/2017-09/index.html index c73a1703e..88b40925b 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 - + @@ -61,9 +61,9 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account "@type": "BlogPosting", "headline": "September, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-09/", - "wordCount": "2420", + "wordCount": "2686", "datePublished": "2017-09-07T16:54:52+07:00", - "dateModified": "2017-09-14T18:01:50+03:00", + "dateModified": "2017-09-15T19:20:37+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -512,6 +512,45 @@ DELETE 1 DELETE 207 +

2017-09-17

+ + + +
"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"
+)
+
+ + + +
$ for item in 10568-93759/ITEM@10947-46*; do ~/dspace/bin/dspace packager -r -t AIP -o ignoreHandle=false -o ignoreParent=true -e aorth@mjanja.ch -p 10568/87738 $item; done
+
+ + + diff --git a/public/sitemap.xml b/public/sitemap.xml index 797837c38..b8c7587e5 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-09/ - 2017-09-14T18:01:50+03:00 + 2017-09-15T19:20:37+03:00 @@ -119,7 +119,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-09-14T18:01:50+03:00 + 2017-09-15T19:20:37+03:00 0 @@ -130,19 +130,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-09-14T18:01:50+03:00 + 2017-09-15T19:20:37+03:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-09-14T18:01:50+03:00 + 2017-09-15T19:20:37+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-09-14T18:01:50+03:00 + 2017-09-15T19:20:37+03:00 0