From a3c64ba8296e04d215e38d8da9666ea6a8b4aaa4 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 24 Jun 2018 13:37:43 +0300 Subject: [PATCH] Update notes for 2018-06-24 --- content/posts/2018-06.md | 9 +++++++++ docs/2018-06/index.html | 15 ++++++++++++--- docs/robots.txt | 2 +- docs/sitemap.xml | 20 ++++++++++---------- 4 files changed, 32 insertions(+), 14 deletions(-) diff --git a/content/posts/2018-06.md b/content/posts/2018-06.md index 9ccca5ae0..6b26239db 100644 --- a/content/posts/2018-06.md +++ b/content/posts/2018-06.md @@ -242,5 +242,14 @@ $ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser - The `-O` option to `pg_restore` makes the import process ignore ownership specified in the dump itself, and instead makes the schema owned by the user doing the restore - I always prefer to use the `postgres` user locally because it's just easier than remembering the `dspacetest` user's password, but then I couldn't figure out why the resulting schema was owned by `postgres` - So with this you connect as the `postgres` superuser and then switch roles to `dspacetest` (also, make sure this user has `superuser` privileges before the restore) +- Last week Linode emailed me to say that our Linode 8192 instance used for DSpace Test qualified for an upgrade +- Apparently they announced some [upgrades to most of their plans in 2018-05](https://blog.linode.com/2018/05/17/updated-linode-plans-new-larger-linodes/) +- After the upgrade I see we have more disk space available in the instance's dashboard, so I shut the instance down and resized it from 98GB to 160GB +- The resize was very quick (less than one minute) and after booting the instance back up I now have 160GB for the root filesystem! +- I will move the DSpace installation directory back to the root file system and delete the extra 300GB block storage, as it was actually kinda slow when we put Solr there and now we don't actually need it anymore because running the production Solr on this instance didn't work well with 8GB of RAM +- Also, the larger instance we're using for CGSpace will go from 24GB of RAM to 32, and will also get a storage increase from 320GB to 640GB... that means we don't need to consider using block storage right now! +- The smaller instances get increased storage and network speed but I doubt many are actually using much of their current allocations so we probably don't need to bother with upgrading them +- Last week Abenet asked if we could add `dc.language.iso` to the advanced search filters +- There is already a search filter for this field defined in `discovery.xml` but we aren't using it, so I quickly enabled and tested it, then merged it to the `5_x-prod` branch ([#380](https://github.com/ilri/DSpace/pull/380)) diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index 3e34d1467..da05c51b2 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -41,7 +41,7 @@ sys 2m7.289s - + @@ -93,9 +93,9 @@ sys 2m7.289s "@type": "BlogPosting", "headline": "June, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-06/", - "wordCount": "1814", + "wordCount": "2068", "datePublished": "2018-06-04T19:49:54-07:00", - "dateModified": "2018-06-14T14:46:09+03:00", + "dateModified": "2018-06-24T09:41:33+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -444,6 +444,15 @@ $ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser
  • The -O option to pg_restore makes the import process ignore ownership specified in the dump itself, and instead makes the schema owned by the user doing the restore
  • I always prefer to use the postgres user locally because it’s just easier than remembering the dspacetest user’s password, but then I couldn’t figure out why the resulting schema was owned by postgres
  • So with this you connect as the postgres superuser and then switch roles to dspacetest (also, make sure this user has superuser privileges before the restore)
  • +
  • Last week Linode emailed me to say that our Linode 8192 instance used for DSpace Test qualified for an upgrade
  • +
  • Apparently they announced some upgrades to most of their plans in 2018-05
  • +
  • After the upgrade I see we have more disk space available in the instance’s dashboard, so I shut the instance down and resized it from 98GB to 160GB
  • +
  • The resize was very quick (less than one minute) and after booting the instance back up I now have 160GB for the root filesystem!
  • +
  • I will move the DSpace installation directory back to the root file system and delete the extra 300GB block storage, as it was actually kinda slow when we put Solr there and now we don’t actually need it anymore because running the production Solr on this instance didn’t work well with 8GB of RAM
  • +
  • Also, the larger instance we’re using for CGSpace will go from 24GB of RAM to 32, and will also get a storage increase from 320GB to 640GB… that means we don’t need to consider using block storage right now!
  • +
  • The smaller instances get increased storage and network speed but I doubt many are actually using much of their current allocations so we probably don’t need to bother with upgrading them
  • +
  • Last week Abenet asked if we could add dc.language.iso to the advanced search filters
  • +
  • There is already a search filter for this field defined in discovery.xml but we aren’t using it, so I quickly enabled and tested it, then merged it to the 5_x-prod branch (#380)
  • diff --git a/docs/robots.txt b/docs/robots.txt index 12c3510ab..f80484daa 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -36,7 +36,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/tags/notes/ +Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/posts/ Disallow: /cgspace-notes/tags/ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 77c91df87..ede90be9b 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-06/ - 2018-06-14T14:46:09+03:00 + 2018-06-24T09:41:33+03:00 @@ -169,7 +169,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-06-14T14:46:09+03:00 + 2018-06-24T09:41:33+03:00 0 @@ -178,27 +178,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2018-06-24T09:41:33+03:00 + 0 + + https://alanorth.github.io/cgspace-notes/categories/notes/ 2018-03-09T22:10:33+02:00 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-06-14T14:46:09+03:00 - 0 - - https://alanorth.github.io/cgspace-notes/posts/ - 2018-06-14T14:46:09+03:00 + 2018-06-24T09:41:33+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-06-14T14:46:09+03:00 + 2018-06-24T09:41:33+03:00 0