Topic
  • 4 replies
  • Latest Post - ‏2014-08-28T14:32:35Z by cstoneba
cstoneba
cstoneba
196 Posts

Pinned topic change relay cache location (linux)?

‏2014-03-19T19:46:17Z |

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

 

  • GwyndafDavies
    GwyndafDavies
    4 Posts

    Re: change relay cache location (linux)?

    ‏2014-08-27T11:36:20Z  

    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 

     

  • martinc
    martinc
    25 Posts

    Re: change relay cache location (linux)?

    ‏2014-08-27T13:48:01Z  

    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 

     

     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 :)

    Martin

  • GwyndafDavies
    GwyndafDavies
    4 Posts

    Re: change relay cache location (linux)?

    ‏2014-08-27T14:16:18Z  
    • martinc
    • ‏2014-08-27T13:48:01Z

     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 :)

    Martin

    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

  • cstoneba
    cstoneba
    196 Posts

    Re: change relay cache location (linux)?

    ‏2014-08-28T14:32:35Z  

    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 /<newlocation>/IEMRelay/wwwrootbes

    cp -rp /var/opt/BESRelay/wwwrootbes/* /<newlocation>/IEMRelay/wwwrootbes

    rm -r /var/opt/BESRelay/wwwrootbes

    cd /var/opt/BESRelay

    ln -s /<newlocation>/IEMRelay/wwwrootbes wwwrootbes

    /etc/intit.d/besrelay start