<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Weblog for Asbjorn &#187; flexlm</title>
	<atom:link href="http://www.asbjornriedel.com/tag/flexlm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.asbjornriedel.com</link>
	<description>Not just another WordPress weblog</description>
	<lastBuildDate>Tue, 23 Aug 2011 18:14:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FlexLM License Server for ClearCase</title>
		<link>http://www.asbjornriedel.com/clearcase-administration-and-tips/flexlm-license-server-for-clearcase</link>
		<comments>http://www.asbjornriedel.com/clearcase-administration-and-tips/flexlm-license-server-for-clearcase#comments</comments>
		<pubDate>Sat, 17 Jan 2009 16:53:13 +0000</pubDate>
		<dc:creator>Asbjorn</dc:creator>
				<category><![CDATA[clearcase]]></category>
		<category><![CDATA[clearcase administration]]></category>
		<category><![CDATA[flexlm]]></category>

		<guid isPermaLink="false">http://www.asbjornriedel.com/?p=140</guid>
		<description><![CDATA[With more and more users and applications with licenses, the use of a centralized license server is becoming important. But what happens if the license server goes down. With FlexLM it is possible to implement a redundant license server solution. &#8230; <a href="http://www.asbjornriedel.com/clearcase-administration-and-tips/flexlm-license-server-for-clearcase">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With more and more users and applications with licenses, the use of a centralized license server is becoming important.</p>
<p>But what happens if the license server goes down.</p>
<p>With FlexLM it is possible to implement a redundant license server solution.</p>
<p>The configuration is as follows: </p>
<p>1 Master License Server<br />
2 Redundant License Servers<br />
3 Machines in Different locations<br />
Automatic Failover Implemented by FlexLM</p>
<p><img class="aligncenter size-full wp-image-141" title="hardware configuration" src="http://www.asbjornriedel.com/wp-content/uploads/2009/03/hardwareconfig.jpg" alt="hardware configuration" width="365" height="225" /></p>
<p> </p>
<p>License Server allocation:</p>
<ul>
<li>Master server</li>
<li>Secondary server</li>
<li>Quorum server, will never be master</li>
</ul>
<p>Benefits:</p>
<ul>
<li>High Availability</li>
<li>No single point of failure</li>
<li>Master Server down, Secondary Server takes over as Master and communicates with Quorum server</li>
<li>Secondary Server down, Master Server communicates with Quorum server</li>
<li>Quorum Server down, no change</li>
</ul>
<p>In case of 2 servers down, Windows users with a valid license will still be able to work.<br />
License is cached for 3 days or until the license servers come back.</p>
<p>The License File is generated on the IBM Rational Site</p>
<p>All floating licenses are added to one file (default)</p>
<p>In case of other products (Non IBM) the product must be added manually to this license file after generation</p>
<p>Copies of the license file must be on all servers (simple scp command to do this)</p>
<p><strong>Automatic startup (Solaris 10)</strong></p>
<ul>
<li>smf (Service Management Facility) startup</li>
<li>All servers start at boot time</li>
<li>License available when 2 servers started</li>
<li>Dedicated user for all 3 servers created</li>
<li>Script for restart of servers from master server</li>
</ul>
<p>FlexLM service definition in smf is named svc:/network/flexlm:flexlm</p>
<p>Import of the flexlm configuration file</p>
<ul>
<li>svccfg import /opt/rational/config/flexlm.xml</li>
</ul>
<p> </p>
<p>cat  /opt/rational/config/flexlm.xml<br />
&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;!DOCTYPE service_bundle SYSTEM &#8220;/usr/share/lib/xml/dtd/service_bundle.dtd.1&#8243;&gt;</p>
<p>&lt;service_bundle type=&#8217;manifest&#8217; name=&#8217;LNFflexlm:flexlm&#8217;&gt;</p>
<p>&lt;service<br />
        name=&#8217;network/flexlm&#8217;<br />
        type=&#8217;service&#8217;<br />
        version=&#8217;1&#8242;&gt;<br />
        &lt;single_instance /&gt;</p>
<p>        &lt;instance name=&#8217;flexlm&#8217; enabled=&#8217;false&#8217;&gt;<br />
                &lt;!&#8211;<br />
                  Wait for network interfaces to be initialized.<br />
                &#8211;&gt;<br />
                &lt;dependency name=&#8217;network&#8217;<br />
                    grouping=&#8217;require_all&#8217;<br />
                    restart_on=&#8217;error&#8217;<br />
                    type=&#8217;service&#8217;&gt;<br />
                    &lt;service_fmri value=&#8217;svc:/milestone/network:default&#8217;/&gt;<br />
                &lt;/dependency&gt;</p>
<p>                &lt;!&#8211;<br />
                  Wait for all local filesystems to be mounted.<br />
                &#8211;&gt;<br />
                &lt;dependency name=&#8217;filesystem-local&#8217;<br />
                    grouping=&#8217;require_all&#8217;<br />
                    restart_on=&#8217;none&#8217;<br />
                    type=&#8217;service&#8217;&gt;<br />
                    &lt;service_fmri<br />
                        value=&#8217;svc:/system/filesystem/local:default&#8217;/&gt;<br />
                &lt;/dependency&gt;</p>
<p>                &lt;exec_method<br />
                        type=&#8217;method&#8217;<br />
                        name=&#8217;start&#8217;<br />
                        exec=&#8217;/lib/svc/method/flexlm start&#8217;<br />
                        timeout_seconds=&#8217;60&#8242;&gt;<br />
                        &lt;method_context&gt;<br />
                                &lt;method_credential user=&#8217;nobody&#8217; group=&#8217;noaccess&#8217;/&gt;<br />
                        &lt;/method_context&gt;<br />
                &lt;/exec_method&gt;<br />
                &lt;exec_method<br />
                        type=&#8217;method&#8217;<br />
                        name=&#8217;stop&#8217;<br />
                        exec=&#8217;/lib/svc/method/flexlm stop&#8217;<br />
                        timeout_seconds=&#8217;60&#8242;&gt;<br />
                        &lt;method_context&gt;<br />
                                &lt;method_credential user=&#8217;nobody&#8217; group=&#8217;noaccess&#8217;/&gt;<br />
                        &lt;/method_context&gt;<br />
                &lt;/exec_method&gt;<br />
                &lt;exec_method<br />
                        type=&#8217;method&#8217;<br />
                        name=&#8217;refresh&#8217;<br />
                        exec=&#8217;/lib/svc/method/flexlm refresh&#8217;<br />
                        timeout_seconds=&#8217;60&#8242;&gt;<br />
                        &lt;method_context&gt;<br />
                                &lt;method_credential user=&#8217;nobody&#8217; group=&#8217;noaccess&#8217;/&gt;<br />
                        &lt;/method_context&gt;<br />
                &lt;/exec_method&gt;<br />
        &lt;/instance&gt;</p>
<p>        &lt;stability value=&#8217;Evolving&#8217; /&gt;</p>
<p>        &lt;template&gt;<br />
                &lt;common_name&gt;<br />
                        &lt;loctext xml:lang=&#8217;C'&gt;<br />
                                FLEXlm License Manager<br />
                        &lt;/loctext&gt;<br />
                &lt;/common_name&gt;<br />
                &lt;documentation&gt;<br />
                        &lt;doc_link name=&#8217;flexlm&#8217;<br />
                                uri=&#8217;file://@CLIENT_BASEDIR@/share/doc/flexlm/&#8217; /&gt;<br />
                &lt;/documentation&gt;<br />
        &lt;/template&gt;<br />
&lt;/service&gt;<br />
&lt;/service_bundle&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asbjornriedel.com/clearcase-administration-and-tips/flexlm-license-server-for-clearcase/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

