Step 3f: Create Sysplex Application Group WBSRVAPG
About this task
In this step you create the Sysplex Application Group WBSRVAPG as a SERVER group.
- SERVER groups are created when only a certain number of linked resources need to be available to consider the application group as being available.
- A SERVER group with an Availability Target of 1 and appropriate preference values can behave like a MOVE group.
- A SERVER group with an Availability Target of *ALL and all the preferences of its members set to 700 acts like a BASIC group.
The Web server group WBSRVAPG should run only on SYSTEM1. The WBSRV application and the NET application group are essential parts that must be up, but the DB2® application group is not necessarily needed.
Procedure
-
Enter
NEW WBSRVAPGat the command line. The Define New Entry panel is displayed with the Entry name field already asWBSRVAPG. - Enter the required values on this panel:
- The WBSRVAPG application group runs mainly on
SYSTEM1. However, WBSRVAPG will have some members that run on other systems in the sysplex, so set
the Type field to
SYSPLEX. - WBSRVAPG should start with all of its components, but it is acceptable if DB2 cannot be started. So set the Nature of the WBSRVAPG
group to
SERVER. - For resource generation you need an automation name; you should find
WBSRVAPGin the Automation Name field.
The input in the Define New Entry panel should now look similar to Figure 1.
Figure 1. Scenario: Define New Entry Input Panel for WBSRVAPG COMMANDS HELP ------------------------------------------------------------------------------ AOFGDYN3 Define New Entry Command ===> More: + Define new entry of type ApplicationGroup Entry Name . . . . . . . WBSRVAPG Type . . . . . . . . . . SYSPLEX (SYSTEM SYSPLEX) Nature . . . . . . . . . SERVER (BASIC MOVE SERVER) Model . . . . . . . . . 1 Automation Name . . . . WBSRVAPG Short description . . . Long description 1 . . . Long description 2 . . . Long description 3 . . . Long description 4 . . . Long description 5 . . . - The WBSRVAPG application group runs mainly on
SYSTEM1. However, WBSRVAPG will have some members that run on other systems in the sysplex, so set
the Type field to
- Press PF3 to create WBSRVAPG. The Policy Selection panel for WBSRVAPG is displayed with a message indicating that the application group has been created.
- On the Policy Selection panel select the WHERE USED policy item. The Where Used panel is displayed with sysplex group SYSPLEX1.
- Select the sysplex group and press PF3. The Command Progress Display pop-up window shows that the resource WBSRVAPG/APG has been created.
- Select the APPLICATIONS policy item and
select the application WBSRV. Press PF3 to return to the Policy Selection panel
for WBSRVAPG. You will be notified that the following resources have been generated:
WBSRV/APL/SYSTEM1 WBSRV/APL/SYSTEM2 WBSRV/APL/SYSTEM3 - Select the RESOURCES policy item of
WBSRVAPG to get to the Select Resources panel
for WBSRVAPG.
You can see that the preference for the linked resources is the value that you entered when you created the WBSRVAPG application group.
You can use the Preference field to fine-tune the automatic linking of application resources to an application group.
- Change the Show all Resources field to
YESand press Enter to see the complete list of selectable resources. - Now you need to change the preferences so that the WBSRVAPG application group is started on SYSTEM1 with WBSRV and NET as
mandatory components and DB2 as optional. To achieve this:
- Set the Availability Target to
2. - Enter
1000in the Preference field for the mandatory components (WBSRV/APL/SYSTEM1 and NET/APG). - Enter
min the Action field for WBSRV/APL/SYSTEM2 and WBSRV/APL/SYSTEM3 to deselect them. - Enter a value between 501 and 999 in the Preference field for DB2/APG/SYSTEM2 and DB2/APG/SYSTEM3.
- Set the Availability Target to
When the application group is started, all selected members with at least Preference 600 will also be started, but members with Preference 1000 are mandatory.
If you change the Show all Resources field to
NO, your definitions should look like Figure 2.Figure 2. Scenario: Final Select Resources Panel for WBSRVAPG COMMANDS ACTIONS HELP ------------------------------------------------------------------------------ AOFGARS2 Select Resources Row 1 to 4 of 4 Command ===> SCROLL===> PAGE Entry Type : ApplicationGroup Entry Name : WBSRVAPG Sysplex : SYSPLEX1 Number of selected Resources : 4 Availability Target. . . . . . . 2 (-3 to 4 , *ALL) Satisfactory Target. . . . . . . (Level at which group is available) Show all Resources . . . . . . . NO (YES NO) Show only Resources with String. Action Preference Resource Name Entry Name 700 DB2/APG/SYSTEM2 DB2 700 DB2/APG/SYSTEM3 DB2 1000 NET/APG NET 1000 WBSRV/APL/SYSTEM1 WBSRV - Change the Show all Resources field to
- Press PF3, select the APPLGROUP INFO policy item in
the Policy Selection panel
and change the Automatically link Application-Resources into APG field
to
NOon the Application Group Information panel.
Results
The WBSRVAPG application group is complete. If a start request is issued against WBSRVAPG, both WBSRV and NET must be successfully started for WBSRVAPG to be available.