Spectrum "MapUpdate -v" is displaying a wrong SpectroSERVER hostname and precedence
search cancel

Spectrum "MapUpdate -v" is displaying a wrong SpectroSERVER hostname and precedence

book

Article ID: 367501

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Example of a symptom would be :

Connecting to Location Server running at: SS1 port 0xdaff

Landscape   Service Type Name  Hostname                       Port   Precedence  Notes
----------  ------------------ ------------------------------ ------ ----------  ------------------
0x2000000   Landscape Default  SS1                            0xbeef 10          16M model mask
0x2000000   Landscape          SS1                            0xbeef 10          16M model mask
0x2000000   Landscape          xxx1                           0xbeef 20          16M model mask
0x2000000   Events             SS1                            0xbafe 10          16M model mask

----------------------------------

Connecting to Location Server running at: SS2 port 0xdaff 

Landscape   Service Type Name  Hostname                       Port   Precedence  Notes
----------  ------------------ ------------------------------ ------ ----------  ------------------
0x2000000   Landscape Default  SS2                            0xbeef 10          16M model mask
0x2000000   Landscape          SS2                            0xbeef 10          16M model mask
0x2000000   Landscape          xxx1                           0xbeef 20          16M model mask
0x2000000   Events             SS2                            0xbafe 10          16M model mask

 

Environment

DX NetOps Spectrum with a secondary server

Cause

corrupted config, failed restore , failed migration etc.

Resolution

Steps to resolve the issue:

1. Shutdown the secondary SS (SS2).

2. Remove the SpectroSERVER hostname (xxx1) for precedence 20 on the primary SS (SS1).

cd $SPECROOT/SS-Tools/

./MapUpdate -remove 0x2000000 -precedence 20

./MapUpdate -v   (to confirme the precedence 20 was successfully removed)

3. Make an OnLineBackup of the SSdb on the primary SS (SS1).

4. Transfer the SSdb file to the secondary SS (SS2).

5. Load the transfered SSdb file on the secondary SS (SS2).

cd $SPECROOT/SS/

../SS-Tools/SSdbload -il -a 20 <SSdb_from_primary_SS>

6. Start the secondary SS (SS2).

7. Run the  "MapUpdate -v" on both primary and secondary SSs. You should get this output:

Landscape   Service Type Name  Hostname                       Port   Precedence  Notes
----------  ------------------ ------------------------------ ------ ----------  ------------------
0x2000000   Landscape Default  SS1                            0xbeef 10          16M model mask
0x2000000   Landscape          SS1                            0xbeef 10          16M model mask
0x2000000   Events             SS1                            0xbafe 10          16M model mask
0x2000000   Landscape Default  SS2                            0xbeef 20          16M model mask
0x2000000   Landscape          SS2                            0xbeef 20          16M model mask
0x2000000   Events             SS2                            0xbafe 20          16M model mask