Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
IWM4SRSC – Obtain Server-Specific Routing Information z/OS MVS Programming: Workload Management Services SC34-2663-00 |
|
IWM4SRSC – Obtain Server-Specific Routing InformationThe IWM4SRSC service provides information about how well a server is suitable to receive work from a WLM point-of-view. The IWM4SRSC service allows to check a specific server before routing work to it from WLM. Thus, the information obtained can be used for making balanced routing decisions. The input to the IWM4SRSC service is the STOKEN of an address space. The output is an indicator, of how well the address space itself, the transactions or enclaves – if it is a registered transaction server, an enclave server or an enclave owner – are performing relative to their WLM goal and to the displaceable capacity for its WLM importance on that system. The service returns an indicator that can be used for load balancing by comparing it to calls of this service for other servers. The indicator output is a weight. WLM provides two methods for computing the weight, which can be selected with the optional input parameter METHOD. The default method is PROPORTIONAL, the other one is EQUICPU. With PROPORTIONAL, the weight is calculated based on six factors: it is a combination of the three processor weights (CPU weight, ZAAP weight and ZIIP weight) and their respective consumed service units repartition. With EQUICPU, WLM computes the weight by trying to simulate a 100% usage of the system capacity, and determining the capacity of a CPU-only system having equivalent resource consumption. The CPU, ZAAP and ZIIP weights are each computed based on the following four factors:
These four factors are combined to create the output processor WEIGHT as a number. To make it easier for the caller to determine, how far the weights were influenced by the abnormal terminations and health factors, those values can also be output through the optional parameters ABNORM_COUNT and HEALTH. The processor weights are returned through the optional CPUWEIGHT, ZAAPWEIGHT and ZIIPWEIGHT parameters. The respective parts of these weights in the WEIGHT are returned through the optional parameters CPUPROPORTION, ZAAPPROPORTION, and ZIIPPROPORTION. If there are pre-V1R9 systems in the sysplex, the zAAP and zIIP weights and proportions are automatically set to 0, because pre-V1R9 systems do not have such weights and could not be compared to V1R9 systems. For the same reason, if there are pre-V1R11 systems in the sysplex, only METHOD=PROPORTIONAL will be used, even if METHOD=EQUICPU is specified. The WEIGHT is equal to the sum of these three proportion fields. As WLM computes the values with higher precision, and rounds them before output, the WEIGHT actually returned is probably greater than the sum of the returned proportion fields by one or two units. A scenario where TCP/IP communicates on each system with WLM to obtain information about the servers which receive work is described in the following. TCP/IP recognizes the server address spaces when they open a port. It invokes the IWM4SRSC service to WLM with an identification of the address space (STOKEN). WLM then finds out whether that address space is a registered WLM server address space or whether it creates WLM transactions which can execute in other server address spaces. The following possibilities are considered:
|
Copyright IBM Corporation 1990, 2014
|