This guide explains whether an AutoSys High Availability (HA) environment can function correctly when the primary and backup (shadow) schedulers are installed on different drives. For example, you may have a primary scheduler on the E: drive and a backup scheduler on the D: drive. While this configuration is possible, you must verify that job definitions and scripts are configured correctly to avoid failures during a failover.
An AutoSys High Availability (HA) configuration can work when the primary and backup schedulers are installed on different drives (e.g., E: and D:). The core HA mechanism is designed to be independent of the physical installation path. However, the success of a failover depends on avoiding hardcoded file paths in your job definitions and scripts.
The standard AutoSys HA model relies on database connectivity and network communication, not the local file system installation path. The key principles are:
config.$AUTOSERV file (located in the $AUTOUSER directory on each server), which defines the database connection details and the role of each scheduler.
While the HA logic itself is not affected by different installation drives, this setup can expose a common point of failure: hardcoded file paths. You must perform a thorough audit of your environment to prevent job failures after a failover.
Audit Job Definitions for Hardcoded Paths
This is the most critical area to investigate. If a job's command or profile attribute contains a hardcoded path with a drive letter, the job will fail if it runs on the server where that path does not exist.
Incorrect Example (will fail on the D: drive server):command: E:\apps\scripts\my_script.bat
Correct Example (uses an environment variable):command: %AUTOSYS%\bin\sendevent ...
You must replace all hardcoded paths with environment variables. The %AUTOSYS% (Windows) or $AUTOSYS (UNIX/Linux) variable always resolves to the correct local installation directory on whichever server is active.
Review Scripts, Profiles, and Integrations
Any external scripts, user profiles, or third-party application integrations called by AutoSys jobs must also be free of hardcoded paths. Check the following:
.bat), PowerShell scripts (.ps1), and shell scripts (.sh).Use UNC Paths for Shared Resources
If jobs need to access files on a network share, always use a Universal Naming Convention (UNC) path instead of a mapped drive letter. A UNC path is accessible from any server on the network, regardless of local drive mappings.
Incorrect Example (relies on a local mapping):command: copy Z:\data\input.txt C:\temp\
Correct Example (uses a UNC path):command: copy \\fileserver01\share\data\input.txt C:\temp\
To ensure a successful HA configuration with different installation drives, follow these steps:
%AUTOSYS%) for local files or UNC paths for shared network resources.