Bringing up C2POLICE is a matter of configuring C2PCUST, the C2POLICE and C2PCOLL members in PROCLIB, and initializing the CKFREEZE in the right order.
For starters, you need a C2PCUST for your sysplex, and CKFREEZE data set for each LPAR. As you remember, C2POLICE must run on each LPAR and each C2POLICE has its own CKFREEZE describing the LPAR. Look at the installation manual on how to use C2PZAIN1 to allocate these data sets and to initialize each CKFREEZE.
Make sure the C2PCUST name and the C2POLICE started task name are reflected in the CKRPARM(C2R$PARM) member (uncomment the SET commands).
You now have a C2PCUST, it is time to initialize the alert set.
- Go to SE.A.A.
- Create a new alert set by copying C2PDLF, specify a name that reflects the plex that will use the alert set. You will get pulled through the set options, the destinations and finally you can select the alerts that you will use.
- Make sure you specify the name of a CKFREEZE data set in the set option panel, this may be a CKFREEZE that you have used for other purposes already, it may be the CKFREEZE that you just created using C2PZAIN1.
- If this is a new set, you will automatically Verify the set. This creates members aaaaaVf, where aaaaa is the alert set name, and test the members for syntax failures. If this is an existing set, you must type the V line command for the set, yourself.
- If this is a new set, you will be prompted to refresh the started task. But C2POLICE is not active yet, so you get an error. Never mind, the previously tested aaaaVf members all get copied to aaaaaf in C2PCUST. If this was an existing set, you can type the F line command yourself. In any case, the C2PCUST is ready for use when F (refresh) is completed.
Edit the C2POLICE member in PROCLIB. You must specify the alert set start-up member in the parameter PPARM, if you don't, the default value is C2PDFLP and this member does not exist. So
// PPARM=aaaaaP,
Now it is time to S C2POLICE
Once C2POLICE is running, you can go back into SE.A.A, inspect the set, activate more alerts, and do the V and F line commands. The latter will send a command to the local C2POLICE to read the modified CARLa script, and refresh the configuration.
If you run C2POLICE in more LPARs, from the same C2PCUST members, these LPARs will read the updated members magically within an hour, when their reporting cycle starts again, or you can /RO *ALL,F C2POLICE,REFRESH in SDSF.
PS. if you find that the number of buffers is to small, change the size and number using the E line command on the set. Use the normal V and F line commands but do not put a / in front of "refresh C2POLICE". Instead issue /RO *ALL,F C2POLICE,RESTART in SDSF.
------------------------------
Rob van Hoboken
------------------------------