Forward Your Linux Licensing Woes to Windows
✕
  • Solutions
    • Legacy Application Modernization
    • Modern UI/UX
    • Data Visibility
    • Enterprise Application Integration
    • Development Environment Optimization
    • Cloud Migration
    • Security
    • High Availability and Resilience
  • Products
    • Language
    • Development Environment
    • Connectivity and Open-Source Tools
    • Release Strategy
    • Roadmap
  • Services and Support
    • Professional Services Group
    • Developer Support
    • Application Support
  • Learning
    • Events
    • Online Courses
    • Learning Resources
    • Blog
    • Synergy-e-News
  • Company
    • Leadership
    • Careers
    • Contact
    • News
  • +1-916-635-7300
  • Get Support
  • Documentation
  • Resource Center
✕
            No results See all results
            Forward Your Linux Licensing Woes to Windows
            • Solutions
              • Legacy Application Modernization
              • Modern UI/UX
              • Data Visibility
              • Enterprise Application Integration
              • Development Environment Optimization
              • Cloud Migration
              • Security
              • High Availability and Resilience
            • Products
              • Language
              • Development Environment
              • Connectivity and Open-Source Tools
              • Release Strategy
              • Roadmap
            • Services and Support
              • Professional Services Group
              • Developer Support
              • Application Support
            • Learning
              • Events
              • Online Courses
              • Learning Resources
              • Blog
              • Synergy-e-News
            • Company
              • Leadership
              • Careers
              • Contact
              • News
            • +1-916-635-7300
            • Get Support
            • Documentation
            • Resource Center
            ✕
                      No results See all results
                      Forward Your Linux Licensing Woes to Windows
                      • Solutions
                        • Legacy Application Modernization
                        • Modern UI/UX
                        • Data Visibility
                        • Enterprise Application Integration
                        • Development Environment Optimization
                        • Cloud Migration
                        • Security
                        • High Availability and Resilience
                      • Products
                        • Language
                        • Development Environment
                        • Connectivity and Open-Source Tools
                        • Release Strategy
                        • Roadmap
                      • Services and Support
                        • Professional Services Group
                        • Developer Support
                        • Application Support
                      • Learning
                        • Events
                        • Online Courses
                        • Learning Resources
                        • Blog
                        • Synergy-e-News
                      • Company
                        • Leadership
                        • Careers
                        • Contact
                        • News
                      • Home
                      • Blog
                      • Tech Article
                      • Forward Your Linux Licensing Woes to Windows
                      Announcing SDI 2022.05.1198
                      May 20, 2022
                      Announcing SDI 2022.06.1224
                      June 17, 2022

                      Forward Your Linux Licensing Woes to Windows

                      Published by James Sahaj on June 1, 2022
                      Categories
                      • Tech Article
                      Tags

                      Development for Linux has taken great steps recently. With the advent of lightweight virtual machines and containers, such as WSL2 (Windows Subsystem for Linux) and Docker, it’s become much easier to set up one of these virtual machines and start to develop Linux applications quickly on them. The problem is, until recently, it was difficult to set up a Synergy license server on a Linux virtual machine and populate it with licenses so you could test your Synergy program. Now, with Synergy/DE 12, you have an easy way to quickly set up licensing on a Linux machine by using licenses from a designated Windows license server. Welcome to the new Linux license forwarding feature!

                      Linux license forwarding was developed primarily for use with virtual machines and containers, but it can be used on any Linux system. Linux license forwarding has several advantages over the previous licensing mechanism. First, after configuring the Linux forwarder to connect to the Windows license server, there is no additional license setup. The Linux machine will use the existing subscription licenses (traditional ALM licenses are not supported) on the Windows machine, just like any other Windows license client. The Windows license server maintains those licenses by polling the Synergy License Web Service, so no updates are necessary on the Linux system. Another advantage is that, just like a Windows license client, the Linux system can use a Windows backup license server, if configured, if the primary license server goes down. Then, when the primary license server returns, the Linux system switches back to the primary.

                      To use this feature, you’ll need the 12.1 LTS release or the latest licensing upgrade package for your Linux machine. The Windows license server must have REV11 licensing and be on the same network as the Linux machine, with no firewalls blocking socket access between the two. Also, if a backup Windows license server is configured, you should ensure that the Linux machine has direct access to that too. And make sure that the Windows server has enough licenses to satisfy license requests from both Windows and Linux machines.

                      How do you set up license forwarding? When running the installation script on a new Linux installation, it prompts you to use licenses from an existing REV11 Windows server. If you respond positively, it asks for the name and port of the Windows license server and attempts to connect to it. If the connection is successful, you’re good to go. To configure Linux license forwarding on a machine with an existing installation of Synergy, you can use the lmu -nf option.

                      You can confirm forwarding is configured properly by running lmu with no options on the Linux machine. Within that display you’ll see the line “Forwarding To: host:port” and the licenses displayed will be those retrieved from the Windows license server. Once licenses are being used on Linux, if you display the current usage of a particular license mnemonic on the Windows server, such as “lmu -u RUN12”, it will display the machine name and process identifier of the Linux clients currently using that license.

                      How does the forwarder work? The Linux license forwarder is a synd that waits for license requests. Once it receives a request from a Linux process—be it a license login, logout, or status check—it formats the request and forwards it via a socket connection to the Windows license server. Upon receiving the response from the Windows license server, the Linux synd reformats it and presents it to the Linux process that requested the license. The Linux synd keeps track of processes that are using a Synergy license. Every 10 minutes it checks that the Linux client process is still alive. If it’s not, and Linux synd hasn’t received a logout request, it sends a logout request to Windows synd and then removes that client from the active process list. If the process is still alive, Linux synd sends an authorization request to Windows synd to indicate that. Should the Linux synd be shut down, it will issue a logout request for any processes still in its active process list at the time of shutdown. This way, the Windows synd does not have extra licenses reserved for all those Linux clients.

                      If you wish to take advantage of lightweight virtual machines and containers, such as WSL2 or Docker, then you should seriously consider upgrading to Synergy/DE 12 to take advantage of the Linux license forwarding feature. It will make setup a breeze and save you time in getting Synergy licenses ready for your Linux system. For more information on Linux license forwarding, check out “Using Linux license forwarding” in the Synergy/DE documentation.

                      Share
                      0

                      Leave a ReplyCancel reply

                      This site uses Akismet to reduce spam. Learn how your comment data is processed.

                      • Announcing New Synergy/DE Feature Release and Support for OpenSSL 3.0 and 3.1
                      • Kelly Bigler Promoted to Director of Consulting at Synergex 
                      • Announcing SDI 2023.09.1521
                      • Switching Source Control Paradigms
                      • Announcing New Synergy/DE Feature Release and Support for .NET 6+ on Linux
                      • Announcements
                      • Beta Testing
                      • Case Studies
                      • Code Exchange
                      • CodeGen
                      • CTO's Thoughts
                      • Development Tools
                      • DevPartner Conference
                      • Education
                      • Events
                      • Harmony Core
                      • Hiring
                      • Industry News
                      • Just for Fun
                      • Licensing
                      • News
                      • Open Source
                      • OpenVMS
                      • President's Thoughts
                      • Professional Services Group
                      • Release Notifications
                      • Security
                      • Software
                      • Software Development
                      • Success Stories
                      • Tech Article
                      • UI
                      • Uncategorized

                      STAY CONNECTED with Synergex

                      • Facebook
                      • LinkedIn
                      • Twitter
                      • YouTube
                      SOLUTIONS
                      • Legacy Applications Modernization
                      • Modern UI/UX
                      • Data Visibility
                      • Enterprise Application Integration
                      • Development Environment Optimization
                      • Cloud Migration
                      • Security
                      • High Availability
                      PRODUCTS
                      • Language
                      • Development Environment
                      • Connectivity and Open-Source Tools
                      • Release Strategy
                      • Roadmap
                      SUPPORT
                      • Professional Services Group
                      • Developer Support
                      • Application Support
                      LEARNING
                      • Events
                      • Online Courses
                      • Learning Resources
                      • Blog
                      • Synergy-e-News
                      COMPANY
                      • Customers
                      • Leadership
                      • Careers
                      • Contact
                      Forward Your Linux Licensing Woes to Windows

                      Privacy  |  Security  |  Terms  |  © 2023 Synergex

                                No results See all results