Strategy ONE
使用静默模式激活安装
许可证管理器允许静默激活模式,称为 自动服务器激活。自动服务器激活从 预配置响应文件 自动检索并应用激活码 MicroStrategy的许可网站。此功能可在 Windows 和 Linux 环境中通过控制台使用,并且跨操作系统使用相同的响应文件。
Windows 激活
通过控制台或脚本执行 Windows 许可证管理器自动激活时,执行会话需要提升的权限集才能成功完成。当仅通过提供名称来搜索响应文件时,系统将搜索调用许可证管理器的当前工作目录。
使用以下命令激活 Windows:
MALicMgr.exe -activate -f 响应文件 [-l 日志文件] [-showoutput]
Linux 激活
通过终端或脚本执行 Linux 许可证管理器自动激活时,会话需要访问许可证管理器可执行文件。您不必使用 root,尽管这取决于系统配置。当仅通过提供名称来搜索响应文件时,系统会搜索主目录。默认主目录是 /var/opt/MicroStrategy。
使用以下命令进行Linux激活:
mstrlicmgr -activate -f 响应文件 [-l 日志文件] [-showoutput]
Windows 和 Linux 激活
在 Windows 和 Linux 中,如果没有提供特定的日志文件,则位于 MicroStrategy 使用日志目录。成功激活后,将发送一封电子邮件。该电子邮件与传统的激活电子邮件类似,其中包含激活的详细信息以供记录保存。在自动电子邮件的激活信息部分,激活方法列为自动。
激活完成后,您可以在许可证管理器中验证。它不以与手动激活相同的方式记录,以便跟踪环境内的变化。
示例响应文件
使用以下示例响应文件来设置自动激活:
; MicroStrategy Secure Enterprise Automatic Activation Response File.
; Usage:
; Linux mstrlicmgr -activate -f Response_File [-l Log_File] [-showoutput]
; Windows MALicMgr.EXE -activate -f Response_File [-l Log_File] [-showoutput]
; System Information for Server Activation
[System]
SystemName=
SystemLocation=
;SystemUse = 1 to 5 (1-production,2-development,3-testing,4-training,5-other)
SystemUse=
; Licensed User information for MicroStrategy Point of Contact within the company.
[LicensedCustomer]
UserCompanyName=
UserFirstName=
UserLastName=
UserDepartment=
UserTitle=
UserEmail=
UserPhone=
UserStreet=
UserCity=
UserState=
UserPostal=
UserCountry=
;InstallerIsLicensedUser = true or false,
; Set it to true if the person installing the software is an employee of the licensed company.
; If set to true, please leave the [Installer] section blank.
; Set it to false if somebody is installing on behalf of the licensed company.
; If set to false, please fill the [Installer] section.
InstallerIsLicensedUser=
[Installer]
InstallerCompanyName=
InstallerFirstName=
InstallerLastName=
InstallerDepartment=
InstallerTitle=
InstallerEmail=
InstallerPhone=
InstallerStreet=
InstallerCity=
InstallerState=
InstallerPostal=
InstallerCountry=
停用
自动停用也可以通过相同的方式进行,使用 -停用 旗帜。
使用以下命令停用 Windows:
MALicMgr.exe-停用
使用以下命令停用 Linux:
mstrlicmgr-停用