Shell script for license management

Shell script for license management

Shell script for license management

flexlm is shell tool for operating Flex License Manager.

Developed in bash code: 100%.

flexlm_shell_checker

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

GitHub issues open GitHub contributors

Table of Contents

Installation

Debian Linux OS

Navigate to release page download and extract release archive.

To install flexlm type the following

tar xvzf flexlm-x.y.tar.gz
cd flexlm-x.y
cp -R ~/sh_tool/bin/   /root/scripts/flexlm/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/flexlm/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/flexlm/ver.x.y/

Self generated setup script and execution

./flexlm_setup.sh 

[setup] installing App/Tool/Script flexlm
	Sun 05 Dec 2021 01:15:58 PM CET
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done

/root/scripts/flexlm/ver.2.0/
├── bin/
│   ├── center.sh
│   ├── check_license.sh
│   ├── display_logo.sh
│   ├── flexlm.sh
│   ├── load_licenses.sh
│   ├── start_license.sh
│   └── stop_license.sh
├── conf/
│   ├── flexlm.cfg
│   ├── flexlm.logo
│   ├── flexlm_util.cfg
│   └── licenses.cfg
└── log/
    └── flexlm.log

3 directories, 12 files
lrwxrwxrwx 1 root root 42 Dec  5 13:15 /root/bin/flexlm -> /root/scripts/flexlm/ver.2.0/bin/flexlm.sh

Or You can use docker to create image/container.

Usage

# Create symlink for shell tool
ln -s /root/scripts/flexlm/ver.x.y/bin/flexlm.sh /root/bin/flexlm

# Setting PATH
export PATH=${PATH}:/root/bin/

# Start Cadence License Server
flexlm 

flexlm ver.2.0
Sun 05 Dec 2021 01:16:52 PM CET

[check_root] Check permission for current session? [ok]
[check_root] Done

                                               
     ████  ██                  ██              
    ░██░  ░██                 ░██              
   ██████ ░██  █████  ██   ██ ░██ ██████████   
  ░░░██░  ░██ ██░░░██░░██ ██  ░██░░██░░██░░██  
    ░██   ░██░███████ ░░███   ░██ ░██ ░██ ░██  
    ░██   ░██░██░░░░   ██░██  ░██ ░██ ░██ ░██  
    ░██   ███░░██████ ██ ░░██ ███ ███ ░██ ░██  
    ░░   ░░░  ░░░░░░ ░░   ░░ ░░░ ░░░  ░░  ░░   
                                               
	                             
	Info   github.io/flexlm ver.2.0
	Issue  github.io/issue
	Author vroncevic.github.io

  [USAGE] flexlm [OPTIONS]
  [OPTIONS]
  [COMMAND] start | stop | restart | status
  [VENDOR NAME] cadence | mentor
  # Start license server
  flexlm start mentor
  [help | h] print this option

Dependencies

flexlm requires next modules and libraries

Shell tool structure

flexlm is based on MOP.

Shell tool structure

sh_tool/
├── bin/
│   ├── center.sh
│   ├── check_license.sh
│   ├── display_logo.sh
│   ├── flexlm.sh
│   ├── load_licenses.sh
│   ├── start_license.sh
│   └── stop_license.sh
├── conf/
│   ├── flexlm.cfg
│   ├── flexlm.logo
│   ├── flexlm_util.cfg
│   └── licenses.cfg
└── log/
    └── flexlm.log

Docs

Documentation Status

More documentation and info at

License: GPL v3 License

Copyright (C) 2016 - 2024 by vroncevic.github.io/flexlm

flexlm is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.

Lets help and support FSF.

Free Software Foundation

Donate