{"id":783,"date":"2022-10-08T22:16:18","date_gmt":"2022-10-08T14:16:18","guid":{"rendered":"https:\/\/cabit.top\/?p=783"},"modified":"2022-10-08T22:16:19","modified_gmt":"2022-10-08T14:16:19","slug":"license-manager-commands-for-license-servers-on-unix","status":"publish","type":"post","link":"https:\/\/cabit.top\/?p=783","title":{"rendered":"License manager commands for license servers on UNIX"},"content":{"rendered":"\n<p id=\"lastModifiedDate\">Last Updated: 2021-03-02<\/p>\n\n\n\n<p>Learn about the system administration commands and daemons that are used by License Manager.<\/p>\n\n\n\n<p>IBM\u00ae Common Licensing&nbsp;uses the Flexera FlexNet Publisher from Flexera Software. The software includes the following components:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A vendor daemon that is named&nbsp;<samp>ibmratl<\/samp>&nbsp;dispenses&nbsp;IBM Engineering Lifecycle Management&nbsp;(ELM) or&nbsp;IBM&nbsp;Rational\u00ae&nbsp;licenses. The&nbsp;<samp>ibmratl<\/samp>&nbsp;daemon is used for&nbsp;IBM&nbsp;ELM&nbsp;or&nbsp;IBM&nbsp;Rational&nbsp;licensed products. If you have other products from other vendors that also use&nbsp;FlexNet&nbsp;software, they include their own vendor daemons.<\/li><li>A license daemon named&nbsp;<samp>lmgrd<\/samp>. The&nbsp;<samp>lmgrd<\/samp>&nbsp;daemon does not process requests on its own, but forwards requests to the appropriate vendor daemon.<\/li><li>A license file that you maintain. The license file specifies your license servers, vendor daemons, and product licenses.<\/li><\/ul>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;Use a single combined license file for all&nbsp;ELM&nbsp;or&nbsp;IBM&nbsp;Rational&nbsp;products.<\/p>\n\n\n\n<p>To verify that your license manager is operational, you can enter these commands on your UNIX license server to determine whether its daemons are started:<samp>% ps axw | grep -v grep | egrep \u201clmgrd|ibmratl&#8221;<\/samp><\/p>\n\n\n\n<p>or<samp>i% ps -e | grep -v grep | egrep \u201clmgrd|bmratl&#8221;<\/samp><\/p>\n\n\n\n<p>The output includes lines like these lines (your path names might vary):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><samp>538 ?? S 0:03.50 \/rational\/base\/cots\/flexlm.7.0f\/platform\/lmgrd<\/samp>\n<samp>-c \/rational\/config\/servername.dat<\/samp>\n<samp>-l \/rational\/config\/servername.log<\/samp>\n<samp>539 ?? I 0:00.90 ibmratl -T brazil 6.0 3 -c ...<\/samp><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><samp>lmdiag<\/samp><\/td><td>Diagnoses problems when you cannot check out a license.<\/td><\/tr><tr><td><samp>lmdown<\/samp><\/td><td>Shuts down license and vendor daemons.<\/td><\/tr><tr><td><samp>lmhostid<\/samp><\/td><td>Reports license manager host ID of workstation.<\/td><\/tr><tr><td><samp>lmremove<\/samp><\/td><td>Returns specific licenses to license pool on license server.<\/td><\/tr><tr><td><samp>lmreread<\/samp><\/td><td>Rereads license file, starts new vendor daemons.<\/td><\/tr><tr><td><samp>lmstat<\/samp><\/td><td>Reports status on daemons and feature usage.<\/td><\/tr><tr><td><samp>exinstal<\/samp><\/td><td>Reports on&nbsp;<samp>ibmratl<\/samp>&nbsp;licenses in license file that you specify on the command line. The&nbsp;<samp>exinstal<\/samp>&nbsp;and&nbsp;<samp>exinstrl<\/samp>&nbsp;commands check the license file format and license codes to determine whether everything is consistent.<\/td><\/tr><tr><td><samp>exinstrl<\/samp><\/td><td>Reports on&nbsp;<samp>ibmratl<\/samp>&nbsp;licenses in license file that you specify on the command line. The&nbsp;<samp>exinstal<\/samp>&nbsp;and&nbsp;<samp>exinstrl<\/samp>&nbsp;commands checks the license file format and license codes to determine whether everything is consistent.<\/td><\/tr><tr><td><samp>license_check<\/samp><\/td><td>Runs the&nbsp;FlexNet&nbsp;<strong>lmstat<\/strong>&nbsp;command for counted licenses and the&nbsp;<samp>exinstal<\/samp>&nbsp;command for any license file (not port@host). The&nbsp;<samp>lmstat<\/samp>&nbsp;command queries the license server for a list of licenses that are in the license pool. The&nbsp;<samp>exinstal<\/samp>&nbsp;command checks the license file format and license codes to determine whether everything is consistent.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Last Updated: 20&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-spss"],"_links":{"self":[{"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cabit.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=783"}],"version-history":[{"count":1,"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/posts\/783\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/cabit.top\/index.php?rest_route=\/wp\/v2\/posts\/783\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/cabit.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cabit.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cabit.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}