从Control-M 8版本升级至Control-M 9版本,由于版本变更比较大,相关升级操作等于重新安装。
从Control-M 9.0.19版本升级至Control-M 9.0.20版本,由于是小版本号的变动,所以升级可以理解为更新部分内容。
下面介绍从Control-M 9.0.19版本升级至Control-M 9.0.20版本的操作步骤。
Control-M 9.0.20版本 EM与CTM安装文件在同一个压缩包中DROST.9.0.20.000_PP_Linux-x86_64.tar.Z,首先创建文件夹Control-M9.0.20存放压缩包,然后将压缩文件上传至服务器/data/tools/Control-M9.0.20/目录下,并进行解压。
[root@Mr-MoJi-Server tools]# id
uid=0(root) gid=0(root) groups=0(root)
[root@Mr-MoJi-Server tools]# pwd
/data/tools
[root@Mr-MoJi-Server tools]# mkdir Control-M9.0.20
[root@Mr-MoJi-Server tools]
执行解压缩.
[root@Mr-MoJi-Server tools]# cd Control-M9.0.20
[root@Mr-MoJi-Server Control-M9.0.20]# ls -l
-rw-r--r-- 1 emuser9 emuser9 8080839439 Aug 13 17:29 DROST.9.0.20.000_PP_Linux-x86_64.tar.Z
[root@Mr-MoJi-Server ControlM9.0.20]# tar -zxvf DROST.9.0.20.000_PP_Linux-x86_64.tar.Z
CheckReq/
CheckReq/Setup_files/
……
Updates_for_Full_Control-M_Installation/tools/bmcperl/bin/a2p
Updates_for_Full_Control-M_Installation/tools/GetListOfComponentsToInstall.pl
[root@Mr-MoJi-Server ControlM9.0.20]#
[root@Mr-MoJi-Server ControlM9.0.20]# ls -l
drwxrwxr-x 3 root root 4096 Jan 2 2020 CheckReq
-rwxr-xr-x 1 root root 8080839439 Sep 27 10:52 DROST.9.0.20.000_PP_Linux-x86_64.tar.Z
drwxrwxr-x 11 root root 4096 Jan 2 2020 Setup_files
drwxrwxr-x 3 root root 4096 Jan 2 2020 Updates_for_Full_Control-M_Installation
-rwxr-xr-x 1 root root 12462 Dec 10 2019 setup.sh
[root@Mr-MoJi-Server ControlM9.0.20]#
以emuser9用户登录服务器,切换至安装文件所在目录
执行./setup.sh
注意:在使用emuser9执行安装时,Control-M9.0.20目录的属组要设置为emuser9,否则会报错
安装流程如下所示:
Mr-MoJi-Server% ./setup.sh
步骤1:
同意在非图形模式下安装,输入y并回车
Starting graphical user interface...
GUI mode is not supported for this terminal.
Install will continue in non graphical mode.
Are you sure you want to continue?
== No Yes ==
Enter command:
y
步骤2:
同意安装许可协议
a.输入s并回车跳过阅读条款
b.输入y并回车同意许可条款
=== Control-M 9.0.20.000 Installation ===
=== License Agreement ===
END USER LICENSE AGREEMENT
EES PAID. IF YOU REJECT THIS AGREEMENT, YOU WILL NOT ACQUIRE ANY LICENSE TO USE THE PRODUCT.
re Customer acquired the License as described in Section 18 ("BMC").
1.GENERAL DEFINITIONS.
ship of voting stock by contract, or otherwise, equal to that provided by a direct or indirect ownership of more than 50%.
lation, systems administrator and technical guidelines, included with the Product.
"Licensed Capacity" is the amount of each Product licensed as established in the Order.
pacity and/or the Support to be purchased and the fees to be paid.
er Support.
"Support" is the support services program as further specified in this Agreement.
"Territory" means the country(ies) where Customer is licensed to install the Product as specified in the Order.
MC acknowledges, accepts or fully or partially performs under such purchase order, BMC OBJECTS to any additional or different terms in the purchase order.
Press to continue or to skip: s
Do you accept and agree to the terms of this Software License Agreement (Y/N)?y
步骤3:
同意收集产品信息并回车
NOTE:
Control-M automatically collects anonymous information on your product usage patterns.
This information helps BMC to identify trends, enhance Control-M capabilities,
and improve the quality.
BMC does not collect any of your personal or organizational identifiable data.
Your participation in the usage collection is optional. You can opt-out at any time
by changing the values of the UsageCollectionDisabled system parameter to 1
as described in the Control-M Help (CMS parameters).
== Continue ==
步骤4:
产品升级选项
输入’1’进行升级选择,然后回车,在子选项中再次输入’1’,选择升级EM,输入回车确认选项,然后再次输入回车,进入下一步
=== Control-M 9.0.20.000 Installation ===
=== Product Settings : Installation Options ===
1 : ( ) Upgrade one of the following available components
( ) Control-M/Enterprise Manager
( ) Control-M/Server
( ) Control-M/Agent
== Cancel Previous Panel / Next Panel ==
Enter command or item number you wish to change: 1
(x) Upgrade one of the following available components
1 : ( ) Control-M/Enterprise Manager
2 : ( ) Control-M/Server
3 : ( ) Control-M/Agent
Enter your selection: 1
=== Control-M 9.0.20.000 Installation ===
=== Product Settings : Installation Options ===
1 : (x) Upgrade one of the following available components
(x) Control-M/Enterprise Manager
( ) Control-M/Server
( ) Control-M/Agent
== Cancel Previous Panel / Next Panel ==
Enter command or item number you wish to change:
步骤5:
确认产品升级安装目录
由于Control-M/EM程序默认安装目录为操作系统用户家目录(/home/emuser9),用户可以根据实际需求进行变更,若没有特殊安装规范可以使用默认路径,直接输入回车即可,进行下一步,继续输入回车,确认安装。
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Welcome ===
To upgrade Control-M/Enterprise Manager to version 9.0.20.000 select Next.
processes. After the processes are shut down, the installation begins and completes with minimum downtime.
Installation path: /home/emuser9
Current version: 9.0.19.200
Starting with version 9.0.20, Control-M Web client can communicates via HTTPS only.
BMC recommends installing a signed certificate for secured environment.
== Cancel / Next Panel Generate an automatic installation configuration file ==
Enter command:
步骤6:
开始升级,首先会进行升级前的准备工作,程序准备完成后,需要输入回车,确认进行下一步。
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Preparations ===
[ Starting to unpack ]
[ Processing package: Read configuration ]
[ Processing package: Cloning files ]
[ Processing package: Extracting files ... ]
[ Processing package: Last checks ... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Unpacking finished ]
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Welcome ===
Preparations - Done
The installation preparations have finished successfully.
Press Enter to Confirm the Control-M Enterprise Manager shut down and Upgrade
== Cancel / Next Panel ==
Enter command:
步骤7:
输入回车确认后,开始进行正式升级,升级完成后,程序会自动退出。
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Upgrade ===
[ Starting to unpack ]
[ Processing package: Applying before processes stop changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Writing initial uninstall data ]
[ Processing package: Checking product status ... ]
[ Processing package: Stopping product... ]
[ Processing package: Applying before file copy... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Copying files ... ]
[ Processing package: Applying configuration changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Applying database changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Applying post database changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Updating Installed Versions File... ]
[ Processing package: Writing final uninstall data ]
[ Processing package: Restarting product ]
[ Unpacking finished ]
Installation has completed successfully.
Note:
To start working with Control-M/EM, you must close the current session and open
a new one.
[ Unpacking finished ]
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Upgrade Result - Success ===
[ Unpacking finished ]
Installation has completed successfully.
Note:
To start working with Control-M/EM, you must close the current session and open
a new one.
Mr-MoJi-Server%
至此,Control-M的EM组件升级安装结束。
以emuser9用户登录服务器,切换至安装文件所在目录
执行./setup.sh
注意:在使用emuser9执行安装时,Control-M9.0.20目录的属组要设置为emuser9,否则会报错
安装流程如下所示:
Mr-MoJi-Server% ./setup.sh
步骤1:
同意在非图形模式下安装,输入y并回车
Starting graphical user interface...
GUI mode is not supported for this terminal.
Install will continue in non graphical mode.
Are you sure you want to continue?
== No Yes ==
Enter command:
y
步骤2:
同意安装许可协议
a.输入s并回车跳过阅读条款
b.输入y并回车同意许可条款
=== Control-M 9.0.20.000 Installation ===
=== License Agreement ===
END USER LICENSE AGREEMENT
EES PAID. IF YOU REJECT THIS AGREEMENT, YOU WILL NOT ACQUIRE ANY LICENSE TO USE THE PRODUCT.
re Customer acquired the License as described in Section 18 ("BMC").
1.GENERAL DEFINITIONS.
ship of voting stock by contract, or otherwise, equal to that provided by a direct or indirect ownership of more than 50%.
lation, systems administrator and technical guidelines, included with the Product.
"Licensed Capacity" is the amount of each Product licensed as established in the Order.
pacity and/or the Support to be purchased and the fees to be paid.
er Support.
"Support" is the support services program as further specified in this Agreement.
"Territory" means the country(ies) where Customer is licensed to install the Product as specified in the Order.
MC acknowledges, accepts or fully or partially performs under such purchase order, BMC OBJECTS to any additional or different terms in the purchase order.
Press to continue or to skip: s
Do you accept and agree to the terms of this Software License Agreement (Y/N)?y
步骤3:
同意收集产品信息并回车
NOTE:
Control-M automatically collects anonymous information on your product usage patterns.
This information helps BMC to identify trends, enhance Control-M capabilities,
and improve the quality.
BMC does not collect any of your personal or organizational identifiable data.
Your participation in the usage collection is optional. You can opt-out at any time
by changing the values of the UsageCollectionDisabled system parameter to 1
as described in the Control-M Help (CMS parameters).
== Continue ==
步骤4:
产品升级选项
由于此前已经完成了Control-M/EM的升级操作,因此选项列表中EM的升级选项就不会存在。
输入’1’进行升级选择,然后回车,在子选项中再次输入’1(这里面1对应的是CTM)’,选择升级CTM,输入回车确认选项,然后再次输入回车,进入下一步
=== Control-M 9.0.20.000 Installation ===
=== Product Settings : Installation Options ===
1 : ( ) Upgrade one of the following available components
( ) Control-M/Server
( ) Control-M/Agent
== Cancel Previous Panel / Next Panel ==
Enter command or item number you wish to change: 1
(x) Upgrade one of the following available components
1 : ( ) Control-M/Server
2 : ( ) Control-M/Agent
Enter your selection: 1
=== Control-M 9.0.20.000 Installation ===
=== Product Settings : Installation Options ===
1 : (x) Upgrade one of the following available components
(x) Control-M/Server
( ) Control-M/Agent
== Cancel Previous Panel / Next Panel ==
Enter command or item number you wish to change:
步骤5:
确认产品升级安装目录
由于Control-M/CTM程序默认安装目录为操作系统用户家目录(/home/emuser9),用户可以根据实际需求进行变更,若没有特殊安装规范可以使用默认路径,直接输入回车即可,进行下一步,继续输入回车,确认安装。
=== Control-M/Server 9.0.20.000 Installation ===
=== Welcome ===
To upgrade Control-M/Server to version 9.0.20.000 select Next.
After the processes are shut down, the installation begins and completes with minimum downtime.
Installation path: /home/emuser9
Current version: 9.0.19.200
== Cancel / Next Panel Generate an automatic installation configuration file ==
Enter command:
=== Control-M/Server 9.0.20.000 Installation ===
=== Preparations ===
[ Starting to unpack ]
[ Processing package: Read configuration ]
[ Processing package: Cloning files ]
[ Processing package: Extracting files ... ]
[ Processing package: Last checks ... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Unpacking finished ]
=== Control-M/Server 9.0.20.000 Installation ===
=== Welcome ===
Preparations - Done
The installation preparations have finished successfully.
Press Enter to Confirm the Control-M/Server shut down and Upgrade
== Cancel / Next Panel ==
Enter command:
步骤6:
开始升级,首先会进行升级前的准备工作,程序准备完成后,需要输入回车,确认进行下一步。
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Preparations ===
[ Starting to unpack ]
[ Processing package: Read configuration ]
[ Processing package: Cloning files ]
[ Processing package: Extracting files ... ]
[ Processing package: Last checks ... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Unpacking finished ]
=== Control-M/Enterprise Manager 9.0.20.000 Installation ===
=== Welcome ===
Preparations - Done
The installation preparations have finished successfully.
Press Enter to Confirm the Control-M Enterprise Manager shut down and Upgrade
== Cancel / Next Panel ==
Enter command:
步骤7:
输入回车确认后,开始进行正式升级,升级完成后,程序会自动退出。
=== Control-M/Server 9.0.20.000 Installation ===
=== Upgrade ===
[ Starting to unpack ]
[ Processing package: Applying before processes stop changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Writing initial uninstall data ]
[ Processing package: Checking product status ... ]
[ Processing package: Stopping product... ]
[ Processing package: Applying before file copy... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Copying files ... ]
[ Processing package: Applying configuration changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version 9.0.20.000 ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Applying database changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Applying post database changes... ]
[ Processing package: Applying changes for version prolog ... ]
[ Processing package: Applying changes for version epilog ... ]
[ Processing package: Updating Installed Versions File... ]
[ Processing package: Writing final uninstall data ]
[ Processing package: Restarting product ]
[ Unpacking finished ]
Installation has completed successfully.
Note:
To start working with Control-M/Server 9.0.20.000, you must close the current
session and open a new one.
[ Unpacking finished ]
=== Control-M/Server 9.0.20.000 Installation ===
=== Upgrade Result - Success ===
[ Unpacking finished ]
Installation has completed successfully.
Note:
To start working with Control-M/Server 9.0.20.000, you must close the current
session and open a new one.
Mr-MoJi-Server%
Mr-MoJi-Server%
至此,Control-M的CTM组件升级安装结束。