30.01.2013 Views

Broker Performance & Tuning using EntireX v8.2 - Software AG

Broker Performance & Tuning using EntireX v8.2 - Software AG

Broker Performance & Tuning using EntireX v8.2 - Software AG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Broker</strong> <strong>Performance</strong> & <strong>Tuning</strong><br />

<strong>using</strong> <strong>EntireX</strong> <strong>v8.2</strong><br />

Miguel Pujol<br />

Mainframe Integration Team<br />

Global Support Services<br />

September 2012


Agenda<br />

- Basic <strong>Broker</strong> Concepts and <strong>Broker</strong> Stubs<br />

- Tracing Tips<br />

- <strong>Performance</strong> &<strong>Tuning</strong> General Tips<br />

- Monitor resources via SMH <strong>v8.2</strong><br />

- EXX <strong>v8.2</strong> Enhancements<br />

- DWM and DMM<br />

- Command Logging<br />

- Deferred Tracing<br />

- <strong>EntireX</strong> Trace Utility<br />

- Miscellaneous<br />

- Contacting Support<br />

- Premium Support Services<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 2


Snoozing / leaving soon?<br />

• Important Items to Take Away<br />

• Upgrade to <strong>EntireX</strong> <strong>v8.2</strong>.2 as soon as possible<br />

• Lots of new functionality in SMH <strong>v8.2</strong><br />

• Run <strong>Broker</strong> with Dynamic Memory Management and Dynamic<br />

Worker Management<br />

• Access tracing techniques in the <strong>EntireX</strong> documentation, at:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-2_ga/<strong>EntireX</strong>/8-2-<br />

SP1_<strong>EntireX</strong>/adminWin/tracing.htm<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 3


<strong>EntireX</strong> <strong>Broker</strong> Architecture<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 4


In simple terms: A traffic cop!<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 5


Is it that simple, though?<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 6


<strong>Broker</strong>: What exactly is it?<br />

Example: A Travel Agency<br />

• Travel Agent<br />

• Customers<br />

• Services<br />

• Types of travel<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 7


A Travel Agency<br />

Customer<br />

Customer<br />

Customer<br />

Customer<br />

<strong>EntireX</strong> <strong>Broker</strong><br />

Travel<br />

Agent<br />

Whew! Lots<br />

of traffic<br />

today!!!<br />

Inquire<br />

Book<br />

Issue<br />

Airplane<br />

Cruise<br />

Train<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 8<br />

Pay<br />

Bus<br />

Clients Class Server Service


How do you talk to <strong>Broker</strong>?<br />

You need a Server and a Client � Conversation<br />

The Server:<br />

1) LOGON<br />

2) REGISTER<br />

Repeat<br />

3) RECEIVE<br />

…<br />

4) SEND<br />

End-Repeat<br />

5) DEREGISTER<br />

6) LOGOFF<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 9


How do you talk to <strong>Broker</strong>?<br />

The Client:<br />

1) LOGON<br />

2) SEND<br />

3) RECEIVE<br />

4) LOGOFF<br />

You need a Server and a Client � Conversation<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 10


Tracing <strong>Broker</strong> Components<br />

• <strong>Broker</strong> Kernel (Attribute File)<br />

Different sections, different levels<br />

• <strong>Broker</strong> Stubs<br />

Depends on Client/Server type & platform<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 11


<strong>Broker</strong> Kernel Standard Tracing<br />

<strong>Broker</strong> Attribute File Sections – Recomm. trace levels<br />

(Development might request higher trace levels)<br />

• DEFAULTS=BROKER<br />

� TRACE-LEVEL=1<br />

• DEFAULTS=SECURITY<br />

� TRACE-LEVEL=8<br />

• DEFAULTS=ADABAS / NET / TCP / SSL<br />

� TRACE-LEVEL=1<br />

• DEFAULTS=SERVICE / TOPIC<br />

� Recommended: CONVERSION=(S<strong>AG</strong>TCHA,TRACE=3)<br />

� Older Approach: TRANSLATION=S<strong>AG</strong>TCHA<br />

�Only a minimal set of special characters is converted properly<br />

�If characters are not supported, they are turned into a blank; no error reported<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 12


