The following procedure is STRONGLY recommended as a minimum, when either the Solaris Operating System or VNMR software is re-installed or upgraded on any of the spectrometer hosts. This procedure makes sure that the re-installation is transparent to the average user and ensures that the  spectrometer working environment is restored to its original status.


1. Take a hard copy output of /export/home/vnmr1/conpar. Backup this file in a safe place.

2. Save the file 'makeseq' that is located under /vnmr/bin.

3.  Backup the /export/home/vnmr1/vnmrsys/shims directory.

4.  Note down the 'lockfreq'. (conpar also contains this value).

5.  Carefully backup the file '/vnmr/tune/tunecal'. Also make sure that /export/home/vnmr1/vnmrsys/tune/ directory and its contents are backed up carefully.
      The tunecal and  other files in /export/home/vnmr1/vnmrsys/tune/ contain calibration data that is important for proper functioning of 'qtune' macro that is used to tune and match the probehead using a graphical interface.

6. Take a backup of /data600 or /data500 (depending on the spectrometer) completely on a TAPE or CD-ROM.

7. Run the 'config' utility within vnmr. 'Config' shows the settings of various hardware modules in the system that were optimally set (type of amplifiers, audio filter bandwidth, etc. ) when installation of the spectrometer was complete. One need to retrieve this exact information  whenever we re-install the operating system (and/or) vnmr software, for the spectrometer to function properly.
      Print the entire range of hardware configuration information that appears or note down these values by hand. (Although conpar also contains this information, the printed format of conpar file is such that it is more cumbersome to retrieve these values from conpar).


At the UNIX level:

1. 'tcsh' must be the default login shell for vnmr1 or any other nmr user. (for file name completion, command line editing, etc.)

2. 'emacs' editor need to be installed and accessible from the unix shell.

3. 'makeseq' script must be placed in the /vnmr/bin directory.

4.  The system need to be configured to run the automounter utility to make other hard-disk resources freely accessible on the spectrometer hosts (contact sys-admin/CABM).

5. /data600 or /data500 need to be exported as remotely accessible file systems, to be available in every other computer.

At the VNMR level:

1. Load VNMR in full including the 'gradient shimming' module.

2. After creating the new user 'vnmr1' run the config utility to configure the hardware of the system. Use the printed out information about the hardware configuration of the spectrometer and fill/choose the appropriate values for each entry in the graphical interface launched by config utility.

3. Make  'emacs'  the default editor under 'vnmr'.

4. Restore the data backed up from /data600 (CD or TAPE) onto /data600 back. If /data600 (or /data500) could be preserved during the installation process, leave the contents as it is.

5. Installation of VNMR software will create the home directory for 'vnmr1' as /export/home/vnmr1 automatically. But it has been the practice in this lab that ./vnmr1/vnmrsys/ and its entire contents are stored in /data600 (or /data500) disk. So, after installation, link /export/home/vnmr1/vnmrsys to /data600 (or /data500)/vnmr1/vnmrsys.

6. Do a 'chown -R vnmr1:nmr /data600/vnmr1'. The userid of the newly created 'vnmr1' may not always match the id associated with the backed up vnmr1.

7. Install the printer/plotter, by running '/vnmr/bin/adddevices' as root. Do a "Select Printer" and "Select Plotter" within VNMR, after this.

8. As root, from a unix shell, run " lpadmin -d <printername> " to make the printer instead of the plotter available to Solaris for unix shell printing.

9. After this, first check if the specific files backed up above, are already in their respective directories. (This will be warranted if we could preserve /data500 or /data600 disk during the re-installation, for instance, since we expect no changes to have taken place in the contents of these disks).

    If not, restore the following:

                        conpar  -->  /export/home/vnmr1/

                        tunecal --> /vnmr/tune/tunecal/

                       makeseq  -->  /vnmr/bin/

                    all shimfiles -->  /export/home/vnmr1/vnmrsys/shims/

10. Use the 'lockfreq' value while running the config utility and enter it in the appropriate place.