cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1627
Views
0
Helpful
6
Replies

RME DB question?

getwithrob
Level 3
Level 3

We are running RME only on one of our boxes and it seems to be starting to act kinda quirky.

Is there anything I can do to tell if the DB is starting to hose up? Is there anything I can do to correct those inconsistencies?

1 Accepted Solution

Accepted Solutions

This is not a reinit in any way. However, before anything is done to the database, one should perform a backup.

View solution in original post

6 Replies 6

nhabib
Level 9
Level 9

Here are the instructions to correct inconsistencies. Of course, make sure you perform a backup before running them.

You need to be root and using a Bourne or Korn shell

/etc/init.d/dmgtd stop

LD_LIBRARY_PATH=/opt/CSCOpx/lib:/opt/CSCOpx/objects/db/lib

export LD_LIBRARY_PATH

PATH=${PATH}:/opt/CSCOpx/objects/db/bin ; export PATH

SATMP=/tmp/.SQLAnywhere ; export SATMP

ASANY=/opt/CSCOpx/objects/db ; export ASANY

cd /opt/CSCOpx/databases/rme

rm rme.log (if it exists)

dbsrv7 -f rme.db

/etc/init.d/dmgtd start

I'm assuming this won't mess anything up...

It's not like a reinitdb or something is it?

I will do an online backup first, stop the db and run the commands. I just can't risk breaking anything!!!

This is not a reinit in any way. However, before anything is done to the database, one should perform a backup.

Again, Thank you.

.

Again, Thank you.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco