This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Retain Index Migration

I need to free up space by moving my Retain indexes and backups to another drive.  I followed the instructions found here to the letter:

https://support.microfocus.com/kb/doc.php?id=7019103

After restarting Tomcat, the server can be logged into, but the searches show nothing and the server configuration link in the console menu just hangs.  Then no one can login to the server web console.  If I change any permissions, there is the initial loading screen as Retain starts, but it just sits on loading the index modules.

Am I missing something?

  • 0  

    hard to say from just that.  likely a very small typo along the way tripped things up.
    Check the logs as they will likely have some clues
            /opt/beginfinite/retain/tomcat/logs

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

  • 0  

    My personal approach to solve these issues is that I stop affected services, move directories to another location and create symbolic links at the original directory ...

    In your situation it seems that Retain is building new index files which takes some time and blocks login.


    Use "Verified Answers" if your problem/issue has been solved!

  • 0 in reply to   

    The RetainServer log has the following:

    SOLRAdministration: Have no URL to check for valid index, please set URL first!

    The other logs don't seem to show any errors.

    This is a clone vm of the production server that I am testing on and it doesn't have network connectivity.

  • 0 in reply to   

    I have never created symbolic links.  So you just move the index and backup folder to the new drive and leave the ASConfig.cfg file like it was?

  • Verified Answer

    +1   in reply to 

    Yes, you are right. In this case you do not have to change any config files. So applications are happy to use default values Wink
    (However this is my personal way - I know admins who do not like symbolic links)

    I prefer to create symbolic links using absolute paths instead of relative values. 


    Use "Verified Answers" if your problem/issue has been solved!

  • 0   in reply to 

    but is that URL for on the vm you are testing?  I've seen some of those break and has nothing to do with connectivity to the environment outside of the Retain box.

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

  • 0 in reply to   

    So if the old location is /data/retain/index and /data/retain/backup with a new location of /index/index and /index/backup, how would the symbolic links be created?

  • 0 in reply to   

    I haven't made any changes to the current production vm.  Only using a testing vm without connectivity to the network.

  • 0   in reply to 

    So your directory /data/retain should contain a symbolic link to /index/index.

    Stop Retain and go to directory /data/retain and

    "ln -s /index/index index"

    (the same for backup)

    However if there is already a directory index, then you have to rename it. Start Retain.


    Use "Verified Answers" if your problem/issue has been solved!

  • 0 in reply to   

    I think I have a permissions error on the new drive/directory.  I followed the instructions exactly with the chown -R tomcat:tomcat /index and the chown -R 755 /index, but it still acts like it cannot connect to the new index location.