SplutterFish Brazil r/s License Software

SplutterFish's license software (sfmgr) is a license management system responsible for providing floating license services for Brazil r/s.  Like similar license management systems, it is tied to a designated computer as a server which must be authorized by SplutterFish for successful operation.  sfmgr is responsible for the verification and security of the legally purchased licensed copies of Brazil r/s for 3dsmax./VIZ

This document contains detailed information on sfmgr.  If you wish to get the service up and running as quickly as possible, the sections you should read are:
Section 2.1  The Basics
Section 2.3  What is a Software Key
Section 2.4  Quick Start Instructions
You may at some point however, skim through the entire document.  It discusses general information on floating licenses, optional license modes, and offers some support and trouble-shooting if problems occur.

The Basics

  • The SplutterFish sfmgr is a Windows service that is installed on one machine and is responsible for dispensing the purchased number of licenses to machines running Brazil r/s on your local area network.
  • You must have at least one Windows NT, Windows 2000  or XP system to host this service in order to use the floating license capability'. 
  • After purchasing Brazil r/s, you will need to run the splauth.exe authorization utility to obtain machine hardware information that is to be sent back to SplutterFish.  This information will be used to generate a key which will be emailed back to you.  This software key is stored in a license file, brzlic.txt, which will authorize your server.
  • Once installed, sfmgr will start automatically upon reboots of the server.  You will also have the option to start and stop the service via the Windows Services menu or with a MS DOS Command window.
  • Once the sfmgr server is up and running the networked machines running Brazil will interact with sfmgr via tcp-ip automatically.
  • sfmgr is only responsible for dispensing Brazil r/s Workstation and Rendernode licenses.  It does not replace the standard 3ds max network rendering software which is still necessary to network render your files.
  • What is a Floating License?

    A floating license scheme is a convenient method to handle software license issuance in a multi-computer/multi-user environment.  With a floating license, Brazil can be run from any computer on a local area network in accordance with the number and type of licenses purchased.

    For example, say a studio has three artists and six computers.  It purchases one Brazil Bundle which gives them one Workstation license (GUI enabled) and two Rendernode licenses (no GUI).  The studio's network administrator installs Brazil on all six machines and installs the SplutterFish sfmgr license software on one of the six which will serve as the license server.  Artists will be able to use the one Workstation license from any computer on the network but only one artist can gain access to it at one time since only one Workstation license was purchased.  The same goes for the Rendernode licenses.  Once the SplutterFish sfmgr service is running, there is no action required by the artist since the licenses are issued and returned automatically via communication between the license server and Brazil.

    For those who do not intend to run Brazil on more than one computer, the SplutterFish sfmgr must still be installed.  It is used for software security purposes and will simply issue licenses to itself.  It would also be "ready-to-go" if at a later time, an additional computer and network were added.

    What is a Software Key?

    When you purchase any license of Brazil for 3dsmax, you will be required to obtain a key from SplutterFish in order for Brazil to run.  Obtaining a key involves running the SplutterFish Authorization Utility on the one computer that will be the designated license server.  The SplutterFish Authorization Utility will output some machine-specific information which must be be emailed back to SplutterFish.  Once received, SplutterFish will generate a license file that must be placed in the same directory as sfmgr.exe and will contain coded license information.

    NOTE:  It is important to note that once a key is obtained from SplutterFish, the license server may only be run on the designated machine and will fail to issue licenses if moved to another.  If changing the license server machine becomes necessary, a new key will have to be generated.  Contact SplutterFish if this situation is encountered.

    Quick Start Installation Instructions

    We recommend that you first read through all of the steps before proceeding.  If you have any questions during this process, please contact auth@splutterfish.com.

    NOTE:  You must have Windows Administrator privileges to install the SplutterFish Brazil r/s License Manager.

    1.  Choose the computer on which you will be running your Brazil license server.  The server must be running Windows NT, Windows 2000 or XP.  It is recommended that you choose a computer that is usually always online and not normally pegged by CPU or heavy network traffic.

    2.  On this computer, create a folder where you want to install the the SplutterFish Brazil license manager.  It can be anywhere, not necessarily in the same directory as Brazil.  (In fact 3ds max/VIZ  and Brazil do not even need to be on this computer.)  Using an extraction program like Winzip, unzip sfmgr.zip in this directory.

    3.  Unzip splauth.zip into this folder.  Then in Windows explorer, click on splauth.exe.  This will create an authorization file for your designated license server machine called:  splauth.txt. 

    If you do not have the splauth.exe utility (if doing a license transfer, for example), you can also generate a splauth.txt by typing:

    sfmgr -getinfo

    in a DOS window, in the directory where sfmgr.exe resides.

    4.  Email this splauth.txt file to:  auth@splutterfish.com.  You will then receive your license file via email from SplutterFish.  The zipped license file is: brzlic.txt  (or brzeval.txt for timelocked licenses).

    5.  Unzip your license file that you obtained from SplutterFish in the folder you created in step 2.

    6.  In Windows explorer, go to this folder and click on sfmgr.exe. 

    7.  If no errors were encountered, your license server should now be successfully authorized.  You can verify that the service was installed by checking in Windows Services control panel.

    Note:  A common installation error is that the license file could not be found or was generated for another computer.  The software key in the license file is tied to a specific computer.  Be sure you are installing on the computer on which you ran the splauth.exe utility

    Brazil running on the various computers on the local area network will now be able to communicate automatically with the Brazil license server machine as needed to obtain licenses. 

    Note:  If you encounter an error dialog with the error code:  BCASTTIMEOUT, see the section The SplutterFish Well-known TCP Port.

    Restarting the sfmgr

    There may be times when you will want to restart sfmgr. To do this you can use Window Services.   
    In the Control Panel, click on Services.  Scroll down and highlight the SplutterFish Net Mgr.  Use the Stop and Start buttons in the Windows Services menu to stop and restart the service.

    You can also stop and start it on the command line in a DOS cmd console window.  Change directory to where the sfmgr.exe exists and type:

        sfmgr -stop

    and then

        sfmgr -start

    Removing/Upgrading sfmgr

    If you ever need to remove the sfmgr license service from your system (perhaps to do a sfmgr.exe update), you may do so by the following.

    On the machine that is running sfmgr, open up an MS DOS command console and change directory to where the sfmgr.exe exists.  To remove the service, type:

        sfmgr -remove

    If successful, sfmgr is removed as a service from your system and will no longer be automatically started upon reboots of the server.  This does not mean that the file sfmgr.exe is deleted from your hard drive.  It means only that the SplutterFish sfmgr service is removed from Windows Services list.

    If you wish to replace the SplutterFish sfmgr with a newer version, you can do a -remove, replace the sfmgr.exe with the upgraded one and then do an install.  See the section on Installing sfmgr.
     

    brzlic.txt:  License File Detailed Information

    The brzlic.txt license file requires no modification if all machines on the network are eligible to run Brazil.  These machines will contact the sfmgr license server automatically to check out a license.

    NOTE:  Do not edit any of the lines that have the $ as the first character.  These are required tags and their removal or alteration may cause your license file to be invalid and the SplutterFish Brazil license server to not work.

    License Restriction Options

    There are two types of Brazil licenses available: a Workstation license which enables the user-interface version of  Brazil while operating in 3ds max, and a Rendernode license which, like max's net rendering, enables a nonuser-interface rendering node.  The number and type of each available to you depends on what you purchased from SplutterFish.

    There may be cases where an Administrator may wish to restrict certain machines from obtaining a specific type of license or to receive any of the floating licenses at all.
    For instance, say a certain artist in a studio never wants to allow other artists to use her workstation for network rendering but she still wants to be able to obtain a floating Workstation license for her own use.  In this case she wants to prevent her machine from getting any Rendernode licenses.  There is a section in the license file where she can list her machine as Workstation-only.   The following is a portion of a brzlic.txt license file:
    # Optional:  List the names of machines that you want
    # to limit to workstation licenses only
    $WORKSTATIONS_ONLY
    # Optional:  List the names of machines that you want
    # to limit to render node licenses only
    $RENDERNODES_ONLY
    # Optional:  List the names of machines that you do not want
    # dispense licenses to (for instance, you can use to ensure that
    # certain slow machines on your network are never used for rendering)
    $DISALLOWED_MACHINES

    In our example, our artist can list her machine's network name under the $WORKSTATIONS_ONLY section of the license file.  (If you are unsure of your network name, ask your system administrator or you can use an MS DOS command console utility like  ipconfig -all  which will show your machine's Host Name).  If her machine's network name is SNOOPY, she would edit the license file as follows:
    # Optional:  List the names of machines that you want
    # to limit to workstation licenses only
    $WORKSTATIONS_ONLY
    SNOOPY
    # Optional:  List the names of machines that you want
    # to limit to render node licenses only
    $RENDERNODES_ONLY
    # Optional:  List the names of machines that you do not want
    # dispense licenses to (for instance, you can use this to ensure that
    # certain slow machines on your network are never used for rendering)
    $DISALLOWED_MACHINES
     
    NOTE:  You may not be able to edit the brzlic.txt file while sfmgr is running.  You should first stop it, then edit your brzlic.txt file, and then restart the service (see the section on Restarting sfmgr).

    NOTE:  To add a machine name, simply add the name.  Do not put a $ or anything else in front of it.  The $ is a control character that is used to parse the file.  You may add comments by simply by placing a # in front of the comment.  Comments are ignored by the sfmgr file parser and can be used for whatever you wish to record.

    She can restrict more machines on her network by placing their machine names or IPs on separate lines:
    # Optional:  List the names of machines that you want
    # to limit to workstation licenses only
    $WORKSTATIONS_ONLY
    SNOOPY
    CHARLIE
    192.333.45.2
    LUCY
    # Optional:  List the names of machines that you want
    # to limit to render node licenses only
    $RENDERNODES_ONLY
    # Optional:  List the names of machines that you do not want
    # dispense licenses to (for instance, you can use this to ensure that
    # certain slow machines on your network are never used for rendering)
    $DISALLOWED_MACHINES
     
    Similarly you may restrict a machine to only accept Rendernode licenses, ensuring all Workstation licenses are available to artists.  Simply add the rendernode-only machines under the $RENDERNODES_ONLY tag.

    If you wish to disallow a machine from ever obtaining any licenses of Brazil, you can put the machine's network name under $DISALLOWED_MACHINES. 
     

    The SplutterFish Well-known TCP Port

    The SplutterFish license software uses a UDP Broadcast scheme for initial contact with the client machines.  For a variety of reasons, some system administrators disallow broadcasting on their local area networks.  Also, some routers and firewalls restrict broadcasting.  These restrictions may make the Brazil client machine unable to communicate with the sfmgr software and cause license denial errors.

    If this is the case with your network, you have the option to bypass the UDP Broadcast mechanism by providing the sfmgr server machine name explicitly to the Brazil/max client machines.  This method will then use dedicated TCP communication between the SplutterFish license manager and Brazil client machines.  The SplutterFish license manager internally uses port 4222 for its TCP communication.

    If you get a license denial (BCASTTIMEOUT) pop-up window, you can "tell" Brazil to connect to the TCP well-known port instead of the broadcast.


    License Error

    Click on the Settings button.  You will see the following:


    Brazil License Mgr Client Settings

    Select the "Specify the location of the SplutterFish License server" and then enter the machine name or IP (in dot notation: nnn.nnn.nnn.nnn) where sfmgr is running and port 4222.  Click on OK and Brazil will connect to the sfmgr via TCP bypassing the LAN broadcast.  With luck, you should be up and running.  By doing this, Brazil writes a file to the 3dsmax.exe folder called brzCLI.txt which contains the sfmgr machine name and TCP port information.  With the existence of this file, Brazil will now "remember" to use the TCP communication for all subsequent Brazil operation.
    For render node machines that require TCP communication, there is no dialogue that pops up where you can enter this information.  For such render nodes that require TCP-only operation, you can simply copy the brzCLI.txt file created with the dialogue in the License Settings image above from one of your workstations, to all the render node machines--Or you can create the file by hand:  Using notepad create a file called brzcli.txt and add the line:
    $BRZ_LIC_MGR sfmgrname 4222

    where you will place YOUR sfmgr's machine name in place of the sfmgrame above. 
    Be sure to place it in the same folder as 3dsmax.exe (or VIZ)  on the render node machines
    .

    (Note:  In the very unlikely event where port 4222 is unavailable for use in your network, you can change the TCP well-known port to something else.  To do this you must edit the $SF_PORT line in your brzlic.txt file and restart the sfmgr with the new port.  Then you will enter the new port on your Brazil client machines via the pop-up window in the License Settings image above.  See your brzlic.txt file for details on changing your well-known TCP port.)

    If you encounter any problems changing your port, email:  contact@splutterfish.com.

    Trouble-Shooting

    A. Installation/Starting sfmgr.exe Problems


    1.      OpenSCManager failed - Access is denied. (0x5)
           
          Solution:  log in as Administrator and re-try.

    2.      sfmgr will not install or hangs during installation.

    Solution:  Make sure you have TCP-IP networking services installed on your computer.
     
    Solution:  Make sure the software key (the first line in the brzlic.txt) in your license file has not been altered.  Also, if you changed the port number in your brzlic.txt file, make sure there is no space between the $ and the SF_PORT tag.  It must be one "word."
     
    Solution:  Also, make sure you are installing on the same computer on which you ran the splauth.exe utility.  The license is machine-dependent.  If you change certain hardware in your sfmgr computer, you may need to get another license file from SplutterFish.
     
    There may also be messages in the Windows Application Event Log indicating the reason for any installation problems.
     

    B. Problems While the SplutterFish Brazil license manager is Running


    1.  Zone Alarm issue (and potentially other firewalls)
    There is a bug in the popular firewall software Zone Alarm.  It shows up occasionally in various software applications and causes intermittent bluescreens or reboots.  If you experience blue screens or reboots and are running Zone Alarm, you may need to disable it while running Brazile.  There may also be a patch from Zone Alarm available that may address the problem.  Contact ZoneAlarm for the latest patches.

    Another problem that has come up with Zone Alarm was one of access.   Zone Alarm must be set up to give sfmgr full server and access rights.  Also, 3dsmax itself needs full access rights since it too is communicating over the network.
     
    2.  Error messages
    If you are unable to acquire a license while using Brazil, then this could be caused by a variety of things.  There will be a message that pops up when a license is denied that may provide clues.

    For network rendering error numbers are output to the log and can be cross referenced here.

    First, make sure sfmgr is running.  You can do this by typing the following on the sfmgr machine in the directory where sfmgr.exe is located:

        sfmgr -status

    It should say it is running.  If not, start it (Restarting the sfmgr).

    The number accompanying the "Unable to acquire a license" message, offers a clue as to why you were denied.  These codes are described below:

    "Unable to acquire a license" message codes:

                 NULL PARAM
    Contact SplutterFish if you get this error. 
    1  INELIGIBLE
    Client is ineligible to receive the requested license.  This is due to being tagged as restricted to $WORKSTATION_ONLY, $RENDERNODE_ONLY or listed as $DISABLED in brzlic.txt license file. 
    2  SENDERR
    3  RECV_ERR
    Network timeout sending/receiving license request to sfmgr:  The Client has connected to the sfmgr but for some reason cannot send/recv data.  Heavy network traffic may cause this.  
    Communication may be blocked by a firewall filter.  Check your firewall settings to ensure they allow max and the sfmgr TCP-IP access.
     
    There may be aq conflict with more than one sfmgr running on the network.  Verify that there is only one sfmgr running on the network.
    4  NONEAVAIL
    All licenses are currently in use--none are available
    5  UNKNOWNMSG
    Received an invalid response from the SplutterFish license manager while requesting a license.  Make sure the sfmgr is still running and try again.  This error is very unlikely to occur.
    6  BCASTTIMEOUT
    Client could not auto connect to the license manager.  First make sure sfmgr is running on your license server.  You can do this by looking in task manager on the server for sfmgr.exe or in a DOS window, cd to where sfmgr.exe exists and type:

        sfmgr -status

    If it is running, then the connection to sfmgr is likely caused by your network's inability to handle the auto connect udp broadcast mode.  See the section on the SplutterFish TCP Well-known Port for a ready solution.
    7  TCPCONNTIMEOUT
    Could not connect to the sfmgr license server that is specified in the brzCli.txt file (in the 3dsmax/viz folder) via TCP. 

    First make sure sfmgr is running on your license server.  You can do this by looking in task manager on the server for sfmgr.exe, or in a DOS window, cd to where sfmgr.exe exists and type:

        sfmgr -status

    In the error dialog, click on Settings and verify that the  sfmgr machine name or IP is correctly typed in the field.

    If this is a rendernode machine, then check the contents of the brzCli.txt file in the 3dsmax folder on the failing client machine and make sure it contains the correct sfmgr machine name.

    It may also be possible (but unlikely) that the connection is failing due to a TCP port conflict.  Make sure you can "ping" the sfmgr machine from the sfmgr client machine to make sure you can connect at all via TCP.  Open up a MSDOS cmd window and type:

        ping sfmgr_machname

    where you will use YOUR sfmgr computer name.

    If you are able to ping, you could try changing your the SplutterFish default port to another in case there is a port conflict.  See SplutterFish TCP Well-known Port.
    8  LICENSEERR
    The license file is invalid.