# Moving SICS

## Moving the SICS Server to a new Computer

This requires the following steps:

1. Create a new local account on the host computer. There is a prefabricated account with the credentials: INSTBCK/INSTBCKLNS on lnsa15.
2. Run sicsinstall `instrument` in the new instruemnt account, thereby replacing instrument with the name of the instrument you are moving.
3. Create and edit a suitable DataNumber file for the instrument.
4. Edit the instrument configuration files and adapt the path names to match the new situation.
5. Configure the histogram memory to boot from the new computer, se histogram memory documsntation for instructions how to do that.
6. Try to start and debug.

## Exchanging the Serial Port Server

1. Fetch a new one and make sure that all cables are plugged as they were in the old one.
2. Edit the startsics script to start the SerPortServer program with the name of the new serial port server.
3. Done!

## Exchanging the Histogram Memory

1. Get a new histogram memory computer from either Peter Rasmussen, the test setup in WHGA/247 or in cases of greatest need, from SLS.
2. Put into the rack.
3. Configure the HM boot parameters through the console conneted to the serial port belonging to the HM. Instructions for this can be found in the histogram memory documentation.
4. Include the new HM into the /etc/hosts file of the instrument computer.
5. Adapt the instrument configuration file to reflect the new name of the HM.
6. Start and debug.