signoff_agents

Performs Agent sign-off prerequisites and submits the Agent sign-off job.

Format

emcli signoff_agents 
      -agents="List_of_agents" | -input_file="agents_file:Location of_output file" 
      [-job_name="Name_of_job"]

[ ]  indicates that the parameter is optional

Options

  • agents

    Submits a job to clean up old Agent homes matching Agent names or an Agent names pattern separated by commas.

  • input_file

    Checks whether Agents specified in the file are available for sign-off, and submits the Agent sign-off job.

    You can pass all of these parameters in a response file. The usage is:

    -input_file="response_file:/scratch/response_file.txt"
    

    You must provide the file name with the full path, and each parameter should be given in each line. If you pass a parameter both in the command line and in a response file, the command-line option is given precedence.

    For more information about the input_file parameter, see -input_file Syntax Guidelines.

  • job_name

    Submits the clean-up job with the job name specified in this option.

Examples

Example 1

This example submits a job to clean up the old Agent homes on Agent names matching the pattern abc% and on the xyz.example.com Agent.

emcli signoff_agents -agents="abc%,xyz.example.com:1243"

Example 2

This example submits a job to clean up the old Agent homes on the Agents specified in the file.

emcli signoff_agents -input_file="agents_file:/scratch/agents_file.txt"