How to prepare for a DX NetOps Spectrum Upgrade by running the preUpgradeBackup Script
search cancel

How to prepare for a DX NetOps Spectrum Upgrade by running the preUpgradeBackup Script

book

Article ID: 239419

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

How to prepare for a DX NetOps Spectrum Upgrade by running the preUpgradeBackup Script

Environment

Release: All Supported Releases

Component: SPCINS - Installation/Upgrade

Resolution

Located in $SPECROOT/bin/support is the preUpgradeBackup.sh Script.  It is recommended that the script be run on all SpectroSERVERs and OneClick Servers within the environment. Below are the steps on how to execute the script.

 

Windows

1. Open a command prompt as the install user and run the following commands:

    bash -login

    ./bin/support/preUpgradeBackup.sh

2. Once complete, a <SPECROOT>/preUpgrade-<Hostname>-<Date>.tar.gz file will be created containing all of the information.

 

Linux

1. Login as the install user and run the following commands:

    cd <SPECROOT>/bin/support

    chmod +x preUpgradeBackup.sh

    cd <SPECROOT>

    ./bin/support/preUpgradeBackup.sh

2. Once complete, a <SPECROOT>/preUpgrade-<Hostname>-<Date>.tar.gz file will be created containing all of the information.

 

NOTES:

- This script does not include the SpectroSERVER, Archive Manager and Report Manager database backups. These need to be done separately and should always be backed up before completing an upgrade.

Additional Information

Below is a list of the files and directories the script will collect:

It will first run perfCollector and grab the <SPECROOT>/Performance/ directory, then collect:

/opt/SPECTRUM/*.env
app-defaults/*
<SPECROOT>/.hostrc
<SPECROOT>/.corbarc
<SPECROOT>/.jcorbarc
<SPECROOT>/.installrc
<SPECROOT>/Install-Tools/.history
<SPECROOT>/custom/
<SPECROOT>/mysql/my-spectrum.cnf
<SPECROOT>/mysql/slow-queries.log
<SPECROOT>/lib/SDPM/processd_log*
<SPECROOT>/lib/SDPM/partslist/*.idb
<SPECROOT>/lib/SDPM/runtime/*.rtt
<SPECROOT>/LS/.locrc and LOCSERV.OUT*
<SPECROOT>/SS/.vnmrc , VNM.OUT* ,.VNMDB.LOCK , SSdbload.log , dbmigrate.log , RCPD.OUT*
<SPECROOT>/SS/*.log , .moot.* , ADiscDebug* , pstack.out , event_disp_error_file.txt
<SPECROOT>/SS/DDM/.configrc , ARCHMGR.OUT*
<SPECROOT>/SS/support/SpectroSERVER.info
<SPECROOT>/NCM/NCMSERV*
<SPECROOT>/PolicyMgmt/*.xml*
<SPECROOT>/PolicyMgmt/Spectrum/*.xml*
<SPECROOT>/Notifier/*
<SPECROOT>/SSLOGGER/.ssloggerrc , SSLOGGER.OUT* , model* , *.dat, Sync_SRG.conf
<SPECROOT>/SSLOGGER/SRG/*.conf
<SPECROOT>/SS/CsVendor/Cisco_Router/Rtr.txt , EventDisp 
<SPECROOT> /SS/CsVendor/Ctron_CAT/Switch.txt , EventDisp
<SPECROOT> /SS/CsVendor/CiscoPIX/Pix.txt , EventDisp
<SPECROOT>/SDM/sdmLog* , sdm.config
<SPECROOT>/SDM/Logs/*
<SPECROOT>/vnmsh/.vnmshrc , VNMSHD.OUT*
<SPECROOT>/tomcat/logs/*
<SPECROOT>/tomcat/conf/server.xml
<SPECROOT>/tomcat/webapps/axis2/META-INF/context.xml
<SPECROOT>/tomcat/webapps/spectrum/WEB-INF/web.xml
<SPECROOT>/tomcat/webapps/spectrum/META-INF/*.xml
<SPECROOT>/tomcat/bin/OneClickService.conf tomcat/bin/64enabled*
<SPECROOT>/tomcat/bin/catalina.sh
<SPECROOT>/webtomcat/logs/*
<SPECROOT>/webtomcat/conf/server.xml
<SPECROOT>/webtomcat/webswing/webswing.config
<SPECROOT>/webtomcat/bin/webswing.properties
<SPECROOT>/webtomcat/bin/webswing-admin.properties
<SPECROOT>/UninstallerData/installvariables.properties