|
[TEC 3.9] Fewer large baroc files vs. many small baro c files?: msg#00448sysutils.tivoli.tme10
Hallo, > but I always use the wrb command to manipulate rule files in the rb > (I suppose you have to), but for classes I just throw 'em > in the .load_classes file and tec doesn't seem to mind. I hate the performance of the wrb script invoking a JRE for each action (even on a regatta 570 or 590). My scripts generate all necessary index files by themselves (rule_sets, rule_sets_<target>, rule_packs, .load_classes, *.rpk). I only use wrb for -crtrb, -comprules and -loadrb. For distributed rulebase management I have something like this using "here" documents (generated automatically). I'm even tempted to use shar sometimes ;) # crtrp fra.dp5.de echo "rule_pack('fra.dp5.de', 'fra.dp5.de.rpk' ,active)." >> $TargetRBPath/TEC_RULES/rule_packs touch $TargetRBPath/TEC_RULES/fra.dp5.de.rpk echo "rule_pack: fra.dp5.de" >> $TargetRBPath/TEC_RULES/rule_sets_EventServer print "$ScriptName: INFO: $TargetRBName Classes import ..." while read file basename do # imprbclass $file cp $file $TargetRBPath/TEC_CLASSES echo "$file" >> $TargetRBPath/TEC_CLASSES/.load_classes done << __Classes__ tsa_heartbeat.baroc tsa_heartbeat tsa_host_info.baroc tsa_host_info ... __Classes__ while read file basename do # imprbrule $file # imprprule $basename cp $file $TargetRBPath/TEC_RULES echo "rule_set('$basename','$file',active)." >> $TargetRBPath/TEC_RULES/rule_sets echo "'$basename'" >> $TargetRBPath/TEC_RULES/fra.dp5.de.rpk done << __Rules__ ies_ESM_BASE_forward_all.rls ies_ESM_BASE_forward_all ies_ESM_BASE_event_forward_conf.rls ies_ESM_BASE_event_forward_conf __Rules__ Tschau...Thomas -- "Do you wanna be a legend or a passing footprint on the sands of time?" Senior Consultant, Tivoli Certified Enterprise Consultant + Instructor santix AG, www.santix.de, info-/JKUMw0Y9jazQB+pC5nmwQ@xxxxxxxxxxxxxxxx, fon +49-89-321506-0, fax -99 Weihenstephaner Str. 4, D-85716 Unterschleissheim, GSM +49-170-9135811 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [TEC 3.9] Fewer large baroc files vs. many small baroc files?: 00448, Thomas Seeling |
|---|---|
| Next by Date: | Host name resolution: 00448, Andy Pearce |
| Previous by Thread: | RE: [TEC 3.9] Fewer large baroc files vs. many small baro c files?i: 00448, Redusj-pWz/JrSLlZPq+pQ9gifPwA |
| Next by Thread: | Host name resolution: 00448, Andy Pearce |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |