Académique Documents
Professionnel Documents
Culture Documents
(Instructions)
- Table of Contents –
8736927.doc 1 Confidential
Accessing and Configuring Control-M
(Instructions)
4. The DISPLAY variable must be set. If this system parm is not set, you will get a "Cannot
open display" error.
NOTE: The user profile has been changed for most Unix accounts, to automatically set the
DISPLAY variable. So for the most part, step 4 is done for you. If the error message displays
that the DISPLAY has not been set, do the following steps:
- Find the IP address of the laptop / pc you are on. Can be obtained by doing ipconfig at
a command prompt.
- In the smf001 session, at the prompt, enter "export DISPLAY=xxx.xxx.xxx.xxx:0.0",
where the xxx's are equal to your ISP assigned TCP/IP Address
8736927.doc 2 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 3 Confidential
Accessing and Configuring Control-M
(Instructions)
10. when the ‘Load Net’ menu appears, click on the middle ‘LOAD’ icon to open.
11. when the ‘SHOW’ menu appears, click on the upper left hand icon to close, this is not
needed.
8736927.doc 4 Confidential
Accessing and Configuring Control-M
(Instructions)
12. The ECS gui (Enterprise Controlstation Network View) display window can be resized by
dragging the sides of the window.
13. Here’s the size of window that focuses on the active job list (jobs loaded for today’s schedule).
8736927.doc 5 Confidential
Accessing and Configuring Control-M
(Instructions)
2. Right-click on the job. On the intermediate menu, select ‘Details’. This view shows the detail
of the current job from the active job file (a scheduled job).
8736927.doc 6 Confidential
Accessing and Configuring Control-M
(Instructions)
3. Back on the Enterprise Controlstation Network View screen, right-click and click on ‘View
Sysout List’. This screen shows the list of job output from the scheduled job. There are
multiple entries if the job has been rerun.
8736927.doc 7 Confidential
Accessing and Configuring Control-M
(Instructions)
4. To rerun a job - after review of the sysout, and correcting any errors, go back to the ECS Display.
Right-click the job and click RERUN. The job will be re-submitted under the job owner (oracle8i in
this example).
8736927.doc 8 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 9 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 10 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 11 Confidential
Accessing and Configuring Control-M
(Instructions)
Need to add a new scheduling table (ex. for kirus, Xelus) and update the existing scheduling table for
system_mgt
Eyeball opens a new definition
When adding a new scheduling table, in the Data Form,
enter “SYSTEM” in the User Daily field.
Double Click opens existing definition (ex. for Peoplesoft)
8736927.doc 12 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 13 Confidential
Accessing and Configuring Control-M
(Instructions)
NOTE: Change Task Type from Dummy to Command to activate - Level 0 - Weekly Backup
8736927.doc 14 Confidential
Accessing and Configuring Control-M
(Instructions)
ahdbakinit-ok - use when defining weekly backups for that use RMONT09 in AHills.
ahdbakinit-ok - use when defining daily backups for that use RMONT09 in Ahills
dadbakinit-ok - use when defining weekly backups for that use RMONT01 in AHills.
dadbakinit-ok - use when defining daily backups for that use RMONT01 in AHills
NOTE: the backups for the new Psoft and Clarify databases will use the Auburn Hills backup schedule.
8736927.doc 15 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 16 Confidential
Accessing and Configuring Control-M
(Instructions)
NOTE: The Frazer schedule has a weekly and daily set of control jobs. The “Dallas” (SDRDEV1) and
Auburn Hills schedules only use one set of control jobs, so the out conditions for the backups are the
same.
8736927.doc 17 Confidential
Accessing and Configuring Control-M
(Instructions)
Messages for OK are: NOTE: for daily / weekly backups, we don’t use ’Shout’ Conditions.
8736927.doc 18 Confidential
Accessing and Configuring Control-M
(Instructions)
Modify the system_mgt scheduling table to activate the new backup jobs. The ‘out’ condition name
defined in the new backups must be identified to the system schedule.
For the jobs running in Auburn Hills, using RMONT09 for the RMAN database
AHills_Daily_DB_Backup_Done (remember, just 1 set of control jobs)
For each job, add new backup condition names here (use the eye button)
- Define the 'IN' and 'OUT' conditions (only)
- Enter the 'OUT' conditions with a (-) minus sign
8736927.doc 19 Confidential
Accessing and Configuring Control-M
(Instructions)
'out' - change the plus to a minus to consume and not clutter up the control-m database.
Use the eyeball first
8736927.doc 20 Confidential
Accessing and Configuring Control-M
(Instructions)
After done with kirus - do a table upload for ‘kirus’ and for ‘sys_mgmt’
For new Peoplesoft jobs, do a table upload for ‘Peoplesoft’ and for ‘Sys Mgmt’.
8736927.doc 21 Confidential
Accessing and Configuring Control-M
(Instructions)
A. Server backups
From the Enterprise Controlstation main window, select Scheduling, Scheduling Definitions.
8736927.doc 22 Confidential
Accessing and Configuring Control-M
(Instructions)
Enter a call to the Destination DBA_ONCALL_PAGE for the OK and NOT_OK conditions
8736927.doc 23 Confidential
Accessing and Configuring Control-M
(Instructions)
Setup for weekly analyze job. Get into the database_mgt scheduling table.
Here’s we dothe job copy. For FS80PR, I selected the weekly_psoft01 job.
Then Click the ‘camera’ icon.
Select ‘Copy records and dependent records’.
This copies the job definition and changes the MODE to INSERT’.
The only definition
From the Job Processing Definition, click the Menu icon.
8736927.doc 24 Confidential
Accessing and Configuring Control-M
(Instructions)
The weekly maintenance job
8736927.doc 25 Confidential
Accessing and Configuring Control-M
(Instructions)
C. Database weekly logfile maintenance
Setup for weekly logfile cleanup job. Schedule definition is on the server level, so in our
examples, refer to peoplesoft definition table. See job Psoft_log_cleanup.
8736927.doc 26 Confidential
Accessing and Configuring Control-M
(Instructions)
8736927.doc 27 Confidential
Accessing and Configuring Control-M
(Instructions)
From this menu, we can stop / start all or one of either the database or Control-M server components.
8736927.doc 28 Confidential
Accessing and Configuring Control-M
(Instructions)
Enter 1 to ‘Check all’, and the display should be like the following.
8736927.doc 29 Confidential
Accessing and Configuring Control-M
(Instructions)
From the Activation menu, you can check the status / stop / start all components, or any check status /
stop / start any one of the database, gateways, or global conditions servers.
8736927.doc 30 Confidential
Accessing and Configuring Control-M
(Instructions)
NOTE: access to the user is normally not necessary. To check whether the agent is active, go the
D1 Support Home Page / Click ‘Control-M Agents’ and use this webpages to display unavailable
agents, and request that an agent be made available. Most of the time, display of the Agent on the
agent / remote server is not necessary.
The menu to check the status of the agent is 2- Communication Diagnostic Report
8736927.doc 31 Confidential
Accessing and Configuring Control-M
(Instructions)
For Control-m
Stop_ctm – stops all components for Control-m.
Start_ctm – starts all components for Control-m.
NOTE: it is recommended to stop / start CTM through the CTM_MENU.
For ECS –
Stop_all – stops all components for ECS.
Start_all – starts all components for ECS.
NOTE: it is recommended to stop / start ECS through the ROOT_MENU.
For Agents.
I am not aware of specific commands to stop / start the agent tasks on the servers. To check the
availability of an agent, go through the D1 Support Home Page / Control-M Agents as
documented previously.
8736927.doc 32 Confidential
Accessing and Configuring Control-M
(Instructions)
As the ECS user, home directory is d1/ecs. CD to log. Look at the gtw_log for the day
that is bad. We looked at gtw_log.frazer_smf001.20030113.0 and saw very basic info (there
is a corresponding log file for the Auburn Hills datacenter).
===> INFO: Previous log was "/d1/ecs/log/gtw_log.frazer_smf001.20030112.0"
time>10:03:14.70:<
===> INFO: Opening new log "/d1/ecs/log/gtw_log.frazer_smf001.20030113.0" time
>10:03:14.70:<
===> INFO: Closing old log "/d1/ecs/log/gtw_log.frazer_smf001.20030113.0" time
>00:01:29.25:<
===> INFO: Next log is "/d1/ecs/log/gtw_log.frazer_smf001.20030114.0", time
>00:01:29.27:<
Raffi (BMC support tech rep) said normally is no indication in these logs of the actual error,
which is evidenced above.
Additional information
The cntl-m logs I sent to Raffi were from the ctm/proclog.save directory. All of the logs for
the current execution of cntl-m are located in ctm/proclog directory. When ctm recycles,
the logs get moved to the ctm/proclog.save directory.
B. The Kirus Schedule was not deleted from the Server. Occurred
5/19/2005.
(documented by DHW, 08/01/2005) There was a problem with the control-m schedule where the jobs had
been deleted in ECS, but not from the scheduler. This was for the Kirus jobs.
A point to remember - when deleting an actual scheduling table (in this case, the KIRUS
scheduling table), we need to select 'Forced delete (remote and local)'. That means the
control-m server will have the scheduling table removed. This error condition occurred when
I selected the 'Local Delete', that just tells the control-m server to not allow the schedule to
be viewed outside of the server. So we can't select the scheduling table from the
'scheduling definitions' screen in ECS.
How this was fixed - control-m has a utility to view the information we normally see in ECS
(schedule, job definitions, etc). We could make all of our scheduling changes here, if you
have the patience. ECS is a much better, quicker tool for doing that kind of work.
8736927.doc 33 Confidential
Accessing and Configuring Control-M
(Instructions)
+------------------------------+
Q) Quit
Enter Option:71
++ ============================================================
8736927.doc 34 Confidential
Accessing and Configuring Control-M
(Instructions)
++ ================ Screen 2 of 2 =============================
Scheduling Tables
------------------
Table name Daily name
1) Xelus SYSTEM
2) aspt SYSTEM
3) cis
4) clarify SYSTEM
5) clarify_rpting SYSTEM
6) click SYSTEM
7) credit_card SYSTEM
8) ctrlm_mgt SYSTEM
9) d1_eds_interface SYSTEM
10) database_mgt SYSTEM
11) ecm SYSTEM
12) kirus SYSTEM
13) peoplesoft SYSTEM
14) rps SYSTEM
15) rso SYSTEM
16) sdrdev1_mgt SYSTEM
17) seebeyond SYSTEM
18) system_mgt SYSTEM
19) taps SYSTEM
20) test SYSTEM
21) wfm SYSTEM
Option []:R
Table name:kirus
++ ============================================================
ALL GONE !!
8736927.doc 35 Confidential
Accessing and Configuring Control-M
(Instructions)
Another resource is the BMC.com website, you will need to register for a user id. At this
website, you’ll find documentation at support / product list & manuals. From the A - Z list,
select the product you want, either Control-m Server for Solaris, or Enterprise ControlStation.
You will find the patches and versions for each of the products we have at D1.
Also, check out MySupportedAdministration where you can build a custom product list and
request notification when patches or notifications come out for the products supported at
D1.
8736927.doc 36 Confidential