SUNScholar/Upgrading/Hardware

From Libopedia
Jump to navigation Jump to search

Introduction

This is the very tricky one if you are running your server on a bare metal machine. If your server is virtualised then this procedure is not needed. To avoid bare metal upgrades in the future it is highly advised that you virtualise your server. Ask the central campus IT to help you this.

If you are presently running bare metal and are going to upgrade to another bare metal server, then read the guidelines below.

Bare metal to bare metal

Prep new machine

  1. Install the same version of DSpace and Ubuntu LTS server software on the new machine.
  2. Do not create a PostgreSQL DB on the new machine.
  3. The new machine hostname should temporary. For example: http://irx.sun.ac.za

Export and import contents

  1. Export the PostrgeSQL DB from the old machine and import it to the new machine using "pgAdmin". See: http://www.pgadmin.org
  2. Put the old machine into maintenance mode.
  3. Copy the entire /home/dspace folder from the old machine to the new machines /home/dspace folder using "rsync". See: http://en.wikipedia.org/wiki/Rsync
Back to Upgrading