Tracing <strong>EntireX</strong> Components<br />

“Table Summarizing Tracing for webMethods <strong>EntireX</strong><br />

Components” – see documentation, at:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-<br />

2_ga/<strong>EntireX</strong>/8-2-SP1_<strong>EntireX</strong>/adminWin/tracing.htm<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 13


Tracing <strong>EntireX</strong> Components – Cont.<br />

The “<strong>EntireX</strong> Trace Utility” – see documentation, at:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-<br />

2_ga/<strong>EntireX</strong>/8-2-<br />

SP1_<strong>EntireX</strong>/adminWin/brokerTraceUtility.htm#brokerTraceUtility<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 14


<strong>Broker</strong> Kernel Special Tracing<br />

�Command Logging (Independent from Trace)<br />

• Startup JCL<br />

� DD Cards:<br />

//DDCLOGR1 DD DISP=SHR,DSN=.CMDLOG1<br />

//DDCLOGR2 DD DISP=SHR,DSN=.CMDLOG2<br />

• DEFAULTS=BROKER section of the Attribute File<br />

� CMDLOG=YES<br />

� CMDLOG-FILE-SIZE=5317 (KB)<br />

� NUM-CMDLOG-FILTER=12<br />

� Add filters in SMH or <strong>using</strong> ETBCMD<br />

Documentation Link:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-<br />

2_ga/<strong>EntireX</strong>/8-2-SP1_<strong>EntireX</strong>/adminWin/commandLogging.htm#commandLogging<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 15


<strong>Broker</strong> Kernel Special Tracing – Cont.<br />

�Deferred Tracing<br />

• Triggered when a specific condition occurs<br />

• All information leading up to the specified event is traced<br />

• If event does not occur, it is like TRACE-LEVEL=0<br />

• DEFAULTS=BROKER section of the Attribute File<br />

• TRAP-ERROR=0007 (Error code, not error class)<br />

• TRBUFNUM=4 (Trace buffer size, e.g. 4 * 64KB)<br />

• TRMODE=WRAP (Only possible value – trace written when event occurs)<br />

• Gotcha – No output in the trace?<br />

• Deferred Tracing is ON but no TRAP-ERROR is specified<br />

• See KB 1707748<br />

Documentation Link:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-<br />

2_ga/<strong>EntireX</strong>/8-2-SP1_<strong>EntireX</strong>/adminZos/setup<strong>Broker</strong>.htm#deferredTracing<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 16


<strong>Performance</strong> & <strong>Tuning</strong> – Considerations<br />

� The architecture of <strong>Broker</strong> is the same on all systems<br />

� Development recommends the dynamic approach (DYNAMIC-MEMORY-<br />

MAN<strong>AG</strong>EMENT and DYNAMIC-WORKER-MAN<strong>AG</strong>EMENT turned on), unless a<br />

stable configuration has been found for a specific scenario and it does not<br />

change<br />

� The static approach (both DMM and DWM set to NO) is still good for a well<br />

configured environment<br />

� Rule of Thumb #1<br />

� Run <strong>Broker</strong> Kernel on the platform with the highest “horsepower”<br />

� Rule of Thumb #2<br />

� Run Servers “as close” to the data as possible<br />

� Rule of Thumb #3<br />

� Apply the latest <strong>EntireX</strong> Hotfixes on all platforms ���� Empower > Fix Explorer<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 17


<strong>Performance</strong> & <strong>Tuning</strong> – Cont.<br />

� z/OS Operating System upgrades<br />

(SHARE Atlanta 2012)<br />

� The next release of z/OS will be in the<br />

second half of 2013 instead of Sep. 2012<br />

� Future releases will be every two years<br />

instead of every year<br />

� Support for concurrent releases will be<br />

adjusted<br />

� IBM found only 5% of customers migrate<br />

every year - majority migrate every two<br />

years (or even less frequently)<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 18


<strong>Performance</strong> & <strong>Tuning</strong> – Cont.<br />

� Workload Manager (WLM) - prioritization of workload<br />

� Compatibility Mode (old way)<br />

� Specify priorities<br />

� Goal Mode (new way)<br />

