BMC Control-M8.0服務器 安裝(二)

接着上一篇,此次安裝Control-M的另一個組件CTM-Server

四、安裝CTM-Server
1.服務器配置
a.以root用戶登錄CTM-Server服務器(192.168.38.10),創建ctmuser用戶:

[root@Mr-MoJi home]# useradd -d /home/ctmuser -s /bin/csh -m ctmuser

設置密碼:passwd ctmuser(default123)

[root@Mr-MoJi home]# passwd ctmuser
Changing password for user ctmuser.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.

b.修改主機名稱
a.若未建立(Mr-MoJi),則修改主機名稱,否則跳過此步驟
vi /etc/sysconfig/network

[root@Mr-MoJi ~]# cat /etc/sysconfig/network
# Created by anaconda
NETWORKING=yes
HOSTNAME=Mr-MoJi

b.確認啓動修改的主機名稱:

[root@Mr-MoJi ~]# hostname
Mr-MoJi

c.配置安裝目錄屬組及用戶權限
chmod -R 755 /home/ctmuser
chown -R ctmuser:ctmuser /data/tools/Control-M(安裝文件存放目錄)

2.安裝
以ctmuser用戶登錄服務器(192.168.38.10),切換至安裝文件所在目錄

[root@Mr-MoJi ~]# su - ctmuser
[ctmuser@Mr-MoJi ~]$ cd /data/tools/Control-M_V8.0/LIN/
[ctmuser@Mr-MoJi LIN]$ pwd
/data/tools/Control-M_V8.0/LIN
[ctmuser@Mr-MoJi LIN]$ ls -l
total 20
drwxrwxrwx 2 ctmuser ctmuser  4096 Sep  2  2015 pre_req
drwxrwxrwx 9 ctmuser ctmuser  4096 Sep  2  2015 Setup_files
-rwxrwxrwx 1 ctmuser ctmuser 11209 Aug 15  2012 setup.sh

執行./setup.sh
注意:在使用ctmuser執行安裝時,LIN目錄的屬組要設置爲ctmuser,否則會報錯

*** current directory [/data/tools/Control-M_V8.0/LIN] is not owned by ctmuser . ***
*** Please log in as emuser or as root and restart installation. ***

[ctmuser@Mr-MoJi LIN]$ ./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:同意安裝許可協議

輸入s並回車跳過閱讀條款
輸入y並回車同意許可條款

=== License Agreement ===


END USER LICENSE AGREEMENT
BY OPENING THE PACKAGE, 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 ACQUIRED 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 Territory as described in Section 19 ("BMC"). In addition to the restrictions imposed under this Agreement, any other usage restrictions contained in the Product installation instructions or release notes shall apply to your use of the Product. 
Territory: The country where Customer acquired the license. 
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, 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 their 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.

Press <Enter> to continue or <S> to skip: s

Do you accept and agree to the terms of this Software License Agreement (Y/N)?y

步驟3:輸入’3’選項(Advanced Installations),在子選項中輸入’1’,然後回車,進行CTM-Server的安裝

=== Product Settings : Installation Options ===


1 : (x) Control-M Workload Automation 8.0.00 - Full Installation

            Use custom settings (y/n)? - n

            Install trial version with all optional components (y/n)? - n

2 : ( ) Control-M Agent

3 : ( ) Advanced Installations


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 3
(x) Advanced Installations

1 :     (x) Control-M/Server

2 :     ( ) Control-M/Enterprise Manager

Enter your selection: 1

=== Product Settings : Installation Options ===


1 : ( ) Control-M Workload Automation 8.0.00 - Full Installation

            Use custom settings (y/n)?

            Install trial version with all optional components (y/n)?

2 : ( ) Control-M Agent

3 : (x) Advanced Installations

            (x) Control-M/Server

            ( ) Control-M/Enterprise Manager


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 

步驟4:配置安裝類型,這裏選擇自定義(‘Custom’)安裝方式,輸入’1’並回車,然後輸入’2’並回車,再輸入回車,進行下一項

