schrodinger.autoinstall.slm_install module¶
- schrodinger.autoinstall.slm_install.setup_slm(ipath: str, licsource: str, hostname: str, logger)¶
Sets up the Schrodinger License Manager (SLM) using
licadmin
.This function handles both license files (
txt
) and license keys. It also creates a global license identifier file (license.lic
) for the server.- Parameters:
ipath – The installation path for the Schrodinger suite.
licsource – The path to the license file or the license key string.
hostname – The hostname of the license server.
logger – A logger instance for logging messages.
- schrodinger.autoinstall.slm_install.run(ipath: str, hostname: str, licsource: str)¶
Main routine to set up the Schrodinger License Manager.
- Parameters:
ipath – The installation path for the Schrodinger suite.
hostname – The hostname of the license server.
licsource – The path to the license file or the license key string.