Professional Documents
Culture Documents
2. The tar file expands to the ctm631 directory and two sub-directories; one for the installation
binaries and another containing the most current Fix Pack:
$ ls -l <instdir>/ctm631
total 4
drwxr-xr-x 3 rgibbons users 512 Jan 16 2008 Unix
drwxr-xr-x 2 rgibbons users 512 Apr 22 17:26 fixpack
iadehr01%
3. Begin the installation by making the ctmagent home directory your “current” directory:
$ cd /opt/ctmagent
7. The main installation screen will appear next. Select “2” for the “Custom Installation”
CONTROL-M/Agent New Installation - Installation Mode
------------------------------------------------------
Current selection: [ Default installation ]
1). Default installation
2). Custom installation
== <C> Cancel <N> Next ==
Enter command or item number you wish to change:
8. Item numbers 3 & 4 MUST be specified as 7510 & 7511 respectively. Items 1 & 2 are
determined by the Control-M Administrator. Leave 5 blank. Once your updates are
complete, type “n” to go to the next screen.
CONTROL-M/Agent Installation - Configuration Customization
------------------------------------------------------------
1). Primary CONTROL-M/Server Host : densun4
2). Authorized CONTROL-M/Server Hosts : densun4|escbmc.svc.doi.test
(For example: host1|host2|...)
3). Agent-to-Server Port Number : 7510
4). Server-to-Agent Port Number : 7511
5). Locale :
== <C> Cancel <P> Previous <N> Next ==
Enter command or item number you wish to change:
9. Verify the information is correct on the “Summary” screen. If you need to make changes,
type “p” to go to the previous screen, otherwise, type “I” to continue.
CONTROL-M/Agent Installation - Summary
----------------------------------------
Installation type: New installation
Installation mode: Custom installation
CONTROL-M/Agent UNIX user: ctmagent
CONTROL-M/Agent install directory: /opt/ctmagent
Primary CONTROL-M/Server Host: densun4
Authorized CONTROL-M/Server Hosts: densun4|escbmc.svc.doi.test
Agent-to-Server Port Number: 7510
Server-to-Agent Port Number: 7511
== <C> Cancel <P> Previous <I> Install ==
Enter command:
11. You should then see a series of status messages, which should end with “completed
successfully”
Extract CONTROL-M/Agent.
Extract CONTROL-M/Agent [100%].
Configure CONTROL-M/Agent.
Configure CONTROL-M/Agent [100%].
Activate CONTROL-M/Agent.
Activate CONTROL-M/Agent [100%].
Installation of CONTROL-M/Agent completed successfully.
[rgibbons@denof12 ctmagent]$
12. Check to make sure that the agent and tracker processes have started:
$ ps -ef | grep ctm
root 17299 1 0 15:42 pts/0 00:00:00 p_ctmag
root 17391 1 0 15:42 pts/0 00:00:00 p_ctmat
rgibbons 17467 15369 0 15:43 pts/0 00:00:00 grep ctm
$
13. As root/privileged user, (with /opt/ctmagent as the current directory), shut-down for the
Control-M agent. This is the first step in applying the fixpack.
$ sudo ./ctm/scripts/shut-ag
Enter CONTROL-M/Agent UNIX username [ctmagent]:
Enter CONTROL-M/Agent Process Name <AG|AT|AR|ALL> [ALL]:
Killing Control-M/Agent Listener pid:17299
Killing Control-M/Agent Tracker pid:17391
$
18. Switch back to ROOT/Privileged user, cd to the ctmagent home, and restart the Control-M
Agent:
$ cd /opt/ctmagent
$ sudo ./ctm/scripts/start-ag
Enter CONTROL-M/Agent UNIX username [ctmagent]:
Enter CONTROL-M/Agent Process Name <AG|AT|AR|ALL> [ALL]:
Control-M/Agent Listener started. pid: 19022
Control-M/Agent Tracker started. pid: 19119
Control-M/Agent started successfully.
$
19. The last step is to switch to ctmagent and run the communications diagnostics program.
Your results should be similar to below:
$ sudo su - ctmagent
$ ag_diag_comm
This procedure runs for about 30 seconds. Please wait
CONTROL-M/Agent Communication Diagnostic Report
-----------------------------------------------
Agent User Name : ctmagent
Agent Directory : /opt/ctmagent/ctm
Agent Platform Architecture : Solaris-sparcv9
Agent Version : 6.3.01.300
Agent Host Name : iadehr01
Logical Agent Name : iadehr01
Server Host Name : densun4
Authorized Servers Host Names : densun4 escbmc.svc.doi.test
Server-to-Agent Port Number : 7511
Agent-to-Server Port Number : 7510
Server-Agent Protocol Version : 07
Server-Agent Comm. Protocol : TCP
Server-Agent Connection mode : Transient
Unix Ping to Server Platform : Succeeded
Agent Ping to Control-M/Server : Succeeded
Agent processes status
======================
Agent Router : Not running
Agent Listener : Running (8243)
Agent Tracker : Running (8313)
$