Process to switch among PGM and TRDP variants without re-installing TIBCO RV.

Process to switch among PGM and TRDP variants without re-installing TIBCO RV.

book

Article ID: KB0090476

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Description:
=========
If RVD is installed with PGM variants on UNIX flavored boxes , users may see the following error in RV logs while starting the daemon:

“2012-10-01 01:52:59 RV: failure setting up raw sockets: socket(): 13 (Permission denied). daemon must be started with administrative privileges”

PGM daemons do require opening a “raw” socket which requires administrative privilege and hence RVD needs to be run as root user and not as a non-root user. Refer to SOL1-A1N0U7 for more details. To solve this issue, follow the steps given below.

Solution:
=======
These steps will switch the installation mode among PGM and TRDP variants. If you want to use the 64-bit rvrd, copy the files ending with 64. i.e.,  if you want to use the 64-bit trdp variant rvd, then copy trdprvd64 to rvd. To switch RV to use TRDP protocol from PGM - you should be able to do the following:

in $TIBCO_HOME/8.3/bin  - you should see output similar to:

root@localhost bin]# pwd
/opt/tibco/tibrv/8.3/bin
[root@localhost bin]# ls -al *rv*
-r-xr-xr-x 1 root root  668464 Dec 17  2010 pgmrvd
-r-xr-xr-x 1 root root  651968 Dec 17  2010 pgmrvd64
-r-xr-xr-x 1 root root 1609872 Dec 17  2010 pgmrvrd
-r-xr-xr-x 1 root root 1609720 Dec 17  2010 pgmrvrd64
-r-xr-xr-x 1 root root 1397380 Dec 17  2010 pgmrvsd
-r-xr-xr-x 1 root root 1401744 Dec 17  2010 pgmrvsd64
-r-xr-xr-x 1 root root 1701028 Dec 17  2010 pgmrvsrd
-r-xr-xr-x 1 root root 1694160 Dec 17  2010 pgmrvsrd64
-r-xr-xr-x 1 root root 1100784 Dec 17  2010 rva
-r-xr-xr-x 1 root root 1066664 Dec 17  2010 rvcache
-r-xr-xr-x 1 root root 1081976 Dec 17  2010 rvcache64
-r-sr-xr-x 1 root root  697260 May 30  2011 rvd
-r-sr-xr-x 1 root root  682336 May 30  2011 rvd64
-r-xr-xr-x 1 root root  482528 Dec 17  2010 rvlat
-r-xr-xr-x 1 root root  695392 Dec 17  2010 rvlat64_ipm
-r-xr-xr-x 1 root root  712168 Dec 17  2010 rvlat_ipm
-r-xr-xr-x 1 root root  486560 Dec 17  2010 rvperfm
-r-xr-xr-x 1 root root  697376 Dec 17  2010 rvperfm64_ipm
-r-xr-xr-x 1 root root  714600 Dec 17  2010 rvperfm_ipm
-r-xr-xr-x 1 root root  479200 Dec 17  2010 rvperfs
-r-xr-xr-x 1 root root  691424 Dec 17  2010 rvperfs64_ipm
-r-xr-xr-x 1 root root  708424 Dec 17  2010 rvperfs_ipm
-r-xr-xr-x 1 root root  556436 Dec 17  2010 rvrad
-r-xr-xr-x 1 root root 1636236 May 30  2011 rvrd
-r-sr-xr-x 1 root root 1638488 May 30  2011 rvrd64
-r-sr-xr-x 1 root root 1426176 May 30  2011 rvsd
-r-sr-xr-x 1 root root 1434312 May 30  2011 rvsd64
-r-sr-xr-x 1 root root 1729792 May 30  2011 rvsrd
-r-sr-xr-x 1 root root 1723408 May 30  2011 rvsrd64
-r-xr-xr-x 1 root root 1006804 Dec 17  2010 rvtrace
-r-xr-xr-x 1 root root    1759 Dec 17  2010 tibrvcfg
-r-xr-xr-x 1 root root  343764 Dec 17  2010 tibrvlisten
-r-xr-xr-x 1 root root  343508 Dec 17  2010 tibrvsend
-r--r--r-- 1 root root     836 Dec 17  2010 tibrvtkt.smp
-r-xr-xr-x 1 root root  697260 Jan 20  2011 trdprvd
-r-xr-xr-x 1 root root  682336 Jan 20  2011 trdprvd64
-r-xr-xr-x 1 root root 1636236 Jan 20  2011 trdprvrd
-r-xr-xr-x 1 root root 1638488 Jan 20  2011 trdprvrd64
-r-xr-xr-x 1 root root 1426176 Jan 20  2011 trdprvsd
-r-xr-xr-x 1 root root 1434312 Jan 20  2011 trdprvsd64
-r-xr-xr-x 1 root root 1729792 Jan 20  2011 trdprvsrd
-r-xr-xr-x 1 root root 1723408 Jan 20  2011 trdprvsrd64

It is suggested to back up the intended target RV files initially:

cp rvd rvd.STORE
cp rvrd rvrd.STORE
cp rvsd rvsd.STORE
cp rvsrd rvsrd.STORE

If you want to use trdp variant, then copy:

a). trdprvd to rvd
b). trdprvrd to rvrd
c). trdprvsd to rvsd and
d). trdprvsrd to rvsrd.

If you want to use the pgm variant, then copy:

a). pgmrvd to rvd
b). pgmrvrd to rvrd
c). pgmrvsd to rvsd and
d). pgmrvsrd to rvsrd.

Note that if you want to use the 64-bit rvrd, copy the files ending with 64, i.e , if you want to use the 64-bit trdp variant rvd, then copy trdprvd64 to rvd.

Issue/Introduction

Process to switch among PGM and TRDP variants without re-installing TIBCO RV.