� Specify goals for a workload, e.g. response time thresholds<br />

� When goal is not achieved, WLM will raise the priority<br />

� When goal is exceeded, WLM reduces the priority to give other<br />

workload better access to the system<br />

� Velocity parameter<br />

� Velocities tell WLM what percentage of time a workload can use<br />

resources and to what extent it can be delayed<br />

� Adabas requires a very high velocity to run well: 99 is best<br />

� Specify a high velocity for <strong>EntireX</strong> also<br />

� Ensure that the WLM never thinks the goal for <strong>EntireX</strong> has been met when<br />

there are still requests to be processed<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 19


<strong>Performance</strong> & <strong>Tuning</strong> – Cont.<br />

� Linux/UNIX/Windows (LUW)<br />

� In EXX 8.2, usage of semaphores and shared memory was<br />

removed from <strong>Broker</strong><br />

� ETBADM running as local service on Unix controls all local<br />

<strong>Broker</strong>s<br />

� ETBADM is also a <strong>Broker</strong> (ETBNUC) running in RUN-MODE=ADMIN<br />

with a front-end<br />

� <strong>Broker</strong> is a single process on Unix machines with a varying<br />

number of POSIX threads (“pthreads”) according to the settings<br />

� PSTORE-TYPE=ADABAS or CTREE works on Unix, with ADABAS<br />

being the fastest method on all systems even though IPC is<br />

involved<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 20


<strong>Performance</strong> & <strong>Tuning</strong> – Cont.<br />

� Applications<br />

� Servers<br />

� Load balancing (RPC/ACI Server replicates)<br />

� <strong>Broker</strong> Services’ Attach Server or “embedded” in XML RPC<br />

Server (or write your own Attach Server, as documented)<br />

� Natural subprograms (e.g. READ instead of complex FIND, use<br />

SETTIME and *TIMD, etc.)<br />

� Typical reasons for long-running requests:<br />

� too much work to do<br />

� waits for external resources (e.g. database records)<br />

� priority of server address space too low<br />

� Clients<br />

� Number of sockets (Java) – see Technical Paper “Understanding<br />

and <strong>Tuning</strong> the POOLSIZE and POOLTIMEOUT Parameters”<br />

� LOGOFF explicitly to release resources (otherwise, wait for the<br />

Timeout Manager, ETBTOM)<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 21


<strong>Performance</strong> & <strong>Tuning</strong> – Cont.<br />

� Other Technical Considerations<br />

� SVC vs. TCP/IP<br />

� Compression / Decompression<br />

� Security – to what extent?<br />

� SSL Encryption / Decryption<br />

� <strong>EntireX</strong> Security<br />

� Natural Security (NSC, NATSAF)<br />

� Adabas (ADASCR, ADASAF)<br />

� Entire Net-Work Security (NETSAF)<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 22


Security - Protecting <strong>Broker</strong> Against Attacks<br />

� Denial-of-Service Attacks<br />

� If <strong>Broker</strong> runs with SECURITY=YES and a process tries to<br />

logon <strong>using</strong> invalid credentials repeatedly, the whole<br />

system could be affected<br />

� With PARTICIPANT-BLACKLIST = YES, after 10<br />

consecutive security errors within 30 seconds, the<br />

Blacklist Handler puts participant on the blacklist<br />

� All subsequent requests from this participant are<br />

blocked until BLACKLIST-PENALTY-TIME has elapsed<br />

See documentation, at:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-2_ga/<strong>EntireX</strong>/8-2-<br />

SP1_<strong>EntireX</strong>/adminZos/setup<strong>Broker</strong>.htm#denialOfService<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 23


New Features in <strong>EntireX</strong> <strong>v8.2</strong><br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 24


Dynamic Memory Management (DMM)<br />

Motivation<br />

• <strong>Broker</strong> v7 and below used a Static Memory model<br />

• Used to share memory between multiple processes<br />

• Required configuration of all necessary resources<br />

• It was difficult to determine reasonable maximum values<br />

• After <strong>Broker</strong> initialization, no changes to memory organization were<br />

possible<br />

• Memory consumption could not be accommodated<br />

