You can use commands to manage analysis task like getting status of analysis task and cancel the analysis tasks.
IAAdmin -user user_name -password password -url https://host:port option -[suboption]
Parameter | Description |
---|---|
-user user_name | Name of the user (required) |
-password password | Password to use (required) |
-help or -h | Displays list of available IAAdmin parameters |
-v | Verbose. If specified, success or failure error codes are displayed on the console or are sent to the specified file. The success code is (200). Error code 400 indicates that the request was bad. Error code 500 indicates that there was a server error. Consult the application server log files for more details. |
-url https://host:port | Host name and port number of the server (required) |
The command -runTasks runs an analysis, for example, column analysis, key analysis, rules, or metric analysis.
Option | Description |
---|---|
-content inputXMLFile | Path of the xml file specifying the analysis to be run. |
The scheduleID is an unique identifier used for running analysis. You get the Schedule ID from the return value of the -runTasks.
The commands, -cancelTask cancels or aborts a running analysis, and -getStatus, gets the status of an analysis that is previously submitted with -runTasks.
Option | Description |
---|---|
-scheduleID taskScheduleID | Specifies the schedule ID of the task. |
Examples:
IAAdmin -user isadmin -password isadmin -url https://host:9443 -runTasks -content xmlFile
ScheduledTaskId TaskType
d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7 ColumnAnalysis
IAAdmin -user isadmin -password isadmin -url https://host:9443 -getStatus -scheduleID d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7
ExecutionId = d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7-680a0afd-9144-48f8-8093-01925b20cfb2
ExecutionDate = 2015-03-19T17:47:48+01:00
ExecutionTime = 0
Status = running
Progress = 33
Jobs:
IAAdmin -user isadmin -password isadmin -url https://host:9443 -cancelTask -scheduleID d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7
The cancelTask has no response.
IAAdmin.sh -user isadmin -password isadmin -url https://host:9443 -getStatus -scheduleID d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7
ExecutionId = d70c6594.80cb2b5c.000kocnf1.4iavtdr.3mqnmp.0sov0mba9tcso94i7nia7-680a0afd-9144-48f8-8093-01925b20cfb2
ExecutionDate = 2015-03-19T17:47:48+01:00
ExecutionTime = 262939
Status = cancelled
Progress =
Jobs: