{"id":181,"date":"2020-05-23T11:44:01","date_gmt":"2020-05-23T09:44:01","guid":{"rendered":"https:\/\/www.grutt.org\/?p=181"},"modified":"2020-05-23T11:44:05","modified_gmt":"2020-05-23T09:44:05","slug":"euh-on-est-large-hein-feat-flexlm","status":"publish","type":"post","link":"https:\/\/www.grutt.org\/?p=181","title":{"rendered":"Euh, on est large hein ? (feat. FlexLM)"},"content":{"rendered":"\n<p>Qui ne s&rsquo;est jamais pos\u00e9 cette question ? Reste-t-il des licences pour continuer \u00e0 d\u00e9ployer ou non. Et bien s\u00fbr, les outils Genesys sont l\u00e0 pour nous aider &lt;\/ironie><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"408\" src=\"https:\/\/www.grutt.org\/wp-content\/uploads\/2020\/05\/countingonfingers.png\" alt=\"\" class=\"wp-image-182\" srcset=\"https:\/\/www.grutt.org\/wp-content\/uploads\/2020\/05\/countingonfingers.png 500w, https:\/\/www.grutt.org\/wp-content\/uploads\/2020\/05\/countingonfingers-300x245.png 300w\" sizes=\"auto, (max-width: 500px) 85vw, 500px\" \/><figcaption>Cette m\u00e9thode marche \u00e9galement&#8230;<\/figcaption><\/figure>\n\n\n\n<p>Pour r\u00e9pondre \u00e0 cette question pourtant simple, une petite astuce que je n&rsquo;ai d\u00e9couvert qu&rsquo;hier, du moins en version Linux. Et pour savoir o\u00f9 nous en sommes en termes de licences, nous allons aller voir notre ami FlexLM avec une commande toute simple :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/MON_REPERTOIRE_FLEXLM\n.\/lmstat -c MON_FICHIER_DE_LICENCE.dat -a > recap.txt<\/code><\/pre>\n\n\n\n<p>Rien de tr\u00e8s sorcier dans cette ligne de commande. Derri\u00e8re l&rsquo;option \u00ab\u00a0-c\u00a0\u00bb vous devez donc pr\u00e9ciser l&#8217;emplacement de votre fichier de licence et \u00ab\u00a0-a\u00a0\u00bb est un alias pour \u00ab\u00a0all\u00a0\u00bb.<br>Comme vous pouvez le constater, j&rsquo;ai ensuite redirig\u00e9 sa sortie vers un fichier texte afin de pouvoir l&rsquo;analyser simplement.<br>Exemple ci-dessous pour mon HomeLab :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lmstat - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.\nFlexible License Manager status on Sat 5\/23\/2020 11:28\n\nLicense server status: 7260@CentOS7-1\n    License file(s) on CentOS7-1: \/opt\/genesys\/FlexLM_1113\/licence.dat:\n\n CentOS7-1: license server UP (MASTER) v11.13.1\n\nVendor daemon status (on CentOS7-1):\n\n genesys.d: UP v11.13.1\nFeature usage info:\n\nUsers of 3GP82419ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP21278ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP21747ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP08807ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP09014ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP09017ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP08812ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP21843ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP20166ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP21844ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of 3GP20364ACAA:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of ISDK_FACTORY:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of router_seats:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of tserver_iscc:  (Total of 999999 licenses issued;  Total of 1 license in use)\n\n  \"tserver_iscc\" v8.0, vendor: genesys.d, expiry: 1-jan-00\n  floating license\n\n    SIP_Server_1 CentOS7-1 \/dev\/tty (v8.0) (CentOS7-1\/7260 202), start Sat 5\/23 11:26\n\nUsers of DESKTOP_SUPERVISOR:  (Total of 15 licenses issued;  Total of 0 licenses in use)\n\nUsers of tserver_tdn:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of ics_multi_media_agent_seat:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of ics_custom_media_channel:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of occ_preview:  (Total of 156 licenses issued;  Total of 0 licenses in use)\n\nUsers of cti_ha_option:  (Total of 999999 licenses issued;  Total of 1 license in use)\n\n  \"cti_ha_option\" v8.0, vendor: genesys.d, expiry: 1-jan-00\n  floating license\n\n    SIP_Server_1 CentOS7-1 \/dev\/tty (v8.0) (CentOS7-1\/7260 302), start Sat 5\/23 11:26\n\nUsers of tserver_sdn:  (Total of 312 licenses issued;  Total of 312 licenses in use)\n\n  \"tserver_sdn\" v8.0, vendor: genesys.d, expiry: 1-jan-00\n  floating license\n\n    SIP_Server_1 CentOS7-1 \/dev\/tty (v8.0) (CentOS7-1\/7260 105), start Sat 5\/23 11:27, 312 licenses\n\nUsers of CLDistributed:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of ha_redundancy:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of lds:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of MLDistributed:  (Total of 999999 licenses issued;  Total of 0 licenses in use)\n\nUsers of router_ha_option:  (Total of 999999 licenses issued;  Total of 0 licenses in use)<\/code><\/pre>\n\n\n\n<p>Reste \u00e0 l&rsquo;interpr\u00e9ter. La question que je rencontre la plus fr\u00e9quemment \u00e9tant \u00ab\u00a0On peut encore ajouter du monde ?\u00a0\u00bb, nous allons regarder plus pr\u00e9cis\u00e9ment deux lignes :<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Users of tserver_sdn:  (Total of 312 licenses issued;  Total of 312 licenses in use) &#8211;> on a ici le nombre de connexions de types TServer\/SipServer que l&rsquo;on peut avoir en simultan\u00e9. Commencez par le comparer au nombre de DN de type extensions dont vous disposez. Si vous en cr\u00e9ez plus que ce nombre, ceux-ci ne seront de toute fa\u00e7on pas utilisables car le serveur refusera de les enregistrer<br>N.B. : on est ici sur une infrastructure assez simple. Si vous aviez plusieurs SIPServer et\/ou TServer, la r\u00e9partition entre ceux-ci serait indiqu\u00e9e<\/li><li>Users of router_seats:  (Total of 156 licenses issued;  Total of 0 licenses in use) &#8211;> l\u00e0 \u00e7a sera le nombre de places occup\u00e9es que vous pourrez avoir simultan\u00e9ment. La diff\u00e9rence ? Rien ne vous emp\u00eache par exemple d&rsquo;avoir dans le cas pr\u00e9sent 200 places d\u00e9clar\u00e9es dans Genesys, dont 156 permettant la connexion au canal voix (les 312 licences tserver_sdn ci-dessus, divis\u00e9es par deux car je suis en HA) et 44 places permettant de se connecter \u00e0 un autre media tel que le chat. Par contre attention, quelque soit le mix entre \u00ab\u00a0places voix\u00a0\u00bb et \u00ab\u00a0places chat\u00a0\u00bb, le total ne pourra pas d\u00e9passer les 156 router_seats indiqu\u00e9s<\/li><\/ul>\n\n\n\n<p>Voil\u00e0 un petit article rapide mais que je serai s\u00fbrement amen\u00e9 \u00e0 faire \u00e9voluer en fonction de mes p\u00e9r\u00e9grinations licencesques ^^<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Qui ne s&rsquo;est jamais pos\u00e9 cette question ? Reste-t-il des licences pour continuer \u00e0 d\u00e9ployer ou non. Et bien s\u00fbr, les outils Genesys sont l\u00e0 pour nous aider &lt;\/ironie> Pour r\u00e9pondre \u00e0 cette question pourtant simple, une petite astuce que je n&rsquo;ai d\u00e9couvert qu&rsquo;hier, du moins en version Linux. Et pour savoir o\u00f9 nous en &hellip; <a href=\"https:\/\/www.grutt.org\/?p=181\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Euh, on est large hein ? (feat. FlexLM)&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,7,6],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-flexlm","category-genesys","category-trucs-astuces"],"_links":{"self":[{"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.grutt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":2,"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/www.grutt.org\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/www.grutt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.grutt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.grutt.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}