Automic Workload Automation

 View Only
  • 1.  Regarding DWP Issue

    Posted Feb 27, 2017 04:10 AM
    Can you please let us know why the type of some of the  below WP’s has changed from ‘W’ to ‘D’ as few weeks back Automic consultant has increased our Work processes to 38 with type ‘W’ by seeing our current load in BorisN12 and now if you can see(Attached screenshots) only 21 WP’S are with ‘W’ type and rest has changed back to ‘D’. Can you please let us know what has caused this all of the sudden and Can you be able to change the WP’s type from ‘D’ to ‘W’ and make the count of 38 of total W types.

    what the “W”, “D”, etc. types mean.  Also, please  exactly let us know  what’s required to add additional Worker Processes (from start to finish) – as this might help determine why only 21 of our 38 are presumably active.

    You can either convert W to D type in CLIENT 0 under Automation Engine UI or run this script :
    To change WP type from Dialog to WorkProcess or viceverca, run this script in client 0
    *************************************************
    Switch any active WP to D
    :IF SYS_SERVER_ALIVE("WS112#WP004")="Y"
    :  SET_UC_SETTING "SERVER_MODE", "WS112#WP004", "D"
    :   PRINT ALL RIGHT WP004 is now "D"
    :ELSE
    :  PRINT "Work process WS112#WP004 is not active!"
    :ENDIF
    **************************************************
    **************************************************
    Switch any active WP to W

    :IF SYS_SERVER_ALIVE("WS112#WP004")="Y"
    :  SET_UC_SETTING "SERVER_MODE", "WS112#WP004", "W"
    :   PRINT ALL RIGHT WP004 is now "W"
    :ELSE
    :  PRINT "Work process WS112#WP004 is not active!"
    :ENDIF
    *************************************************
    Note that :

    WS112=YourAEServer

    And Roles :
    "O"- Output
    "R" - Resource
    Cannot be switched.

    Note that if you want to set a limit to your W process type , you have to edit in UC_SYSTEM_SETTINGS  the key :

    WP_MIN_NUMBER whit the max mandatory W to have before creating Dialog process.


     






  • 2.  Regarding DWP Issue

    Posted Feb 28, 2017 03:09 PM
    The W and D types both refer to WPs or Work Processes. A Type D work process or DWP is a work processes specifically devoted to interaction between a user, the user interface and the Automation Engine. You will want to increase the number of DWPs based on how many users are in the User Interface concurrently on average. Hope this helps!


  • 3.  Regarding DWP Issue

    Posted Mar 01, 2017 10:26 AM
    The way WPs are distributed between 'W' and 'D' types is dependent upon the settings defined in UC_SYSTEM_SETTINGS > WP_MIN_NUMBER key.

    Here's an example :

    bq9bkn9g5qg1.pnghttps://us.v-cdn.net/5019921/uploads/editor/dr/bq9bkn9g5qg1.png" width="418">

    If you set 'WP_MIN_NUMBER' to 10:
    • The first WP you start will become the PWP ('P' type)
    • The 10 next WPs you start will become regular WPs ('W' type)
    • Any additional WP will become a DWP ('D' type)

    The name set in the 'Value 1' field corresponds to the 'nodename' setting within the server's ini file (ucsrv.ini):

    1davyqqe8dsh.pnghttps://us.v-cdn.net/5019921/uploads/editor/j4/1davyqqe8dsh.png" width="353">

    Besides, if you have more than a server you can define a different number of WPs for each server. Each server must be referred to by his nodename, and separated with a semicolon.

    Example
    :

    iqy7avwrdl8q.png 

    Best regards,
    Antoine