5. 安装Foreast
Control-M 9版本中有三个组件需要独立安装,包括Foreast、Self Service、Batch Impact Manager,下面分别介绍三个组件的安装。
5.1 准备安装文件
Control-M 9.0.19版本Foreast组件对应的安装包为DRFOR_Linux-x86_64.z,此组件的安装在EM/CTM服务器上即可,首先创建文件夹DRFOR存放压缩包,然后将压缩文件上传至服务器/data/tools/Control-M9.0.19/DRFOR/目录下,并进行解压。
[root@Mr-MoJi-Server ~]# su - emuser9Mr-MoJi-Server% pwd/home/emuser9Mr-MoJi-Server% cd /data/tools/Control-M9.0.19Mr-MoJi-Server% mkdir DRFORMr-MoJi-Server% ls -ltotal 12432-rw-r--r-- 1 emuser9 emuser9 12728147 Aug 26 15:41 DRFOR_Linux-x86_64.z
执行解压缩:
Mr-MoJi-Server% ls -ltotal 12432-rw-r--r-- 1 emuser9 emuser9 12728147 Aug 26 15:41 DRFOR_Linux-x86_64.zMr-MoJi-Server% gunzip DRFOR_Linux-x86_64.zMr-MoJi-Server% ls -ltotal 10200-rw-r--r-- 1 emuser9 emuser9 10444800 Aug 26 15:41 DRFOR_Linux-x86_64Mr-MoJi-Server% mv DRFOR_Linux-x86_64 DRFOR_Linux-x86_64.tarMr-MoJi-Server% ls -ltotal 10200-rw-r--r-- 1 emuser9 emuser9 10444800 Aug 26 15:41 DRFOR_Linux-x86_64.tarMr-MoJi-Server% tar -xvf DRFOR_Linux-x86_64.tarSetup_files/Setup_files/fcactivation.pngSetup_files/Setup_fcactivation_Linux-x86_64.jarSetup_files/install_common.shSetup_files/Installer.jarSetup_files/AdditionalVariables.iniSetup_files/product_identificator_fcactivation.iniSetup_files/check_os_version.shSetup_files/License.txtSetup_files/Setup_fcactivation_Linux-x86_64_files.jarSetup_files/Setup_fcactivation_Linux-x86_64_additional_files.jarSetup_files/sharchSetup_files/checkEm.shsetup.shMr-MoJi-Server% ls -ltotal 10216-rw-r--r-- 1 emuser9 emuser9 10444800 Aug 26 15:41 DRFOR_Linux-x86_64.tardrwxr-x--- 2 emuser9 emuser9 4096 Jun 23 17:29 Setup_files-rwxr-x--- 1 emuser9 emuser9 10776 Jun 15 18:10 setup.sh
5.2 安装Foreast组件
执行./setup.sh
注意:在EM/CTM服务器上,使用emuser9执行安装时,DRFOR目录的属组要设置为emuser9,否则会报错
安装流程如下所示:
Mr-MoJi-Server% ./setup.sh
步骤1:
同意在非图形模式下安装,输入y并回车
Starting graphical user interface...The $DISPLAY environment variable is not defined.Install will continue in non graphical mode.Are you sure you want to continue?== <N> No <Y> Yes ==Enter command:Y
步骤2:
同意安装许可协议
a.输入s并回车跳过阅读条款
b.输入y并回车同意许可条款
=== Control-M/Forecast Installation ====== License Agreement ===END USER LICENSE AGREEMENTBY OPENING THE PACKAGE, DOWNLOADING OR INSTALLING, PRESSING "AGREE" OR "YES" OR USING THE PRODUCT, THE ENTITY OR INDIVIDUAL ENTERING INTO THIS AGREEMENT AGREES TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE WITH ANY OF THESE TERMS, DO NOT INSTALL OR USE THE PRODUCT, PROMPTLY RETURN THE PRODUCT TO BMC OR YOUR BMC RESELLER, AND IF YOU RETURNED THE LICENSE WITHIN 15 DAYS OF THE DATE OF YOUR ORDER, CONTACT BMC OR YOUR BMC RESELLER FOR A REFUND OF LICENSE FEES PAID. IF YOU REJECT THIS AGREEMENT, YOU WILL NOT ACQUIRE ANY LICENSE TO USE THE PRODUCT.This Agreement ("Agreement") is between the entity or individual entering into this Agreement ("Customer") and the BMC Entity for the applicable Region where Customer acquired the License as described in Section 18 ("BMC").1.GENERAL DEFINITIONS."Affiliate" is an entity that controls, is controlled by or shares common control with BMC or Customer, where such control arises from either (a) a direct or indirect ownership interest of more than 50% or (b) the power to direct or cause the direction of the management and policies, whether through the ownership of voting stock by contract, or otherwise, equal to that provided by a direct or indirect ownership of more than 50%."Documentation" means the technical publications relating to the software, such as release notes, license entitlement descriptions, reference, user, installation, systems administrator and technical guidelines, included with the Product."Licensed Capacity" is the amount of each Product licensed as established in the Order."Order" is an agreed written or electronic document, subject to the terms of this Agreement that identifies the Products to be licensed and the Licensed Capacity and/or the Support to be purchased and the fees to be paid."Product" is the object code of the software and all accompanying Documentation delivered to Customer, including all items delivered by BMC to Customer under 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.2.SCOPE. Licenses are granted, and Support is obtained, solely by execution of Orders. Each Order is deemed to be a discrete contract, separate from each other Order, unless expressly stated otherwise therein, and in the event of a direct conflict between any Order and the terms of this Agreement, the terms of the Order will control only if the Order is agreed to by each party. Orders may be entered under this Agreement by and between (a) BMC or an Affiliate of BMC; and (b) the Customer or an Affiliate of Customer. With respect to an Order, the terms "BMC" and "Customer" as used in this Agreement will be deemed to refer to the entities that execute that Order, the Order will be considered a two party agreement between such entities, and BMC or its authorized reseller will separately invoice the Customer named in the Order for the associated License fees and Support fees. Neither execution of this Agreement, nor anything contained herein, shall obligate either party to enter into any Orders. In the event an Order is proposed by BMC and is deemed to constitute an offer, then acceptance of such offer is limited to its terms. In the event Customer proposes an Order by submitting a purchase order, then regardless of whether BMC acknowledges, accepts or fully or partially performs under such purchase order, BMC OBJECTS to any additional or different terms in the purchase order.Press <Enter> to continue or <S> to skip: SDo you accept and agree to the terms of this Software License Agreement (Y/N)?Y
步骤3:
配置安装参数
由于Control-M/Forecast组件程序默认安装目录为操作系统用户家目录(/home/emuser9),用户可以根据实际需求进行变更,若没有特殊安装规范可以使用默认路径,直接输入回车即可,进行下一步。
=== Control-M/Forecast Installation ====== Summary ===You are about to install Control-M/ForecastDestination Folder: /home/emuser9== <C> Cancel <P> Previous Panel <I>/<Enter> Install <G> Generate an automatic installation configuration file ==Enter command:
步骤4:
开始安装,安装完成后,程序会自动退出。
=== Control-M/Forecast Installation ====== Installation ===[ Starting to unpack ][ Processing package: Control-M/Forecast files ][ Processing package: Configure Control-M/Forecast ][ Processing package: The installed-versions.txt update. ][ Processing package: Write uninstaller ][ Unpacking finished ]ler=== Control-M/Forecast Installation ====== Installation Result - Success ===Installation has completed successfully.Mr-MoJi-Server%Mr-MoJi-Server%Mr-MoJi-Server% ls -ltotal 10216-rw-r--r-- 1 emuser9 emuser9 10444800 Aug 26 15:41 DRFOR_Linux-x86_64.tardrwxr-x--- 2 emuser9 emuser9 4096 Jun 23 17:29 Setup_files-rwxr-x--- 1 emuser9 emuser9 10776 Jun 15 18:10 setup.sh
至此,Control-M的Foreast组件安装结束。