=== Product Settings : Setup Type ===


1 : Setup Type

    (x) Default: Use the default settings.

    ( ) Custom: Optionally, change the default settings.


== <C> Cancel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 1

Setup Type

    (x) 1 : Default: Use the default settings.

    ( ) 2 : Custom: Optionally, change the default settings.

Enter your selection: 2

=== Product Settings : Setup Type ===


1 : Setup Type

    ( ) Default: Use the default settings.

    (x) Custom: Optionally, change the default settings.


== <C> Cancel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 

步驟5:選擇數據庫服務器類型,(我們這裏提前安裝好了Oracle 11g),輸入’1’並回車,再輸入’2’並回車,再輸入回車進入下一項

=== Product Settings : Database Server Type ===


1 : Database Server Type

    (x) PostgreSQL

    ( ) Oracle


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 1

Database Server Type

    (x) 1 : PostgreSQL

    ( ) 2 : Oracle

Enter your selection: 2

=== Product Settings : Database Server Type ===


1 : Database Server Type

    ( ) PostgreSQL

    (x) Oracle


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change:

步驟6:配置數據庫連接信息(hostname,port,service name),
a.輸入’1’並回車,然後輸入數據庫hostname(Mr-MoJi)並回車
b.輸入’2’並回車,然後輸入數據庫端口port(1521)並回車
c.輸入’3’並回車,然後輸入數據庫service name(orcl8023)並回車
以上3項配置完成後,輸入回車進行下一項

=== Product Settings : Database Server Connection ===


1 : Oracle server hostname: 

2 : Oracle listener port number: 

3 : Oracle database service name: 


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 1

Enter a new value for Oracle server hostname: Mr-MoJi

=== Product Settings : Database Server Connection ===


1 : Oracle server hostname: Mr-MoJi

2 : Oracle listener port number: 

3 : Oracle database service name: 


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 2

Enter a new value for Oracle listener port number: 1521

=== Product Settings : Database Server Connection ===


1 : Oracle server hostname: Mr-MoJi

2 : Oracle listener port number: 1521

3 : Oracle database service name: 


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 3

Enter a new value for Oracle database service name: orcl8023

=== Product Settings : Database Server Connection ===


1 : Oracle server hostname: Mr-MoJi

2 : Oracle listener port number: 1521

3 : Oracle database service name: orcl8023


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 

步驟7:創建Control-M中CTM-Server服務的資料庫用戶(注意:ctmuser用戶不需要在oracle數據庫中提前創建)
由於1、3選擇已經默認輸入完畢,故沒有特殊要求可以不需要改動
a.輸入’2’並回車,創建數據庫中ctmuser的密碼(default123,密碼要輸入兩遍)並回車
b.輸入’4’並回車,輸入Oracle數據庫中system用戶的密碼並回車
選項’2’、'4’填寫完畢後,輸入回車,若數據庫可以正常聯通,則會進行下一步

=== Product Settings : Database Properties ===


1 : Database owner username: ctmuser

2 : Database owner password: 

3 : Database administrator login: SYSTEM

4 : Database administrator password: 


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 2

Enter a new value for Database owner password: ********

Confirm the password: ********

=== Product Settings : Database Properties ===


1 : Database owner username: ctmuser

2 : Database owner password: *****

3 : Database administrator login: SYSTEM

4 : Database administrator password: 


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 4

Enter a new value for Database administrator password: ********

=== Product Settings : Database Properties ===


1 : Database owner username: ctmuser

2 : Database owner password: *****

3 : Database administrator login: SYSTEM

4 : Database administrator password: *****


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change:

步驟8:配置數據庫類型,新增ctmuser用戶表空間,由於是測試環境安裝,故數據庫大小,這裏選擇的是’Small’
a.輸入’1’並回車,再輸入’1’回車,可以看到由於選擇的數據庫大小爲Small,則對應的用戶表空間的大小也有了變化。
b.輸入回車進行下一步

=== Product Settings : Database Properties ===


