NOTE: Mac OS X Server is not certified to be a license server for Autodesk products.
1. Download and install the NLM (Network Licensing Manager) for the Mac:
NOTE: I have rarely have had to install an IPv6 server tools on the Mac.
2. To get your serial numbers, you will need to go to the Autodesk Manage site and review the following article:
3. To get your host name and ethernet address on a Mac:
- You will need to open a Terminal (Applications > Utilities > Terminal) and type:
hostname <enter>
- You will need to open a Terminal (Applications > Utilities > Terminal) and type:
/usr/local/flexnetserver/lmutil lmhostid <enter>
NOTE: Typically, you should use the ethernet (primary) address of your Mac has Dual Ethernet (Mac Pro). If your Mac doesn't have an Ethernet card, you may need to use the Wi-Fi Card (MacBook Pro 2015). If you have an older MacBook Pro that has an Ethernet and Wi-Fi connection, you can use any type of connection.
Mac Pro (Dual Ethernet) using Ethernet 1
MacBook Pro
4. With your Serial Number, Hostname and Ethernet Address ready, follow the instructions below to get your license:
a. Login to Register Once to get your license.
http://www.autodesk.com/register
c. Validate your account information.
d. Enter your serial number.
d. Enter your license server information.
You can also call this phone number to manually get your licenses. Please have your serial numbers for your Autodesk product, hostname and ethernet address of the license server ready:
Reference
5. Rename the license file to adsk_server.lic and save it on the Desktop.
NOTE: You may need to make sure that you can see file extension on Mac OS X as adsk_server.lic.txt is not a valid file extension. You can use Textedit to view a .lic file. You can save the license on the desktop and rename it as noted. If they make a mistake with the SERVERNAME, you can edit it afterwards. In some cases, you may need to use an IP address of your Mac OS X license server in place of the servername.
Go to Finder > Preferences > Advanced and check on Show all filename extensions
6. Move this file into /var/flexlm directory. In the Finder > Go > Go to Folder... and type:
/var/flexlm
If the flexlm folder does not exist, you will need to create it using this command in a Terminal:
sudo mkdir /var/flexlm <enter>
Type in your Administrator password.
Drag the adsk_server.lic file from the Desktop into this hidden folder (/var/flexlm).
7. To start the license server, you will need to go into a Terminal again and type the following commands:
sudo chmod -R 777 /var/flexlm
<enter>
sudo chmod -R 777 /usr/local/flexnetserver
<enter>
cd /usr/local/flexnetserver
<enter>
=You are going to that directory.
ls
<enter>
=You are listing directory contents.
OPTION 1 TO START THE LICENSE SERVER
sudo ./lmgrd -c /var/flexlm/adsk_server.lic
<enter>
=You are starting the license server. At this time, you will be prompted to enter your Administrator password. NOTE: You will not be able to see your password being type. i.e. there is no feedback for data entry.
CHECKING THE STATUS OF THE LICENSE SERVER
sudo ./lmutil lmstat -a -c /var/flexlm/adsk_server.lic
<enter>
NOTE: If there is a failure or error message that the server has not started, you must use the Activity Monitor, find the lmgrd process and use Quit Process. Only then can you restart the license server properly. If the server has started correctly, there will be an adskflex and lmgrd process in your Activity Monitor.
8. It is best to not make the Mac (Hard Drive) go to Sleep. This is a process that can't be restarted when 'sleeping'. You can make the monitor go to sleep. This is done via System Preferences > Energy Saver.
9. If you have installed Maya on the same computer as the license server, there may also be a /var/flexlm/maya.lic file. To easily edit the file in the /var/flexlm folder, you will need to run this command:
sudo chmod -R 777 /var/flexlm
<enter>
=Full permissions on this folder. You can then edit the license file using Textedit and saving in the same folder without any permissions issues.
The maya.lic file should contain:
SERVER your-server-name-or-ip-address 0
USE_SERVER
NOTE: There should be a the number 0 after your-server-name-or-ip-address.
This is a good post on this topic.
Regards
Posted by: domain name ownership | 04/11/2012 at 01:33 PM