Submitting jobs to manage files

In a flexible management environment, we can submit jobs to collect files from managed targets and copy them to the job manager, to distribute files to managed targets, and to remove files from managed targets.

Before submitting a job, start the job manager and the targets. If a target is a stand-alone application server, also start the administrative agent.

Your ID at the job manager must be authorized for the administrator role or the operator role to submit jobs. When you submit a job, we can specify a user name and password for authentication and authorization at the target or targets. When you submit a job to multiple targets, the user name and password or the credentials for the submitter must be applicable to all of the job targets.

We must distribute files to managed targets before we can submit jobs that use the files. For example, you must distribute an enterprise application before we can install or update the application on managed application server targets. Similarly, you must distribute a properties file to managed application server targets before we can apply the file to configure the application servers. You also must distribute a wsadmin script file before submitting a job that run the script.

The topics in this section describe how to administer files by running jobs in the job manager console or the deployment manager console. Instead of using a console, we can run wsadmin commands in the AdministrativeJobs command group. See the Administrative job types topic.


Results

The collect file job copies a file or directory into the job_manager_profile/config/temp/JobManager/jobToken/targetName directory.

The distribute file job copies a file into the downloadedContent directory of the administrative agent or dmgr profile.

The Remove file job deletes a file from the downloadedContent directory.


What to do next

On the Job status page, click the ID of the job and view the job status. If the job is not successful, view any error messages that result from running the job, correct the error condition, and submit the job again.


Subtopics

  • Administrative job types