Why?


Search This Blog

Wednesday, May 20, 2015

How to get AS server settings so you can do windiff



How to get AS server settings so you can do windiff

From TAC
Most of the settings you can see from the file
/usr/local/broadworks/bw_base/conf/configdb/config.xml
For the rest in the CLI that are in the DB. You will have to manually go to the contexts and compare. There is no way to dump them to a file.

I also did a tree –r –f from the AS bwcli root. I opened this in excel and massaged it so it would go through the tree and issue gets where needed. I exported this in csv. I opened file on Notepad++ and replace all , with ; then saved text file. I upload text file to AS server issued run from the bwcli. I used putty to access the AS and made sure I capture screen to file. I also added this to the beginning of file so I would not get prompted.

config set yesNoPromptEnabled false
config set continuePromptEnabled false
config set alwaysDeleteConfirmation true

So my file I saved to AS looks like the following

config set yesNoPromptEnabled false
config set continuePromptEnabled false
config set alwaysDeleteConfirmation true
qa;ASDiagnostic
get
qa;ASDiagnostic;DNS;
get
qa;ASDiagnostic;Diag;
get
qa;ASDiagnostic;Diameter;
get
qa;ASDiagnostic;Diameter;Peers
get
qa;ASDiagnostic;Diameter;Realms
get
qa;ASDiagnostic;Diameter;Realms;RoutingPeers;
etc..


I can now get the xml file from two servers, do my tree dump from the two servers, and then windiff them to see any differences.


No comments:

Post a Comment