Home DevOps AutoSys Installation and Initial Setup Guide

AutoSys Installation and Initial Setup Guide

Where developers are forged. · Structured learning · Free forever.
📍 Part of: AutoSys → Topic 4 of 30
Step-by-step overview of AutoSys installation: prerequisites, environment variables, instance configuration, and verifying your setup.
🧑‍💻 Beginner-friendly — no prior DevOps experience needed
In this tutorial, you'll learn:
  • 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
✦ Plain-English analogy ✦ Real code with output ✦ Interview questions
⚡ Quick Answer
Installing AutoSys is like setting up a new restaurant. You need the kitchen (server with database), hire a head chef (Event Processor), set up workstations in each room (Remote Agents), and give everyone the same house rulebook (environment variables and config files) so they all understand each other.

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.

pre_install_checks.sh · BASH
1234567891011121314
# 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
▶ Output
openjdk version "11.0.21" 2023-10-17
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.

autosys_env.sh · BASH
1234567891011121314151617181920
# 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
▶ Output
Instance: ACE
Install dir: /opt/CA/WorkloadAutomationAE
User dir: /opt/CA/WorkloadAutomationAE/autouser

AutoSys r12.0 Build 213 — Event Processor: RUNNING
🔥
Multiple AutoSys instances on one serverLarge enterprises sometimes run multiple AutoSys instances on the same server — for example, DEV, QAT, and PRD. Each instance has its own AUTOSERV value. When switching between instances, always verify your AUTOSERV variable first or you'll accidentally submit jobs to the wrong environment.

Verifying a fresh installation

After installation, run through this checklist before declaring the system ready:

  1. Event Processor is runningchk_auto_up -A
  2. Can connect to Event Serverautoflags -a
  3. Can define a test job — create a simple JIL job
  4. Agent machines are registered and activeautorep -M %
  5. WCC web interface is reachable — open the browser URL
  6. Test job runs successfully end-to-end
verify_install.sh · BASH
123456789101112131415161718192021222324
# 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
▶ Output
Event Processor: RUNNING

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
⚠️
Clean up test jobs after verificationRemember to delete your test job after verifying: 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 VariableWhat it controlsExample value
AUTOSERVAutoSys instance nameACE, PRD, DEV
AUTOSYSInstallation directory path/opt/CA/WorkloadAutomationAE
AUTOUSERUser data and log directory/opt/CA/WorkloadAutomationAE/autouser
PATHMust 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.

🔥
Naren Founder & Author

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.

← PreviousAutoSys Event Server and Event ProcessorNext →AutoSys vs Cron vs Control-M
Forged with 🔥 at TheCodeForge.io — Where Developers Are Forged