Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Agenda Part 1
Robot/SCHEDULE Enterprise Overview Demonstration
Enterprise Server Agents Agent Scheduling Objects Agent Reports Agent Output Agent-Specific Security Defining Agent Jobs
Removing Robot/CLIENT
Terminology
Enterprise Server software
Installed on the System i; integrates with Robot/SCHEDULE to manage your enterprise scheduling
Agent job
Executes processes on non-System i servers Has a simultaneous System i job that receives the completion code
Terminology (cont.)
Agent Environment User
User account name defined to a job environment that has all the required permissions to execute the agent job Some OS user names are case-sensitive
Prompt button ()
Displays a finder window to select pre-defined valid job attributes such as agent name, user, working path, shared environments, and so on
Return Codes
Code indicating if an agent command completed successfully or failed
Terminology (cont.)
Client
Robot/SCHEDULE client software, which now is agent software
Job logs
AGENTLOG: Logging detail of the processes executed on the agent server QPJOBLOG: Logging detail of the System i job that runs simultaneously with, and corresponds to, the agent processes running on the agent server
Installation Overview
Review all Help/FACTS installation instructions Review prerequisite software requirements Download the Robot Product Maintenance Wizard Install Enterprise Server software on the System i Install Robot/SCHEDULE for Windows Install Agent software on Windows, Linux, AIX, and Sun Solaris servers
Youll need the Wizard Install on me first Install GUI second Install on us last
Required Software
- On a PC for installation and upgrades - On the System i Enterprise Server - On the System i to update Robot/SCHEDULE - On the System i Enterprise Server
This is the Robot/SCHEDULE GUI
Installation Help/FACTS
(Robot/CLIENT)
(Robot/CLIENT)
Optional Software
1. Enterprise Server
Default Pass
Custom Fail
Custom Pass
10
File Directory
Process Manual
4. Agent Reports
11
6. Jobs by Agent
12
7. Agent Jobs
(Defining) Jobs by Agent / New
7. Agent Jobs
(Properties)
13
7. Agent Jobs
(Command Entry)
AIX Server
Windows Server
Click on a command line to access the file browser and Reserved Command Variables.
Optionally define an FTP Server Identity Map Add a Function from Command Entry
14
9. Agent Output
While a job is running, use the Enterprise Server Properties Diagnostics or Agent Properties Diagnostics
15
1. 2. 3. 4. 5. 6. 7.
Daily Order Processing runs on a remote System i. Accounting and GL Close is triggered at month-end only on the Enterprise Server System i. Inventory End of Day runs on the Enterprise Server. A file is transferred from the Enterprise Server to a Windows server with an Agent job. An Agent Event monitor triggers notification that the FTP completed. A QSYSOPR message is sent to a System i message queue from the Windows server. A Linux Agent job runs as the final job in the group, if this group member is released.
16
Helpful Tips
1. Supporting Documents 2. Support and Downloads 3. Enterprise Server pre-check and installation 4. Windows agent installation 5. Linux agent installation 6. Switch agent jobs to new agent 7. Switch agents to new Enterprise Server 8. Schedule interactive Windows processes
1. Supporting Documents
Installation Help/FACTS
Robot/SCHEDULE Robot SCHEDULE Enterprise
17
System Serial number and Trial authorization code are required for installation
18
Remember to install the Wizard. Download files before Installation. We recommend Save rather than Open.
19
FATAL messages = Not ready to install Warning messages = Check if PTFs are required
20
10
11
Press Enter
Congratulations
Repeat: RBTCDRLIB/HLPCDMENU DEV(*SAVF) SAVFLIB(HSSAVF) Option 1 Install: RBTSLEEPER subsystem must be INACTIVE
Enterprise Agent Setup Wizard installs the Windows Agent Manager and automatically installs the Java.
21
22
23
24
02/2011
Removing Robot/CLIENT
25
26
Things to Consider
Which Client tasks (commands) are being executed and from which clients?
Tip: SQL or query the RBTRCLLIB/RCLTK1 file to view Client task history.
How are the tasks executed? Robot/SCHEDULE jobs that are scheduled
Tip: Run the Job Command List report to find jobs with Robot/CLIENT commands.
Things to Consider
How are the tasks executed? (cont.)
Other scheduling tool CL programs submitted from Robot/SCHEDULE jobs Programs executed outside Robot/SCHEDULE Menu options
Tip: Consult with your programmers who may have written or modified the programs that use the RBTRCLLIB commands.
27
Things to Consider
Are the Robot/CLIENT jobs defined to groups or are they reactive? Do you use encrypted passwords with the RCLTFRF command?
Tip: Use the RBTRCLLIB/RCLWRKPWD command, if authorized, to work with this file.
Does a Robot/CLIENT registered Windows server execute tasks that open and run GUI applications on the desktop?
Tip: Refer to Helpful Tips Part 1
Things to Consider
Do you rotate the clients among multiple System i servers?
Tip: Robot/SCHEDULE Enterprise allows multiple agent instances on a single server, which can be configured to multiple System I Enterprise Server addresses. Use the Robot/CLIENT Rotation window to determine if rotation is configured for a client.
28
Things to Consider
Do you own Robot/REPORTS and use Robot/CLIENT to e-mail reports? Robot/REPORTS 7.52 or higher Use the new option R for E-mail Distribution in System Setup in Robot/REPORTS. This allows you to use a default Robot/ALERT device The e-mail address is pulled from the Recipient record, just like it was for Robot/CLIENT. The C option no longer displays on the screen, but you can still use it at this version.
Note: Some Robot/CLIENT customers have to remove single quotes in the recipient e-mail addresses.
Things to Consider
Do you own Robot/REPORTS and use Robot/CLIENT to e-mail reports? Robot/REPORTS 7.51 or lower Select Option 1, System Defaults, from the System Setup menu (option 6 on the Robot/REPORTS Main Menu), Page down until you see Report E-Mail Distribution Option: C (where A=Robot/ALERT, C=Robot/CLIENT) Change the C to an A (for Robot/ALERT) and press Enter Exit the panel and press F21 to display a command line
29
Things to Consider
Do you own Robot/REPORTS and use Robot/CLIENT to e-mail reports? Robot/REPORTS 7.51 or lower (cont.) Run the REPUPDEDST command (Run this one time only) Enter the Vendor name and press Enter Press F6 on the Maintain Recipient list to create an Alert device for each recipient with an e-mail address
Note: The product Robot/REPORTS has defined to use for e-mail determines what displays on the Maintain Recipient screen. If youre using Robot/CLIENT, it displays a parameter for an e-mail address. If youre using Robot/ALERT, it displays a parameter for an e-mail device.
Robot/CLIENT Commands
RCLEXEC Enter command data into your AGENT type job RCLTFRF Use the new FTP built-in function or commands
to transfer files via FTP
RCLENDSVC Use the NET STOP command in the Agent job RCLSTRSVC Use the NET START command in the Agent job RCLMONAPP Use Agent Process Event monitor RCLMONSVC Use Agent Process Event monitor RCLQRYSVC Use Agent Process Event monitor RCLSRVSTS Requires a script to retrieve this information RCLPOLL Use Agent Off-line notification RCLSENDMSG Command: sendmsg
30
31
Defines new Agent jobs mapped from existing Robot/SCHEDULE jobs that currently use the RCLTFRF command Does not remove or automatically replace the existing client job
HOLD the Robot/CLIENT jobs when youre ready to use the new Agent jobs so the process doesnt run twice Consider the current client jobs dependencies before you begin:
If the current Client job is reactive or defined to a group If the current Client job is triggered by Job name or Robot job number from a program (Refer to: Things to Consider) You decide when the old Robot/CLIENT job can be removed
How to use the Move RCLTFRF process to create permanent Agent jobs
Before you begin: Create an Agent Environment for each agent server that executes client RCLTFRF commands An Agent job is created with a name of RCLTFRF when the override is on.. The Agent job also has a different ROBOT job number. HOLD the job that you do not want to run. Remember to check for reactivity, groups, CLs or menus that might trigger the Client job that will no longer be used. Step 1: Stop the Agent software on the mapped Agent. Step 2: Step 3: Run the command: ROBOTLIB/ADDCAMAPE Run the step only if using encrypted passwords with Robot/CLIENT and are authorized to this file. RBTRCLLIB/RBTWRKPWD CALL ROBOTLIB/RBTRCL40 (Shares the PWD information with Enterprise) CALL RBTENTLIB/RBERCLOVR PARAM(*INSTALL)
Step 4: Step 5:
Use a DO override on a Robot/CLIENT RCLTFRF job that has been mapped to an Agent. Note: The job terminates and the task cannot be executed on the Client because the Agent software is not active. The override program instructs Robot/SCHEDULE Enterprise to intercept the RCLTFRF command. A permanent Agent job called RCLTFRF is created that uses the FTP Built-in Function defined instead of the RCLTFRF command.
32
How to use the Move RCLTFRF process to create permanent Agent jobs
.
Step 6:
Rename the RCLTFRF Agent job based on your review of job dependencies. Tip: Change the message queue defined in the Control Options on the new agent job to *RBTDFT HOLD one of the jobs so both jobs do not run. Repeat Steps 13 for RCLTFRF type jobs for clients that have been mapped to Agents and rename the RCLTFRF job after each DO override. Turn off the override: CALL RBTENTLIB/RBERCLOVR PARM(*UNINSTALL)
Step 7: Step 8:
Step 9:
Step 10: Start the Agent software on the remote server. Step 11: Test the new Agent job before adding to groups and reactivity Step 12: Remove obsolete RCLTFRF jobs from groups and reactivity and replace with new Agent jobs
ROBOTLIB/RBTRCL40 command
Use only if needed to FTP encrypted password information from Robot/CLIENT to Robot/SCHEDULE Enterprise
Need *ALLOBJ authority Refer to: Things to Consider on Encrypted passwords Also refer to the Help/FACTS for more information
33
Refer to the Help/FACTS, Using the RCLTFRF Command in Robot/SCHEDULE Enterprise. If youve been using mapped network drives, refer to the Help/FACTS, Using Network Drives with Windows Agents.
34
35
Manually define an Agent type job based on the RCLEXEC command and parameters Test the command parameters from a command shell Use the Agents Show Active Processes tool to view commands as they are running on the Agent HOLD the RCLEXEC job when youre ready to schedule the new Agent job
36
Removing Robot/CLIENT
Please call or e-mail Technical Support for Robot/CLIENT removal instructions or questions
37
Robot/SCHEDULE
Job Scheduler & Automatic Computer Operator
Robot/SCHEDULE Enterprise
Enterprise Job Scheduler
Robot/REPLAY
Interactive Job Management
Robot/NETWORK
Network Management
Robot/CONSOLE
Message, Resource & Log Management
Robot/SPACE
Disk Space Management
Robot/ALERT
Pager, Text, or E-Mail Messages
Robot/LPAR
Partition Resource Movement & Management
Robot/SAVE
Automatic Backup, Recovery & Tape Management
Robot/AUTOTUNE
Automatic Performance Monitoring & Tuning
Robot/REPORTS
Report Distribution, Archiving & Viewing
02/2011
38