PipelineFX Forum

Qube! => Installation and Configuration => Topic started by: stwagstaff on October 07, 2011, 12:17:00 AM

Title: Installing Qube workers NOT in default /usr/local/... but in /home/tools/...
Post by: stwagstaff on October 07, 2011, 12:17:00 AM
We have a linux farm configuration where the worker servers read user-installed resources from a shared volume mounted to /home/tools/..., not from /usr/local/... This /home/tools/ directory is the only place we can install tools, including Maya, Mental Ray and Qube, e.g., /home/tools/pfx..., /home/tools/autodesk/..., /home/tools/mental/..., etc.

 I have more or less figured out how to make Mental Ray work in a non-standard directory by modifying the paths in rayrc. How can I install and configure Qube to do the same?

Title: Re: Installing Qube workers NOT in default /usr/local/... but in /home/tools/...
Post by: jburk on October 07, 2011, 11:14:51 PM
You can use the "--relocate OLDPATH=NEWPATH" flag to the rpm command.

rpm -ivh --relocate /usr/local/pfx=/home/tools/pfx qube-core-6.2.1-x86_64.rpm

Title: Re: Installing Qube workers NOT in default /usr/local/... but in /home/tools/...
Post by: mike1158 on October 18, 2011, 05:19:15 PM
I have the same problem, but rpm's "--relocate" feature is not a very good solution.  For starters, it requires root privileges, and most sane NFS setups are exported with root_squash.   Second, it still tries to register the install with the local rpm database, which I don't want.

I just use "rpm2cpio qube-core-6.2.1-x86_64.rpm | cpio -idmv" and put it where I want it to go.  Personally, I'd prefer just having a tarball available.