Server Restart Procedures

=Server Restart=

Prerequisits

 * Administrator login credentials for Elli, Loki, pmac2572 and Odin.
 * Access to the Scanner Suite, a key to Brigantia 005 and the door code for Brigantia   002.1.
 * A computer connected to the wired university network with an ssh client.
 * A Mac connected to the wired network is helpful but not essential.
 * Ability to use ssh and terminal.

Restart Instructions
It is best to perform the following steps in order.

Boot Elli

Elli is located in the scanner suite the right of the scanner console. Press the release button on the top of the security bezel then remove the security bezel. This video https://youtu.be/psL8-P0Hs1s?t=11s shows how to remove the bezel.

Press the power button at the top left corner of the front panel. Elli should begin the power on sequence. Replace the security bezel. Boot up takes about 5 minutes. Walk down to the BIU server room, Brigantia 002.1.

Boot Loki

Loki is the Mac Mini on the far left of the table in the server room. The power switch is at the rear corner.

Boot pmac2752

Pmac2752 is the MacPro adjacent to Loki.

Start the MATLAB License Manager

Go to a computer on the wired network that is able to run ssh. Using ssh connect to loki as loki admin. %ssh lokiadmin@loki.ad.bangor.ac.uk

Navigate to the MATLAB License Manager. Run the lmstart script. loki:~ lokiadmin$ cd /Applications/MATLAB_R2016a.app/etc loki:etc lokiadmin$ sh ./lmstart

The script should run with no error messages. Run lmstat -a to double check the license manager is running. loki:etc lokiadmin$ ./lmstat -a

The output should include the line: loki: license server UP (MASTER) v11.13.0

Log out from Loki: loki:etc lokiadmin$ exit

Start DCM4CHEE PACS on pmac2752

Log into pmac2752 as andrewfischer %ssh andrewfischer@pmac2752.ad.bangor.ac.uk

Navigate to /etc/init.d and sudo the start script andrewfischer@pmac2752:~$ cd /etc/init.d sudo sh dcm4chee_init_redhat.sh start

Check the server logs to see if the server started. Many errors can be ignored.

$ cd /usr/local/dcm4chee/server/default/log $ tail boot.log $ tail server.log

Check the web interface or try connecting with a DICOM client.

Start DCM4CHEE PACS on elli'

Log into pmac2752 as andrewfischer %ssh andrewfischer@elli.ad.bangor.ac.uk

Navigate to /etc/init.d and sudo the start script andrewfischer@elli:~$ cd /etc/init.d sudo sh dcm4chee_init_redhat.sh start

Check the server logs for errors. Mostly you are looking to see if the server started.

$ cd /usr/local/dcm4chee/server/default/log $ tail boot.log $ tail server.log

Check the web interface and try connecting with a DICOM client.

Start Odin

Odin is in Andrew's office, (Brigantia 005) Power on Odin and wait a couple of minutes for it to boot.

Connect to odin using ssh:

$ ssh odinadmin@odin.ad.bangor.ac.uk Password:

Start DCM4CHEE PACS on Odin

Use Apple's Screen Share to connect to Odin. Open a terminal window on Odin. DO NOT USE ssh for this.

$ cd ~/Documents $ docker-compose -p dcm4chee start

You should see db, ldap and arc start.