ZD&T安装基于软件的许可证服务器
-
- 修改权限
chmod 755 ZDT_Install_EE_V13.0.1.tgz
- 解压缩
tar -xzvf ZDT_Install_EE_V13.0.1.tgz
- 运行安装脚本
./ZDT_Install_EE_V13.0.1.x86_64
- 选择2
2. Software-based License Server
- 选择1
1)install
- 接受协议 Y
- 可选:是否安装依赖项 Y
- 回车,最后看到uimserver启动成功
- 验证是否安装成功
RHEL:
rpm -qa | grep zpdtldk rpm -qa | grep zpdtuim
UBUNTU:
dpkg -l | grep zpdtldk dpkg -l | grep zpdtuim
出现uim版本代表成功
uim 1.10.55.05.01
PS: 启动uim用下面的命令
/usr/z1090/bin/uimserverstart
安装完成后会自动创建一个ibmsys1的用户,使用下面命令修改密码
sudo passwd ibmsys1
- 放行防火墙端口
# iptables -I INPUT -p tcp --dport 1947 -j ACCEPT # iptables -I INPUT -p udp --dport 1947 -j ACCEPT # iptables -I INPUT -p tcp --dport 9450 -j ACCEPT # iptables -I INPUT -p tcp --dport 9451 -j ACCEPT
- 使用root权限输入:
sudo opt/IBM/LDK/request_license
此命令在根主目录中创建一个请求压缩文件,其名称类似于Hostname_xxxxxxxxxx.zip。 该文件对于基于软件的许可证服务器是唯一的。 我们使用该文件来生成基于软件的许可证密钥文件。
- 切换目录/opt/IBM/LDK,如果不是root用户,输入su用户密码,或者<sudo -i>
sudo -i cd /opt/IBM/LDK ./update_license Hostname_xxxxxxxxxx.zip
- 确认状态
./query_license
The following key is available: HASP-SL key_id=432975633343422885 feature(s): FID Feature Name Expiration Logins MaxLogins 333- CPU License Tue Oct 30,2018 19:59:59 39 100 334- ADCD License Tue Oct 30,2018 19:59:59 0 1 Host Information: zdt-lic-mgr localhost Thesse are the currently active sessions: KeyID FID FeatureName Address User Machine LoginTime # 432975633343422885 333 CPU License 9.26.158.161 ibmsys1 zdt-dev4 Mon Oct 30, 17:25:40 3
- 切到/usr/z1090/bin,使用非root账户(比如ibmsys1)
cd /usr/z1090/bin 停止服务 ./uimserverstop 启动服务 ./uimserverstart
-
在Azure上安装License Server手顺
1.修改权限并解压
Last login: Fri Apr 23 11:20:02 2021 from 119.109.97.131 [azureuser@onezos ~]$ cd /data/zdtee [azureuser@onezos zdtee]$ ls ee.md5 ZDT_Install_EE_V13.0.0.0.tgz [azureuser@onezos zdtee]$ sudo chmod 755 ZDT_Install_EE_V13.0.0.0.tgz [azureuser@onezos zdtee]$ sudo tar -xzvf ZDT_Install_EE_V13.0.0.0.tgz README ZDT_Install_EE_V13.0.0.0.x86_64 [azureuser@onezos zdtee]$ ls ee.md5 README ZDT_Install_EE_V13.0.0.0.tgz ZDT_Install_EE_V13.0.0.0.x86_64
2.使用sudo ./ZDT_Install_EE_V13.0.0.0.x86_64安装
[azureuser@onezos zdtee]$ sudo ./ZDT_Install_EE_V13.0.0.0.x86_64 The following products can be installed, updated, or uninstalled. Select one action: 1) ZD&T Enterprise Edition A simple role-based Web utility to ease the process of creating and managing your IBM ZD&T instances. It includes features to create assets, monitor and automatically configure, install and deploy to target systems. This offering can be installed on the same system as the ZD&T Hardware-Based License Server and as the ZD&T Software-Based License Server. 2) ZD&T Software-Based License Server A server for centralized management of software-based license keys for one or more instances of ZD&T. This offering cannot be installed on the same system as ZD&T Hardware-Based License Server but can be on the same system as the ZD&T Enterprise Edition. 3) ZD&T Hardware-Based License Server A server for centralized management of hardware (USB)-based license keys for one or more instances of ZD&T. This offering cannot be installed on the same system as ZD&T Software-Based License Server but can be on the same system as the ZD&T Enterprise Edition. 4) ZD&T Emulator A platform for mainframe application demonstration, development, testing and education. It enables IBM z/OS® middleware and other z/OS software to run on Intel-compatible platforms without IBM Z® mainframe hardware. It emulates IBM Z architecture with virtual I/O and devices. It cannot be installed on the same system as the ZD&T Software-Based License Server, ZD&T Hardware-Based License Server and ZD&T Enterprise Edition.
3.选择2<ZD&T Software-Based License Server>,选择1<Install>
==>2 What do you want to do with ZD&T Software-Based License Server? 1) Install 2) Update 3) Uninstall ==>1 Press ENTER and read the following license agreements carefully. LICENSE INFORMATION The Programs listed below are licensed under the following License Information terms and conditions in addition to the Program license terms previously agreed to by Client and IBM. If Client does not have previously agreed to license terms in effect for the Program, the International License Agreement for Early Release of Programs (Z125-5544-05) applies. Program Name (Program Number): IBM Z Development and Test Enterprise Edition 13.0 (Early Release) The following standard terms apply to Licensee's use of the Program. .......... c. wasted management time or lost profits, business, revenue, goodwill, or anticipated savings. Z125-5544-05 (07/2011)
4.接受并同意y
Do you accept the terms in the license agreements? (y/n): Do you accept the terms in the license agreements? (y/n): Do you accept the terms in the license agreements? (y/n): y *******************************Warning******************************* Software-based License Server needs to be a static resource in any infrastructure configuration. In a virtualized or cloud infrastructure, it does not tolerate physical moving. If the Software-based License Server is manually or automatically moved return the license before moving, acquire the license after movement, and configure the Software-based License Server again. Do you accept the above terms? (y/N): y *******************************Warning******************************* You are attempting to install the IBM ZD&T Software-based license server on virtual hardware. The licensing for IBM ZD&T is based on a hardware signature and if the underlying hardware changes then the licenses on this license server will become invalid, preventing any IBM ZD&T emulators from functioning. This scenario can happen very easily if the license server is installed on a virtual machine and it will require IBMs assistance to help resolve the problem and is a very time-consuming effort, sometimes taking up to a week to resolve. For this reason it is strongly recommended that you only install the IBM ZD&T Software-based license server on physical hardware; However, if you wish to proceed with installing on this virtual machine then press Y indicating that you have read this warning and acknowledge the consequences if the virtual machine stops working as a result of the hardware changing.
5.全部都选y
I acknowledge the above statement and agree to install on virtual hardware y/N: y Do you want the necessary Linux dependencies for the product to be installed? (y/N): y Installing dependencies ... Installation of dependencies was successful Installing +++++ Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:zpdtldk-1-10.55.05.01 ################################# [100%] Installing aksusbd pkg +++++ Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:aksusbd-8.13-1 ################################# [100%] Created symlink /etc/systemd/system/multi-user.target.wants/aksusbd.service → /etc/systemd/system/aksusbd.service. Created symlink /etc/systemd/system/multi-user.target.wants/hasplmd.service → /etc/systemd/system/hasplmd.service. Copy in hasp shared object +++++ Installing UIM +++++ Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:zpdtuim-1-10.55.05.01 ################################# [100%] To start the uimserver , using a non-root id, execute : /usr/z1090/bin/uimserverstart To generate a License request, issue command : /opt/IBM/LDK/request_license and then send the resulting file to your IBM representative. Using port 9451 IPv4 2021-04-23_22:18:19: uimserver started successfully. The installer has created the non-root user id "ibmsys1" with a generated password. Do not forget to change the password of this account
6.确认安装是否成功
[azureuser@onezos zdtee]$ rpm -qa | grep zpdtldk zpdtldk-1-10.55.05.01.x86_64 [azureuser@onezos zdtee]$ rpm -qa | grep zpdtuim zpdtuim-1-10.55.05.01.x86_64
7.更改ibmsys1密码
[azureuser@onezos zdtee]$ sudo passwd ibmsys1 Changing password for user ibmsys1. New password: BAD PASSWORD: The password fails the dictionary check - it does not contain enough DIFFERENT characters Retype new password: Sorry, passwords do not match. New password: Retype new password: passwd: all authentication tokens updated successfully.
8.生成请求的zip文件
[azureuser@onezos IBM]$ sudo /opt/IBM/LDK/request_license zPDT/LDK license request started. fingerprint status 0 The request file created is: ~/onezos_1619217288.zip Success
9.更改root密码
[azureuser@onezos /]$ sudo passwd root Changing password for user root. New password: Retype new password: passwd: all authentication tokens updated successfully. [azureuser@onezos /]$ su - Password:
10.找到生成的zip位置
[root@onezos home]# cd /root [root@onezos ~]# ls onezos_1619217288.zip [root@onezos ~]# cd /opt/IBM/LDK [root@onezos LDK]# ls chisel display_gen2_acclog LDK_runtime license query_license request_license rules.ini serverconfig serverconfig_cli update_license
11.请求服务器确认
[root@onezos LDK]# ./update_license onezos_1619217288.zip
-