Data Ingestion and Replication
- Data Ingestion and Replication
- All Products
<Informatica Secure Agent>/apps/Streaming_Ingestion_Agent/<version>/runcli.bat
Command
| Description
| Example
|
---|---|---|
app-config
| Shows the current configuration of the Streaming Agent application.
| infa/stream :>app-config
deploy.pull.interval : 60
health.poll.interval : 30
minifi.ingester.file.location : ./conf
siagent.communication.mode : Online
siagent.monitoring.persist.dir : ../data
siagent.statistics.post.batchsize : 720
siagent.statistics.post.concurrency : 60
siagent.status.persist.dir : ../data
statistics.poll.interval : 30
|
app-setconfig
| Use this command to configure the following properties:
The
--key and
--value tokens are optional.
| infa/stream :>app-setconfig --key siagent.statistics.post.batchsize --value 20
or
infa/stream :>app-setconfig siagent.statistics.post.batchsize 20
|
app-status
| Shows the current status of the Streaming Agent.
The
health status code and
health error message indicates the status of the agent (service) shown on the
Administrator .
uptime indicates the number of seconds since the Streaming Agent application is available.
| infa/stream :>app-status
health error message : No errors
health status code : RUNNING(0)
uptime : 67828
|
app-statistics
| Shows metadata and status of overall statistics collection in the Streaming Agent.
| infa/stream :>app-statistics
collection interval : 30
last batch size : 2
last time collected : 7/3/20 10:19:03 AM IST
last time posted : 7/3/20 10:18:53 AM IST
max batch size : 20
pending snapshots : 3
post interval : 30
|
clear
| Clears the screen.
| -
|
exit, quit
| Quits the application.
| -
|
help
| Shows a summary of all the commands available.
| infa/stream :>help
AVAILABLE COMMANDSAgent Application Commands
app-config: Show agent application configuration
app-setmode: Set the communication mode [Online/Offline]
app-status: Show agent application statusBuilt-In Commands
clear: Clear the shell screen.
exit, quit: Exit the shell.
help: Display help about available commands.Streaming Ingestion Task Commands
task-health: Show streaming ingestion task health
task-list: Show streaming ingestion task list
task-metadata: Show streaming ingestion task metadata
|
task-list
| Shows the list of
streaming ingestion jobs currently deployed on the Streaming Agent.
| infa/stream :>task-list
6e61e76f-2618-4292-ab3d-dd181f47ee91
ad5053c7-5ac2-493f-8cbb-a24900b61f71
|
task-health
| Shows the health status of all
streaming ingestion jobs in the Streaming Agent.
Use the options
--name or --id to specify a job.
If none are specified, all jobs are listed.
| infa/stream :>task-health --name aby_df4
processors : [{"id":"14a7a095-7fac-4fc3-ac5c-705369132516","status":"ERROR"},{"id":"821e6730-3aed-4d3f-b875-45f424b6b963","status":"RUNNING"}]
status : ERROR
timestamp : Sat May 09 06:04:08 IST 2020
infa/stream :>task-health
6e61e76f-2618-4292-ab3d-dd181f47ee91
processors : [{"id":"2a0b8715-aa7a-46c5-9d6a-6a356f5a0102","status":"ERROR"},{"id":"1172f3a8-35dd-41ef-be4b-bc0cf37e3794","status":"RUNNING"}]
status : ERROR
timestamp : Sat May 09 06:04:08 IST 2020
ad5053c7-5ac2-493f-8cbb-a24900b61f71
processors : [{"id":"14a7a095-7fac-4fc3-ac5c-705369132516","status":"ERROR"},{"id":"821e6730-3aed-4d3f-b875-45f424b6b963","status":"RUNNING"}]
status : ERROR
timestamp : Sat May 09 06:04:08 IST 2020
|
task-metadata
| Shows the metadata of all
streaming ingestion jobs in the Streaming Agent.
Use the options
--name or --id to specify a job.
If none are specified, all jobs are listed.
| infa/stream :>task-metadata --name aby_df4
id : ad5053c7-5ac2-493f-8cbb-a24900b61f71
name : aby_df4
runId : 9071 version : 1
infa/stream :>task-metadata
6e61e76f-2618-4292-ab3d-dd181f47ee91
id : 6e61e76f-2618-4292-ab3d-dd181f47ee91
name : aby_df2
runId : 9069
version : 8
ad5053c7-5ac2-493f-8cbb-a24900b61f71
id : ad5053c7-5ac2-493f-8cbb-a24900b61f71
name : aby_df4
runId : 9071
version : 1
|
task-statistics
| Shows the statistics details of all
streaming ingestion jobs in the Streaming Agent.
Use the options
--name or --id to specify a job.
If none are specified, all jobs are listed.
| infa/stream :>task-statistics --name aby_df1
dataflow name : aby_df1
last time collected : 1590861803731
last time posted : 1590861806091
infa/stream :>task-statistics
7b7d3c09-df43-482f-b6c8-8dd80187e6d7
dataflow name : aby_df2
last time collected : 1590861770731
last time posted : 1590861741132
decfad0a-20df-4226-84f9-1ff1ab6ef96a
dataflow name : aby_df1
last time collected : 1590861768730
last time posted : 1590861771054
|
In Windows: <Informatica_Secure_Agent>/apps/Streaming_Ingestion_Agent/<version>/runcli.bat or In UNIX: runcli.sh
app-setconfig --key siagent.communication.mode --value Offline or app-setconfig siagent.communication.mode Offline
In Windows: <Informatica_Secure_Agent>/apps/Streaming_Ingestion_Agent/<version>/runcli.bat or In UNIX: runcli.sh
app-setconfig --key siagent.communication.mode --value Online or app-setconfig siagent.communication.mode Online