Maya

From Research
Revision as of 02:16, 10 April 2010 by Hha13 (talk | contribs)
Jump to navigation Jump to search

Intructions for Maya 2011

Maya provided by Autodesk

License-Server Installation

The license server (FLEXnet) was downloaded from the Autodesk Subscriptions website and installed (as an rpm). Use the following init.d script to make it run:

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/files/flexlm-init,v 1.4 2006/09/26 04:10:49 eradicator Exp $

depend() {
        need net
}

start() {
        ebegin "Starting flexnet lmgrd"
        su - ${LMUSER} -c "echo starting lmgrd >> '${LMLOG}'"
        nohup su - ${LMUSER} -c "umask 022; /opt/flexnetserver/lmgrd -c '${LMLICENSE}' >> '${LMLOG}'"
        su - ${LMUSER} -c "echo sleep 5 >> '${LMLOG}'"
        sleep 5
        su - ${LMUSER} -c "echo lmdiag >> '${LMLOG}'"
        su - ${LMUSER} -c "/opt/flexnetserver/lmdiag -n -c '${LMLICENSE}' >> '${LMLOG}'"
        su - ${LMUSER} -c "echo exiting >> '${LMLOG}'"
        eend $?
}

stop() {
        ebegin "Stopping flexnet lmgrd"
        /opt/flexnetserver/lmdown -q -all -c "${LMLICENSE}"
        eend $?
}

And here's the conf.d for it:

# Logfile path: (NOTE: This must be uid/gid owned by the value of $LMUSER!)
LMLOG="/var/log/flexnet.log"

# Run the lmgrd user as:
LMUSER="flexlm" 

# List all license files delimeted by a colon
LMLICENSE="/opt/flexnetserver/MAYA2011enlicense.lic"

Make sure you open port 2080 in the firewall, and also allow pings since Maya 2011 requires this.

Maya Client (Workstation) Installation

When installing the software, make sure to select Network License, and enter bismarck.iat.sfu.ca for the server. You also need to modify the generated license file.

The location of this license-file varies a bit, according to your OS:

  • Mac: /var/flexlm/Maya.lic
  • Windows: C:\flexlm\Maya.lic
  • Linux, IRIX, etc: /var/flexlm/Maya.lic

Open the file in a text-editor and modify it to look as such

SERVER bismarck.iat.sfu.ca 0 2080
USE_SERVER

Intructions for Maya 2008

Maya provided by Alias

Lmhostid is a unique number created for each computer by the lmhostid program provided by alias. This number is required for purchasing a license, and is also called: Hardware Info: System ID.

Purchasing Maya

Make sure you purchase the floating license version, this is the only version that can be floated through a flexlm server. Keep track of the Customer Location Code (CLC).

License

Fill out the license form and select floating here: http://www.alias.com/spar/

Relocation

Relocation is required if you move the flexlm server to another machine, or you have a license file created with 1 hardwareID that you want to use on another server. Alias will provide you with a new license file if you fill in the relocation form: http://www.alias.com/relocation

License-Server Installation

Download pdr_LicenseServer10.80_linux.tar.gz which contains lmgrd and sgiawd, necessary executables for starting flexlm with an alias license.dat file.

Download it from:

musashi:/export/mirror/purchased-software/lin

OR

alias.com/glb/eng/community/downloads.jsp

put the license.dat file in the /etc/flexlm directory. Edit the file and replace 'server' with the actual server name.


Note: Add this line to the license file to lock down the sgiawd service to a certain port: VENDOR sgiawd port=****

Maya Client (Workstation) Installation

There are two steps to a workstation-installation:

  • create the license-file on the client workstation, which will direct the workstation Maya client to "talk" to our flexlm server for authourization to run
  • install the Maya software (currently version 7 - Jan. 2008)

At this time of writing (Jan. 2008) we have 3 "Permanent" copies of Maya Unlimited, with Cloth, Fluids and Fur effects.

Maya Client: License File

The location of this license-file varies a bit, according to your OS:

  • Mac: /var/flexlm/aw_client.dat
  • Windows: C:\FLEXlm\aw_servername.dat
  • Linux, IRIX, etc: /var/flexlm/aw_servername.dat

Open a text-editor and create the license-file that points to our flexlm server. For Windows, the file is:

C:\FlexLm\aw_bismarck.dat

The file must contain:

SERVER bismarck.iat.sfu.ca 0 7111
USE_SERVER

Maya Client: Software Installation

Grab the CD's, begin installing and follow your nose :-)
After installing, with the license-file in place, it should "just work" :-)

For server debug output:

# tail -f /var/log/flexlm.log