1 : Database size

    ( ) Small - Less than 2,000 jobs per day, approximately 340 MB disk space

    (x) Medium - 2,001-10,000 jobs per day, approximately 1100 MB disk space

    ( ) Large - More than 10,000 jobs per day, approximately 3400 MB disk space

2 : Product data tablespace name: ctmuser_tbs

3 : Product data tablespace full remote path and filename: /data/app/Oracle/oracle/oradata/orcl8023/ctmuser.dbf

4 : Product data tablespace size: 800


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 1

Database size

    ( ) 1 : Small - Less than 2,000 jobs per day, approximately 340 MB disk space

    (x) 2 : Medium - 2,001-10,000 jobs per day, approximately 1100 MB disk space

    ( ) 3 : Large - More than 10,000 jobs per day, approximately 3400 MB disk space

Enter your selection: 1

=== Product Settings : Database Properties ===


1 : Database size

    (x) Small - Less than 2,000 jobs per day, approximately 340 MB disk space

    ( ) Medium - 2,001-10,000 jobs per day, approximately 1100 MB disk space

    ( ) Large - More than 10,000 jobs per day, approximately 3400 MB disk space

2 : Product data tablespace name: ctmuser_tbs

3 : Product data tablespace full remote path and filename: /data/app/Oracle/oracle/oradata/orcl8023/ctmuser.dbf

4 : Product data tablespace size: 250


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change: 

步驟9:配置CTM-Server的端口,這裏已經有默認值,若無特殊需求直接輸入回車即可,進行下一步

=== Product Settings : Control-M/Server Configuration ===


1 : Local IP host interface name: Mr-MoJi

2 : Control-M/EM TCP/IP port number [1025-32767]: 2370

3 : Inter process communication port number [1025-32767]: 6005

4 : Configuration agent port number [1025-32767]: 2369

5 : Agent-to-Server port number [1025-65534]: 7005

6 : Server-to-Agent port number [1025-65534]: 7006


== <C> Cancel <P> Previous Panel <N>/<Enter> Next Panel ==

Enter command or item number you wish to change:

步驟10:確認配置信息,若無需修改直接輸入回車即可,進行下一步

=== Summary ===


  You are about to install Control-M/Server version 8.0.00

 Destination Folder: /home/ctmuser 

Database Server Type: Oracle 

Database Server Name: Mr-MoJi 

Control-M/Server Database Owner Username: ctmuser 

Local IP Host Interface Name: Mr-MoJi 

Agent-to-Server Port Number: 7005 

Server-to-Agent Port Number: 7006 

Control-M/EM TCP/IP Port Number: 2370 

Inter Process Communication Port Number: 6005 

Configuration Agent Port Number: 2369 

Install Control-M/Agent: Yes 

Data Tablespace Name: ctmuser_tbs 

Data Tablespace Full Remote Path and File Name: /data/app/Oracle/oracle/oradata/orcl8023/ctmuser.dbf 

Database size: Small 

== <C> Cancel <P> Previous Panel <I>/<Enter> Install <G> Generate an automatic installation configuration file ==

Enter command: 

步驟11:開始安裝,安裝完成後,程序自動退出

=== Installation ===


[ Starting to unpack ]
[ Processing package: Control-M/Server files ]
[ Processing package: Control-M/Agent files ]
[ Processing package: Configure Control-M/Server ]
[ Processing package: Configure Control-M/Server oracle configuration ]
[ Processing package: Configure database schema ]
[ Processing package: Creating DB version description file ]
[ Processing package: Start Control-M/Server configuration-agent ]
[ Processing package: The installed-versions.txt update. ]
[ Processing package: Configure Control-M/Agent ]
[ Processing package: Create softlinks for Control-M/Agent ]
[ Processing package: Start agent processes ]
[ Processing package: The installed-versions.txt update. ]
[ Processing package: Write uninstaller ]
[ Unpacking finished ]

=== Installation Result - Success ===


Installation has completed successfully.

Supplementary information:

To start working with Control-M/Server 8.0.00, you must close 
 the current session and open a new one.

至此,Control-M的CTM Server組件安裝結束。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章