Submitting jobs to collect inventory data (deprecated)
In a flexible management environment, you can submit the Inventory job to refresh data on job types and on managed resources of the job manager. When a target is a host, the collected data includes information on the host such as operating system name, version, Installation Manager, package group, packages, profiles, and other resources. If you installed a product that adds job types on a managed target, run the Inventory job to refresh data on job types and target resources. You can view the refreshed data in the job manager console or by wsadmin scripts.
Before you begin
Ensure that the targets for which you want data are registered with the job manager:
- To register a stand-alone application server with the job manager, first use the administrative agent registerNode command to register the stand-alone application server with the administrative agent. Then, use the administrative agent console or registerWithJobManager command to register the stand-alone application server target with the job manager.
- To register a deployment manager with the job manager, use the deployment manager console or the registerWithJobManager command.
- To register a host computer with the job manager, use the job manager console, the deployment manager console, or the registerHost command.
Start the job manager and the targets. If a target is a stand-alone application server, also start the administrative agent.
If you want the Inventory job to find installed Liberty resources, variables for the WLP_WORKING_DIR, WLP_SHARED_DIR, or WLP_ADDITIONAL_DIRS must be defined. See information about setting variables for Liberty servers.
About this task
You can use the administrative console of the job manager or the deployment manager to submit a job that refreshes data on job types and on applications and servers of managed targets. From the console, choose the Inventory job, specify the targets, schedule the job, review the summary, and submit the job.
You do not need to run the Inventory job unless you installed a product that adds job types on a managed target. You can run the Status job to obtain the same data for managed resources without regathering the job type data.
Instead of using a console, you can run the inventory
administrative job of the
submitJob command in the AdministrativeJobs command group. See the Administrative job types
topic.
Procedure
Results
The job manager runs the job and refreshes data on job types and on applications and servers of the targets.
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.
If the job is successful, the data on the Target resources page is updated. Click to see the resource status.