This document describes how to install RenderMan Pro Server on an Intel Linux workstation, including installation of PhotoRealistic RenderMan, Alfserver, and the License Server components.
RenderMan Pro Server for Linux is distributed as four rpm packages, as described in the table below.
Package Name | Default Install Location | Description |
RenderManProServer-version.platform.rpm | /opt/pixar/prman-version | The PhotoRealistic RenderMan rendering toolkit, including alfserver. |
Pixar_RPS_version_docs.tgz | /opt/pixar/docs-version | Documentation for RenderMan Pro Server |
devkit-platform.tgz | /opt/pixar/prman-version | devkit for the given Linux platform |
pixarlicense-version.platform.rpm | /opt/pixar/license-version | License server for Intel Linux platforms. Only needs to be installed you are planning on running your license server from Linux as well. |
Each rpm is independent of each other, and may be installed separately. The docs package may be installed in one central location or on each workstation according to your preference. The license package only needs to be installed on a license server.
NOTE: You must install RenderMan Pro Server on any machine that you will do any rendering on, including, for example, preview renders on an artist's workstation; installing RenderMan Pro Server is a separate step, independent of installing RenderMan Studio.
To install the packages, you can either use rpm from the command line, or your choice of UI rpm installer, like gnorpm. The following instructions will use rpm from the command prompt.
Installing to the default location
To install the software to the default location, first change to the directory where the rpms are located, and from a root shell type:
> rpm -i RenderManProServer-version.platform.rpm
For example:
> rpm -i RenderManProServer-13.5-0.gcc402glibc234_SSE2.i686.rpm
Installing to a location other than /opt
To install the packages to a different location, the /opt prefix of the default path can be replaced. For example, to install to /usr/local/pixar/rat, from a root shell type:
> rpm -i --prefix /usr/local RenderManProServer-version.platform.rpmQuerying installed packages
To verify which packages are installed, from any shell type:
> rpm -q package*
For example, if you type:
> rpm -q RenderManProServer*
the full names of installed RenderMan Pro Server packages will be printed to the screen. This trick is handy when you plan to uninstall a package and don't remember exactly which packages are installed.
To uninstall the rpm packages, from a root shell type:
> rpm -e RenderManProServer-version
For example:
> rpm -e RenderManProServer-13.5.0
Notice that the ".i386.rpm" portion of the rpm file name has been truncated. The above command should erase the entire contents of the installation directories.
Licensing
After installation, you will be required to configure the
software for licensing purposes. Pixar's software will run only
with a valid license.
Pixar's software must be told which machine has been designated
as the license server; if you have installed in the default
directory, this is done by editing the file
/opt/pixar/prman-version/etc/rendermn.ini,
and changing the line which reads:
/licenseserver 9010@licensehost
Replace licensehost with the hostname of your license server host.
License Server
After installing the license server with
pixarlicense-version.platform.rpm, you will need a valid
license file. Licenses are obtained from Pixar via web browser, and are keyed to
a special machine designated as your license server. In order to
generate your license, please see this documentation.
Alfred
If you have installed Alfred, you will to consider whether you
will be using the maitre-d. The maitre-d is an important
component of the Alfred network job distribution system, since
it is the central authority for coordinating server use. It will
probably be needed when Alfred is running on multiple network
workstations, and in this case, you should designate a machine
on your network as the Alfred maitre-d. You can choose any
machine on the network, but the best selection is a machine that
will experience little down time and reboots.
If you will be running an Alfred maitre-d, all other machines will need to know which machine is running the maitre-d. This is configured after installation of RenderMan Studio by editing the alfred.ini, which in its default installation is located in $RMSTREE/etc. Near the end of this file is a line which reads:
set alfConfig(maitredHost) {hostname}
Hostname should be replaced with the name of the machine which is running your alfred maitre-d.
Several environment variables are required for RenderMan Studio
applications to function correctly. The RAT tools utilize a combination
of your searchpath and environment variables to specify
versions and locations of the various components of the toolset.
You'll find that this simple mechanism allows you to quickly switch
between versions of RAT and RenderMan. Please add the following lines to your
.cshrc (or other startup) file:
# RMANTREE establishes the location of your prman distribution
# RMSTREE establishes the location of your RMS distribution
# RMSDOCTREE establishes the location of your Pixar documentation distribution
# RMANFB establishes your framebuffer display program
# MAYA_PLUG_IN_PATH tells maya's plugin manager where to consider looking
# for plugins.
# MAYA_SCRIPT_PATH establishes the location of maya scripts.
# MAYA_LOCATION establishes the location of maya - used below for convenience only
# XBMLANGPATH establishes the location of additional icons
# LD_LIBRARY_PATH establishes the search order used by the dynamic loader
# to locate shared objects
# path established the searchpath for the execution of programs. Because
# RAT tools execute other programs, this path
# governs application versions.
#
setenv RMANTREE /opt/pixar/RenderManProServer-13.5
setenv RMSTREE /opt/pixar/RenderMan_Studio-1.0-Maya8.5
setenv RMSDOCTREE /opt/pixar/docs/RMS-1.0
setenv RMANFB it
setenv AW_LOCATION /usr/aw
setenv MAYA_LOCATION $AW_LOCATION/maya
setenv MAYA_PLUG_IN_PATH $RMSTREE/bin
setenv MAYA_SCRIPT_PATH $RMSTREE/lib/mtor/resources
setenv XBMLANGPATH "$RMSTREE/lib/mtor/resources/%B"
setenv LD_LIBRARY_PATH "$MAYA_LOCATION/lib:$RMSTREE/bin"
if ($RMSTREE == $RMANTREE) then
set path = ($path $RMANTREE/bin)
else
set path = ($path $RMSTREE/bin $RMANTREE/bin)
endif
The RMSTREE environment variable points to the top of the desired RenderMan Studio installation. Similarly, the RMANTREE environment variable points to the top of the RenderMan tree. If you did not install the RenderMan software into the default location under /opt/pixar, please change the above paths accordingly.
The RMANFB variable specifies which display driver you'd like to use as your default. it is a good choice however. If you have your own display drivers, you may want to leave this line out or modify it. If you prefer not to set this environment variable, an alternate way of doing this is to edit the rendermn.ini configuration file, and change the setting of /displaytype/framebuffer to it.
Documentation ConfigurationAll of the documentation for both RenderMan and the RenderMan Studio is located in a tree that is separate from the application software. The documentation is contained in a tar gzipped file which can be installed in any location, and generally will be installed onto a web server to allow sharing.
All of the RenderMan Studio applications have the ability to invoke your default web browser to access application specific help files. The applications look for the documentation by using the environment variable RMSDOCTREE, which should be set to the documentation installation directory. If you prefer not to set this environment variable, you will need to make a change to the RAT.ini file. The RMSDOCTREE preference in this file can be set to point to the documentation tree, either as a local path or a url.
After installing your license, you will need to start a license server daemon on the license server host. The license server daemon can be manually started on a host by using the shell script that can be found at the end of the Linux section.
In order to provide remote execution services, you will need to start alfserver from the directory /opt/pixar/alfserver-version. This may be invoked interactively or from system startup. Note however that it will need to be started by a user who has sufficient privileges to access any remote resources which may be needed while providing remote services.
You have the choice of two types of remote execution services, both of which are provided by the same program:
In order to have alfserver be started automatically, you may want to install an rc.d script. For example:
#!/bin/sh ALFSERVER_DIR=/opt/pixar/RenderManProServer-13.5 LOGFILE=/var/tmp/alfserver.log SU="/bin/su nobody -c" # Start alfserver case "$1" in 'start') cd $ALFSERVER_DIR/bin $SU ./alfserver > $LOGFILE 2>&1 ;; 'stop') cd $ALFSERVER_DIR/bin $SU ./alfserver > $LOGFILE 2>&1 ;; *) echo "usage: $0 {start|stop}" ;; esac
can be placed into the directory /etc/rc2.d and renamed to S99alfserver.
If you have decided to run an Alfred Maitre-d, and you have already configured alfred.ini (see the above section on Alfred), you will need to ensure that the maitre-d machine is running the alfred maitre-d before running the alfred UI or dispatcher on other machines.
The alfred maitre-d is started by running alfred with the -maitre_d flag. The alfred executable is located by default in $RMSTREE/bin. It should not be run as root, since it does not require special permissions.
In order to have the license server be started automatically, you may want to install an rc.d script. For example:
#!/bin/sh ALF_DIR=/opt/pixar/RenderMan_Studio-1.0-Maya8.5 LOGFILE=/var/tmp/maitred.log SU="/bin/su nobody -c" # Start the alfred maitred case "$1" in 'start') cd $ALF_DIR/bin $SU ./alfred -maitre_d > $LOGFILE 2>&1 ;; 'stop') cd $ALF_DIR/bin $SU ./alfred -maitre_d > $LOGFILE 2>&1 ;; *) echo "usage: $0 {start|stop}" ;; esac
can be placed into the directory /etc/rc2.d and renamed to S99maitred.
Check out the RenderMan Support Forum.
If that fails, try customer service:
Email: rmancusp@pixar.com
Pixar Animation Studios
|