honeypot@pipelinefx.com
PipelineFX
May 22, 2013, 05:21:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: See Announcements for latest Qube updates.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Installing Qube workers NOT in default /usr/local/... but in /home/tools/...  (Read 646 times)
stwagstaff
Newbie
*
Posts: 1


« on: October 06, 2011, 07:17:00 PM »

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?

Logged
jburk
Administrator
*****
Posts: 363


« Reply #1 on: October 07, 2011, 06: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

Logged
mike1158
Newbie
*
Posts: 1


« Reply #2 on: October 18, 2011, 12: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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!