Creating a Shared Environment
Expand enterprise server, and expand agent scheduling objects. Select shared agent environments.
Right-click and select new, or double-click on an existing environment to edit.
Enter in a name and a description.
Choose your authentication type. The 3 options are:
- Username and Password - A username and password is specified for jobs to use when signing on to the agent. This is the most common type.
- Run As Agent's User - This allows jobs to run as the user running the agent without having to enter in a password. An agent must be configured to accept this type. It is not on by default.
- 'setuid' (UNIX Agents only) - It allows jobs to run as a specific user profile without a password. There is a script that must be run on the agent everytime the agent restarts for this to work.
Enter in a working path. This is the directory the job will reside in when it logs on. Use the magnifying glass to see a list of available directories.
Enter any environment variables needed for the jobs.
Select OK to save your changes.
Adding a Shared Environment to a Job
Right-click on your job, and select properties. Select the agent environments tab.
Select the shared environment type.
Use the magnifying glass by shared environment to add an environment.
The username, password, working path, and environment variables fields will populate. Select OK to save.
Merged environments allow jobs to use shared environments and make changes in the job properties if needed.
The user, working path, and environment variables can now be changed. The password will always be controlled by the shared environment.
Enter *SHARED in the fields to use the default value in the shared environment. Changes to the shared environment will not override the user, working path, or environment variable values.