Guest

Preview Tool

Cisco Bug: CSCuo60741 - switchover script fails when quotes surround variables in repDb.conf

Last Modified

Jun 22, 2020

Products (1)

  • Headend System Releases

Known Affected Releases

dncs-6.0.0.21p2

Description (partial)

Symptom:
Running the switchover script fails with the following output:

# ./switchover
INFO: Thursday, May 1, 2014 02:14:23 PM EDT
INFO: Checking environment...
./switchover[12]: test: argument expected
./switchover[18]: test: argument expected
egrep: syntax error
egrep: syntax error
ERROR: 
ERROR: RepDb interface is not active!
ERROR:

Conditions:
The  /opt/SAIrepdb/dbRep.conf file must have quotes or other punctuation around the values of $PRIMARY_SERVER and $SECONDARY_SERVER variables, which are typically HOST_A and HOST_B

This can only occur when the dbRep.conf file is manually editted.  The configRepDb script will create the file correctly.

Typically this will only be the case when a system has upgraded to 6.0.0.20 or later and has come from an earlier version of draco.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.