• Changing memory requirements regarding number of specific resources<br />

could only be adapted after reconfiguration and restart of the <strong>Broker</strong><br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 25


DMM – Old Design<br />

Static <strong>Broker</strong> memory pool<br />

ETBMAIN ETBTOM ETBXWKR<br />

ETBXWKR<br />

ETBXWKR<br />

TCPCOM TCPPROXY<br />

SSLCOM SSLPROXY<br />

NETCOM<br />

ETBOPER<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 26


DMM – New Design<br />

<strong>Broker</strong> memory pools<br />

dynamically allocated<br />

and released<br />

ETBMAIN ETBTOM ETBXWKR<br />

ETBXWKR<br />

ETBXWKR<br />

TCPCOM TCPPROXY<br />

SSLCOM SSLPROXY<br />

NETCOM<br />

ETBOPER<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 27


DMM – Some Design Details<br />

• Introduce concept of resource-specific Memory Pools<br />

• Each Memory Pool provides a defined number of resources of one<br />

particular resource type, e.g. Participants, Conversations, etc.<br />

• Each Memory Pool is divided into blocks of a size, which is<br />

required by its related resource<br />

• The amount of objects per resource type is still configurable<br />

• All NUM-* <strong>Broker</strong> attributes can be omitted<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 28


DMM - Pool Control Blocks<br />

Pool control<br />

struct _POOL_CONTROL<br />

{<br />

SMP_LOCK_T lock;<br />

HEADER* pPoolHeaderTop;<br />

HEADER* pPoolHeaderBot;<br />

SMBLK* pSemaResponse;<br />

CE_BOOL fAllocatePool;<br />

CE_BOOL fDeallocatePool;<br />

};<br />

One POOL_CONTROL per resource type<br />

One POOL_HEADER per memory pool<br />

Pool header<br />

Pool header<br />

next next<br />

struct _POOL_HEADER<br />

{<br />

HEADER header;<br />

CE_VOID* pMemoryPool;<br />

CE_BYTE* pBitList;<br />

CE_BYTE* pDataLow;<br />

CE_BYTE* pDataHigh;<br />

CE_LONG nBytes;<br />

CE_LONG nSlots;<br />

CE_LONG nSlotsFree;<br />

CE_LONG sizeSlot;<br />

time_t lastActivityTime;<br />

};<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 29<br />

NULL


DMM - Memory Pool Layout<br />

0 0 1 0 0 ….<br />

Bit list, one bit per slot<br />

Slot 1 Slot 2<br />

Slot 3<br />

Slot n-2 Slot n-1 Slot n<br />

Administrative part<br />

Data part<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 30


DMM - Design Details (Cont.)<br />

• Pool allocation/de-allocation based on<br />

ticket system<br />

• Every task requiring new resource issues<br />

order through ticket system<br />

• Dedicated task (ETBMAIN, Main Task)<br />

receives ticket, performs requested<br />

operation<br />

• Dedicated task (ETBTOM, Timeout<br />

Manager) controls all pools, issues order<br />

to release unused pool<br />

• As a result, the method is portable and<br />

can operate on different underlying<br />

Operating Systems<br />

• Applicable to systems supporting<br />

multithreading and systems supporting<br />

only multitasking<br />

http://www.freepatentsonline.com/20090172336.pdf<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 31


DMM - New global <strong>Broker</strong> Attribute<br />

DYNAMIC-MEMORY-MAN<strong>AG</strong>EMENT<br />

NO<br />

YES<br />

NO | YES<br />

All memory is allocated at <strong>Broker</strong> startup based on the calculation from the<br />

defined NUM-* attributes. Size of memory cannot be changed. This is the<br />

known behavior of EXX 7.3.<br />

An initial portion of memory is allocated at <strong>Broker</strong> startup based on defined<br />

NUM-* attributes or internal default values if no NUM-* attributes have been<br />

defied. More memory is allocated without <strong>Broker</strong> restart if there is a need to<br />

use more storage. Unused memory is deallocated. The upper limit of memory<br />

consumption can be defined <strong>using</strong> attribute MAX-MEMORY.<br />

