Steps to start rvgd fresh with a blank configuration.

Steps to start rvgd fresh with a blank configuration.

book

Article ID: KB0088148

calendar_today

Updated On:

Products Versions
TIBCO Messaging Appliance P-7500 -
Not Applicable -

Description

Resolution:
Resolution
= = = = = =

1). Move to support login window. Change dir to rvgd store files dir “/usr/sw/loads/currentload/rvgd/db”
[support@tma3 ~]$ cd /usr/sw/loads/currentload/rvgd/db
[support@tma3 db]$ ls
backup.store  primary.store

2). Check primary and backup rvgd process running. Obtain the rvgd pid’s.

[support@tma3 db]$ ps -ef | grep rvgd
support  27561  5636  0 09:23 ?        00:00:00 /usr/sw/loads/currentload/rvgd/rvgd -log-max-size 200000 -log-max-rotations 10 -listen 127.0.0.1:7501 -store /usr/sw/loads/currentload/rvgd/db/backup.store -http 10.97.48.35:7582 -ha-daemon-spec 10.97.48.23:7500 -idle -gp-interface-name eth2:2 -logfile /usr/sw/loads/currentload/rvgd/backup_rvgd.log -foreground
support  28019  5636  0 09:26 ?        00:00:00 /usr/sw/loads/currentload/rvgd/rvgd -log-max-size 200000 -log-max-rotations 10 -listen 127.0.0.1:7500 -store /usr/sw/loads/currentload/rvgd/db/primary.store -http 10.97.48.35:7581 -ha-daemon-spec 10.97.48.57:7500 -gp-interface-name eth2:1 -logfile /usr/sw/loads/currentload/rvgd/primary_rvgd.log -foreground
support  28348 26861  0 09:28 pts/4    00:00:00 grep rvgd

3).  Kill the rvgd processes and reconfirm both the rvgd processes are not running.

[support@tma3 db]$ kill 27561
[support@tma3 db]$ kill 28019
[support@tma3 db]$ ps -ef | grep rvgd
support  28575 26861  0 09:30 pts/4    00:00:00 grep rvgd

4). Remove the rvgd store files backup.store and primary.store.

[support@tma3 db]$ rm backup.store
[support@tma3 db]$ rm primary.store

5). Check the RV config status using cli admin command. The rvgd status should be down.

tma3.na.tibco.c(config-rv-gateway)# show rv config

RV Configuration Status:             Enabled
RV-Gateway:                          Enabled

                         Primary                Backup
                         ---------------------  ---------------------
RV Listen Port           7500                   7500
RV-Gateway Status        Down                   Down
tma3.na.tibco.c(config-rv-gateway)#

6).  Keep checking the rvgd process. It will restart automatically with a new store files primary.store and backup.store and pid’s. This might take few minutes.

[support@tma3 db]$ ps -ef | grep rvgd
support  28640 26861  0 09:30 pts/4    00:00:00 grep rvgd
[support@tma3 db]$ ps -ef | grep rvgd
…….
[support@tma3 db]$ ps -ef | grep rvgd
support  28740  5636  1 09:31 ?        00:00:00 /usr/sw/loads/currentload/rvgd/rvgd -log-max-size 200000 -log-max-rotations 10 -listen 127.0.0.1:7501 -store /usr/sw/loads/currentload/rvgd/db/backup.store -http 10.97.48.35:7582 -ha-daemon-spec 10.97.48.23:7500 -idle -gp-interface-name eth2:2 -logfile /usr/sw/loads/currentload/rvgd/backup_rvgd.log -foreground
support  28742  5636  2 09:31 ?        00:00:00 /usr/sw/loads/currentload/rvgd/rvgd -log-max-size 200000 -log-max-rotations 10 -listen 127.0.0.1:7500 -store /usr/sw/loads/currentload/rvgd/db/primary.store -http 10.97.48.35:7581 -ha-daemon-spec 10.97.48.57:7500 -gp-interface-name eth2:1 -logfile /usr/sw/loads/currentload/rvgd/primary_rvgd.log -foreground
support  28789 26861  0 09:31 pts/4    00:00:00 grep rvgd
[support@tma3 db]$
[support@tma3 db]$ ls
backup.store  primary.store

7).  Check the rvgd web interface. The Router configuration should be gone.

8).  Check the rvgd config using the cli interface. The RV-Gateway Status should be up.        

tma3.na.tibco.c(config-rv-gateway)# show rv config
RV Configuration Status:             Enabled
RV-Gateway:                          Enabled
                         Primary                Backup
                         ---------------------  ---------------------
RV Listen Port           7500                   7500
RV-Gateway Status        Up                     Up
tma3.na.tibco.c(config-rv-gateway)#

Issue/Introduction

Steps to start rvgd fresh with a blank configuration.