You are on page 1of 12
oon2015 How torun SAP transaction R21? to configure RFC server group] SAP application perermance SAP application performance How to run SAP transaction RZ12 to configure RFC server group Posted on January 2, 2014 My previous post, “SAP Parallel Process Introduction’, mentions parallel process can be implemented via SAP background process or SAP dialog process as well as factors which should be considered when we design a parallel solution. When parallel solution is implemented via SAP dialog process, SAP server group is the typical SAP solution used to control resource allocation. Resource allocation includes which server/instance of a SAP system should be engaged and how many “dialog work process” from a SAP instance can be engaged during an execution of a parallel solution. This post would walk you through technical steps on how to use SAP transaction RZ12 to configure and maintain a SAP RFC server group. How to start SAP RZ12 transaction, How to run SAP RZ12 transaction to creale a new server group? How to run SAP RZ12 transaction to change existing server group? Understand SAP RFC Server group quota/resource parameters and Verify RZ12 RFC server group resource change. pkene 1. How to start SAP RZ12 transaction ‘You can type “/nRZ12" in the SAP command/OK window to start the technical process of creating RFC server group. After you enter the code "/nRZ12" and press return key, you would see initial RZ12 screen similar to Figure 1. hhipdhwwrw sap-per.carun-sap-z121 ws canons How trun SAP vorsctan R212 corlgue REC sever gp | SAP xpleslonprrmarce CMS: RFC Server Group Maintenance @ ie, Ma 27 ck this icon to creat a new RFC server group Logon Group 274 - 390 |APO_DRP |ABOLDRE Figure 1 SAP RZ12 initial screen From RZ12 initial screen, you can do following + Create anew SAP RFC server group, = Adda SAP instance to a SAP RFC server group, = Change a SAP instance's RFC quotas/resources on the fly = Remove a SAP instance from a SAP RFC server group and + Remove a SAP RFC server group and a SAP instance from all SAP RFC server groups. 2. How to create a new SAP RFC server group ‘A new parallel solution is developed and a new server group is needed. Before you run SAP RZ12 transaction, the server group details like which and how many instance the server group should contain, how many dialog processes is needed etc. should be decided together with server group name. How to understand those RZ12 screen fields/RFC quota parameters is discussed in subsequent section of this post. Here | would create a new server group “_order’ which would engage two instances/servers. 2.1 Start to create RFC server group You can click the “create” Icon to create a new server group as showed in figure 1. You would gel a pop-up screen similar to figure 2 for you to enter sever group details hhipdhwwrw sap-per.carun-sap-z121 216 oon2015 How torun SAP transaction RZ'12 to configure RFC server group| SAP application performance Group assignment Server group. Detemination of resources | Activated (0 or 1) |. Max. Requests in Queue (%) | Max. No. of Logons (4%) Maximum No. Separate Logons(%) Max. Number of WPs Used (%) | Minimum Number of Free WPs | Max. No. of comm. Entries (26) Max. wait time Figure 2 Blank RZ12 Server group data screen 2.2 Enter RZ12 RFC server group detail Based on your parallel solution need and your SAP environment, input to all fields in figure 2 should be decided. Let's assume following inputs are entered, hhipdhwwrw sap-per.carun-sap-z121 ans oon2015 hhipdhwwrw sap-per.carun-sap-z121 How torun SAP transaction R21? to configure RFC server group] SAP application perermance Server group Instance Activated (0 or 1) Max. Requests in Queue (%) Max. No. of Logons (3%) Maximum No. Separate Logons(%) [25 Max. Number of WPs Used (2%) Minimum Number of Free WPs é Max. No. of Comm. Entries (%) 30 Max. wait time 15 Figure 3 SAP RZ12 server group input Click “copy” button, you would see initial screen of RZ12 again but with the new server group “1_order’ as showed in figure 4. lick here to Save "RZ12" changes Gi ri4 ©€@@ GHH anS4 18 CMS: RFC Server Group Maintenance BCD) Biocicte Assionment delete Group Hf Remave instance fiogen Geoup instance [Seazus| 24 emia. 390 mo movment? RB im 10 Figure 4 SAP RZ12 new server group creation 1 Now the above process is repeated to add another instance to this server group "1_order’. So the RZ12 sever group “_order’ is as showed in Figure 5. ans oon2015 hhipdhwwrw sap-per.carun-sap-z121 How torun SAP transaction R21? to configure RFC server group] SAP application perermance e° ] (@ eee GAB a6 CCMS: RFC Server Group Maintenance &@ OD Boelete assignment fifvelete croup fil Remove instance Instance [Status] remem o:| Oo 10] @ a a JAPO_DRP io] ® Figure § SAP RZ12 new server group creation 2 If you are satisfied with your changes, you can click the “save" button in Figure 5 to save your changes. Make sure that SAP system message “Changes saved" is appeared after you clicked. “Save" button. If you exit RZ12 transaction without save, your changes would be lost. Please take note, you can only need to enter “sever group name" and “instance", you can use instance default setting for remaining fields. To do this, you can click “copy” button in Figure 3 without entering “RFC resource parameters”, then click "Yes" on pop-up window similar to Figure 6. If you click “No”, then those RFC parameters would be left “blank". @ Bet current quotas a=) Figure 6 SAP RZ12 server group — copy default data It might be efficient to copy instance default value for RZ12 fields and make additional changes (on top of that. If you are using different value from what specified in instance parameters, then the parameter in the instance profile should be updated accordingly in another time. Otherwise your RZ12 value would be overwritten by instance parameters upon SAP instance/server reboot. Your changes to SAP RZ12 parameters become effective upon save. Those RFC. resource parameters in RZ12 can be changed dynamically, 3 How to run SAP RZ12 transaction to change existing RFC server group. 3.1 Add new SAP instance to an existing RFC server group sis oon2015 How torun SAP transaction RZ'12 to coigure RFC server group | SAP application performance This Is similar to creation of new server group. You just need to click expected server group conce then click the “creation” icon in the RZ12 initial screen. 3.2 Remove a SAP instance from an existing server group To remove an instance from a server group, you can click the instance of a group which you ‘would like to remove, then click the “Delete Assignment” button in figure 1. Here, I clicked server “b*10" entry in “t_order” group first, then I click the "Delete Assignment” button, then following screen showed up (Group assignment Server group order Instance aio Determination of resources ‘Activated (0 or 1) E Max. Requests in Queue (%) & ] Max. Ho. of Logons (25) 90 Maxirum No. Separate Logons(%) [25 Max. Number of WPs Used (9%) 15 Minimum Number of Free WPs fe ] Max. No. of Comm. Entries (9%) 20 Max. wait time [20 Figure 7 RZ12 server group — remove instance Click the “delete” button in Figure 7, you would back to RZ12 initial screen reflecting your changes, which actually gave me the same screen | had in Figure 4. If you are ok with your changes, you can save your changes now by clicking the "save" button before you exit. All RZ12 changes are not automatically saved by the system, 3.3 Change SAP RFC resources/quotas dynamically RFC resources change is at instance level. All server groups would share the same RFC resources/quotas for the same serverfinstance. All RZ12 resources/quota changes are dynamic changes and it can be lost upon system reboot. If your changes are going to be permanent, you need to update the corresponding RFC parameter in the instance profile to reflect RZ12 change. To change a resource, you can double click on any entry which contains the expected instance. hhipdhwwrw sap-per.carun-sap-z121 ans oon2015 How torun SAP transaction RZ'12 to coigure RFC server group | SAP application performance Here | double clicked “B04” instance in the initial screen, Figure 8 screen appeared | Sroup assignment ) Server group Instance Max. Requests in Queue (%) ‘Max. No. of Logons (%) | maximum No. Separate Logons(%6) Max. Number of WPs Used (%). Minirrum Number of Free WPs | tax, No.of comm, entre (%) Max. wat time Actated (0 or 1) Figure 8 RZ12 Server group — change RFC resources ‘You can make expected changes in Figure 8. The typical change is to increase or reduce data showed in "Max. Number of WPs Used (%)" and “Minimum Number of Free WPs' fields. After you changes, you can click “copy” button in Figure 8, that brings you back to initial screen where you can save your changes. 3.4 Remove a SAP RFC server group and remove a SAP instance from all RFC server groups To remove a server group, you can click any entry of the server group in the initial screen, then click “Delete Group" button, then the entire group is removed from RZ12. ‘Sometimes, an instance might be removed from the system, so this instance needs to be removed from all existing server groups in the system, to do that, you need to click "Remove Instance" button , provide instance name in following window , then click “delete” button hhipdhwwrw sap-per.carun-sap-z121 am oon2015 How torun SAP transaction RZ'12 to coigure RFC server group | SAP application performance Figure 9 RZ12 server group — remove instance ‘As usual, your changes would only come into effect after you click "Save" button. 4 Understand SAP RFC Server group quota/resource parameters Up to now, we have gone through the process of maintaining RFC server group. Here | would like to help you to understand what those parameters mean. Please refer to following chart to understand RFC parameters Table 1 SAP RZ12 RFC quotas/parameter explanation hhipdhwwrw sap-per.carun-sap-221 by rdisplelem_per_queue. This is to ensure that system isnot overloaded further when queue has been built up. When number of waiting requests hits this quota, then No more parallel process can be started Screen | Explanation Associated Profile Parameter | Example Field Activated | 0: Routine for resource Rdispirfe_use_quotas (ort) | determination is deactivated | Oefautt value: 1 4: Routine for resource determination is activated. You should always use 1 Max. The maximum numberof | rdispirfe_max_queue Assume Requests | waiting requestsin the dialog | default value: 5 rdispielem_per_queue = in Queue | queue of the dispatcher 2,000 (SAP default) and (%) based onnumberspecified | § means 8%. rdisirfe_max_queue then no more parallel process can be started if number of waiting requests. 100 (2,000 x 5%) or more, ais oon2015 How torun SAP transaction RZ'12 to coigure RFC server group| SAP application performance hhipdhwwrw sap-per.carun-sap-221 Current queue length can be checked via menu Goto - >Server name > information- > queue information in SAP transaction SM51 Max. No. | The maximum percentage of | raisp/rfc_max_loginDefault ‘Assume rdispitm_max_no ‘of Logons | logons to this instance value: 90 200(SAP default) and (%) (maximum total number rdispirfc_max_login = 90, rdispitm_max_no) thatcan | $0 means 90% then no more parallel be due to asynchronous process can be started if RFCs. The remaining % is the number of RFC logon reserved for non-RFC users showed in SAP SMO4 like dialog and HTTP users. transaction is 180 or more So those operations are not for this instance, impacted by RFC, Every RFC is linked to a logon in the targeted instancelserver. When number of active logons hits this quota, then No more parallel process can be started SAP transaction SMO4 can be used to display logon —one entry in SM04 screen is counted one logon in this view. Maximum | The maximum percentage of | Raispirfo_max_own_loginDefauit | Assume rdisp/tm_max_no No. logons to this instance value: 25 = 200 and Separate | (maximum total number rdispirfo_max_own_login = Logons(%) | rdispitm_max_ne) that can 25, the no more parallel be due to the asynchronous. process can be started for RFGs of one user. Useris a particular user after # of referring to USERID. Ifyou logon under the user is 50 are sharing same logon with or more. Server name > information > Communication Table" in SAP transaction SM51. This is to ensure that there is enough {ree communication entries in the instance. When Number of entry in ‘communication table is bigger than the quota specified by this parameter, then No more parallel process can be started. rdispirfc_max_comm_entries Default value: 90 ‘Assume rdispimax_comm_enties = 500 and tidsp_max_comm_entries 80, then no more parallel process(RFC call) can be started if number of entries in the communication table reaches 450( 500 X hhipdhwwrw sap-per.carun-sap-221 is no guarantee that resource co} figured is wis oon2015 How torun SAP transaction RZ'12 to configure RFC server group| SAP application performance available since quotas configured is shared by all RFC calls at SAP instance/server and resource picture of a SAP instance/server is very dynamic. ‘You can use SAP transaction RZ11 to review and change SAP parameters like SAP RFC resource parameters. There is another RFC parameter rdisp/RFC_CHECK. This parameter determines level of details of check on whether enough free dialog work processes are avallable for aRFC calls. SAP recommends that you do not change default value for this parameter. ‘There are parallel solutions which depend on SAP job server group. SAP job server group can be configured via SAP transaction SM61. | can cover how to use SM61 this in separate post. This entry was posted in SAP transaction and tagged how to change a SAP RFC server group, how to create a SAP RFC server group, how to run SAP transaction RZ12, how to validate SAP RFC server group changes, SAP RFC parameters, SAP RFC resource quotas, SAP transaction RZ12 by eric. Bookmark the permalink [http://www.sap- perf.ca/run-sap-r212/] hhipdhwwrw sap-per.carun-sap-z121 sss

You might also like