If you run <strong>Broker</strong> with DYNAMIC-MEMORY-MAN<strong>AG</strong>EMENT=YES, the following attributes are not needed:<br />

NUM-CLIENT / NUM-CMDLOG-FILTER / NUM-COMBUF / NUM-CONV[ERSATION]<br />

NUM-LONG[-BUFFER] / NUM-PUBLICATION / NUM-PUBLISHER / NUM-SERVER / NUM-SERVICE<br />

NUM-SERVICE-EXTENSION / NUM-SHORT[-BUFFER] / NUM-SUBSCRIBER / NUM-SUBSCRIBER-TOTAL<br />

NUM-TOPIC / NUM-TOPIC-EXTENSION / NUM-TOPIC-TOTAL<br />

NUM-UOW|MAX-UOWS|MUOW / NUM-WQE<br />

Caution:<br />

However, if one of these attributes is defined, it determines the allocation size of that<br />

particular <strong>Broker</strong> resource.<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 32<br />

O<br />

z<br />

u<br />

w


DMM - New global <strong>Broker</strong> Attribute<br />

MAX-MEMORY<br />

0, UNLIM<br />

others<br />

0 | n | nK | nM | nG | UNLIM<br />

Defines the upper limit of memory allocated by <strong>Broker</strong> if<br />

DYNAMIC-MEMORY-MAN<strong>AG</strong>EMENT has been defined.<br />

No memory limit.<br />

Defines the maximum limit of allocated memory. If limit is<br />

exceeded, error 671 Requested allocation exceeds MAX-MEMORY<br />

is generated.<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 33<br />

O<br />

z<br />

u<br />

w


DMM - New global <strong>Broker</strong> Attribute<br />

• If you want statistics on allocation and deallocation operations in<br />

<strong>Broker</strong>, you can configure <strong>Broker</strong> to create a storage report with the<br />

attribute STOR<strong>AG</strong>E-REPORT.<br />

STOR<strong>AG</strong>E-REPORT<br />

NO | YES<br />

Create a storage report about <strong>Broker</strong> memory usage.<br />

NO<br />

YES<br />

Do not create the storage report.<br />

Create the storage report<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 34<br />

O<br />

z<br />

u<br />

W


DMM - Enhanced <strong>Broker</strong> Reporting<br />

• <strong>Broker</strong> provides a STOR<strong>AG</strong>E REPORT to display memory management activities<br />

<strong>EntireX</strong> 8.0.0.00 STOR<strong>AG</strong>E Report 2007-11-11 19:34:23 Page 1<br />

Identifier Address Length Date Time Action<br />

COMMUNICATION POOL 0xb6a8e010 16781312 bytes 2007-11-11 19:34:23.934 Allocated<br />

CONVERSATION POOL 0xb6a28010 409856 bytes 2007-11-11 19:34:23.935 Allocated<br />

CONNECTION POOL 0xb69f0010 225408 bytes 2007-11-11 19:34:23.938 Allocated<br />

LONG MESS<strong>AG</strong>ES POOL 0xb65b9010 4415616 bytes 2007-11-11 19:34:23.940 Allocated<br />

SHORT MESS<strong>AG</strong>ES POOL 0xb6208010 3867648 bytes 2007-11-11 19:34:23.951 Allocated<br />

PARTICIPANT POOL 0xb61e5010 141344 bytes 2007-11-11 19:34:23.962 Allocated<br />

PARTICIPANT EXTENSION POOL 0xb61d9010 47168 bytes 2007-11-11 19:34:23.963 Allocated<br />

PROXY QUEUE POOL 0xb61d3010 21536 bytes 2007-11-11 19:34:23.964 Allocated<br />

SERVICE ATTRIBUTES POOL 0xb61b2010 133648 bytes 2007-11-11 19:34:23.965 Allocated<br />

SERVICE POOL 0xb619f010 74784 bytes 2007-11-11 19:34:23.966 Allocated<br />

SERVICE EXTENSION POOL 0xb6194010 43072 bytes 2007-11-11 19:34:23.967 Allocated<br />

TIMEOUT QUEUE POOL 0xb6178010 112800 bytes 2007-11-11 19:34:23.968 Allocated<br />

