InTime Software

How to re-run Private Cloud strategies?

87 views September 14, 2016 April 16, 2019 pohheng 0

Cause:

When a worker process is compiling a strategy, issues may arise which cause the worker to hang or crash. The status of the strategy will therefore remain in an uncompleted state.

Although InTime Server inherently provides an automatic retry mechanism, that can happen hours later.

Resolution:

To immediately re-run the strategy, perform the following Private Cloud Console commands below (admin mode is required):

admin> .revision=5038

+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| NO. | CLIENTID               | JOBID | USERID    | STATUS    | TOOLCHAIN_STEP | REVISION          | START | UPDATED | TIME    | RETRY |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| 1   | z00111111_000C29404D50 | 5038  | z00111111 | COMPLETED | RUNDONE        | cal_speed_tns_low | 02:47 | 02:50   | 03m:13s | 1/3   |
| 2   | z00111111_000C29404D50 | 5038  | z00111111 | ASSIGNED  | NIL            | calibrate_1       | 02:52 | 02:52   | 00m:16s | 1/3   |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+

2 rows (0.01 sec), 2016-09-14 02:52:55

admin> .revision.renew=5038

+--------+------------------------+-------+-----------+----------+----------------+-------------+
| INDEX. | CLIENTID               | JOBID | USERID    | STATUS   | TOOLCHAIN_STEP | REVISION    |
+--------+------------------------+-------+-----------+----------+----------------+-------------+
| 1      | z00111111_000C29404D50 | 5038  | z00111111 | ASSIGNED | STARTING       | calibrate_1 |
+--------+------------------------+-------+-----------+----------+----------------+-------------+

Enter worker INDEX numbers and/or ranges separated by commas.
For example, 1,3,5-9
admin.revision.renew=5038> 1

Proceed to reset revision? ('n' for No or 'y' for Yes) [n]

admin.confirm> y
admin> .revision=5038

+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| NO. | CLIENTID               | JOBID | USERID    | STATUS    | TOOLCHAIN_STEP | REVISION          | START | UPDATED | TIME    | RETRY |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------+
| 1   | z00111111_000C29404D50 | 5038  | z00111111 | COMPLETED | RUNDONE        | cal_speed_tns_low | 02:47 | 02:50   | 03m:13s | 1/3   |
| 2   | z00111111_000C29404D50 | 5038  | z00111111 | NEW       | NIL            | calibrate_1       | 02:52 | 02:52   | 00m:16s | 1/3   |
+-----+------------------------+-------+-----------+-----------+----------------+-------------------+-------+---------+---------+-------

2 rows (0.01 sec), 2016-09-14 02:53:15

admin>
Applies to:
  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 181829 - Last Review: Sep 14, 2016 - Revision: 1.0

Attached Files
# File Type File Size Download
1 .jpg 602.68 KB 1

Leave a Reply