Change relay cache location (linux)?

(imported topic written by cstoneba)

Is there a fixlet to change the relay cache location on RedHat? I see the task for windows, but no linux.

(imported comment written by GwyndafDavies)

Hi,

Did you find a solution for this? I’m investigating the same issue as I have relays with limited spaced under the root directory. It should be possible as there is a windows task for it, however there aren’t any definitive details on what needs to change. The starting point would be to edit the besrelay.config file and change the location of the default wwwrootbes folder. (/var/opt/BESRelay/).

Looking at the task for windows, there are several registry keys being changed which would suggest several lines in a config file/config files to be changed in Unix. Additionally, there is a client setting for the client running on that relay - _BESRelay_HTTPServer_ServerRootPath

Cheers,

Gwyn

(imported comment written by martinc)

am sure this could be derived from the Windows task, but I wonder if this should be in a pmr or an enhancement request (
http://www.ibm.com/developerworks/rfe/?BRAND_ID=90
). The issue I would see is that we piece this together but put you into an unsupported situation.

But hey, I am willing to try it :slight_smile:

Martin

(imported comment written by GwyndafDavies)

There is actually a solution already outlined that involves symbolic links. However the link for it is now broken so currently the information and details on the steps to take are not available. This is slightly worrying as the solution was deployed on customer sites, but since it has disappeared from the support website it’s essentially unsupported.

The link that held the information was:
http://www-01.ibm.com/support/docview.wss?uid=swg21594757

Cheers,

Gwyn

(imported comment written by cstoneba)

I came up with a process that seems to work, which also uses sym links. I haven’t put it into a fixlet yet, but here are the linux commands:

/etc/intit.d/besrelay stop

su -

mkdir -p //IEMRelay/wwwrootbes

cp -rp /var/opt/BESRelay/wwwrootbes/* //IEMRelay/wwwrootbes

rm -r /var/opt/BESRelay/wwwrootbes

cd /var/opt/BESRelay

ln -s //IEMRelay/wwwrootbes wwwrootbes

/etc/intit.d/besrelay start