...
Code Block |
---|
Usage: pico -list <ip/host> ... | -view <pico name> | -add <ec name> <EC> <ip/host>group name> | -delete <ec name> <EC> <ip/host> | -mark_for_shutdown <ec name> <EC> <ip/host> <true | false>group name> |
This command is used to:
- Listlist, view add, add, or delete pico instancesSignal to the Platform that an EC is scheduled to be shut down
Note | ||
---|---|---|
| ||
With the introduction of STR, it is typically no longer required to add pico instances. Provided that the value of the property If
|
...
- EC groups
- view pico instances
-list
usage: pico -list <ip/host> ...pico
Use pico -list
to list configured pico instances to list available EC groups.
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The following commands lists all pico hosts and pico instanceslist all EC groups.
Output:
|
-view
usage: pico -view <pico name>
Use pico -view
to view the status of pico instances in the systemsystem.
Info | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following displays the status for all pico instances in the system.
Output:
The If
OutOfMemoryError is further described in Out of Memory Info in System Log. If If The following command displays the status of the pico instance named ec1.
Output:
|
-add
usage: pico -add <ec group name> <EC> <ip/host>
Use pico -add
to add a pico instance an EC group to the systemsystem.
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The following command adds an EC named ec1 to host 10.0.0.48group named ecgroup1.
Output:
|
-delete
usage: pico -delete <ec group name> <EC> <ip/host>
Use pico -delete
to delete a pico instance an EC group from the system.
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The following command deletes an EC group named ec1 from host 10.0.0.48.ecgroup1.
|
mark_for_shutdown
usage: pico -mark_for_shutdown <ec name> <EC> <ip/host> <true | false>
Use pico -mark_for_shutdown
to signal to the Platform that an EC is scheduled to be shut down. As a result, the Platform will no assign workflows to the EC.
Info | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The following command signals that the EC named EC1 on 10.0.0.48 should not be assigned workflows.
Output:
|
Return Codes
Listed below are the different return codes for the pico
command:
Code | Description |
---|---|
0 | Will be returned if the command was successful, or if arguments are missing. |
1 | Will be returned if arguments could can not be parsed |
2 | Will be returned if the communication with the Platform failedfails. |
3 | Will be returned if checking of user privileges failed, or if pico already exists when trying to add a new pico. |
4 | Will be returned if the user does not have permission to add or delete picos. |
5 | Will be returned if an unexpected error occurredoccurs. |