Upgrade To Spectrum 9.3

Document ID : KB000018508
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When a CA Spectrum SpectroSERVER and/or OneClick server is being decommissioned and a new SpectroSERVER and/or OneClick server is being installed to replace the original, what steps need to be considered to get the new SpectroSERVER/OneClick server running like the original?

Solution:

Often times hardware is replaced or operating systems need to be updated. When you are configuring a new install of Spectrum to replace the previous install of Spectrum, please consider the following:

This is not a complete list and is more an average depiction of what most SpectroSERVER/OneClick server files would need to be moved. You may have further files depending upon your implementations.

Helpdocs for CA Spectrum discuss these steps in more detail. If you have further questions on the functionality please refer to the individual guides.

If your new environment is going to be at the same exact Spectrum version as the old environment then you can run the Spectrum installs on the new machine and then just load in your SSdb and DDMdb and copy the files over.

For example, if you are currently running Spectrum version 9.2.3 and the new environment will be running the same, then you can install 9.2 on the new machine and once complete, install 9.2.3 on the new machine.

On the old machine you will then need to save your SSdb and DDMdb using the SSdbsave and ddm_save utilities.

Copy the SSdb and DDMdb save files to the new machine.

Load them in using the SSdbload and ddm_load utilities.

From the old machine, you will then want to copy the following directories from the old machine to the new machine:

$SPECROOT/custom
$SPECROOT/MibDatabase
$SPECROOT/MibDatabase/Dependent
$SPECROOT/lib/SDPM/partslist
$SPECROOT/Notifier

You will then need to:

  1. Run the bulkmibcompile script to recompile the mibs,

  2. Cycle processd

  3. Start the SpectroSERVER

On a OneClick only machine, you will need to install the Spectrum Version that is consistent with the version of the original Spectrum version.

If you are using the Spectrum Reporting Database on the new machine, you will need to install CABI. When you install Spectrum, during the install, you will be prompted to move the reporting data from another machine. You will need to specify the old SRM machine during this step to migrate the data to the new machine.

Once complete, copy the $SPECROOT/custom folder from the old OneClick install to the new machine.

Restart Spectrum Tomcat

If you will be installing an updated version of Spectrum on the new machine (ie. you are currently running 9.2.3 and will be installing 9.3 on the new machine, the process is a little different):

  1. SSdb - for your catalog and models -- covered in the Installation Guide but here are some condensed steps

    1. Use the online backup feature to create a backup file of your SSdb.

    2. On the new machine, create a <SPECROOT>/SS/ directory

    3. On the new machine, create a <SPECROOT>/SS/DDM directory

    4. Copy the save from step a to your new machine and unzip it into the SS directory

    5. Rename it to be dbsavefile.SSdb

  2. DDMdb - for your events -- covered in the Installation Guide but here are some condensed steps

    1. Use the "ddm_save" feature in the <SPECROOT>/SS/DDM directory to create a file named dbsavefile.tgz.

    2. Copy that save file to the <SPECROOT>/SS/DDM directory on the new machine.

Run the Spectrum installs on the new machine.

Once the installs are complete, you can copy the following files from the old installation area to the new machine. It is recommended that you backup up the directories prior to copying them over as there may be updated files you need in the new directories.

$SPECROOT/custom
$SPECROOT/MibDatabase
$SPECROOT/MibDatabase/Dependent
$SPECROOT/lib/SDPM/partslist
$SPECROOT/Notifier

You will then need to:

  1. Run the bulkmibcompile script to recompile the mibs,

  2. Cycle processd

  3. Start the SpectroSERVER

Other considerations:

  1. If you are setting up the new environment to run at the same time as the current environment, make sure in your new environment that it does NOT talk to the old environment or you will run into major issues. One way to block it is to not use a + symbol in the <SPECROOT>/.hostrc files on each of the new boxes. Only put the names of the new boxes in the .hostrc. You can always change it later when/if you decommission the old installation area.

  2. You'll need to make sure in your new environment you select ONE host to be the Main Location Server (MLS) and point all of the NEW servers to it when installing. Do not select more than one host to be the MLS. You WILL have major problems if you do that.

  3. Make sure you pick one username and run the install as that user on ALL of the new SS and OC installs

    It's best to update your etc/hosts on the new boxes to include ALL OC and ALL SS in the new environment using the format of:

    1. IP lowercase non FQDN

    2. If you have all the servers in there all you should need to do is copy the file to each box as it should be identical.