Files
SERVtomaste/docs/LICENSE-SERVER-INFO.md

5.2 KiB

License Server Host Information

Updated: 2025-12-01 Server: dalidou (ThinkPad W520) Status: OPERATIONAL


Quick Reference - What to Tell Siemens

For your permanent NX license, provide:

Hostname:    dalidou
CID:         COMPOSITE=88F027D30355
Port:        28000

Server Details

Field Value
Hostname dalidou
Composite ID (CID) COMPOSITE=88F027D30355
Ethernet MAC Address f0:de:f1:e6:e4:6a
Host ID (no colons) f0def1e6e46a
Local Network IP (Wi-Fi) 192.168.86.50
Tailscale IP 100.80.199.40
NX License Port 28000

All CIDs (from getcid command)

Interface CID MAC
enp0s25 (Ethernet) COMPOSITE=88F027D30355 F0DEF1E6E46A
wlp3s0 (Wi-Fi) COMPOSITE=F3B17C78293B 2477036FCD80

Use the Ethernet CID - it's more stable.


Current License Configuration

Permanent license valid until: March 2, 2026

License Status
NX93300 (NX Design for Industrial Design) 1 seat
SC13500 (Simcenter Structures) 1 seat
TC10101 (Tc Author) 1 seat
TC50100 (Teamcenter Rapid Start) 1 seat
NX35050 (NX Value Based Licensing) 50 tokens
+ many more features See license file

Client Setup (Windows Laptops)

Step 1: Set Environment Variable

  1. Open System Properties (Win + Rsysdm.cpl)
  2. Click AdvancedEnvironment Variables
  3. Under System variables, click New
  4. Add:
    • Variable name: SPLM_LICENSE_SERVER
    • Variable value: 28000@dalidou;28000@100.80.199.40;29000@DESKTOP-PRECISION

Step 2: Verify in Siemens Licensing Tool

  1. Open Siemens Licensing Tool
  2. Go to Environment Settings
  3. Confirm all servers show Connection status: Successful

License Server Priority

Priority Server Use Case
1st 28000@dalidou Local network (fastest)
2nd 28000@100.80.199.40 Remote via Tailscale
3rd 29000@DESKTOP-PRECISION Fallback if dalidou down

Server Installation (Already Done on Dalidou)

Location

/opt/Siemens/LicenseServer/
├── lmgrd           # FlexNet license manager
├── saltd           # Siemens vendor daemon (v5)
├── ugslmd -> saltd # Symlink for compatibility
├── lmutil          # License utilities
├── License_Ugslmd.lic  # License file
└── logs/
    └── lmgrd.log   # Server log

Systemd Service

# Service file: /etc/systemd/system/siemens-lmgrd.service
sudo systemctl status siemens-lmgrd   # Check status
sudo systemctl start siemens-lmgrd    # Start
sudo systemctl stop siemens-lmgrd     # Stop
sudo systemctl restart siemens-lmgrd  # Restart

Manual Commands

cd /opt/Siemens/LicenseServer

# Check license status
./lmutil lmstat -a

# Check specific feature
./lmutil lmstat -f NX93300

# View log
tail -50 logs/lmgrd.log

# Start manually (if systemd not working)
./lmgrd -c License_Ugslmd.lic -l logs/lmgrd.log

Firewall

# Port 28000 is open
sudo ufw status | grep 28000

Updating the License File

When you receive a new license from Siemens:

  1. Edit the SERVER line to match dalidou:

    SERVER dalidou ANY 28000
    VENDOR ugslmd
    
  2. Copy to dalidou:

    scp new_license.lic root@dalidou:/opt/Siemens/LicenseServer/License_Ugslmd.lic
    
  3. Restart the service:

    ssh root@dalidou "systemctl restart siemens-lmgrd"
    
  4. Verify:

    ssh root@dalidou "cd /opt/Siemens/LicenseServer && ./lmutil lmstat -a"
    

ThinkPad Setup (When Repaired)

On your ThinkPad, follow the same Client Setup steps above:

  1. Set SPLM_LICENSE_SERVER environment variable:

    28000@dalidou;28000@100.80.199.40
    
  2. Make sure Tailscale is installed and connected

  3. Test with Siemens Licensing Tool

That's it - no license server installation needed on the ThinkPad!


Troubleshooting

License server not responding

# Check if running
ssh root@dalidou "ps aux | grep lmgrd"

# Check log for errors
ssh root@dalidou "tail -50 /opt/Siemens/LicenseServer/logs/lmgrd.log"

# Restart
ssh root@dalidou "systemctl restart siemens-lmgrd"

Can't connect from laptop

  1. Check Tailscale is connected: tailscale status
  2. Ping dalidou: ping 100.80.199.40
  3. Check firewall: ssh root@dalidou "ufw status"

"All licenses in use" error

Only 1 seat per license - close NX on other machines first.


SolidWorks (Future)

When setting up SolidWorks SNL license:

Field Value
Server Name dalidou
MAC Address F0DEF1E6E46A
License Server Port 25734

Port Reference

Service Port Protocol
Siemens lmgrd (NX) 28000 TCP
SolidWorks SNL 25734 TCP

History

Date Change
2025-12-01 Installed Siemens License Server v5.0.0 on dalidou
2025-12-01 Configured systemd auto-start service
2025-12-01 Set up SPLM_LICENSE_SERVER on Precision
2025-12-01 Temporary license active until Dec 3