Home > VMWare > Multiple Instances of Flex License server on the same host

Multiple Instances of Flex License server on the same host

July 24th, 2009

Where I currently work we run a Kronos time keeping system for our employees, this system is not supported on VMware so a physical server was dedicated to the task.
Sadly (?) Kronos is quite a light weight application that hardly utilises the servers resources, not wanting to let a physical host go to waste VMware Virtual Centre was to be installed. All was looking promising apart from both Kronos and VMware utilising Macrovision’s Flex Licesing server, and since each instance binds to port 27000 TCP a work around had to be found.

Assiging an alternate port to VMware Licesing

Edit the VMware License file

Open the .lic file in your editor of choice and locate

SERVER this_host ANY 27000
ENDOR VMWARELM port=27010
Change to
SERVER this_host ANY 27005
ENDOR VMWARELM port=27015
Save the file and restart the licensing service, it’s now listening on ports 27005 and 27015

 

Add firewall exceptions to ESX hosts

 

 

create the following XML file

<!-- Firewall configuration for License Server on Alt port  -->
<ConfigRoot>
  <service id='0000'>
    <id>LicenseClientAltPort</id>
    <rule id='0000'>
      <direction>outbound</direction>
      <protocol>tcp</protocol>
      <port type='dst'>27005</port>
      <flags>-m state --state NEW</flags>
    </rule>
    <rule id='0001'>
      <direction>outbound</direction>
      <protocol>tcp</protocol>
      <port type='dst'>27015</port>
      <flags>-m state --state NEW</flags>
    </rule>
  </service>
</ConfigRoot>

Copy the file to /etc/vmware/firewall on all of your servers

important: you may want to disable High Avalability for the next step as we’re breaking management network connectivity temporarily, it may trigger a host failure and start powering up your VMs.

ssh in as root and issue

service mgmt-vmware restart

Log into each ESX host using VMware Infrastructure Client, open security profile and enable your new port definition

flex_1

flex_2

Open Licensed Features and prepend 27005@ to your license server name

flex_3

Your hosts should now be licensed!

 

 

Wojtek VMWare , ,

  1. No comments yet.
  1. July 2nd, 2010 at 07:18 | #1
Comments are closed.