AutoSys Installation and Initial Setup Guide
- AUTOSERV is the most important AutoSys environment variable — it identifies which instance you're working with
- Every target machine needs a Remote Agent installed and port 7520 open to the AutoSys server
- Verify installation with chk_auto_up, autoflags, and a simple test job before putting the system into service
AutoSys installation in a real enterprise is handled by your infrastructure team and typically follows Broadcom's official installation guide. But even if you're not the one doing the install, understanding what gets set up and why is essential for day-to-day administration.
This article walks through what a typical AutoSys installation involves: the components that get installed, the key environment variables you'll use every day, how to verify everything is working, and the first things to check when something goes wrong right after install.
Prerequisites before installation
Before AutoSys can be installed, you need:
On the AutoSys server: - A supported OS (RHEL/CentOS Linux, or Windows Server) - A supported database (historically Sybase ASE, now Oracle or other RDBMS) - Java runtime (AutoSys WCC runs on Tomcat) - Sufficient RAM — at least 8GB for a small installation, 16GB+ for production - A dedicated service account (commonly named autosys or appuser)
On each agent machine: - A supported OS (Linux, Windows, AIX, Solaris) - The AutoSys Agent package (lightweight, minimal footprint) - Network connectivity to the AutoSys server on the configured port
Port planning matters. The Event Processor communicates with agents over specific ports (default 7520). Make sure firewalls are open between the AutoSys server and every agent machine.
# Check Java version (required for WCC) java -version # Check available memory free -h # Check disk space on AutoSys installation paths df -h /opt/CA /opt/autosys /u01 # Verify network connectivity to agent machines autoping -m agent-machine-01 # Check AutoSys port is open between server and agent nc -zv agent-machine-01 7520
Total: 31Gi Used: 8.2Gi Free: 23Gi
Filesystem Size Used Avail Use%
/opt/CA 50G 12G 38G 24%
Connection to agent-machine-01 7520 port [tcp] succeeded!
Key environment variables you'll use every day
AutoSys uses several environment variables that control which instance you're talking to and where log files live. These are set in your shell profile (.bash_profile or .profile) for the AutoSys service account.
Knowing these by heart makes you much faster at debugging. When something goes wrong at 3 AM and you're SSH'd into the AutoSys server, these are the first things you check.
# The AutoSys instance name — critical, everything uses this export AUTOSERV=ACE # AutoSys installation directory export AUTOSYS=/opt/CA/WorkloadAutomationAE # AutoSys user/data directory (logs, config files, PID files) export AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser # Path to AutoSys binaries (needed for jil, autorep, sendevent etc.) export PATH=$AUTOSYS/bin:$PATH # Add the above to your .bash_profile for the autosys service account: # source this file or add these lines to ~/.bash_profile # Verify the environment is set correctly: echo "Instance: $AUTOSERV" echo "Install dir: $AUTOSYS" echo "User dir: $AUTOUSER" autoflags -a
Install dir: /opt/CA/WorkloadAutomationAE
User dir: /opt/CA/WorkloadAutomationAE/autouser
AutoSys r12.0 Build 213 — Event Processor: RUNNING
Verifying a fresh installation
After installation, run through this checklist before declaring the system ready:
- Event Processor is running —
chk_auto_up -A - Can connect to Event Server —
autoflags -a - Can define a test job — create a simple JIL job
- Agent machines are registered and active —
autorep -M % - WCC web interface is reachable — open the browser URL
- Test job runs successfully end-to-end
# 1. Check Event Processor chk_auto_up -A # 2. Check overall system autoflags -a # 3. List all registered machines autorep -M % # 4. Insert and immediately force-run a test job jil << 'JIL' insert_job: INSTALL_TEST job_type: CMD command: echo 'AutoSys installation verified successfully' machine: autosys-server owner: autosys date_conditions: 0 JIL # Force start it sendevent -E FORCE_STARTJOB -J INSTALL_TEST # Check its status (wait a few seconds first) autorep -J INSTALL_TEST
MACHINE NAME STATUS MAX LOAD
autosys-server ACTIVE 100
agent-machine-01 ACTIVE 100
agent-machine-02 ACTIVE 100
Job Name Last Start Status
INSTALL_TEST 03/19/2026 14:22:01 SU
jil then enter delete_job: INSTALL_TEST then exit. Leaving test jobs in the Event Server clutters the environment and can confuse new team members.| Environment Variable | What it controls | Example value |
|---|---|---|
| AUTOSERV | AutoSys instance name | ACE, PRD, DEV |
| AUTOSYS | Installation directory path | /opt/CA/WorkloadAutomationAE |
| AUTOUSER | User data and log directory | /opt/CA/WorkloadAutomationAE/autouser |
| PATH | Must include AutoSys bin dir | $AUTOSYS/bin:$PATH |
🎯 Key Takeaways
- AUTOSERV is the most important AutoSys environment variable — it identifies which instance you're working with
- Every target machine needs a Remote Agent installed and port 7520 open to the AutoSys server
- Verify installation with chk_auto_up, autoflags, and a simple test job before putting the system into service
- Multiple AutoSys instances (DEV/QAT/PRD) can run on the same server, each with a different AUTOSERV value
⚠ Common Mistakes to Avoid
- ✕Not verifying AUTOSERV before running commands — easy to accidentally submit jobs to DEV instead of PRD or vice versa
- ✕Installing agents without opening the correct firewall port between agent and server — jobs pend silently
- ✕Not creating a dedicated service account for AutoSys — mixing with application accounts causes permission headaches
- ✕Forgetting to clean up test jobs and machines — stale entries accumulate and confuse reporting
Interview Questions on This Topic
- QWhat environment variables does AutoSys use and what does each control?
- QWhat is the AUTOSERV variable in AutoSys?
- QWhat port does the AutoSys Event Processor use to communicate with agents?
- QHow do you verify an AutoSys installation is working correctly?
- QWhat would you check first if AutoSys was freshly installed but jobs aren't running?
Frequently Asked Questions
What is AUTOSERV in AutoSys?
AUTOSERV is an environment variable that identifies the AutoSys instance name. It's used by all AutoSys commands to know which database instance to connect to. If you have DEV, QAT, and PRD instances, each will have a different AUTOSERV value.
What port does AutoSys use?
The default port for AutoSys agent communication is 7520. This port must be open in firewalls between the AutoSys server and every agent machine. The WCC web interface uses port 8080 (or 8443 for HTTPS) by default.
How do I check if AutoSys is running?
Run chk_auto_up -A to check the Event Processor status, and autoflags -a to check overall system status including the Event Server connection. Both commands are available from the command line on the AutoSys server.
Can AutoSys run on Linux?
Yes. AutoSys fully supports RHEL and CentOS Linux for both the server and agent components. It also supports Windows Server, AIX, and Solaris for agent machines.
How many AutoSys instances can run on one server?
Multiple instances can run on the same physical or virtual server. Each instance has its own AUTOSERV identifier and its own database. This is commonly used to have separate DEV, QAT, and PRD AutoSys environments on the same hardware.
Developer and founder of TheCodeForge. I built this site because I was tired of tutorials that explain what to type without explaining why it works. Every article here is written to make concepts actually click.