Sometimes we need to skip the worker via adctrl then we can use the below steps to do the same.
Run adctrl utility
We can only see option till 7 in the main menu. But there is an 8th option that is hidden.
Use option 8 to skip a failed worker. Enter 8 and the worker will be skipped.
AD Controller Menu
1. Show worker status
2. Tell worker to restart a failed job
3. Tell worker to quit
4. Tell manager that a worker failed its job
5. Tell manager that a worker acknowledges quit
6. Restart a worker on the current machine
7. Exit
Enter your choice [1] : 8
Enter the worker number(s)/range(s) or 'all' for all workers,
or press [Return] to go back to the menu : 2
Status changed to 'Skip & restart' for worker 2.
Review the messages above, then press [Return] to continue.
Enter your choice [1] :
Control
Worker Code Context Filename Status
------ -------- ---------------------- -------------------- --------------
1 Run AutoPatch R115 Wait
2 Run AutoPatch R115 bilrmfnm.sql Skip & restart
3 Run AutoPatch R115 Wait
4 Run AutoPatch R115 Wait
5 Run AutoPatch R115 Wait
6 Run AutoPatch R115 Wait
7 Run AutoPatch R115 Wait
8 Run AutoPatch R115 Wait
9 Run AutoPatch R115 Wait
10 Run AutoPatch R115 Wait
11 Run AutoPatch R115 Wait
12 Run AutoPatch R115 Wait
Review the messages above, then press [Return] to continue.
Enter your choice [1] :
Control
Worker Code Context Filename Status
------ -------- ---------------------- -------------------- --------------
1 Run AutoPatch R115 asxtbrnm.sql Assigned
2 Run AutoPatch R115 GMDFKCON.sql Completed
3 Run AutoPatch R115 becbrco1.sql Assigned
4 Run AutoPatch R115 bertgco1.sql Assigned
5 Run AutoPatch R115 bomalttb.sql Assigned
6 Run AutoPatch R115 cctvarr.sql Assigned
7 Run AutoPatch R115 GMFFKCON.sql Running
8 Run AutoPatch R115 CZ_CONFIG_PAIR_REC.x Assigned
9 Run AutoPatch R115 CZ_DATE_TBL_TYPE.xdf Assigned
10 Run AutoPatch R115 CZ_EXPL_PAIR.xdf Assigned
11 Run AutoPatch R115 CZ_TXN_PARAMS_TYPE1. Assigned
12 Run AutoPatch R115 CZ_UIREFS_INMODEL_OB Assigned
Review the messages above, then press [Return] to continue.
No comments:
Post a Comment