TRANSLATION POOL 0xb615b010 116768 bytes 2007-11-11 19:34:23.970 Allocated<br />

UNIT OF WORK POOL 0xb612a010 196736 bytes 2007-11-11 19:34:23.971 Allocated<br />

WORK QUEUE POOL 0xb60c8010 397344 bytes 2007-11-11 19:34:23.972 Allocated<br />

COMMUNICATION POOL 0xb6a8e010 16781312 bytes 2007-11-11 19:35:40.142 Deallocated<br />

CONVERSATION POOL 0xb6a28010 409856 bytes 2007-11-11 19:35:40.143 Deallocated<br />

CONNECTION POOL 0xb69f0010 225408 bytes 2007-11-11 19:35:40.144 Deallocated<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 35


DMM - Creating a Storage Report<br />

• Set <strong>Broker</strong> global attribute STOR<strong>AG</strong>E-REPORT = YES.<br />

• UNIX and Windows<br />

• <strong>Broker</strong> creates a file with the name STOR<strong>AG</strong>E.REPORT in the current<br />

working directory<br />

• If the environment variable ETB_STOR<strong>AG</strong>E_REPORT is supplied, the file<br />

name specified in the environment variable will be used<br />

• If <strong>Broker</strong> receives the command-line argument -r, the token following<br />

argument -r will be used as the file name<br />

• z/OS<br />

• DDNAME ETBSREP assigns the report file<br />

• Format RECFM=FB, LRECL=121<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 36


<strong>Broker</strong> Dynamic Memory Management in SMH<br />

Pool Usage<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 37


<strong>Broker</strong> Dynamic Memory Management in SMH<br />

Resource Usage<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 38


Worker Task Handling in <strong>Broker</strong> v1 – v8.0<br />

<strong>Broker</strong> Task configuration defined in Attribute File<br />

• Global Attribute NUM-WORKER<br />

• Possible values: 1 – 10<br />

• The number of Worker Tasks was static<br />

• No operator intervention or CIS command was available to change it<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 39


Worker Task Handling in <strong>Broker</strong> v8.1 and above<br />

<strong>Broker</strong> Task configuration still defined in Attribute File<br />

• Global attribute NUM-WORKER<br />

• Possible values 1 – 10<br />

but<br />

Worker task handling in <strong>Broker</strong> v.1 – v.7<br />

• DYNAMIC-WORKER-MAN<strong>AG</strong>EMENT=YES<br />

can be set to let <strong>Broker</strong> adjust the number of running Worker Tasks<br />

according to a fluctuating workload<br />

• The initial portion of Worker Tasks started at <strong>Broker</strong> startup is still<br />

determined by NUM-WORKER<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 40


Worker Task Handling in <strong>Broker</strong> v8.1 and above<br />

Optional attributes to optimize overall processing:<br />

• WORKER-MAX, WORKER-MIN, WORKER-NONACT, WORKER-QUEUE-<br />

DEPTH, WORKER-START-DELAY<br />

• These are very sensitive attributes and depend on the environment,<br />

especially the underlying Operating System and the hardware<br />

• The goal is to achieve high-performance user request processing<br />

without starting too many Worker Tasks<br />

• A good starting point to achieve high-performance is not to change<br />

the attributes and observe the performance of application programs<br />

after activating Dynamic Worker Management<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 41


<strong>Broker</strong> Dynamic Memory Management in SMH<br />

Worker Usage<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 42


<strong>Broker</strong> Dynamic Memory Management in SMH<br />

Statistics<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 43


More <strong>Broker</strong> Information<br />

� Shutdown Stats<br />

• After <strong>Broker</strong> execution, shutdown statistics and related<br />

information are produced<br />

• Output written to Trace file in following sequence:<br />

� Diagnostic message ETBD0444<br />

� Statistics, internals and user-specified parameters<br />

• Table of Shutdown Statistics – see documentation, at:<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-2_ga/<strong>EntireX</strong>/8-2-<br />

SP1_<strong>EntireX</strong>/adminZos/shutdownStats.htm#Table_of_Shutdown_Statistics<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 44


<strong>EntireX</strong> <strong>Broker</strong> Reporting<br />

� Configuration Report<br />

(ETBCREP)<br />

� Load Module Report<br />

(ETBMREP)<br />

� Storage Report<br />

(ETBSREP)<br />

� Persistent Store Report<br />

(ETBPREP)<br />

� License Report<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 45


Miscellaneous<br />

� Documentation Perspectives<br />

http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8-2_ga/<strong>EntireX</strong>/8-2-SP1_<strong>EntireX</strong>/overview.htm<br />

� Variable Definition File<br />

• <strong>Broker</strong> Attribute File: Configuration of one <strong>Broker</strong> instance<br />

• Sharing attribute files among different <strong>Broker</strong>s is possible<br />

1. Identify the attributes that are unique<br />

2. Move them to a variable definition file<br />

3. Startup JCL<br />

//ETBVARS DD DISP=SHR,DSN=<br />

• Unique attributes for each machine:<br />

BROKER-ID (in DEFAULTS=BROKER)<br />

NODE (in DEFAULTS=NET)<br />

PORT (in DEFAULTS=SSL and DEFAULTS=TCP)<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 46


Contacting Global Support<br />

Services<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 47


Contacting Global Support Services<br />

� Empower � eService<br />

� Contact Support Web page<br />

https://empower.softwareag.com/ContactSupport/default.asp<br />

� Global Support Contact Directory<br />

https://empower.softwareag.com/ContactSupport/Directory/default.asp<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 48


Information needed by Support and/or Development<br />

• Environment & Problem Description<br />

• What is the error?<br />

• Where/when is the error occurring?<br />

• For each Component<br />

�Platform<br />

�Component Type<br />

�Configuration Details<br />

• Traces, traces, traces<br />

• <strong>Broker</strong> Kernel<br />

• Servers<br />

• Clients<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 49


Environment / Problem Description<br />

� What is the error?<br />

� Most error messages have the format<br />

ccccnnn[n/s], where:<br />

cccc = Message Class<br />

nnnn = Message Number from 0000-9999<br />

or<br />

nnns = Message Number from 000-999, and severity of the<br />

error:<br />

E = Error; function cannot be performed<br />

I = Information<br />

W = Warning; potential problem exists<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 50


Premium Support Services<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 51


<strong>Software</strong> <strong>AG</strong> Premium Support Services (PSS)<br />

Multiple support options, delivered by Global Support or Global Consulting Services<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 52


<strong>Software</strong> <strong>AG</strong> Standard Support<br />

• Use of Empower for<br />

research and Incident<br />

management<br />

• Phone/web assistance from<br />

Global Support<br />

• New software versions and<br />

fixes<br />

• Access to communities<br />

Highly-rated support services for day-to-day business activities<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 53


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

A senior technician at<br />

your service for critical<br />

projects<br />

Special support for go-live situations reduces risk<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 54


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Centralized management<br />

of your Support Incidents<br />

A designated engineer understands –your- environment<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 55


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Take advantage of the<br />

opportunity for an onsite<br />

analysis of your<br />

environment<br />

A health check helps identify strengths and opportunities in your implementation<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 56


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Use our DBA expertise for<br />

short or long-term coverage<br />

Our DBAs have years of experience supporting production systems<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 57


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

We can help you<br />

configure new and<br />

changing environments<br />

PSS brings expertise in the latest technologies and product versions<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 58


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Enhanced proactive and<br />

reactive support for missioncritical<br />

environments<br />

CSMs offer the right combination of technical and management skills<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 59


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Coaching offers a way to build repeatable skill in your own staff<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

Enabling self-sufficiency,<br />

and implementing best<br />

practices<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 60


<strong>Software</strong> <strong>AG</strong> Premium Support Services<br />

Specific product tuning delivers effective utilization and potential cost reduction<br />

Please contact your Sales team, or email premium.support@softwareag.com<br />

Helping to tune your<br />

systems for best<br />

performance<br />

27 September 2012 <strong>Software</strong> <strong>AG</strong> - Get There Faster 61


<strong>Broker</strong> <strong>Performance</strong> & <strong>Tuning</strong><br />

<strong>using</strong> <strong>EntireX</strong> <strong>v8.2</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!