商用服务器AIX下C语言的License配置
作者:神话海青_769 | 来源:互联网 | 2017-06-26 10:00
文章标题:商用服务器AIX下C语言的License配置。Linux是中国IT实验室的一个技术频道。包含桌面应用,Linux系统管理,内核研究,嵌入式系统和开源等一些基本分类
一. 安装C/C++/Fortran编译器及LUM(License 管理程序) 1.使用以下命令确认软件包 ipfx.rte 已经安装: lslpp -l ipfx.rte 如果未安装,可从AIX 4.3 系统盘的第一张光盘找出并安装。 2.从编译器安装介质安装编译器软件包。 3.从AIX 系统盘安装LUM(License 管理程序)软件包: bos.rte.ifor_ls ifor_ls.base.cli ifor_ls.base.gui ifor_ls.client.base ifor_ls.client.gui ifor_ls.msg.en_US.base.cli ifor_ls.msg.en_US.base.gui 下列软件包可任选: bos.net (升级 NCS 到 版本4.3) ifor_ls.compat (兼容旧版本License 管理程序NetLS) ifor_ls.ipf.en_US (IPFX 格式的LUM 联机文档) ifor_ls.html.en_US (HTML 格式的LUM 联机文档) 5.运行命令 lslpp -l bos.net.ncs 确认其版本为4.3.x.x(与AIX版本相同) 二. 配置编译器License 1.配置 LUM V4 Nodelock Licence Server 运行命令 i4cfg -script 将启动交互式License配置程序。以下为该命令输出内容,按照下列步骤配置 Nodelock License server: i4cfg Version 4.0 AIX -- LUM Configuration Tool (c) Copyright 1995-1997, IBM Corporation, All Rights Reserved US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. [有时会遇到提示 "Configuration cannot take place until all licensing daemons are stopped.",在提示“if you want to terminate them”后回答“Yes”继续。] [如遇到提示 "default ini file not found,configuration ends.",可运行 /usr/opt/ifor/ls/bin/i4cnvini"重建默认的初始化文件。] From a License Management point of view, you can choose to configure this system as: 1) Network License Client 2) Nodelock License Server (and/or Network License Client) 3) Network (and/or Nodelock) License Server 4) Central Registry (and/or Network and/or Nodelock) License Server (*) (*) Remember that one and only one Central Registry License Server (i4gdb daemon) can be active in a Licensing domain. Please indicate your choice [1,2,3,4]: 2 Do you want to disable remote administration of the license server? y [此时可能遇到提示 "You have to choose now which mechanism must be enabled to locate this License Server: 1) NCS Namespace and Direct Binding (*) 2) Direct Binding only" 选择 '2) Direct Bind Only'] Choose the desired Server(s) logging level 1) Default 2) All 3) Customized Please indicate your choice [1,2,3]: 1 The default Log file(s) path is /var/ifor Enter blank to accept default or specify a new path:[按回车键] ********************************************************************** Server configuration is complete. Do you want to configure this machine as a Network License Client too? [y,n]: n Do you want the License Server(s) automatically start on this system at boot time? [y,n]: y ********************************************************************** WARNING: Configuration is about to end. This is your last chance to quit before your updates will be written. Do you want to continue? [y,n]: y *** Configuration file updated. *** Do you want the License Server(s) start now? [y,n]: y 0513-059 The i4llmd Subsystem has been started. Subsystem PID is 18636. 'Start Services' has completed successfully **************************************** * Configuration completed successfully * **************************************** # 2. 运行下列命令将License加入管理程序: # /var/ifor/i4blt -a -f [licfile] -R u -T [number_of_lics] 其中 licfile 为license文件名,number_of_lics 为 实际购买的编译器用户数。 例如: i4blt -a -f /usr/vac/c43aix_cn.lic -R u -T 10 将 C for AIX 4.3 编译器的10 个用户的license 加入Nodelock server。 i4blt -a -f /usr/vac/c44aix_cn.lic -R u -T 10000 将 C Version 4.4 编译器的10000个用户的license加入Nodelock server。 i4blt -a -f /usr/ibmcxx/cxx36_cn.lic -R u -T 5 将C&C++ Version 3.6.4 的5个用户的license 加入Nodelock server。 i4blt -a -f /usr/lpp/xlf/DOC/f51aix_cn.lic -R u -T 3 将Fortran V5.1.1 的3个用户的license 加入Nodelock server。 如果遇到错误信息"host not found" ,可将选项 "-n [hostname]" 加入命令行。例如: i4blt -a -n myhost.com -f/usr/vac/c43aix_cn.lic -Ru -T 1 如果遇到错误信息"0509-023 Symbol ifor_translate_i18n in ksh is not defined", 这可能与库文件libshrnck.a 的版本有关,此时需要寻找正确的libshrnck.a文件并将其 拷贝到/usr/lib/ncs/lib/libshrnck.a。遇到这种情况可与IBM技术支持中心联系以寻求帮助。 命令 i4blt 运行成功后屏幕将显示: "ADM-10099: Product successfully enrolled" 3. 设置 C编译程序路径: 如果使用 C for AIX 4.4/5.0 编译器,运行脚本 /usr/vac/bin/replaceCSET 如果使用 C&C++ V3.6.x 编译器, 运行脚本 /usr/ibmcxx/bin/replaceCSET 三. 删除/更新 License 使用下列命令可将license 删除: # i4blt -d -v "'IBM Software Solutions Toronto'" -p "'C for AIX' 4.3.cn" -t 876751962 其中时间戳 876751962 在不同的系统上各不相同,可用命令 /var/ifor/i4blt -lp -i 查看。 使用下列命令可以更新license 用户数: # i4blt -U -v "'IBM Software Solutions Toronto'" -p "'C for AIX' 4.3.cn" -T [new number of users]
推荐阅读
nsitionalENhttp:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd ...
[详细]
蜡笔小新 2024-12-28 13:00:24
一位程序员的妻子在网上分享了她丈夫在北京工作八年的经历,月薪仅3万元,存款情况却出乎意料。本文探讨了高学历人才在大城市的职场现状及生活压力。 ...
[详细]
蜡笔小新 2024-12-28 11:14:15
在 Windows 10 中,F1 至 F12 键默认设置为快捷功能键。本文将介绍几种有效方法来禁用这些快捷键,并恢复其标准功能键的作用。请注意,部分笔记本电脑的快捷键可能无法完全关闭。 ...
[详细]
蜡笔小新 2024-12-28 09:13:44
本文探讨了如何从动态网站中提取站点密钥,特别是针对验证码(reCAPTCHA)的处理方法。通过结合Selenium和requests库,提供了详细的代码示例和优化建议。 ...
[详细]
蜡笔小新 2024-12-28 04:11:47
探讨如何高效使用FastJSON进行JSON数据解析,特别是从复杂嵌套结构中提取特定字段值的方法。 ...
[详细]
蜡笔小新 2024-12-27 19:49:07
本题探讨了一种字符串变换方法,旨在判断两个给定的字符串是否可以通过特定的字母替换和位置交换操作相互转换。核心在于找到这些变换中的不变量,从而确定转换的可能性。 ...
[详细]
蜡笔小新 2024-12-28 09:18:22
来源:机器之心。本文详细介绍了TensorFlow官方提供的中文版教程和指南,帮助开发者更好地理解和应用这一强大的开源机器学习平台。 ...
[详细]
蜡笔小新 2024-12-28 09:00:51
Explore a common issue encountered when implementing an OAuth 1.0a API, specifically the inability to encode null objects and how to resolve it. ...
[详细]
蜡笔小新 2024-12-28 08:54:34
本文探讨了网络层的控制平面,包括转发和路由选择的基本原理。转发在数据平面上实现,通过配置路由器中的转发表完成;而路由选择则在控制平面上进行,涉及路由器中路由表的配置与更新。此外,文章还介绍了ICMP协议、两种控制平面的实现方法、路由选择算法及其分类等内容。 ...
[详细]
蜡笔小新 2024-12-27 22:54:11
本文将介绍如何使用 Go 语言编写和运行一个简单的“Hello, World!”程序。内容涵盖开发环境配置、代码结构解析及执行步骤。 ...
[详细]
蜡笔小新 2024-12-27 21:29:35
This guide provides a comprehensive step-by-step approach to successfully installing the MongoDB PHP driver on XAMPP for macOS, ensuring a smooth and efficient setup process. ...
[详细]
蜡笔小新 2024-12-27 19:58:25
本文详细介绍了如何在Linux系统上安装和配置Smokeping,以实现对网络链路质量的实时监控。通过详细的步骤和必要的依赖包安装,确保用户能够顺利完成部署并优化其网络性能监控。 ...
[详细]
蜡笔小新 2024-12-27 19:31:05
本文介绍如何利用动态规划算法解决经典的0-1背包问题。通过具体实例和代码实现,详细解释了在给定容量的背包中选择若干物品以最大化总价值的过程。 ...
[详细]
蜡笔小新 2024-12-27 19:17:15
本文介绍了在使用Visual Studio 2015进行项目开发时,遇到类向导弹出“异常来自 HRESULT:0x8CE0000B”错误的解决方案。通过具体步骤和实践经验,帮助开发者快速排查并解决问题。 ...
[详细]
蜡笔小新 2024-12-27 19:01:41
本文基于刘洪波老师的《英文词根词缀精讲》,深入探讨了多个重要词根词缀的起源及其相关词汇,帮助读者更好地理解和记忆英语单词。 ...
[详细]
蜡笔小新 2024-12-27 18:59:50